nitweb: remove old and useless `doc` view
authorAlexandre Terrasa <alexandre@moz-code.org>
Wed, 2 May 2018 23:41:45 +0000 (19:41 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Tue, 8 May 2018 19:48:00 +0000 (15:48 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

share/nitweb/views/doc.html [deleted file]

diff --git a/share/nitweb/views/doc.html b/share/nitweb/views/doc.html
deleted file mode 100644 (file)
index abcc707..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<div class='container-fluid'>
-
-       <div ng-if='error' class='alert alert-danger' role='alert'>
-               <span class='glyphicon glyphicon-exclamation-sign' aria-hidden='true'></span>
-               <span class='sr-only'>Error:</span>
-               <span ng-switch='error.status'>
-                       <span ng-switch-when='404'>Entity <code>{{entityId}}</code> not found!</span>
-                       <span ng-switch-default>An error occured<br/>{{error.status}}: {{error.message}}</span>
-               </span>
-       </div>
-
-       <div class='page-header'>
-               <h2><entity-signature mentity='mentity' /></h2>
-               <entity-namespace namespace='mentity.namespace' />
-       </div>
-       <div ng-switch='mentity.class_name'>
-               <div ng-switch-when='MPackage'>
-                       <div ng-include src='"/views/package.html"' />
-               </div>
-               <div ng-switch-when='MGroup'>
-                       <div ng-include src='"/views/group.html"' />
-               </div>
-               <div ng-switch-when='MModule'>
-                       <div ng-include src='"/views/module.html"' />
-               </div>
-               <div ng-switch-when='MClass'>
-                       <div ng-include src='"/views/class.html"' />
-               </div>
-               <div ng-switch-when='MClassDef'>
-                       <div ng-include src='"/views/classdef.html"' />
-               </div>
-               <div ng-switch-when='MMethod' ng-switch-when='MAttribute' ng-switch-when='MVirtualTypeProp'>
-                       <div ng-include src='"/views/property.html"' />
-               </div>
-               <div ng-switch-when='MMethodDef' ng-switch-when='MAttributeDef' ng-switch-when='MVirtualTypeDef'>
-                       <div ng-include src='"/views/propdef.html"' />
-               </div>
-       </div>
-</div>