1
|
$common/master( header={ $ui/oai/header()$
|
2
|
<script type="text/javascript" src="../resources/js/oai/oaiCommon.js"></script>
|
3
|
<script type="text/javascript" src="../resources/js/oai/oai.js"></script>
|
4
|
}, onLoad={}, body={
|
5
|
<div ng-app="oaiUI" ng-controller="oaiCtrl">
|
6
|
<div class="row">
|
7
|
<!-- Sidebar content -->
|
8
|
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-3" id="sidebar">
|
9
|
<label>Export Metadata Formats</label>
|
10
|
<ul class="nav nav-pills nav-stacked">
|
11
|
<li ng-repeat="mdformat in exportFormats"
|
12
|
ng-click="showExportMetadataFormat(mdformat)"><a href="#">{{mdformat.prefix}}
|
13
|
<span class="glyphicon glyphicon-chevron-right pull-right"></span>
|
14
|
</a></li>
|
15
|
<li ng-click="showMDFModal()"><a href="#"><span
|
16
|
class="label label-info">Add</span></a>
|
17
|
</ul>
|
18
|
|
19
|
<label>Source Metadata Formats</label>
|
20
|
<ul class="nav nav-pills nav-stacked">
|
21
|
<li ng-repeat="srcFormat in srcFormats"
|
22
|
ng-click="showSrcMetadataFormat(srcFormat)"><a href="#">{{srcFormat.format}}
|
23
|
- {{srcFormat.layout}} -
|
24
|
{{srcFormat.interpretation}} <span
|
25
|
class="glyphicon glyphicon-chevron-right pull-right"></span>
|
26
|
</a></li>
|
27
|
</ul>
|
28
|
|
29
|
<label>OAI Sets</label>
|
30
|
<ul class="nav nav-pills nav-stacked">
|
31
|
<li ng-repeat="setSpec in setSpecs" ng-click="showOAISet(setSpec)"><a
|
32
|
href="#">{{setSpec}} <span
|
33
|
class="glyphicon glyphicon-chevron-right pull-right"></span>
|
34
|
</a></li>
|
35
|
<li ng-click="showSetModal()"><a href="#"><span
|
36
|
class="label label-info">Add</span></a>
|
37
|
</ul>
|
38
|
</div>
|
39
|
|
40
|
<!-- right pane with the actual content based on the item selected on the sidebar -->
|
41
|
<div
|
42
|
class="animate-switch-container col-xs-12 col-sm-12 col-md-8 col-lg-9"
|
43
|
ng-switch on="show">
|
44
|
<div class="animate-switch" ng-switch-when="mdformat">$ui/oai/mdfDetails()$</div>
|
45
|
<div class="animate-switch" ng-switch-when="source">$ui/oai/srcMdfDetails()$</div>
|
46
|
<div class="animate-switch" ng-switch-when="set">$ui/oai/setDetails()$</div>
|
47
|
</div>
|
48
|
</div>
|
49
|
$ui/oai/common()$
|
50
|
</div>
|
51
|
|
52
|
} )$
|