<html> <head> <title>PAM</title> <link rel="stylesheet" href="/bootstrap-3.3.4-dist/css/bootstrap.min.css"> <link rel="stylesheet" href="/bootstrap-3.3.4-dist/css/bootstrap-theme.min.css"> <link rel="stylesheet" href="/css/parent.css"> </head> <body> <#include "/navigation/bar.html"> <div class="container theme-showcase" role="main"> <div class="row"> <div class="page-header"> <h1>${title}</h1> </div> <form method="GET" action="/search" class="form-horizontal" id="newDepot" role="form"> <div class="row"> <div class="col-sm-6"> <div class="input-group"> <div class="input-group-addon">Type</div> <select type="text" name="type" class="form-control"> <option value="_any_">Any</option> <#list types as t> <option value="${t.getId()}"<#if type?exists && type == t.getId()>selected</#if>>${t.getTitle()}</option> </#list> </select> </div> </div> <div class="col-sm-6"> <div class="input-group"> <div class="input-group-addon">Repository</div> <select type="text" name="repo" class="form-control" value="${repo!"_all_"}"> <option value="_all_">All</option> <#list repos as r> <option value="${r.getName()}"<#if repo?exists && repo == r.getName()>selected</#if>>${r.getTitle()}</option> </#list> </select> </div> </div> </div> <br> <div class="row"> <div class="col-sm-12"> <div class="input-group"> <span class="input-group-addon">Search Name</span> <input type="text" name="file" class="form-control" value="${file!""}"></input> </div> </div> </div> <br> <div class="row"> <div class="col-sm-12"> <div class="input-group"> <span class="input-group-addon">Search Content</span> <input type="text" name="content" class="form-control" value="${content!""}"></input> </div> </div> </div> <br> <div class="row"> <div class="col-sm-12"> <button type="submit" class="btn btn-success" id="search"> <i class="glyphicon glyphicon-search"></i> <span>Search</span> </button> </div> </div> </form> <#if results.getPayload()??> <div class="col-sm-12"> <div class="panel panel-success"> <div class="panel-heading">Search Results ${results.getPayload().getLastRow()} of ${results.getPayload().getNumFound()}</div> <table class="table table-striped table-hover row-clickable"> <thead> <tr> <#list table.getTitle() as h> <th>${h}</th> </#list> </tr> </thead> <tbody> <#list table.getList() as t> <tr> <#list t.getRow()?keys as key> <td><a href="${t.getLink()}">${t.getRow()[key]}</a></td> </#list> </tr> </#list> </tbody> </table> </div> </div> </#if> </div> </div> <script src="/js/jquery.min.js"></script> <script src="/bootstrap-3.3.4-dist/js/bootstrap.min.js"></script> </body> </html>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 15801 | Paul Allen | Experimental copy of PAM. | ||
//guest/paul_allen/p4am/src/main/resources/spark/template/freemarker/page-search.html | |||||
#10 | 15215 | Paul Allen | Added RubyGem pages and tidy up. | ||
#9 | 15181 | Paul Allen | Maven/Generic search results. | ||
#8 | 15140 | Paul Allen | Handle empty search params. | ||
#7 | 15139 | Paul Allen | Extend p4search options. | ||
#6 | 15118 | Paul Allen | Added P4Search | ||
#5 | 14882 | Paul Allen | Refactor static html pages | ||
#4 | 14866 | Paul Allen |
Create different Depot types. - Display site types |
||
#3 | 14226 | Paul Allen | Tidy up Browse elements over to micro MVC model | ||
#2 | 13969 | Paul Allen | Depot list/create for Assets | ||
#1 | 13869 | Paul Allen |
- Fix logout when testing cookie. - Refactor ftl->html - Add local bootstrap |
||
//guest/paul_allen/p4am/src/main/resources/spark/template/freemarker/search.ftl | |||||
#2 | 13798 | Paul Allen | Basic file upload and login/logout cookie tidyup | ||
#1 | 13720 | Paul Allen | Perforce Asset Manager (PAM or P4AM) -- ideas |