選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

91 行
3.4 KiB

3年前
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>FastMinder</title>
  6. <link href="../static/favicon.ico" type="image/x-icon" rel="shortcut icon">
  7. <!-- bower:css -->
  8. <link rel="stylesheet" href="../static/bower_components/bootstrap/dist/css/bootstrap.css" />
  9. <link rel="stylesheet" href="../static/bower_components/codemirror/lib/codemirror.css" />
  10. <link rel="stylesheet" href="../static/bower_components/hotbox/hotbox.css" />
  11. <link rel="stylesheet" href="../static/node_modules/kityminder-core/dist/kityminder.core.css" />
  12. <link rel="stylesheet" href="../static/bower_components/color-picker/dist/color-picker.min.css" />
  13. <!-- endbower -->
  14. <link rel="stylesheet" href="../static/kityminder.editor.min.css">
  15. <style>
  16. html, body {
  17. margin: 0;
  18. padding: 0;
  19. height: 100%;
  20. overflow: hidden;
  21. }
  22. h1.editor-title {
  23. background: #393F4F;
  24. color: white;
  25. margin: 0;
  26. height: 40px;
  27. font-size: 14px;
  28. line-height: 40px;
  29. font-family: 'Hiragino Sans GB', 'Arial', 'Microsoft Yahei';
  30. font-weight: normal;
  31. padding: 0 0px;
  32. }
  33. div.minder-editor-container {
  34. position: absolute;
  35. top: 40px;
  36. bottom: 0;
  37. left: 0;
  38. right: 0;
  39. }
  40. </style>
  41. </head>
  42. <body ng-app="kityminderDemo" ng-controller="MainController">
  43. <!--<h1 class="editor-title">KityMinder Editor - Powered By FEX</h1>-->
  44. <h1 class="editor-title"></h1>
  45. <kityminder-editor on-init="initEditor(editor, minder)"></kityminder-editor>
  46. </body>
  47. <!-- bower:js -->
  48. <script src="../static/bower_components/jquery/dist/jquery.js"></script>
  49. <script src="../static/bower_components/bootstrap/dist/js/bootstrap.js"></script>
  50. <script src="../static/bower_components/angular/angular.js"></script>
  51. <script src="../static/bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
  52. <script src="../static/bower_components/codemirror/lib/codemirror.js"></script>
  53. <script src="../static/bower_components/codemirror/mode/xml/xml.js"></script>
  54. <script src="../static/bower_components/codemirror/mode/javascript/javascript.js"></script>
  55. <script src="../static/bower_components/codemirror/mode/css/css.js"></script>
  56. <script src="../static/bower_components/codemirror/mode/htmlmixed/htmlmixed.js"></script>
  57. <script src="../static/bower_components/codemirror/mode/markdown/markdown.js"></script>
  58. <script src="../static/bower_components/codemirror/addon/mode/overlay.js"></script>
  59. <script src="../static/bower_components/codemirror/mode/gfm/gfm.js"></script>
  60. <script src="../static/bower_components/angular-ui-codemirror/ui-codemirror.js"></script>
  61. <script src="../static/bower_components/marked/lib/marked.js"></script>
  62. <script src="../static/bower_components/kity/dist/kity.min.js"></script>
  63. <script src="../static/bower_components/hotbox/hotbox.js"></script>
  64. <script src="../static/bower_components/json-diff/json-diff.js"></script>
  65. <script src="../static/node_modules/kityminder-core/dist/kityminder.core.min.js"></script>
  66. <script src="../static/bower_components/color-picker/dist/color-picker.min.js"></script>
  67. <!-- endbower -->
  68. <script src="../static/kityminder.editor.min.js"></script>
  69. <script src="../static/diy.js"></script>
  70. <script>
  71. angular.module('kityminderDemo', ['kityminderEditor'])
  72. .config(function (configProvider) {
  73. configProvider.set('imageUpload', '../static/server/imageUpload.php');
  74. })
  75. .controller('MainController', function($scope) {
  76. $scope.initEditor = function(editor, minder) {
  77. window.editor = editor;
  78. window.minder = minder;
  79. };
  80. });
  81. </script>
  82. </html>