1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
<?php
// angular + components
script('contacts', 'vendor/angular/angular');
script('contacts', 'vendor/angular-route/angular-route');
script('contacts', 'vendor/angular-uuid4/angular-uuid4');
script('contacts', 'vendor/angular-cache/dist/angular-cache');
script('contacts', 'vendor/angular-sanitize/angular-sanitize');
script('contacts', 'vendor/ui-select/dist/select');
script('contacts', 'vendor/angular-click-outside/clickoutside.directive');
script('contacts', 'vendor/ngclipboard/dist/ngclipboard.min');
// DAV libraries
script('contacts', 'dav/dav');
script('contacts', 'vendor/vcard/src/vcard');
// compiled version of app javascript
script('contacts', 'public/script');
script('contacts', 'vendor/angular-bootstrap/ui-bootstrap.min');
script('contacts', 'vendor/angular-bootstrap/ui-bootstrap-tpls.min');
script('contacts', 'vendor/jquery-timepicker/jquery.ui.timepicker');
// all styles
style('contacts', 'public/style');
vendor_style('select2/select2');
?>
<div id="app" ng-app="contactsApp">
<div id="app-navigation">
<div id="importscreen-sidebar-block" class="icon-loading" ng-show="$root.importing"></div>
<newContactButton></newContactButton>
<ul groupList></ul>
<div id="app-settings">
<div id="app-settings-header">
<button class="settings-button"
data-apps-slide-toggle="#app-settings-content">
<?php p($l->t('Settings'));?>
</button>
</div>
<div id="app-settings-content">
<addressBookList class="settings-section"></addressBookList>
<contactImport class="settings-section"></contactImport>
<sortBy class="settings-section"></sortBy>
</div>
</div>
</div>
<div id="app-content">
<div class="app-content-list">
<contactlist></contactlist>
</div>
<div class="app-content-detail" ng-view></div>
<importscreen class="emptycontent"></importscreen>
</div>
</div>
|