harbor/views/search.htm
2016-07-06 16:39:40 +08:00

26 lines
1.5 KiB
HTML

<div class="container-fluid container-fluid-custom" element-height ng-controller="SearchController as vm">
<modal-dialog modal-title="// vm.modalTitle //" modal-message='// vm.modalMessage //' confirm-only="vm.confirmOnly" action="vm.action()"></modal-dialog>
<div class="container container-custom">
<div class="row extend-height">
<div class="section">
<h1 class="col-md-12 col-md-offset-2 main-title title-color">// 'search_result' | tr //</h1>
<div class="row">
<div class="col-md-12 col-md-offset-2 main-content">
<h4 class="page-header title-color underlined">// 'projects' | tr //&nbsp;&nbsp;<span class="badge">//vm.project.length//</span></h4>
<div class="search-result">
<ul>
<li ng-repeat="p in vm.project"><a href="/repository#/repositories?project_id=//p.id//&is_public=//p.public === 1//">//p.name//</a></li>
</ul>
</div>
<h4 class="page-header title-color underlined">// 'repositories' | tr //&nbsp;&nbsp;<span class="badge">//vm.repository.length//</span></h4>
<div class="search-result">
<ul>
<li ng-repeat="r in vm.repository"><a href="/repository#/repositories?project_id=//r.project_id//&is_public=//r.project_public === 1//#//r.repository_name//">//r.repository_name//</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>