update search results view: add panels for results

This commit is contained in:
felizbear 2015-11-26 12:08:51 +09:00 committed by Alexander Bezzubov
parent 865925c33e
commit 227c6b443e

View file

@ -15,14 +15,17 @@ limitations under the License.
<div class="row">
<div class="col-md-8 col-md-offset-3">
<ul class="search-results">
<li ng-repeat="note in notes">
<h4>
<i style="font-size: 10px;" class="icon-doc"></i>
<a class="search-results-header"
href="#/notebook/{{note.id}}">
{{note.name || 'Note ' + note.id}}
</a>
</h4>
<li class="panel panel-default" ng-repeat="note in notes">
<div class="panel-heading">
<h4>
<i style="font-size: 10px;" class="icon-doc"></i>
<a class="search-results-header"
href="#/notebook/{{note.id}}">
{{note.name || 'Note ' + note.id}}
</a>
</h4>
</div>
<div class="panel-body">
<div
class="search-result"
ui-ace="{
@ -32,6 +35,7 @@ limitations under the License.
ng-model="_"
>
</div>
</div>
</li>
</div>
</div>