index.html 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>KityMinder Editor - Powered By FEX</title>
  6. <link href="favicon.ico" type="image/x-icon" rel="shortcut icon">
  7. <!-- bower:css -->
  8. <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css" />
  9. <link rel="stylesheet" href="bower_components/codemirror/lib/codemirror.css" />
  10. <link rel="stylesheet" href="bower_components/hotbox/hotbox.css" />
  11. <link rel="stylesheet" href="node_modules/kityminder-core/dist/kityminder.core.css" />
  12. <link rel="stylesheet" href="bower_components/color-picker/dist/color-picker.css" />
  13. <!-- endbower -->
  14. <link rel="stylesheet" href="dist/kityminder.editor.css">
  15. <style>
  16. html,
  17. body {
  18. margin: 0;
  19. padding: 0;
  20. height: 100%;
  21. overflow: hidden;
  22. }
  23. h1.editor-title {
  24. background: #393F4F;
  25. color: white;
  26. margin: 0;
  27. height: 40px;
  28. font-size: 14px;
  29. line-height: 40px;
  30. font-family: 'Hiragino Sans GB', 'Arial', 'Microsoft Yahei';
  31. font-weight: normal;
  32. padding: 0 20px;
  33. }
  34. </style>
  35. </head>
  36. <body ng-app="kityminderDemo" ng-controller="MainController">
  37. <h1 class="editor-title" style=" display:none">KityMinder Editor - Powered By FEX</h1>
  38. <kityminder-editor on-init="initEditor(editor, minder)"></kityminder-editor>
  39. </body>
  40. <!-- bower:js -->
  41. <script src="bower_components/jquery/dist/jquery.js"></script>
  42. <script src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
  43. <script src="bower_components/angular/angular.js"></script>
  44. <script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
  45. <script src="bower_components/codemirror/lib/codemirror.js"></script>
  46. <script src="bower_components/codemirror/mode/xml/xml.js"></script>
  47. <script src="bower_components/codemirror/mode/javascript/javascript.js"></script>
  48. <script src="bower_components/codemirror/mode/css/css.js"></script>
  49. <script src="bower_components/codemirror/mode/htmlmixed/htmlmixed.js"></script>
  50. <script src="bower_components/codemirror/mode/markdown/markdown.js"></script>
  51. <script src="bower_components/codemirror/addon/mode/overlay.js"></script>
  52. <script src="bower_components/codemirror/mode/gfm/gfm.js"></script>
  53. <script src="bower_components/angular-ui-codemirror/ui-codemirror.js"></script>
  54. <script src="bower_components/marked/lib/marked.js"></script>
  55. <script src="node_modules/kity/dist/kity.js"></script>
  56. <script src="bower_components/hotbox/hotbox.js"></script>
  57. <script src="bower_components/json-diff/json-diff.js"></script>
  58. <script src="node_modules/kityminder-core/dist/kityminder.core.js"></script>
  59. <script src="bower_components/color-picker/dist/color-picker.js"></script>
  60. <script src="bower_components/seajs/dist/sea.js"></script>
  61. <!-- endbower -->
  62. <script src="ui/kityminder.app.js"></script>
  63. <script src="ui/service/commandBinder.service.js"></script>
  64. <script src="ui/service/config.service.js"></script>
  65. <script src="ui/service/memory.service.js"></script>
  66. <script src="ui/service/lang.zh-cn.service.js"></script>
  67. <script src="ui/service/valueTransfer.service.js"></script>
  68. <script src="ui/service/minder.service.js"></script>
  69. <script src="ui/service/resource.service.js"></script>
  70. <script src="ui/service/revokeDialog.service.js"></script>
  71. <script src="ui/service/server.service.js"></script>
  72. <script src="ui/filter/lang.filter.js"></script>
  73. <script src="ui/dialog/hyperlink/hyperlink.ctrl.js"></script>
  74. <script src="ui/dialog/image/image.ctrl.js"></script>
  75. <script src="ui/dialog/imExportNode/imExportNode.ctrl.js"></script>
  76. <script src="ui/directive/topTab/topTab.directive.js"></script>
  77. <script src="ui/directive/undoRedo/undoRedo.directive.js"></script>
  78. <script src="ui/directive/appendNode/appendNode.directive.js"></script>
  79. <script src="ui/directive/arrange/arrange.directive.js"></script>
  80. <script src="ui/directive/operation/operation.directive.js"></script>
  81. <script src="ui/directive/hyperLink/hyperLink.directive.js"></script>
  82. <script src="ui/directive/imageBtn/imageBtn.directive.js"></script>
  83. <script src="ui/directive/noteBtn/noteBtn.directive.js"></script>
  84. <script src="ui/directive/resourceEditor/resourceEditor.directive.js"></script>
  85. <script src="ui/directive/priorityEditor/priorityEditor.directive.js"></script>
  86. <script src="ui/directive/progressEditor/progressEditor.directive.js"></script>
  87. <script src="ui/directive/noteEditor/noteEditor.directive.js"></script>
  88. <script src="ui/directive/notePreviewer/notePreviewer.directive.js"></script>
  89. <script src="ui/directive/kityminderEditor/kityminderEditor.directive.js"></script>
  90. <script src="ui/directive/templateList/templateList.directive.js"></script>
  91. <script src="ui/directive/themeList/themeList.directive.js"></script>
  92. <script src="ui/directive/layout/layout.directive.js"></script>
  93. <script src="ui/directive/styleOperator/styleOperator.directive.js"></script>
  94. <script src="ui/directive/fontOperator/fontOperator.directive.js"></script>
  95. <script src="ui/directive/expandLevel/expandLevel.directive.js"></script>
  96. <script src="ui/directive/selectAll/selectAll.directive.js"></script>
  97. <script src="ui/directive/colorPanel/colorPanel.directive.js"></script>
  98. <script src="ui/directive/navigator/navigator.directive.js"></script>
  99. <script src="ui/directive/searchBox/searchBox.directive.js"></script>
  100. <script src="ui/directive/searchBtn/searchBtn.directive.js"></script>
  101. <script>
  102. angular.module('kityminderDemo', ['kityminderEditor'])
  103. .controller('MainController', function ($scope) {
  104. $scope.initEditor = function (editor, minder) {
  105. window.editor = editor;
  106. window.minder = minder;
  107. };
  108. });
  109. </script>
  110. </html>