index.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>SafeCMS</title>
  6. <link href="./src/css/base.css" type="text/css" rel="stylesheet" />
  7. <link href="./src/css/sidebar.css" type="text/css" rel="stylesheet" />
  8. <link href="./src/css/content.css" type="text/css" rel="stylesheet" />
  9. <link href="./src/css/loader.css" type="text/css" rel="stylesheet" />
  10. <link href="./src/css/domains.css" type="text/css" rel="stylesheet" />
  11. <link href="./src/css/posts.css" type="text/css" rel="stylesheet" />
  12. <link href="./src/css/editor.css" type="text/css" rel="stylesheet" />
  13. <link href="./src/css/template.css" type="text/css" rel="stylesheet" />
  14. <link href="./src/css/files.css" type="text/css" rel="stylesheet" />
  15. <link href="./src/css/settings.css" type="text/css" rel="stylesheet" />
  16. <link href="./src/vendor/medium/editor.min.css" rel="stylesheet" type="text/css" />
  17. <link href="./src/vendor/medium/beagle-theme.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="container"></div>
  21. </body>
  22. <script>
  23. var $ = jquery = require("jquery"),
  24. state = {
  25. activePost: false,
  26. activeTemplate: false,
  27. posts: require('./src/data/posts'),
  28. templates: require('./src/data/templates'),
  29. files: require('./src/data/files'),
  30. settings: require('./src/data/settings'),
  31. cachedDomains: []
  32. },
  33. safe = require('./src/safe');
  34. window.state.posts.load(function(){});
  35. window.state.templates.load(function(){});
  36. window.state.files.load(function(){});
  37. window.state.settings.load(function(){});
  38. window.controller = require('./src/controller');
  39. </script>
  40. <script type="text/javascript" src="./src/vendor/medium/editor.min.js"></script>
  41. <script type="text/javascript" src="./src/vendor/ace/ace.js"></script>
  42. </html>