| | |
| | | xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd"
|
| | | xml:lang="en"
|
| | | lang="en">
|
| | | <body onload="document.getElementById('fragment').focus();">
|
| | |
|
| | | <!-- contribute google-code-prettify resources to the page header -->
|
| | | <wicket:head>
|
| | | <wicket:link>
|
| | | <link href="prettify/prettify.css" type="text/css" rel="stylesheet" />
|
| | | <script type="text/javascript" src="prettify/prettify.js"></script>
|
| | | </wicket:link>
|
| | | </wicket:head>
|
| | | |
| | | <wicket:extend>
|
| | | <body onload="document.getElementById('query').focus(); prettyPrint();">
|
| | | <div class="pageTitle">
|
| | | <h2><wicket:message key="gb.search"></wicket:message><small> lucene</small></h2>
|
| | | <h2><wicket:message key="gb.search"></wicket:message></h2>
|
| | | </div>
|
| | | <form class="form-inline" wicket:id="searchForm">
|
| | | <input class="span6" wicket:id="fragment" placeholder="enter search text"></input>
|
| | | <button class="btn btn-primary" type="submit" value="Search"><wicket:message key="gb.search"></wicket:message></button>
|
| | | <form class="form-inline" style="margin:0px;" wicket:id="searchForm">
|
| | | <div class="row-fluid">
|
| | | <div class="span3">
|
| | | <h3><wicket:message key="gb.repositories"></wicket:message></h3>
|
| | | <select wicket:id="repositories" ></select>
|
| | | </div>
|
| | | <div class="span9">
|
| | | <div>
|
| | | <h3><wicket:message key="gb.query"></wicket:message></h3>
|
| | | <input class="span8" id="query" wicket:id="query" placeholder="enter search text"></input>
|
| | | <button class="btn btn-primary" type="submit" value="Search"><wicket:message key="gb.search"></wicket:message></button>
|
| | | </div>
|
| | | <div style="margin-top:10px;">
|
| | | <div style="margin-left:0px;" class="span4">
|
| | | <div class="alert alert">
|
| | | <b>type:</b> commit or blob<br/>
|
| | | <b>commit:</b> commit id<br/>
|
| | | <b>path:</b> blob path<br/>
|
| | | <b>branch:</b> refs/heads/master<br/>
|
| | | <b>author:</b><br/>
|
| | | <b>committer:</b><br/>
|
| | | <b>tag:</b> tag<br/>
|
| | | </div>
|
| | | </div>
|
| | | <div class="span5">
|
| | | <wicket:message key="gb.queryHelp"></wicket:message>
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | | </form>
|
| | |
|
| | | <div class="row-fluid"> |
| | | <!-- results header -->
|
| | | <div class="span8">
|
| | | <h3><span wicket:id="resultsHeader"></span> <small><span wicket:id="resultsCount"></span></small></h3>
|
| | | </div>
|
| | | <!-- pager links -->
|
| | | <div class="span4" wicket:id="topPager"></div>
|
| | | </div>
|
| | | |
| | | <div class="row-fluid"> |
| | | <!-- search result repeater -->
|
| | | <div class="searchResult" wicket:id="searchResults">
|
| | | <div><i wicket:id="type"></i><span class="summary" wicket:id="summary"></span></div>
|
| | | <span class="repository" wicket:id="repository"></span>:<span class="branch" wicket:id="branch"></span>
|
| | | <span wicket:id="author"></span> <span wicket:id="date"></span>
|
| | | <div class="body">
|
| | | <div class="fragment" wicket:id="fragment"></div>
|
| | | <div><span class="author" wicket:id="author"></span> <span class="date" ><wicket:message key="gb.authored"></wicket:message> <span class="date" wicket:id="date"></span></span></div>
|
| | | <span class="repository" wicket:id="repository"></span>:<span class="branch" wicket:id="branch"></span> |
| | | </div>
|
| | | </div>
|
| | | </wicket:extend>
|
| | |
|
| | | <!-- pager links -->
|
| | | <div wicket:id="bottomPager"></div>
|
| | |
|
| | | </div> |
| | | </body>
|
| | | </wicket:extend>
|
| | | </html> |