1
|
<div ng-app="vocabulariesUI" ng-controller="vocabulariesCtrl">
|
2
|
<div class="row">
|
3
|
<vocabulary-list></vocabulary-list>
|
4
|
|
5
|
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9" ng-show="entries != null && selectedVocabularyIndex != null" >
|
6
|
<form role="form" class="form-inline">
|
7
|
<div class="btn-group">
|
8
|
<button type="button" class="btn btn-default" ng-click="showInfoModal()">
|
9
|
Edit info <span class="glyphicon glyphicon-book"></span>
|
10
|
</button>
|
11
|
<button type="button" class="btn btn-default" ng-click="showTermModal(null)">
|
12
|
New Term <span class="glyphicon glyphicon-pencil"></span>
|
13
|
</button>
|
14
|
<button type="button" class="btn btn-default" ng-click="commit()" ng-show="!autocommit">
|
15
|
Commit <span class="glyphicon glyphicon-floppy-saved"></span>
|
16
|
</button>
|
17
|
<button type="button" class="btn btn-default" ng-click="reloadTerms()" ng-show="!autocommit">
|
18
|
Discard all <span class="glyphicon glyphicon-repeat"></span>
|
19
|
</button>
|
20
|
<button type="button" class="btn btn-default" ng-click="reloadTerms()" ng-show="autocommit">
|
21
|
Refresh from IS <span class="glyphicon glyphicon-refresh"></span>
|
22
|
</button>
|
23
|
<button type="button" class="btn btn-default" ng-click="dropVocabulary()">
|
24
|
Drop vocabulary <span class="glyphicon glyphicon-trash"></span>
|
25
|
</button>
|
26
|
</div>
|
27
|
<div class="checkbox">
|
28
|
<label><input type="checkbox" ng-model="autocommit"> Auto-commit</label>
|
29
|
</div>
|
30
|
<div class="form-group pull-right">
|
31
|
<input type="text" class="form-control" ng-model="termFilter" placeholder="Filter by...">
|
32
|
</div>
|
33
|
</form>
|
34
|
<br /><br />
|
35
|
|
36
|
<term-list></term-list>
|
37
|
</div>
|
38
|
</div>
|
39
|
|
40
|
<!-- infoModal -->
|
41
|
<modal-info></modal-info>
|
42
|
|
43
|
<!-- term Modal -->
|
44
|
<modal-term></modal-term>
|
45
|
|
46
|
<!-- synonymModal -->
|
47
|
<modal-synonym></modal-synonym>
|
48
|
|
49
|
<!-- relModal -->
|
50
|
<modal-relation></modal-relation>
|
51
|
|
52
|
</div>
|