1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <!DOCTYPE html> |
---|
3 | <html lang="en" xmlns="http://www.w3.org/1999/xhtml" data-ng-app="SCHEMAcat" > |
---|
4 | <head> |
---|
5 | <meta charset="utf-8" /> |
---|
6 | <title>SCHEMAcat - Schema Registry</title> |
---|
7 | <link rel="shortcut icon" href="images/favicon.ico"/> |
---|
8 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
---|
9 | <meta name="description" content="A companion registry to the ISOcat Data Category Registry." /> |
---|
10 | <meta name="author" content="andmor" /> |
---|
11 | |
---|
12 | <!-- Le styles --> |
---|
13 | <link href="./lib/bootstrap-3.0.3/css/bootstrap.css" rel="stylesheet" /> |
---|
14 | <!-- <link href="./lib/bootstrap-2.3.2/css/bootstrap-responsive.min.css" rel="stylesheet" />--> |
---|
15 | <link href="./lib/animate_css/animate.min.css" rel="stylesheet" /> |
---|
16 | <link href="./styles/SCHEMAcat.css" rel="stylesheet" /> |
---|
17 | <link href="./lib/pretify/prettify-bootstrap-light.css" type="text/css" rel="stylesheet" /> |
---|
18 | |
---|
19 | </head> |
---|
20 | <body> |
---|
21 | <div id="wrap"> |
---|
22 | <div data-ng-controller="TopMenuCtrl"> |
---|
23 | <div class="navbar navbar-inverse navbar-fixed-top"> |
---|
24 | <div> |
---|
25 | <div> |
---|
26 | <div class="navbar-header"> |
---|
27 | <button type="button" class="btn btn-default navbar-toggle" data-ng-click="toggleTopMenu()"> |
---|
28 | <span class="icon-bar"></span> |
---|
29 | <span class="icon-bar"></span> |
---|
30 | <span class="icon-bar"></span> |
---|
31 | </button> |
---|
32 | <a class="navbar-brand" href="/schemacat/site/">SCHEMAcat</a> |
---|
33 | </div> |
---|
34 | <div class="collapse navbar-collapse" data-collapse="topMenuCollapsed"> |
---|
35 | <ul class="nav navbar-nav"> |
---|
36 | <li class="divider"></li> |
---|
37 | <li data-ng-class="{ active: isActive('/workspace')}"> |
---|
38 | <a href="#/workspace/page/1/?schemaIndex=0&{{animationsUrlPart()}}&{{topMenuExpandedUrlPart()}}"><i class="glyphicon glyphicon-home glyphicon-white"><!--i--></i> Home</a> |
---|
39 | </li> |
---|
40 | <li data-ng-class="{ active: isActive('/about')}"> |
---|
41 | <a href="#/about?{{animationsUrlPart()}}&{{topMenuExpandedUrlPart()}}">About</a> |
---|
42 | </li> |
---|
43 | <li data-ng-class="{ active: isActive('/contact')}"> |
---|
44 | <a href="#/contact?{{animationsUrlPart()}}&{{topMenuExpandedUrlPart()}}">Contact</a> |
---|
45 | </li> |
---|
46 | </ul> |
---|
47 | <div class="pull-right"> |
---|
48 | <ul class="nav navbar-nav"> |
---|
49 | <li class="dropdown" title="userMenu"> |
---|
50 | <a class="cursor-pointer dropdown-toggle"><i class="glyphicon glyphicon-user"><!--i--></i> <span data-ng-bind="displayName"/> <span class="caret"></span> </a> |
---|
51 | <ul class="dropdown-menu"> |
---|
52 | <li> |
---|
53 | <a class="cursor-pointer" data-ng-click="loginClick()"> |
---|
54 | <!-- <a href="{{shibURL}}"> --><!-- uncomment first one for development --> |
---|
55 | <span>Login as a different user...</span> |
---|
56 | </a> |
---|
57 | </li> |
---|
58 | <li> |
---|
59 | <a class="cursor-pointer" href="#/accountDetails?{{animationsUrlPart()}}&{{topMenuExpandedUrlPart()}}" data-ng-if="displayName != 'guest'"> |
---|
60 | <span>Account details</span> |
---|
61 | </a> |
---|
62 | </li> |
---|
63 | </ul> |
---|
64 | </li> |
---|
65 | <li class="dropdown" title="settings"> |
---|
66 | <a class="cursor-pointer dropdown-toggle"><i class="glyphicon glyphicon-wrench"><!--i--></i> <span class="caret"></span> </a> |
---|
67 | <ul class="dropdown-menu"> |
---|
68 | <li> |
---|
69 | <a class="cursor-pointer" data-ng-click="updateAnimationStatus()" > |
---|
70 | <i class="glyphicon glyphicon-ok" data-ng-if="animationsChecked"><!--i--></i> |
---|
71 | <span>animations</span> |
---|
72 | </a> |
---|
73 | </li> |
---|
74 | </ul> |
---|
75 | </li> |
---|
76 | </ul> |
---|
77 | </div> |
---|
78 | </div> |
---|
79 | </div> |
---|
80 | </div> |
---|
81 | </div> |
---|
82 | </div> |
---|
83 | <div id="pushh"></div> |
---|
84 | <div data-workspace-directive=""> |
---|
85 | <div data-ng-view=""/> |
---|
86 | </div> |
---|
87 | <div id="pushf"></div> |
---|
88 | </div> |
---|
89 | <div id="footer"> |
---|
90 | <div style="padding:0 15px;"> |
---|
91 | <p>© The Language Archive 2013</p> |
---|
92 | </div> |
---|
93 | </div> |
---|
94 | |
---|
95 | <!-- Le javascript |
---|
96 | ================================================== --> |
---|
97 | <!-- Placed at the end of the document so the pages load faster --> |
---|
98 | <!--<script src="./lib/jQuery/1.10.2/jquery-1.10.2.min.js"></script>--> |
---|
99 | <script src="./lib/AngularJS-1.2.7/angular.min.js"></script> |
---|
100 | <script src="./lib/AngularJS-1.2.7/angular-resource.min.js"></script> |
---|
101 | <script src="./lib/AngularJS-1.2.7/angular-route.min.js"></script> |
---|
102 | <script src="./lib/UI-bootstrap/ui-bootstrap-tpls-0.9.0.min.js"></script> |
---|
103 | <script src="./lib/pretify/prettify.js"></script> |
---|
104 | <script src="./scripts/modules.min.js"></script> |
---|
105 | <script src="./scripts/controllers.min.js"></script> |
---|
106 | <script src="./scripts/directives.min.js"></script> |
---|
107 | <script src="./scripts/services.min.js"></script> |
---|
108 | <script> |
---|
109 | <xrl:eval xmlns:xrl="http://netkernel.org/xrl"> |
---|
110 | <xrl:xpath>..</xrl:xpath> |
---|
111 | <xrl:identifier>active:dpml</xrl:identifier> |
---|
112 | <xrl:argument name="user">scratch:user</xrl:argument> |
---|
113 | <!-- get the user id --> |
---|
114 | <xrl:argument name="operator">res:/schemacat/site/xrl/createUserService.dpml</xrl:argument> |
---|
115 | </xrl:eval> |
---|
116 | </script> |
---|
117 | <script> |
---|
118 | <xrl:eval xmlns:xrl="http://netkernel.org/xrl"> |
---|
119 | <xrl:xpath>..</xrl:xpath> |
---|
120 | <xrl:identifier>active:sloot.xpath2</xrl:identifier> |
---|
121 | <xrl:argument name="operand">res:/etc/BaseXConfig.xml</xrl:argument> |
---|
122 | <!-- get the user id --> |
---|
123 | <xrl:argument name="operator"> |
---|
124 | <xrl:literal type="string">concat( |
---|
125 | 'SCHEMAcat.factory("ShibService", function() { return { url : "', |
---|
126 | string(/nvp/shib-login/text()), |
---|
127 | '"};});' |
---|
128 | )</xrl:literal> |
---|
129 | </xrl:argument> |
---|
130 | </xrl:eval> |
---|
131 | </script> |
---|
132 | </body> |
---|
133 | </html> |
---|