abcc7074a4770516ccedd4f0d08f642a548706bb
[nit.git] / share / nitweb / views / doc.html
1 <div class='container-fluid'>
2
3 <div ng-if='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='error.status'>
7 <span ng-switch-when='404'>Entity <code>{{entityId}}</code> not found!</span>
8 <span ng-switch-default>An error occured<br/>{{error.status}}: {{error.message}}</span>
9 </span>
10 </div>
11
12 <div class='page-header'>
13 <h2><entity-signature mentity='mentity' /></h2>
14 <entity-namespace namespace='mentity.namespace' />
15 </div>
16 <div ng-switch='mentity.class_name'>
17 <div ng-switch-when='MPackage'>
18 <div ng-include src='"/views/package.html"' />
19 </div>
20 <div ng-switch-when='MGroup'>
21 <div ng-include src='"/views/group.html"' />
22 </div>
23 <div ng-switch-when='MModule'>
24 <div ng-include src='"/views/module.html"' />
25 </div>
26 <div ng-switch-when='MClass'>
27 <div ng-include src='"/views/class.html"' />
28 </div>
29 <div ng-switch-when='MClassDef'>
30 <div ng-include src='"/views/classdef.html"' />
31 </div>
32 <div ng-switch-when='MMethod' ng-switch-when='MAttribute' ng-switch-when='MVirtualTypeProp'>
33 <div ng-include src='"/views/property.html"' />
34 </div>
35 <div ng-switch-when='MMethodDef' ng-switch-when='MAttributeDef' ng-switch-when='MVirtualTypeDef'>
36 <div ng-include src='"/views/propdef.html"' />
37 </div>
38 </div>
39 </div>