Desktop markdown wiki app. Built with node, Electron Framework and AngularJS.

preferences-window.html 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <!DOCTYPE html>
  2. <html class="no-js">
  3. <head>
  4. <title>Codex Preferences</title>
  5. <meta charset="UTF-8">
  6. <!-- Stylesheets -->
  7. <link rel="stylesheet" href="../css/tomorrow-night-eighties.css">
  8. <link rel="stylesheet" href="../css/photon.min.css">
  9. <link rel="stylesheet" href="../css/codex.css">
  10. <script src="../bower_components/angular/angular.js"></script>
  11. <script src="../bower_components/angular-ui-router/release/angular-ui-router.js"></script>
  12. <script src="../bower_components/angular-sanitize/angular-sanitize.js"></script>
  13. <script src="scripts/preferences.js"></script>
  14. <script src="scripts/controllers/general-prefs-ctrl.js"></script>
  15. <script src="scripts/controllers/databases-prefs-ctrl.js"></script>
  16. <script src="scripts/controllers/prefs-nav-ctrl.js"></script>
  17. <script src="scripts/services/file-service.js"></script>
  18. <script src="scripts/services/thumbnail-service.js"></script>
  19. <script src="scripts/services/prefs-service.js"></script>
  20. <script>
  21. var remote = require('remote');
  22. var ipc = require('ipc');
  23. var dialog = remote.require('dialog');
  24. console.log("-> Opening Preferences Window")
  25. </script>
  26. </head>
  27. <body ng-app="codexApp">
  28. <header class="toolbar toolbar-header">
  29. <h1 class="title">Preferences</h1>
  30. <ul class="icon-tabs" ng-controller="PrefsNavCtrl">
  31. <li ng-class="links[0]" ng-click="goToGeneral()">
  32. <img src="content/imgs/prefs-icon.png" style="width: 32px; height: 32px;"><br>General
  33. </li>
  34. <li ng-class="links[1]" ng-click="goToDatabases()">
  35. <img src="content/imgs/db-icon.png" style="width: 32px; height: 32px;"><br>Databases
  36. </li>
  37. </ul>
  38. </header>
  39. <div ui-view class="well">
  40. </div>
  41. </body>
  42. </html>