nitweb: split mentity module into views
[nit.git] / share / nitweb / views / doc / index.html
1 <div class='container-fluid'>
2
3 <div ng-if='vm.error' class='alert alert-danger' role='alert'>
4 <span class='glyphicon glyphicon-exclamation-sign' aria-hidden='true'></span>
5 <span class='sr-only'>Error:</span>
6 <span ng-switch='vm.error.status'>
7 <span ng-switch-when='404'>Entity <code>{{vm.entityId}}</code> not found!</span>
8 <span ng-switch-default>An error occured<br/>{{vm.error.status}}: {{vm.error.message}}</span>
9 </span>
10 </div>
11
12 <div class='page-header'>
13 <h2><entity-signature mentity='vm.mentity' /></h2>
14 <entity-namespace namespace='vm.mentity.namespace' />
15 </div>
16
17 <ui-view />
18 </div>