mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 12:05:46 +08:00
docs(Error404): improve search results layout
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user