docs(Error404): improve search results layout

This commit is contained in:
Peter Bacon Darwin
2014-03-08 06:34:39 +00:00
parent 11aceac273
commit 4f90c9b531

View File

@@ -2,12 +2,10 @@
<p>The page you were looking for is not here. Perhaps you were looking for something else...</p>
<div class="search-results-frame" ng-controller="Error404SearchCtrl">
<div ng-controller="Error404SearchCtrl">
<div ng-repeat="(key, value) in results" ng-show="value.length">
<h4>{{ key }}</h4>
<ul class="search-results">
<li ng-repeat="item in value"><a ng-href="{{ item.path }}">{{ item.name }}</a></li>
</ul>
</div>
<dl ng-repeat="(key, value) in results" ng-show="value.length" style="float: left; margin-right:20px">
<dt>{{ key }}</dt>
<dd ng-repeat="item in value"><a ng-href="{{ item.path }}">{{ item.name }}</a></dd>
</dl>
</div>