2016-09-09 23:36:35 +08:00
|
|
|
<?php
|
2016-09-10 19:29:23 +08:00
|
|
|
/*
|
|
|
|
* Javascripts
|
|
|
|
*/
|
|
|
|
script('passman', 'vendor/angular/angular.min');
|
|
|
|
script('passman', 'vendor/angular-animate/angular-animate.min');
|
|
|
|
script('passman', 'vendor/angular-cookies/angular-cookies.min');
|
|
|
|
script('passman', 'vendor/angular-resource/angular-resource.min');
|
|
|
|
script('passman', 'vendor/angular-route/angular-route.min');
|
|
|
|
script('passman', 'vendor/angular-sanitize/angular-sanitize.min');
|
|
|
|
script('passman', 'vendor/angular-touch/angular-touch.min');
|
2016-09-11 19:29:52 +08:00
|
|
|
script('passman', 'vendor/angular-local-storage/angular-local-storage.min');
|
2016-09-12 04:14:11 +08:00
|
|
|
script('passman', 'vendor/angular-off-click/angular-off-click.min');
|
2016-09-12 05:40:06 +08:00
|
|
|
script('passman', 'vendor/ng-password-meter/ng-password-meter');
|
2016-09-12 01:45:20 +08:00
|
|
|
script('passman', 'vendor/sjcl/sjcl');
|
2016-09-12 06:23:06 +08:00
|
|
|
script('passman', 'vendor/zxcvbn/zxcvbn');
|
2016-09-13 06:10:24 +08:00
|
|
|
script('passman', 'vendor/ng-clipboard/clipboard.min');
|
|
|
|
script('passman', 'vendor/ng-clipboard/ngclipboard');
|
2016-09-14 05:03:12 +08:00
|
|
|
script('passman', 'vendor/angular-xeditable/xeditable.min');
|
|
|
|
script('passman', 'vendor/sha/sha');
|
|
|
|
script('passman', 'vendor/llqrcode/llqrcode');
|
|
|
|
|
2016-09-10 19:29:23 +08:00
|
|
|
|
|
|
|
script('passman', 'app/app');
|
|
|
|
script('passman', 'templates');
|
|
|
|
script('passman', 'app/controllers/main');
|
2016-09-12 04:57:55 +08:00
|
|
|
script('passman', 'app/controllers/menu');
|
2016-09-11 05:30:17 +08:00
|
|
|
script('passman', 'app/controllers/vault');
|
2016-09-12 02:47:29 +08:00
|
|
|
script('passman', 'app/controllers/credential');
|
2016-09-13 06:10:24 +08:00
|
|
|
script('passman', 'app/controllers/edit_credential');
|
2016-09-13 22:31:07 +08:00
|
|
|
script('passman', 'app/filters/range');
|
2016-09-11 05:30:17 +08:00
|
|
|
script('passman', 'app/filters/propsfilter');
|
|
|
|
script('passman', 'app/services/cacheservice');
|
|
|
|
script('passman', 'app/services/vaultservice');
|
|
|
|
script('passman', 'app/services/credentialservice');
|
2016-09-11 19:29:52 +08:00
|
|
|
script('passman', 'app/services/settingsservice');
|
2016-09-12 01:45:20 +08:00
|
|
|
script('passman', 'app/services/encryptservice');
|
2016-09-13 06:10:24 +08:00
|
|
|
script('passman', 'app/directives/passwordgen');
|
2016-09-14 05:03:12 +08:00
|
|
|
script('passman', 'app/directives/fileselect');
|
|
|
|
script('passman', 'app/directives/progressbar');
|
|
|
|
script('passman', 'app/directives/otp');
|
|
|
|
script('passman', 'app/directives/qrreader');
|
2016-09-14 21:09:55 +08:00
|
|
|
script('passman', 'app/directives/tooltip');
|
|
|
|
script('passman', 'app/directives/use-theme');
|
2016-09-10 19:29:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Styles
|
|
|
|
*/
|
2016-09-10 20:02:54 +08:00
|
|
|
style('passman', 'app');
|
2016-09-12 05:40:06 +08:00
|
|
|
style('passman', 'vendor/ng-password-meter/ng-password-meter');
|
2016-09-13 06:10:24 +08:00
|
|
|
style('passman', 'vendor/bootstrap/bootstrap.min');
|
|
|
|
style('passman', 'vendor/bootstrap/bootstrap-theme.min');
|
|
|
|
style('passman', 'vendor/font-awesome/font-awesome.min');
|
2016-09-14 05:03:12 +08:00
|
|
|
style('passman', 'vendor/angular-xeditable/xeditable.min');
|
2016-09-09 23:36:35 +08:00
|
|
|
?>
|
|
|
|
|
2016-09-11 05:30:17 +08:00
|
|
|
<div id="app" ng-app="passmanApp" ng-controller="MainCtrl">
|
2016-09-12 04:57:55 +08:00
|
|
|
<div id="app-navigation" ng-if="selectedVault" ng-controller="MenuCtrl">
|
2016-09-10 19:29:23 +08:00
|
|
|
<ul>
|
|
|
|
<li><a href="#">First level entry</a></li>
|
|
|
|
<li>
|
|
|
|
<a href="#">First level container</a>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#">Second level entry</a></li>
|
|
|
|
<li><a href="#">Second level entry</a></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2016-09-12 04:57:55 +08:00
|
|
|
<div id="app-settings" ng-init="settingsShown = false;">
|
2016-09-10 19:29:23 +08:00
|
|
|
<div id="app-settings-header">
|
|
|
|
<button class="settings-button"
|
2016-09-12 04:57:55 +08:00
|
|
|
ng-click="settingsShown = !settingsShown"
|
|
|
|
>Settings</button>
|
2016-09-10 19:29:23 +08:00
|
|
|
</div>
|
2016-09-12 04:57:55 +08:00
|
|
|
<div id="app-settings-content" ng-show="settingsShown">
|
2016-09-10 19:29:23 +08:00
|
|
|
<!-- Your settings in here -->
|
2016-09-12 04:57:55 +08:00
|
|
|
<div class="settings-container">
|
|
|
|
<div><span class="link">Settings</span></div>
|
|
|
|
<div><span class="link" ng-click="logout()">Logout</span></div>
|
|
|
|
</div>
|
2016-09-10 19:29:23 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-09-09 23:36:35 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="app-content">
|
2016-09-10 19:29:23 +08:00
|
|
|
<div id="app-content-wrapper" ng-view="">
|
|
|
|
|
2016-09-09 23:36:35 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|