├── .gitignore ├── README.md ├── admin ├── .project ├── css │ ├── bootstrap.css │ ├── bootstrap.min.css │ ├── index.css │ └── style.css ├── font │ ├── demo.css │ ├── demo_fontclass.html │ ├── demo_symbol.html │ ├── demo_unicode.html │ ├── iconfont.css │ ├── iconfont.eot │ ├── iconfont.js │ ├── iconfont.svg │ ├── iconfont.ttf │ └── iconfont.woff ├── html │ └── index.html ├── img │ ├── glyphicons-halflings-white.png │ └── glyphicons-halflings.png └── js │ ├── Chart-1.0.1-beta.4.js │ ├── Chart.min.js │ ├── bootstrap.js │ ├── bootstrap.min.js │ ├── chart-config.js │ ├── global.js │ ├── indexchart.js │ └── jquery.js ├── editor-md.html ├── getOrderList.php ├── index.html ├── index_tab.html ├── jqgrid.html ├── login.html ├── profile.html ├── sql └── employee.sql └── static ├── css ├── animate.min.css ├── base.css ├── bootstrap-rtl.min.css ├── bootstrap.min.css ├── img │ ├── ._select2-spinner.html │ ├── ._tree-icons.html │ ├── select2-spinner.html │ └── tree-icons.html └── profile.css ├── images └── avatar │ └── avatar.jpg ├── js └── jquery.js ├── lib ├── editor.md │ ├── .bower.json │ ├── BUGS.md │ ├── CHANGE.md │ ├── Gulpfile.js │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── css │ │ ├── editormd.css │ │ ├── editormd.logo.css │ │ ├── editormd.logo.min.css │ │ ├── editormd.min.css │ │ ├── editormd.preview.css │ │ └── editormd.preview.min.css │ ├── editormd.amd.js │ ├── editormd.amd.min.js │ ├── editormd.js │ ├── editormd.min.js │ ├── examples │ │ ├── @links.html │ │ ├── auto-height.html │ │ ├── change-mode.html │ │ ├── code-fold.html │ │ ├── css │ │ │ └── style.css │ │ ├── custom-keyboard-shortcuts.html │ │ ├── custom-toolbar.html │ │ ├── define-plugin.html │ │ ├── delay-renderer-preview.html │ │ ├── dynamic-create-editormd.html │ │ ├── emoji.html │ │ ├── extends.html │ │ ├── external-use.html │ │ ├── flowchart.html │ │ ├── form-get-value.html │ │ ├── full.html │ │ ├── goto-line.html │ │ ├── html-preview-markdown-to-html-custom-toc-container.html │ │ ├── html-preview-markdown-to-html.html │ │ ├── html-tags-decode.html │ │ ├── image-cross-domain-upload.html │ │ ├── image-upload.html │ │ ├── images │ │ │ ├── 4.jpg │ │ │ ├── 7.jpg │ │ │ ├── 8.jpg │ │ │ └── editormd-screenshot.png │ │ ├── index.html │ │ ├── js │ │ │ ├── jquery.min.js │ │ │ ├── require.min.js │ │ │ ├── sea.js │ │ │ ├── seajs-main.js │ │ │ └── zepto.min.js │ │ ├── katex.html │ │ ├── manually-load-modules.html │ │ ├── multi-editormd.html │ │ ├── multi-languages.html │ │ ├── on-off.html │ │ ├── onchange.html │ │ ├── onfullscreen.html │ │ ├── onload.html │ │ ├── onpreviewing-onpreviewed.html │ │ ├── onresize.html │ │ ├── onscroll-onpreviewscroll.html │ │ ├── onwatch-onunwatch.html │ │ ├── page-break.html │ │ ├── php │ │ │ ├── cross-domain-upload.php │ │ │ ├── editormd.uploader.class.php │ │ │ ├── post.php │ │ │ ├── upload.php │ │ │ └── upload_callback.html │ │ ├── readonly.html │ │ ├── resettings.html │ │ ├── search-replace.html │ │ ├── sequence-diagram.html │ │ ├── set-get-replace-selection.html │ │ ├── simple.html │ │ ├── sync-scrolling.html │ │ ├── task-lists.html │ │ ├── test.md │ │ ├── themes.html │ │ ├── toc.html │ │ ├── toolbar-auto-fixed.html │ │ ├── use-requirejs.html │ │ ├── use-seajs.html │ │ └── use-zepto.html │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── editormd-logo.eot │ │ ├── editormd-logo.svg │ │ ├── editormd-logo.ttf │ │ ├── editormd-logo.woff │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ ├── images │ │ ├── loading.gif │ │ ├── loading@2x.gif │ │ ├── loading@3x.gif │ │ └── logos │ │ │ ├── editormd-favicon-16x16.ico │ │ │ ├── editormd-favicon-24x24.ico │ │ │ ├── editormd-favicon-32x32.ico │ │ │ ├── editormd-favicon-48x48.ico │ │ │ ├── editormd-favicon-64x64.ico │ │ │ ├── editormd-logo-114x114.png │ │ │ ├── editormd-logo-120x120.png │ │ │ ├── editormd-logo-144x144.png │ │ │ ├── editormd-logo-16x16.png │ │ │ ├── editormd-logo-180x180.png │ │ │ ├── editormd-logo-240x240.png │ │ │ ├── editormd-logo-24x24.png │ │ │ ├── editormd-logo-320x320.png │ │ │ ├── editormd-logo-32x32.png │ │ │ ├── editormd-logo-48x48.png │ │ │ ├── editormd-logo-57x57.png │ │ │ ├── editormd-logo-64x64.png │ │ │ ├── editormd-logo-72x72.png │ │ │ ├── editormd-logo-96x96.png │ │ │ └── vi.png │ ├── languages │ │ ├── en.js │ │ └── zh-tw.js │ ├── lib │ │ ├── codemirror │ │ │ ├── AUTHORS │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── addon │ │ │ │ ├── comment │ │ │ │ │ ├── comment.js │ │ │ │ │ └── continuecomment.js │ │ │ │ ├── dialog │ │ │ │ │ ├── dialog.css │ │ │ │ │ └── dialog.js │ │ │ │ ├── display │ │ │ │ │ ├── fullscreen.css │ │ │ │ │ ├── fullscreen.js │ │ │ │ │ ├── panel.js │ │ │ │ │ ├── placeholder.js │ │ │ │ │ └── rulers.js │ │ │ │ ├── edit │ │ │ │ │ ├── closebrackets.js │ │ │ │ │ ├── closetag.js │ │ │ │ │ ├── continuelist.js │ │ │ │ │ ├── matchbrackets.js │ │ │ │ │ ├── matchtags.js │ │ │ │ │ └── trailingspace.js │ │ │ │ ├── fold │ │ │ │ │ ├── brace-fold.js │ │ │ │ │ ├── comment-fold.js │ │ │ │ │ ├── foldcode.js │ │ │ │ │ ├── foldgutter.css │ │ │ │ │ ├── foldgutter.js │ │ │ │ │ ├── indent-fold.js │ │ │ │ │ ├── markdown-fold.js │ │ │ │ │ └── xml-fold.js │ │ │ │ ├── hint │ │ │ │ │ ├── anyword-hint.js │ │ │ │ │ ├── css-hint.js │ │ │ │ │ ├── html-hint.js │ │ │ │ │ ├── javascript-hint.js │ │ │ │ │ ├── show-hint.css │ │ │ │ │ ├── show-hint.js │ │ │ │ │ ├── sql-hint.js │ │ │ │ │ └── xml-hint.js │ │ │ │ ├── lint │ │ │ │ │ ├── coffeescript-lint.js │ │ │ │ │ ├── css-lint.js │ │ │ │ │ ├── javascript-lint.js │ │ │ │ │ ├── json-lint.js │ │ │ │ │ ├── lint.css │ │ │ │ │ ├── lint.js │ │ │ │ │ └── yaml-lint.js │ │ │ │ ├── merge │ │ │ │ │ ├── merge.css │ │ │ │ │ └── merge.js │ │ │ │ ├── mode │ │ │ │ │ ├── loadmode.js │ │ │ │ │ ├── multiplex.js │ │ │ │ │ ├── multiplex_test.js │ │ │ │ │ ├── overlay.js │ │ │ │ │ └── simple.js │ │ │ │ ├── runmode │ │ │ │ │ ├── colorize.js │ │ │ │ │ ├── runmode-standalone.js │ │ │ │ │ ├── runmode.js │ │ │ │ │ └── runmode.node.js │ │ │ │ ├── scroll │ │ │ │ │ ├── annotatescrollbar.js │ │ │ │ │ ├── scrollpastend.js │ │ │ │ │ ├── simplescrollbars.css │ │ │ │ │ └── simplescrollbars.js │ │ │ │ ├── search │ │ │ │ │ ├── match-highlighter.js │ │ │ │ │ ├── matchesonscrollbar.css │ │ │ │ │ ├── matchesonscrollbar.js │ │ │ │ │ ├── search.js │ │ │ │ │ └── searchcursor.js │ │ │ │ ├── selection │ │ │ │ │ ├── active-line.js │ │ │ │ │ ├── mark-selection.js │ │ │ │ │ └── selection-pointer.js │ │ │ │ ├── tern │ │ │ │ │ ├── tern.css │ │ │ │ │ ├── tern.js │ │ │ │ │ └── worker.js │ │ │ │ └── wrap │ │ │ │ │ └── hardwrap.js │ │ │ ├── addons.min.js │ │ │ ├── bower.json │ │ │ ├── codemirror.min.css │ │ │ ├── codemirror.min.js │ │ │ ├── lib │ │ │ │ ├── codemirror.css │ │ │ │ └── codemirror.js │ │ │ ├── mode │ │ │ │ ├── apl │ │ │ │ │ ├── apl.js │ │ │ │ │ └── index.html │ │ │ │ ├── asterisk │ │ │ │ │ ├── asterisk.js │ │ │ │ │ └── index.html │ │ │ │ ├── clike │ │ │ │ │ ├── clike.js │ │ │ │ │ ├── index.html │ │ │ │ │ └── scala.html │ │ │ │ ├── clojure │ │ │ │ │ ├── clojure.js │ │ │ │ │ └── index.html │ │ │ │ ├── cobol │ │ │ │ │ ├── cobol.js │ │ │ │ │ └── index.html │ │ │ │ ├── coffeescript │ │ │ │ │ ├── coffeescript.js │ │ │ │ │ └── index.html │ │ │ │ ├── commonlisp │ │ │ │ │ ├── commonlisp.js │ │ │ │ │ └── index.html │ │ │ │ ├── css │ │ │ │ │ ├── css.js │ │ │ │ │ ├── index.html │ │ │ │ │ ├── less.html │ │ │ │ │ ├── less_test.js │ │ │ │ │ ├── scss.html │ │ │ │ │ ├── scss_test.js │ │ │ │ │ └── test.js │ │ │ │ ├── cypher │ │ │ │ │ ├── cypher.js │ │ │ │ │ └── index.html │ │ │ │ ├── d │ │ │ │ │ ├── d.js │ │ │ │ │ └── index.html │ │ │ │ ├── dart │ │ │ │ │ ├── dart.js │ │ │ │ │ └── index.html │ │ │ │ ├── diff │ │ │ │ │ ├── diff.js │ │ │ │ │ └── index.html │ │ │ │ ├── django │ │ │ │ │ ├── django.js │ │ │ │ │ └── index.html │ │ │ │ ├── dockerfile │ │ │ │ │ ├── dockerfile.js │ │ │ │ │ └── index.html │ │ │ │ ├── dtd │ │ │ │ │ ├── dtd.js │ │ │ │ │ └── index.html │ │ │ │ ├── dylan │ │ │ │ │ ├── dylan.js │ │ │ │ │ └── index.html │ │ │ │ ├── ebnf │ │ │ │ │ ├── ebnf.js │ │ │ │ │ └── index.html │ │ │ │ ├── ecl │ │ │ │ │ ├── ecl.js │ │ │ │ │ └── index.html │ │ │ │ ├── eiffel │ │ │ │ │ ├── eiffel.js │ │ │ │ │ └── index.html │ │ │ │ ├── erlang │ │ │ │ │ ├── erlang.js │ │ │ │ │ └── index.html │ │ │ │ ├── forth │ │ │ │ │ ├── forth.js │ │ │ │ │ └── index.html │ │ │ │ ├── fortran │ │ │ │ │ ├── fortran.js │ │ │ │ │ └── index.html │ │ │ │ ├── gas │ │ │ │ │ ├── gas.js │ │ │ │ │ └── index.html │ │ │ │ ├── gfm │ │ │ │ │ ├── gfm.js │ │ │ │ │ ├── index.html │ │ │ │ │ └── test.js │ │ │ │ ├── gherkin │ │ │ │ │ ├── gherkin.js │ │ │ │ │ └── index.html │ │ │ │ ├── go │ │ │ │ │ ├── go.js │ │ │ │ │ └── index.html │ │ │ │ ├── groovy │ │ │ │ │ ├── groovy.js │ │ │ │ │ └── index.html │ │ │ │ ├── haml │ │ │ │ │ ├── haml.js │ │ │ │ │ ├── index.html │ │ │ │ │ └── test.js │ │ │ │ ├── haskell │ │ │ │ │ ├── haskell.js │ │ │ │ │ └── index.html │ │ │ │ ├── haxe │ │ │ │ │ ├── haxe.js │ │ │ │ │ └── index.html │ │ │ │ ├── htmlembedded │ │ │ │ │ ├── htmlembedded.js │ │ │ │ │ └── index.html │ │ │ │ ├── htmlmixed │ │ │ │ │ ├── htmlmixed.js │ │ │ │ │ └── index.html │ │ │ │ ├── http │ │ │ │ │ ├── http.js │ │ │ │ │ └── index.html │ │ │ │ ├── idl │ │ │ │ │ ├── idl.js │ │ │ │ │ └── index.html │ │ │ │ ├── index.html │ │ │ │ ├── jade │ │ │ │ │ ├── index.html │ │ │ │ │ └── jade.js │ │ │ │ ├── javascript │ │ │ │ │ ├── index.html │ │ │ │ │ ├── javascript.js │ │ │ │ │ ├── json-ld.html │ │ │ │ │ ├── test.js │ │ │ │ │ └── typescript.html │ │ │ │ ├── jinja2 │ │ │ │ │ ├── index.html │ │ │ │ │ └── jinja2.js │ │ │ │ ├── julia │ │ │ │ │ ├── index.html │ │ │ │ │ └── julia.js │ │ │ │ ├── kotlin │ │ │ │ │ ├── index.html │ │ │ │ │ └── kotlin.js │ │ │ │ ├── livescript │ │ │ │ │ ├── index.html │ │ │ │ │ └── livescript.js │ │ │ │ ├── lua │ │ │ │ │ ├── index.html │ │ │ │ │ └── lua.js │ │ │ │ ├── markdown │ │ │ │ │ ├── index.html │ │ │ │ │ ├── markdown.js │ │ │ │ │ └── test.js │ │ │ │ ├── meta.js │ │ │ │ ├── mirc │ │ │ │ │ ├── index.html │ │ │ │ │ └── mirc.js │ │ │ │ ├── mllike │ │ │ │ │ ├── index.html │ │ │ │ │ └── mllike.js │ │ │ │ ├── modelica │ │ │ │ │ ├── index.html │ │ │ │ │ └── modelica.js │ │ │ │ ├── nginx │ │ │ │ │ ├── index.html │ │ │ │ │ └── nginx.js │ │ │ │ ├── ntriples │ │ │ │ │ ├── index.html │ │ │ │ │ └── ntriples.js │ │ │ │ ├── octave │ │ │ │ │ ├── index.html │ │ │ │ │ └── octave.js │ │ │ │ ├── pascal │ │ │ │ │ ├── index.html │ │ │ │ │ └── pascal.js │ │ │ │ ├── pegjs │ │ │ │ │ ├── index.html │ │ │ │ │ └── pegjs.js │ │ │ │ ├── perl │ │ │ │ │ ├── index.html │ │ │ │ │ └── perl.js │ │ │ │ ├── php │ │ │ │ │ ├── index.html │ │ │ │ │ ├── php.js │ │ │ │ │ └── test.js │ │ │ │ ├── pig │ │ │ │ │ ├── index.html │ │ │ │ │ └── pig.js │ │ │ │ ├── properties │ │ │ │ │ ├── index.html │ │ │ │ │ └── properties.js │ │ │ │ ├── puppet │ │ │ │ │ ├── index.html │ │ │ │ │ └── puppet.js │ │ │ │ ├── python │ │ │ │ │ ├── index.html │ │ │ │ │ └── python.js │ │ │ │ ├── q │ │ │ │ │ ├── index.html │ │ │ │ │ └── q.js │ │ │ │ ├── r │ │ │ │ │ ├── index.html │ │ │ │ │ └── r.js │ │ │ │ ├── rpm │ │ │ │ │ ├── changes │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── index.html │ │ │ │ │ └── rpm.js │ │ │ │ ├── rst │ │ │ │ │ ├── index.html │ │ │ │ │ └── rst.js │ │ │ │ ├── ruby │ │ │ │ │ ├── index.html │ │ │ │ │ ├── ruby.js │ │ │ │ │ └── test.js │ │ │ │ ├── rust │ │ │ │ │ ├── index.html │ │ │ │ │ └── rust.js │ │ │ │ ├── sass │ │ │ │ │ ├── index.html │ │ │ │ │ └── sass.js │ │ │ │ ├── scheme │ │ │ │ │ ├── index.html │ │ │ │ │ └── scheme.js │ │ │ │ ├── shell │ │ │ │ │ ├── index.html │ │ │ │ │ ├── shell.js │ │ │ │ │ └── test.js │ │ │ │ ├── sieve │ │ │ │ │ ├── index.html │ │ │ │ │ └── sieve.js │ │ │ │ ├── slim │ │ │ │ │ ├── index.html │ │ │ │ │ ├── slim.js │ │ │ │ │ └── test.js │ │ │ │ ├── smalltalk │ │ │ │ │ ├── index.html │ │ │ │ │ └── smalltalk.js │ │ │ │ ├── smarty │ │ │ │ │ ├── index.html │ │ │ │ │ └── smarty.js │ │ │ │ ├── smartymixed │ │ │ │ │ ├── index.html │ │ │ │ │ └── smartymixed.js │ │ │ │ ├── solr │ │ │ │ │ ├── index.html │ │ │ │ │ └── solr.js │ │ │ │ ├── soy │ │ │ │ │ ├── index.html │ │ │ │ │ └── soy.js │ │ │ │ ├── sparql │ │ │ │ │ ├── index.html │ │ │ │ │ └── sparql.js │ │ │ │ ├── spreadsheet │ │ │ │ │ ├── index.html │ │ │ │ │ └── spreadsheet.js │ │ │ │ ├── sql │ │ │ │ │ ├── index.html │ │ │ │ │ └── sql.js │ │ │ │ ├── stex │ │ │ │ │ ├── index.html │ │ │ │ │ ├── stex.js │ │ │ │ │ └── test.js │ │ │ │ ├── stylus │ │ │ │ │ ├── index.html │ │ │ │ │ └── stylus.js │ │ │ │ ├── tcl │ │ │ │ │ ├── index.html │ │ │ │ │ └── tcl.js │ │ │ │ ├── textile │ │ │ │ │ ├── index.html │ │ │ │ │ ├── test.js │ │ │ │ │ └── textile.js │ │ │ │ ├── tiddlywiki │ │ │ │ │ ├── index.html │ │ │ │ │ ├── tiddlywiki.css │ │ │ │ │ └── tiddlywiki.js │ │ │ │ ├── tiki │ │ │ │ │ ├── index.html │ │ │ │ │ ├── tiki.css │ │ │ │ │ └── tiki.js │ │ │ │ ├── toml │ │ │ │ │ ├── index.html │ │ │ │ │ └── toml.js │ │ │ │ ├── tornado │ │ │ │ │ ├── index.html │ │ │ │ │ └── tornado.js │ │ │ │ ├── turtle │ │ │ │ │ ├── index.html │ │ │ │ │ └── turtle.js │ │ │ │ ├── vb │ │ │ │ │ ├── index.html │ │ │ │ │ └── vb.js │ │ │ │ ├── vbscript │ │ │ │ │ ├── index.html │ │ │ │ │ └── vbscript.js │ │ │ │ ├── velocity │ │ │ │ │ ├── index.html │ │ │ │ │ └── velocity.js │ │ │ │ ├── verilog │ │ │ │ │ ├── index.html │ │ │ │ │ ├── test.js │ │ │ │ │ └── verilog.js │ │ │ │ ├── xml │ │ │ │ │ ├── index.html │ │ │ │ │ ├── test.js │ │ │ │ │ └── xml.js │ │ │ │ ├── xquery │ │ │ │ │ ├── index.html │ │ │ │ │ ├── test.js │ │ │ │ │ └── xquery.js │ │ │ │ ├── yaml │ │ │ │ │ ├── index.html │ │ │ │ │ └── yaml.js │ │ │ │ └── z80 │ │ │ │ │ ├── index.html │ │ │ │ │ └── z80.js │ │ │ ├── modes.min.js │ │ │ ├── package.json │ │ │ └── theme │ │ │ │ ├── 3024-day.css │ │ │ │ ├── 3024-night.css │ │ │ │ ├── ambiance-mobile.css │ │ │ │ ├── ambiance.css │ │ │ │ ├── base16-dark.css │ │ │ │ ├── base16-light.css │ │ │ │ ├── blackboard.css │ │ │ │ ├── cobalt.css │ │ │ │ ├── colorforth.css │ │ │ │ ├── eclipse.css │ │ │ │ ├── elegant.css │ │ │ │ ├── erlang-dark.css │ │ │ │ ├── lesser-dark.css │ │ │ │ ├── mbo.css │ │ │ │ ├── mdn-like.css │ │ │ │ ├── midnight.css │ │ │ │ ├── monokai.css │ │ │ │ ├── neat.css │ │ │ │ ├── neo.css │ │ │ │ ├── night.css │ │ │ │ ├── paraiso-dark.css │ │ │ │ ├── paraiso-light.css │ │ │ │ ├── pastel-on-dark.css │ │ │ │ ├── rubyblue.css │ │ │ │ ├── solarized.css │ │ │ │ ├── the-matrix.css │ │ │ │ ├── tomorrow-night-bright.css │ │ │ │ ├── tomorrow-night-eighties.css │ │ │ │ ├── twilight.css │ │ │ │ ├── vibrant-ink.css │ │ │ │ ├── xq-dark.css │ │ │ │ ├── xq-light.css │ │ │ │ └── zenburn.css │ │ ├── flowchart.min.js │ │ ├── jquery.flowchart.min.js │ │ ├── marked.min.js │ │ ├── prettify.min.js │ │ ├── raphael.min.js │ │ ├── sequence-diagram.min.js │ │ └── underscore.min.js │ ├── package.json │ ├── plugins │ │ ├── code-block-dialog │ │ │ └── code-block-dialog.js │ │ ├── emoji-dialog │ │ │ ├── emoji-dialog.js │ │ │ └── emoji.json │ │ ├── goto-line-dialog │ │ │ └── goto-line-dialog.js │ │ ├── help-dialog │ │ │ ├── help-dialog.js │ │ │ └── help.md │ │ ├── html-entities-dialog │ │ │ ├── html-entities-dialog.js │ │ │ └── html-entities.json │ │ ├── image-dialog │ │ │ └── image-dialog.js │ │ ├── link-dialog │ │ │ └── link-dialog.js │ │ ├── plugin-template.js │ │ ├── preformatted-text-dialog │ │ │ └── preformatted-text-dialog.js │ │ ├── reference-link-dialog │ │ │ └── reference-link-dialog.js │ │ ├── table-dialog │ │ │ └── table-dialog.js │ │ └── test-plugin │ │ │ └── test-plugin.js │ ├── scss │ │ ├── editormd.codemirror.scss │ │ ├── editormd.dialog.scss │ │ ├── editormd.form.scss │ │ ├── editormd.grid.scss │ │ ├── editormd.logo.scss │ │ ├── editormd.menu.scss │ │ ├── editormd.preview.scss │ │ ├── editormd.preview.themes.scss │ │ ├── editormd.scss │ │ ├── editormd.tab.scss │ │ ├── editormd.themes.scss │ │ ├── font-awesome.scss │ │ ├── github-markdown.scss │ │ ├── lib │ │ │ ├── prefixes.scss │ │ │ └── variables.scss │ │ └── prettify.scss │ └── src │ │ └── editormd.js ├── jqform │ └── jquery.form.js ├── jqgrid │ ├── css │ │ ├── ui.ace.css │ │ ├── ui.jqgrid-bootstrap-ui.css │ │ ├── ui.jqgrid-bootstrap.css │ │ ├── ui.jqgrid.css │ │ └── ui.lm.css │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── OpenSans-300.woff │ │ ├── OpenSans-400.woff │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── readme │ ├── js │ │ ├── Changes.txt │ │ ├── i18n │ │ │ ├── grid.locale-ar.js │ │ │ ├── grid.locale-bg.js │ │ │ ├── grid.locale-ca.js │ │ │ ├── grid.locale-cn.js │ │ │ ├── grid.locale-cs.js │ │ │ ├── grid.locale-de.js │ │ │ ├── grid.locale-dk.js │ │ │ ├── grid.locale-el.js │ │ │ ├── grid.locale-en.js │ │ │ ├── grid.locale-es.js │ │ │ ├── grid.locale-fa.js │ │ │ ├── grid.locale-fi.js │ │ │ ├── grid.locale-fr.js │ │ │ ├── grid.locale-gl.js │ │ │ ├── grid.locale-he.js │ │ │ ├── grid.locale-hr.js │ │ │ ├── grid.locale-hu.js │ │ │ ├── grid.locale-id.js │ │ │ ├── grid.locale-is.js │ │ │ ├── grid.locale-it.js │ │ │ ├── grid.locale-ja.js │ │ │ ├── grid.locale-kr.js │ │ │ ├── grid.locale-lt.js │ │ │ ├── grid.locale-me.js │ │ │ ├── grid.locale-nl.js │ │ │ ├── grid.locale-no.js │ │ │ ├── grid.locale-pl.js │ │ │ ├── grid.locale-pt-br.js │ │ │ ├── grid.locale-pt.js │ │ │ ├── grid.locale-ro.js │ │ │ ├── grid.locale-ru.js │ │ │ ├── grid.locale-sk.js │ │ │ ├── grid.locale-sr-latin.js │ │ │ ├── grid.locale-sr.js │ │ │ ├── grid.locale-sv.js │ │ │ ├── grid.locale-th.js │ │ │ ├── grid.locale-tr.js │ │ │ ├── grid.locale-tw.js │ │ │ ├── grid.locale-ua.js │ │ │ ├── grid.locale-uk.js │ │ │ └── grid.locale-vi.js │ │ ├── install.txt │ │ ├── jquery-1.11.0.min.js │ │ └── jquery.jqGrid.min.js │ ├── plugins │ │ ├── grid.addons.js │ │ ├── grid.postext.js │ │ ├── grid.setcolumns.js │ │ ├── jquery.contextmenu.js │ │ ├── jquery.searchFilter.js │ │ ├── jquery.tablednd.js │ │ ├── searchFilter.css │ │ ├── ui.multiselect.css │ │ └── ui.multiselect.js │ └── src │ │ ├── css │ │ ├── ui.jqgrid-bootstrap-ui.css │ │ ├── ui.jqgrid-bootstrap.css │ │ ├── ui.jqgrid.css │ │ └── ui.multiselect.css │ │ ├── grid.base.js │ │ ├── grid.celledit.js │ │ ├── grid.common.js │ │ ├── grid.filter.js │ │ ├── grid.formedit.js │ │ ├── grid.grouping.js │ │ ├── grid.import.js │ │ ├── grid.inlinedit.js │ │ ├── grid.jqueryui.js │ │ ├── grid.pivot.js │ │ ├── grid.subgrid.js │ │ ├── grid.treegrid.js │ │ ├── grid.utils.js │ │ ├── i18n │ │ ├── grid.locale-ar.js │ │ ├── grid.locale-bg.js │ │ ├── grid.locale-ca.js │ │ ├── grid.locale-cn.js │ │ ├── grid.locale-cs.js │ │ ├── grid.locale-de.js │ │ ├── grid.locale-dk.js │ │ ├── grid.locale-el.js │ │ ├── grid.locale-en.js │ │ ├── grid.locale-es.js │ │ ├── grid.locale-fa.js │ │ ├── grid.locale-fi.js │ │ ├── grid.locale-fr.js │ │ ├── grid.locale-gl.js │ │ ├── grid.locale-he.js │ │ ├── grid.locale-hr.js │ │ ├── grid.locale-hu.js │ │ ├── grid.locale-id.js │ │ ├── grid.locale-is.js │ │ ├── grid.locale-it.js │ │ ├── grid.locale-ja.js │ │ ├── grid.locale-kr.js │ │ ├── grid.locale-lt.js │ │ ├── grid.locale-me.js │ │ ├── grid.locale-nl.js │ │ ├── grid.locale-no.js │ │ ├── grid.locale-pl.js │ │ ├── grid.locale-pt-br.js │ │ ├── grid.locale-pt.js │ │ ├── grid.locale-ro.js │ │ ├── grid.locale-ru.js │ │ ├── grid.locale-sk.js │ │ ├── grid.locale-sr-latin.js │ │ ├── grid.locale-sr.js │ │ ├── grid.locale-sv.js │ │ ├── grid.locale-th.js │ │ ├── grid.locale-tr.js │ │ ├── grid.locale-tw.js │ │ ├── grid.locale-ua.js │ │ ├── grid.locale-uk.js │ │ └── grid.locale-vi.js │ │ ├── jqDnR.js │ │ ├── jqModal.js │ │ ├── jquery.fmatter.js │ │ └── jquery.jqGrid.js ├── jqupload │ ├── delete.php │ ├── index.php │ ├── jquery.uploadfile.js │ ├── jquery.uploadfile.min.js │ ├── upload.php │ └── uploadfile.css ├── jqvalidation │ ├── .gitignore │ ├── README.md │ ├── css │ │ ├── customMessages.css │ │ ├── releasenotes.plugin.css │ │ ├── screenshot.png │ │ ├── style.css │ │ ├── template.css │ │ └── validationEngine.jquery.css │ ├── demos │ │ ├── demoAdjustments.html │ │ ├── demoAjaxInlinePHP.html │ │ ├── demoAjaxJAVA.html │ │ ├── demoAjaxSubmitPHP.html │ │ ├── demoAttr.html │ │ ├── demoAutoHide.html │ │ ├── demoCheckBox.html │ │ ├── demoChosenLibrary.html │ │ ├── demoCustomErrorMessages.html │ │ ├── demoDatepicker.html │ │ ├── demoDivContainer.html │ │ ├── demoErrorLimit.html │ │ ├── demoFieldTypes.html │ │ ├── demoGlobalSettings.html │ │ ├── demoHooks.html │ │ ├── demoInlineMessages.html │ │ ├── demoLiveEvent.html │ │ ├── demoMultipleForms.html │ │ ├── demoNotEmpty.html │ │ ├── demoOnForm.html │ │ ├── demoOneMessage.html │ │ ├── demoOverflown.html │ │ ├── demoPerFieldPromptDirection.html │ │ ├── demoPositioning.html │ │ ├── demoRegExp.html │ │ ├── demoSelectBoxLibrary.html │ │ ├── demoShowPrompt.html │ │ ├── demoSilent.html │ │ ├── demoValidationComplete.html │ │ ├── demoValidators.html │ │ ├── demoValidators.ja.html │ │ ├── demoWithoutId.html │ │ └── phpajax │ │ │ ├── ajaxValidateFieldName.php │ │ │ ├── ajaxValidateFieldUser.php │ │ │ └── ajaxValidateSubmit.php │ ├── favicon.ico │ ├── images │ │ ├── bg.jpg │ │ ├── bg2.png │ │ ├── bg_new.png │ │ ├── bodybg.png │ │ ├── bubble-arrow.png │ │ ├── icons.png │ │ ├── johnny_automatic_skew_gear.svg │ │ └── lineseparator.png │ ├── index.html │ ├── js │ │ ├── contrib │ │ │ └── other-validations.js │ │ ├── jquery-1.8.2.min.js │ │ ├── jquery.validationEngine.js │ │ ├── languages │ │ │ ├── jquery.validationEngine-ca.js │ │ │ ├── jquery.validationEngine-cz.js │ │ │ ├── jquery.validationEngine-da.js │ │ │ ├── jquery.validationEngine-de.js │ │ │ ├── jquery.validationEngine-el.js │ │ │ ├── jquery.validationEngine-en.js │ │ │ ├── jquery.validationEngine-es.js │ │ │ ├── jquery.validationEngine-et.js │ │ │ ├── jquery.validationEngine-fa.js │ │ │ ├── jquery.validationEngine-fi.js │ │ │ ├── jquery.validationEngine-fr.js │ │ │ ├── jquery.validationEngine-he.js │ │ │ ├── jquery.validationEngine-hr.js │ │ │ ├── jquery.validationEngine-hu.js │ │ │ ├── jquery.validationEngine-id.js │ │ │ ├── jquery.validationEngine-it.js │ │ │ ├── jquery.validationEngine-ja.js │ │ │ ├── jquery.validationEngine-lt.js │ │ │ ├── jquery.validationEngine-nl.js │ │ │ ├── jquery.validationEngine-no.js │ │ │ ├── jquery.validationEngine-pl.js │ │ │ ├── jquery.validationEngine-pt.js │ │ │ ├── jquery.validationEngine-pt_BR.js │ │ │ ├── jquery.validationEngine-ro.js │ │ │ ├── jquery.validationEngine-ru.js │ │ │ ├── jquery.validationEngine-sr_Cyrl.js │ │ │ ├── jquery.validationEngine-sr_Latn.js │ │ │ ├── jquery.validationEngine-sv.js │ │ │ ├── jquery.validationEngine-th.js │ │ │ ├── jquery.validationEngine-tr.js │ │ │ ├── jquery.validationEngine-vi.js │ │ │ ├── jquery.validationEngine-zh_CN.js │ │ │ └── jquery.validationEngine-zh_TW.js │ │ ├── libs │ │ │ ├── jquery-1.7.1.min.js │ │ │ ├── marked.js │ │ │ └── modernizr-2.0.6.min.js │ │ ├── releasenotes.js │ │ └── script.js │ ├── less │ │ └── validationEngine.jquery.less │ ├── releases.html │ ├── runDemo.bat │ ├── runDemo.sh │ ├── test │ │ ├── AjaxTestServer$AjaxValidationFieldResponse.class │ │ ├── AjaxTestServer$AjaxValidationFormResponse.class │ │ ├── AjaxTestServer.class │ │ ├── AjaxTestServer.java │ │ ├── NanoHTTPD$HTTPSession.class │ │ ├── NanoHTTPD$Response.class │ │ ├── NanoHTTPD.class │ │ └── NanoHTTPD.java │ ├── tests │ │ ├── issue430.html │ │ ├── issue451.html │ │ ├── issue480.html │ │ ├── issue493.html │ │ ├── issue498.html │ │ ├── issue507.html │ │ ├── issue524.html │ │ └── placeholders.html │ └── validationengine.jquery.json └── layer │ ├── extend │ └── layer.ext.js │ ├── layer.js │ └── skin │ ├── default │ ├── icon-ext.png │ ├── icon.png │ ├── loading-0.gif │ ├── loading-1.gif │ └── loading-2.gif │ ├── layer.css │ └── layer.ext.css └── zui ├── .DS_Store ├── css ├── zui-theme.css ├── zui-theme.css.map ├── zui-theme.min.css ├── zui.css ├── zui.css.map ├── zui.lite.css ├── zui.lite.css.map ├── zui.lite.min.css └── zui.min.css ├── fonts ├── zenicon.eot ├── zenicon.svg ├── zenicon.ttf └── zenicon.woff ├── js ├── zui.js ├── zui.lite.js ├── zui.lite.min.js ├── zui.min.js ├── zui.min.plus.js └── zui.src.js └── lib ├── array ├── array.js └── array.min.js ├── board ├── zui.board.css ├── zui.board.css.map ├── zui.board.js ├── zui.board.min.css └── zui.board.min.js ├── calendar ├── zui.calendar.css ├── zui.calendar.css.map ├── zui.calendar.js ├── zui.calendar.min.css └── zui.calendar.min.js ├── chart ├── chart.js └── chart.min.js ├── chosen ├── chosen.css ├── chosen.css.map ├── chosen.icons.css ├── chosen.icons.css.map ├── chosen.icons.js ├── chosen.icons.min.css ├── chosen.icons.min.js ├── chosen.js ├── chosen.min.css └── chosen.min.js ├── datatable ├── zui.datatable.css ├── zui.datatable.css.map ├── zui.datatable.js ├── zui.datatable.min.css └── zui.datatable.min.js ├── datetimepicker ├── datetimepicker.css ├── datetimepicker.css.map ├── datetimepicker.js ├── datetimepicker.min.css └── datetimepicker.min.js ├── hotkey ├── hotkey.js └── hotkey.min.js ├── ieonly ├── excanvas.js ├── html5shiv.js └── respond.js ├── imgcutter ├── zui.imgcutter.css ├── zui.imgcutter.css.map ├── zui.imgcutter.js ├── zui.imgcutter.min.css └── zui.imgcutter.min.js ├── jquery └── jquery.js ├── kindeditor ├── kindeditor.css ├── kindeditor.css.map ├── kindeditor.js ├── kindeditor.min.css ├── kindeditor.min.js ├── lang │ ├── en.js │ ├── zh_CN.js │ └── zh_TW.js └── themes │ └── default │ ├── default.css │ ├── default.png │ ├── default.psd │ └── gray.png └── migrate ├── migrate1.2.js └── migrate1.2.min.js /.gitignore: -------------------------------------------------------------------------------- 1 | /nbproject/private/ 2 | /nbproject 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 这是一个基于zui的后台管理模板 # 2 | zui是什么?请看这里:[http://www.zui.sexy/#/](http://www.zui.sexy/#/ "zui") 3 | 4 | 想要获取更多信息,请戳这里:[http://blog.rc5j.cn](http://blog.rc5j.cn "麦穗博客") 5 | 6 | ## 效果图: 7 | 8 | ![Paste_Image.png](http://upload-images.jianshu.io/upload_images/4033700-27456ea4e88fa149.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) 9 | 10 | ## 特点 11 | 12 | - 历经多个线上项目 13 | - 基于zui(禅道系统所属公司维护),易拓展易升级 14 | - 持续更新 15 | ## 更新日志 16 | 10/13/2015 5:50:33 PM 17 | 18 | **添加jqgrid demo orderlist.html 和php 数据demo** 19 | 20 | 12/15/2015 2:40:09 PM 21 | 22 | **添加登录页login.html** 23 | 24 | 12/2/2016 10:44:47 AM 25 | 26 | **添加editor.md markdown编辑器** 27 | 28 | 29 | -------------------------------------------------------------------------------- /admin/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | admin 4 | 5 | 6 | 7 | 8 | 9 | com.aptana.ide.core.unifiedBuilder 10 | 11 | 12 | 13 | 14 | 15 | com.aptana.projects.webnature 16 | 17 | 18 | 19 | 1480474956366 20 | 21 | 26 22 | 23 | org.eclipse.ui.ide.multiFilter 24 | 1.0-name-matches-false-false-node_modules 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /admin/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/admin/font/iconfont.eot -------------------------------------------------------------------------------- /admin/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/admin/font/iconfont.ttf -------------------------------------------------------------------------------- /admin/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/admin/font/iconfont.woff -------------------------------------------------------------------------------- /admin/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/admin/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /admin/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/admin/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /admin/js/chart-config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | var Doughnut = {}; 7 | 8 | Doughnut.defaults = { 9 | //Boolean - Whether we should show a stroke on each segment 10 | segmentShowStroke : true, 11 | 12 | //String - The colour of each segment stroke 13 | segmentStrokeColor : "#fff", 14 | 15 | //Number - The width of each segment stroke 16 | segmentStrokeWidth : 2, 17 | 18 | //The percentage of the chart that we cut out of the middle. 19 | percentageInnerCutout : 50, 20 | 21 | //Boolean - Whether we should animate the chart 22 | animation : true, 23 | 24 | //Number - Amount of animation steps 25 | animationSteps : 100, 26 | 27 | //String - Animation easing effect 28 | animationEasing : "easeOutBounce", 29 | 30 | //Boolean - Whether we animate the rotation of the Doughnut 31 | animateRotate : true, 32 | 33 | //Boolean - Whether we animate scaling the Doughnut from the centre 34 | animateScale : false, 35 | 36 | //Function - Will fire on animation completion. 37 | onAnimationComplete : null 38 | }; -------------------------------------------------------------------------------- /getOrderList.php: -------------------------------------------------------------------------------- 1 | query('SET NAMES UTF8'); 11 | $page = $_POST['page']; 12 | $pageSize = $_POST['rows']; 13 | $sort = $_POST['sord']; 14 | $order = $_POST['sidx']; 15 | $offset = ($page - 1) * $pageSize; //分页起始条数 16 | $sql = "select * from employee order by $order $sort limit $offset, $pageSize"; 17 | $result = $conn->query($sql); 18 | $rows = []; 19 | if ($result) { 20 | $nums = $result->num_rows; 21 | while ($row = $result->fetch_assoc()) { 22 | $rows[] = $row; 23 | } 24 | } 25 | if ($nums > 0) { 26 | $total_pages = ceil($nums / $pageSize); 27 | } else { 28 | $total_pages = 0; 29 | } 30 | $arr_json = array('page' => $page, 'total' => $total_pages, 'records' => $nums, 'rows' => $rows); 31 | ajaxReturn($arr_json); 32 | 33 | /** 34 | * 35 | * @param array $data 36 | */ 37 | function ajaxReturn(array $data) { 38 | header('content-type:application/json;charset=utf8'); 39 | exit(json_encode($data, JSON_UNESCAPED_UNICODE)); 40 | } 41 | -------------------------------------------------------------------------------- /static/css/img/._select2-spinner.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/css/img/._select2-spinner.html -------------------------------------------------------------------------------- /static/css/img/._tree-icons.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/css/img/._tree-icons.html -------------------------------------------------------------------------------- /static/css/img/select2-spinner.html: -------------------------------------------------------------------------------- 1 | 2 | 404 Not Found 3 | 4 |

404 Not Found

5 |
    6 |
  • Code: NoSuchKey
  • 7 |
  • Message: The specified key does not exist.
  • 8 |
  • Key: assets/css/img/select2-spinner.gif
  • 9 |
  • RequestId: 52670299CC0CAD4E
  • 10 |
  • HostId: NTdRbXjfRfG03a9POnuJo4gGb3/APaO+r603XTTqtlT0JbtYuuCH5MYayOWKfpjNcYjhmFwsx4g=
  • 11 |
12 |

An Error Occurred While Attempting to Retrieve a Custom Error Document

13 |
    14 |
  • Code: NoSuchKey
  • 15 |
  • Message: The specified key does not exist.
  • 16 |
  • Key: error-500-html
  • 17 |
18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /static/css/img/tree-icons.html: -------------------------------------------------------------------------------- 1 | 2 | 404 Not Found 3 | 4 |

404 Not Found

5 |
    6 |
  • Code: NoSuchKey
  • 7 |
  • Message: The specified key does not exist.
  • 8 |
  • Key: assets/css/img/tree-icons.png
  • 9 |
  • RequestId: 8638F6134D05AD79
  • 10 |
  • HostId: 6G1AbxpiXxX1A6zPaGO1iwC3+nKsKm0PSml5O2y/BWm/a+JHzlCbyeuRF625OJEP+EgnC4Jefso=
  • 11 |
12 |

An Error Occurred While Attempting to Retrieve a Custom Error Document

13 |
    14 |
  • Code: NoSuchKey
  • 15 |
  • Message: The specified key does not exist.
  • 16 |
  • Key: error-500-html
  • 17 |
18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /static/images/avatar/avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/images/avatar/avatar.jpg -------------------------------------------------------------------------------- /static/lib/editor.md/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "editor.md", 3 | "version": "1.5.0", 4 | "homepage": "https://github.com/pandao/editor.md", 5 | "authors": [ 6 | "Pandao " 7 | ], 8 | "description": "Open source online markdown editor.", 9 | "keywords": [ 10 | "editor.md", 11 | "markdown", 12 | "editor" 13 | ], 14 | "license": "MIT", 15 | "ignore": [ 16 | "**/.*", 17 | "research", 18 | "docs", 19 | "node_modules", 20 | "bower_components", 21 | "test", 22 | "tests" 23 | ], 24 | "_release": "1.5.0", 25 | "_resolution": { 26 | "type": "version", 27 | "tag": "v1.5.0", 28 | "commit": "477060c5d6802a32d58898a53b97aea442d88177" 29 | }, 30 | "_source": "https://github.com/pandao/editor.md.git", 31 | "_target": "^1.5.0", 32 | "_originalSource": "editor.md", 33 | "_direct": true 34 | } -------------------------------------------------------------------------------- /static/lib/editor.md/BUGS.md: -------------------------------------------------------------------------------- 1 | #Bugs 2 | 3 | > 说明:删除线表示已经解决。 4 | 5 | ####IE8 6 | 7 | - ~~不能加载;~~ 8 | - flowChart(流程图)、sequenceDiagram(序列图)不支持IE8; 9 | - ~~不支持Markdown转HTML页面解析预览;~~ 10 | 11 | ####IE8 & IE9 & IE10 12 | 13 | - KaTeX会出现解析错误,但不影响程序运行; 14 | 15 | ####Sea.js 16 | 17 | - ~~Raphael.js无法加载;~~ 18 | 19 | ####Require.js 20 | 21 | - ~~CodeMirror编辑器的代码无法高亮;~~ 22 | - ~~sequenceDiagram不支持: `Uncaught TypeError: Cannot call method 'isArray' of undefined.`~~ 23 | -------------------------------------------------------------------------------- /static/lib/editor.md/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 pandao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /static/lib/editor.md/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "editor.md", 3 | "version": "1.5.0", 4 | "homepage": "https://github.com/pandao/editor.md", 5 | "authors": [ 6 | "Pandao " 7 | ], 8 | "description": "Open source online markdown editor.", 9 | "keywords": [ 10 | "editor.md", 11 | "markdown", 12 | "editor" 13 | ], 14 | "license": "MIT", 15 | "ignore": [ 16 | "**/.*", 17 | "research", 18 | "docs", 19 | "node_modules", 20 | "bower_components", 21 | "test", 22 | "tests" 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /static/lib/editor.md/css/editormd.logo.min.css: -------------------------------------------------------------------------------- 1 | /*! Editor.md v1.5.0 | editormd.logo.min.css | Open source online markdown editor. | MIT License | By: Pandao | https://github.com/pandao/editor.md | 2015-06-09 */ 2 | /*! prefixes.scss v0.1.0 | Author: Pandao | https://github.com/pandao/prefixes.scss | MIT license | Copyright (c) 2015 */@font-face{font-family:editormd-logo;src:url(../fonts/editormd-logo.eot?-5y8q6h);src:url(.../fonts/editormd-logo.eot?#iefix-5y8q6h)format("embedded-opentype"),url(../fonts/editormd-logo.woff?-5y8q6h)format("woff"),url(../fonts/editormd-logo.ttf?-5y8q6h)format("truetype"),url(../fonts/editormd-logo.svg?-5y8q6h#icomoon)format("svg");font-weight:400;font-style:normal}.editormd-logo,.editormd-logo-1x,.editormd-logo-2x,.editormd-logo-3x,.editormd-logo-4x,.editormd-logo-5x,.editormd-logo-6x,.editormd-logo-7x,.editormd-logo-8x{font-family:editormd-logo;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;font-size:inherit;line-height:1;display:inline-block;text-rendering:auto;vertical-align:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.editormd-logo-1x:before,.editormd-logo-2x:before,.editormd-logo-3x:before,.editormd-logo-4x:before,.editormd-logo-5x:before,.editormd-logo-6x:before,.editormd-logo-7x:before,.editormd-logo-8x:before,.editormd-logo:before{content:"\e1987"}.editormd-logo-1x{font-size:1em}.editormd-logo-lg{font-size:1.2em}.editormd-logo-2x{font-size:2em}.editormd-logo-3x{font-size:3em}.editormd-logo-4x{font-size:4em}.editormd-logo-5x{font-size:5em}.editormd-logo-6x{font-size:6em}.editormd-logo-7x{font-size:7em}.editormd-logo-8x{font-size:8em}.editormd-logo-color{color:#2196F3} -------------------------------------------------------------------------------- /static/lib/editor.md/examples/auto-height.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Auto height - Editor.md examples 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |

Auto height test

14 |
15 |
16 | 17 |
18 |
19 | 27 |
28 |
29 | 30 | 31 | 54 | 55 | -------------------------------------------------------------------------------- /static/lib/editor.md/examples/code-fold.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Code folding - Editor.md examples 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |

Code folding

14 |

Switch code folding : Press Ctrl + Q / Command + Q

15 |
16 |
17 | 18 |
19 |
20 | 21 | 22 | 43 | 44 | -------------------------------------------------------------------------------- /static/lib/editor.md/examples/dynamic-create-editormd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 动态创建 Editor.md - Editor.md examples 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |

动态创建 Editor.md

14 |

Dynamic create Editor.md

15 |
16 |
17 | 18 | 19 |
20 |
21 |
22 | 23 | 24 | 46 | 47 | -------------------------------------------------------------------------------- /static/lib/editor.md/examples/flowchart.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | FlowChart - Editor.md examples 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |

FlowChart 流程图

14 |

Based on flowchart.js:http://adrai.github.io/flowchart.js/

15 |
16 |
17 | 37 |
38 |
39 | 40 | 41 | 42 | 52 | 53 | -------------------------------------------------------------------------------- /static/lib/editor.md/examples/images/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/examples/images/4.jpg -------------------------------------------------------------------------------- /static/lib/editor.md/examples/images/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/examples/images/7.jpg -------------------------------------------------------------------------------- /static/lib/editor.md/examples/images/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/examples/images/8.jpg -------------------------------------------------------------------------------- /static/lib/editor.md/examples/images/editormd-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/examples/images/editormd-screenshot.png -------------------------------------------------------------------------------- /static/lib/editor.md/examples/onchange.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Onchange - Editor.md examples 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |

Onchange event

14 |

Plaese press F12, open the develop tools.

15 |

16 |
17 |
18 | 29 |
30 |
31 | 32 | 33 | 48 | 49 | -------------------------------------------------------------------------------- /static/lib/editor.md/examples/onload.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Onload - Editor.md examples 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |

Onload event

14 |

Plaese press F12, open the develop tools.

15 |
16 |
17 | 29 |
30 |
31 | 32 | 33 | 51 | 52 | -------------------------------------------------------------------------------- /static/lib/editor.md/examples/onresize.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Onresize - Editor.md examples 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |

Onresize event handle

14 |

Plaese press F12, open the develop tools.

15 |
16 |
17 | 31 |
32 |
33 | 34 | 35 | 48 | 49 | -------------------------------------------------------------------------------- /static/lib/editor.md/examples/onwatch-onunwatch.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Onwatch / Onunwatch - Editor.md examples 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |

Onwatch / Onunwatch event handle

14 |

Plaese press F12, open the develop tools.

15 |
16 |
17 | 31 |
32 |
33 | 34 | 35 | 50 | 51 | -------------------------------------------------------------------------------- /static/lib/editor.md/examples/php/cross-domain-upload.php: -------------------------------------------------------------------------------- 1 | array('gif', 'jpg', 'jpeg', 'png', 'bmp', 'webp') 28 | ); 29 | 30 | $name = 'editormd-image-file'; // file input name 31 | $callbackUrl = $_GET['callback']; 32 | 33 | if (isset($_FILES[$name])) 34 | { 35 | $imageUploader = new EditorMdUploader($savePath, $saveURL, $formats['image'], false); // Ymdhis表示按日期生成文件名,利用date()函数 36 | 37 | $imageUploader->config(array( 38 | 'maxSize' => 1024, // 允许上传的最大文件大小,以KB为单位,默认值为1024 39 | 'cover' => true // 是否覆盖同名文件,默认为true 40 | )); 41 | 42 | $imageUploader->redirect = true; 43 | $imageUploader->redirectURL = $callbackUrl . (empty(parse_url($callbackUrl)['query']) ? '?' : '&') . 'dialog_id=' . $_GET['dialog_id'] . '&temp=' . date('ymdhis'); 44 | 45 | if ($imageUploader->upload($name)) 46 | { 47 | $imageUploader->message('上传成功!', 1); 48 | } 49 | else 50 | { 51 | $imageUploader->message('上传失败!', 0); 52 | } 53 | } 54 | ?> -------------------------------------------------------------------------------- /static/lib/editor.md/examples/php/post.php: -------------------------------------------------------------------------------- 1 | "; 7 | echo htmlspecialchars($_POST["test-editormd-markdown-doc"]); 8 | 9 | if(isset($_POST["test-editormd-html-code"])) { 10 | echo "

"; 11 | echo htmlspecialchars($_POST["test-editormd-html-code"]); 12 | } 13 | 14 | echo ""; 15 | } 16 | 17 | exit; 18 | ?> -------------------------------------------------------------------------------- /static/lib/editor.md/examples/php/upload.php: -------------------------------------------------------------------------------- 1 | array('gif', 'jpg', 'jpeg', 'png', 'bmp') 29 | ); 30 | 31 | $name = 'editormd-image-file'; 32 | 33 | if (isset($_FILES[$name])) 34 | { 35 | $imageUploader = new EditorMdUploader($savePath, $saveURL, $formats['image'], false); // Ymdhis表示按日期生成文件名,利用date()函数 36 | 37 | $imageUploader->config(array( 38 | 'maxSize' => 1024, // 允许上传的最大文件大小,以KB为单位,默认值为1024 39 | 'cover' => true // 是否覆盖同名文件,默认为true 40 | )); 41 | 42 | if ($imageUploader->upload($name)) 43 | { 44 | $imageUploader->message('上传成功!', 1); 45 | } 46 | else 47 | { 48 | $imageUploader->message('上传失败!', 0); 49 | } 50 | } 51 | ?> -------------------------------------------------------------------------------- /static/lib/editor.md/examples/php/upload_callback.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 34 | 35 | -------------------------------------------------------------------------------- /static/lib/editor.md/examples/search-replace.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Search / Replace - Editor.md examples 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |

Search / Replace

14 |

Search: Press Ctrl + F / Command + F

15 |

Replace: Press Ctrl + Shift + F / Command + Option + F

16 |

Replace All: Press Ctrl + Shift + R / Command + Option + R

17 |
18 |
19 | 20 |
21 |
22 | 23 | 24 | 45 | 46 | -------------------------------------------------------------------------------- /static/lib/editor.md/examples/sequence-diagram.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SequenceDiagram - Editor.md examples 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |

SequenceDiagram 时序图/序列图

14 |

Based on SequenceDiagram.js:http://bramp.github.io/js-sequence-diagrams/

15 |
16 |
17 | 49 |
50 |
51 | 52 | 53 | 54 | 64 | 65 | -------------------------------------------------------------------------------- /static/lib/editor.md/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /static/lib/editor.md/fonts/editormd-logo.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/fonts/editormd-logo.eot -------------------------------------------------------------------------------- /static/lib/editor.md/fonts/editormd-logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Generated by IcoMoon 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /static/lib/editor.md/fonts/editormd-logo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/fonts/editormd-logo.ttf -------------------------------------------------------------------------------- /static/lib/editor.md/fonts/editormd-logo.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/fonts/editormd-logo.woff -------------------------------------------------------------------------------- /static/lib/editor.md/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /static/lib/editor.md/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /static/lib/editor.md/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /static/lib/editor.md/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /static/lib/editor.md/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/loading.gif -------------------------------------------------------------------------------- /static/lib/editor.md/images/loading@2x.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/loading@2x.gif -------------------------------------------------------------------------------- /static/lib/editor.md/images/loading@3x.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/loading@3x.gif -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-favicon-16x16.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-favicon-16x16.ico -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-favicon-24x24.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-favicon-24x24.ico -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-favicon-32x32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-favicon-32x32.ico -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-favicon-48x48.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-favicon-48x48.ico -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-favicon-64x64.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-favicon-64x64.ico -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-logo-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-logo-114x114.png -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-logo-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-logo-120x120.png -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-logo-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-logo-144x144.png -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-logo-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-logo-16x16.png -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-logo-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-logo-180x180.png -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-logo-240x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-logo-240x240.png -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-logo-24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-logo-24x24.png -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-logo-320x320.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-logo-320x320.png -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-logo-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-logo-32x32.png -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-logo-48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-logo-48x48.png -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-logo-57x57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-logo-57x57.png -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-logo-64x64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-logo-64x64.png -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-logo-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-logo-72x72.png -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/editormd-logo-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/editormd-logo-96x96.png -------------------------------------------------------------------------------- /static/lib/editor.md/images/logos/vi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/editor.md/images/logos/vi.png -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2014 by Marijn Haverbeke and others 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/README.md: -------------------------------------------------------------------------------- 1 | # CodeMirror 2 | [![Build Status](https://travis-ci.org/codemirror/CodeMirror.svg)](https://travis-ci.org/codemirror/CodeMirror) 3 | [![NPM version](https://img.shields.io/npm/v/codemirror.svg)](https://www.npmjs.org/package/codemirror) 4 | [Funding status: ![maintainer happiness](https://marijnhaverbeke.nl/fund/status_s.png)](https://marijnhaverbeke.nl/fund/) 5 | 6 | CodeMirror is a JavaScript component that provides a code editor in 7 | the browser. When a mode is available for the language you are coding 8 | in, it will color your code, and optionally help with indentation. 9 | 10 | The project page is http://codemirror.net 11 | The manual is at http://codemirror.net/doc/manual.html 12 | The contributing guidelines are in [CONTRIBUTING.md](https://github.com/codemirror/CodeMirror/blob/master/CONTRIBUTING.md) 13 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/dialog/dialog.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-dialog { 2 | position: absolute; 3 | left: 0; right: 0; 4 | background: white; 5 | z-index: 15; 6 | padding: .1em .8em; 7 | overflow: hidden; 8 | color: #333; 9 | } 10 | 11 | .CodeMirror-dialog-top { 12 | border-bottom: 1px solid #eee; 13 | top: 0; 14 | } 15 | 16 | .CodeMirror-dialog-bottom { 17 | border-top: 1px solid #eee; 18 | bottom: 0; 19 | } 20 | 21 | .CodeMirror-dialog input { 22 | border: none; 23 | outline: none; 24 | background: transparent; 25 | width: 20em; 26 | color: inherit; 27 | font-family: monospace; 28 | } 29 | 30 | .CodeMirror-dialog button { 31 | font-size: 70%; 32 | } 33 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/display/fullscreen.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-fullscreen { 2 | position: fixed; 3 | top: 0; left: 0; right: 0; bottom: 0; 4 | height: auto; 5 | z-index: 9; 6 | } 7 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/display/fullscreen.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | CodeMirror.defineOption("fullScreen", false, function(cm, val, old) { 15 | if (old == CodeMirror.Init) old = false; 16 | if (!old == !val) return; 17 | if (val) setFullscreen(cm); 18 | else setNormal(cm); 19 | }); 20 | 21 | function setFullscreen(cm) { 22 | var wrap = cm.getWrapperElement(); 23 | cm.state.fullScreenRestore = {scrollTop: window.pageYOffset, scrollLeft: window.pageXOffset, 24 | width: wrap.style.width, height: wrap.style.height}; 25 | wrap.style.width = ""; 26 | wrap.style.height = "auto"; 27 | wrap.className += " CodeMirror-fullscreen"; 28 | document.documentElement.style.overflow = "hidden"; 29 | cm.refresh(); 30 | } 31 | 32 | function setNormal(cm) { 33 | var wrap = cm.getWrapperElement(); 34 | wrap.className = wrap.className.replace(/\s*CodeMirror-fullscreen\b/, ""); 35 | document.documentElement.style.overflow = ""; 36 | var info = cm.state.fullScreenRestore; 37 | wrap.style.width = info.width; wrap.style.height = info.height; 38 | window.scrollTo(info.scrollLeft, info.scrollTop); 39 | cm.refresh(); 40 | } 41 | }); 42 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/edit/continuelist.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | var listRE = /^(\s*)(>[> ]*|[*+-]\s|(\d+)\.)(\s*)/, 15 | emptyListRE = /^(\s*)(>[> ]*|[*+-]|(\d+)\.)(\s*)$/, 16 | unorderedListRE = /[*+-]\s/; 17 | 18 | CodeMirror.commands.newlineAndIndentContinueMarkdownList = function(cm) { 19 | if (cm.getOption("disableInput")) return CodeMirror.Pass; 20 | var ranges = cm.listSelections(), replacements = []; 21 | for (var i = 0; i < ranges.length; i++) { 22 | var pos = ranges[i].head, match; 23 | var eolState = cm.getStateAfter(pos.line); 24 | var inList = eolState.list !== false; 25 | var inQuote = eolState.quote !== false; 26 | 27 | if (!ranges[i].empty() || (!inList && !inQuote) || !(match = cm.getLine(pos.line).match(listRE))) { 28 | cm.execCommand("newlineAndIndent"); 29 | return; 30 | } 31 | if (cm.getLine(pos.line).match(emptyListRE)) { 32 | cm.replaceRange("", { 33 | line: pos.line, ch: 0 34 | }, { 35 | line: pos.line, ch: pos.ch + 1 36 | }); 37 | replacements[i] = "\n"; 38 | 39 | } else { 40 | var indent = match[1], after = match[4]; 41 | var bullet = unorderedListRE.test(match[2]) || match[2].indexOf(">") >= 0 42 | ? match[2] 43 | : (parseInt(match[3], 10) + 1) + "."; 44 | 45 | replacements[i] = "\n" + indent + bullet + after; 46 | } 47 | } 48 | 49 | cm.replaceSelections(replacements); 50 | }; 51 | }); 52 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/edit/trailingspace.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | CodeMirror.defineOption("showTrailingSpace", false, function(cm, val, prev) { 13 | if (prev == CodeMirror.Init) prev = false; 14 | if (prev && !val) 15 | cm.removeOverlay("trailingspace"); 16 | else if (!prev && val) 17 | cm.addOverlay({ 18 | token: function(stream) { 19 | for (var l = stream.string.length, i = l; i && /\s/.test(stream.string.charAt(i - 1)); --i) {} 20 | if (i > stream.pos) { stream.pos = i; return null; } 21 | stream.pos = l; 22 | return "trailingspace"; 23 | }, 24 | name: "trailingspace" 25 | }); 26 | }); 27 | }); 28 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/fold/foldgutter.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-foldmarker { 2 | color: blue; 3 | text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px; 4 | font-family: arial; 5 | line-height: .3; 6 | cursor: pointer; 7 | } 8 | .CodeMirror-foldgutter { 9 | width: .7em; 10 | } 11 | .CodeMirror-foldgutter-open, 12 | .CodeMirror-foldgutter-folded { 13 | cursor: pointer; 14 | } 15 | .CodeMirror-foldgutter-open:after { 16 | content: "\25BE"; 17 | } 18 | .CodeMirror-foldgutter-folded:after { 19 | content: "\25B8"; 20 | } 21 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/fold/indent-fold.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | CodeMirror.registerHelper("fold", "indent", function(cm, start) { 15 | var tabSize = cm.getOption("tabSize"), firstLine = cm.getLine(start.line); 16 | if (!/\S/.test(firstLine)) return; 17 | var getIndent = function(line) { 18 | return CodeMirror.countColumn(line, null, tabSize); 19 | }; 20 | var myIndent = getIndent(firstLine); 21 | var lastLineInFold = null; 22 | // Go through lines until we find a line that definitely doesn't belong in 23 | // the block we're folding, or to the end. 24 | for (var i = start.line + 1, end = cm.lastLine(); i <= end; ++i) { 25 | var curLine = cm.getLine(i); 26 | var curIndent = getIndent(curLine); 27 | if (curIndent > myIndent) { 28 | // Lines with a greater indent are considered part of the block. 29 | lastLineInFold = i; 30 | } else if (!/\S/.test(curLine)) { 31 | // Empty lines might be breaks within the block we're trying to fold. 32 | } else { 33 | // A non-empty line at an indent equal to or less than ours marks the 34 | // start of another block. 35 | break; 36 | } 37 | } 38 | if (lastLineInFold) return { 39 | from: CodeMirror.Pos(start.line, firstLine.length), 40 | to: CodeMirror.Pos(lastLineInFold, cm.getLine(lastLineInFold).length) 41 | }; 42 | }); 43 | 44 | }); 45 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/fold/markdown-fold.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | CodeMirror.registerHelper("fold", "markdown", function(cm, start) { 15 | var maxDepth = 100; 16 | 17 | function isHeader(lineNo) { 18 | var tokentype = cm.getTokenTypeAt(CodeMirror.Pos(lineNo, 0)); 19 | return tokentype && /\bheader\b/.test(tokentype); 20 | } 21 | 22 | function headerLevel(lineNo, line, nextLine) { 23 | var match = line && line.match(/^#+/); 24 | if (match && isHeader(lineNo)) return match[0].length; 25 | match = nextLine && nextLine.match(/^[=\-]+\s*$/); 26 | if (match && isHeader(lineNo + 1)) return nextLine[0] == "=" ? 1 : 2; 27 | return maxDepth; 28 | } 29 | 30 | var firstLine = cm.getLine(start.line), nextLine = cm.getLine(start.line + 1); 31 | var level = headerLevel(start.line, firstLine, nextLine); 32 | if (level === maxDepth) return undefined; 33 | 34 | var lastLineNo = cm.lastLine(); 35 | var end = start.line, nextNextLine = cm.getLine(end + 2); 36 | while (end < lastLineNo) { 37 | if (headerLevel(end + 1, nextLine, nextNextLine) <= level) break; 38 | ++end; 39 | nextLine = nextNextLine; 40 | nextNextLine = cm.getLine(end + 2); 41 | } 42 | 43 | return { 44 | from: CodeMirror.Pos(start.line, firstLine.length), 45 | to: CodeMirror.Pos(end, cm.getLine(end).length) 46 | }; 47 | }); 48 | 49 | }); 50 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/hint/anyword-hint.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | var WORD = /[\w$]+/, RANGE = 500; 15 | 16 | CodeMirror.registerHelper("hint", "anyword", function(editor, options) { 17 | var word = options && options.word || WORD; 18 | var range = options && options.range || RANGE; 19 | var cur = editor.getCursor(), curLine = editor.getLine(cur.line); 20 | var end = cur.ch, start = end; 21 | while (start && word.test(curLine.charAt(start - 1))) --start; 22 | var curWord = start != end && curLine.slice(start, end); 23 | 24 | var list = [], seen = {}; 25 | var re = new RegExp(word.source, "g"); 26 | for (var dir = -1; dir <= 1; dir += 2) { 27 | var line = cur.line, endLine = Math.min(Math.max(line + dir * range, editor.firstLine()), editor.lastLine()) + dir; 28 | for (; line != endLine; line += dir) { 29 | var text = editor.getLine(line), m; 30 | while (m = re.exec(text)) { 31 | if (line == cur.line && m[0] === curWord) continue; 32 | if ((!curWord || m[0].lastIndexOf(curWord, 0) == 0) && !Object.prototype.hasOwnProperty.call(seen, m[0])) { 33 | seen[m[0]] = true; 34 | list.push(m[0]); 35 | } 36 | } 37 | } 38 | } 39 | return {list: list, from: CodeMirror.Pos(cur.line, start), to: CodeMirror.Pos(cur.line, end)}; 40 | }); 41 | }); 42 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/hint/show-hint.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-hints { 2 | position: absolute; 3 | z-index: 10; 4 | overflow: hidden; 5 | list-style: none; 6 | 7 | margin: 0; 8 | padding: 2px; 9 | 10 | -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 11 | -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 12 | box-shadow: 2px 3px 5px rgba(0,0,0,.2); 13 | border-radius: 3px; 14 | border: 1px solid silver; 15 | 16 | background: white; 17 | font-size: 90%; 18 | font-family: monospace; 19 | 20 | max-height: 20em; 21 | overflow-y: auto; 22 | } 23 | 24 | .CodeMirror-hint { 25 | margin: 0; 26 | padding: 0 4px; 27 | border-radius: 2px; 28 | max-width: 19em; 29 | overflow: hidden; 30 | white-space: pre; 31 | color: black; 32 | cursor: pointer; 33 | } 34 | 35 | li.CodeMirror-hint-active { 36 | background: #08f; 37 | color: white; 38 | } 39 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/lint/coffeescript-lint.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | // Depends on coffeelint.js from http://www.coffeelint.org/js/coffeelint.js 5 | 6 | // declare global: coffeelint 7 | 8 | (function(mod) { 9 | if (typeof exports == "object" && typeof module == "object") // CommonJS 10 | mod(require("../../lib/codemirror")); 11 | else if (typeof define == "function" && define.amd) // AMD 12 | define(["../../lib/codemirror"], mod); 13 | else // Plain browser env 14 | mod(CodeMirror); 15 | })(function(CodeMirror) { 16 | "use strict"; 17 | 18 | CodeMirror.registerHelper("lint", "coffeescript", function(text) { 19 | var found = []; 20 | var parseError = function(err) { 21 | var loc = err.lineNumber; 22 | found.push({from: CodeMirror.Pos(loc-1, 0), 23 | to: CodeMirror.Pos(loc, 0), 24 | severity: err.level, 25 | message: err.message}); 26 | }; 27 | try { 28 | var res = coffeelint.lint(text); 29 | for(var i = 0; i < res.length; i++) { 30 | parseError(res[i]); 31 | } 32 | } catch(e) { 33 | found.push({from: CodeMirror.Pos(e.location.first_line, 0), 34 | to: CodeMirror.Pos(e.location.last_line, e.location.last_column), 35 | severity: 'error', 36 | message: e.message}); 37 | } 38 | return found; 39 | }); 40 | 41 | }); 42 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/lint/css-lint.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | // Depends on csslint.js from https://github.com/stubbornella/csslint 5 | 6 | // declare global: CSSLint 7 | 8 | (function(mod) { 9 | if (typeof exports == "object" && typeof module == "object") // CommonJS 10 | mod(require("../../lib/codemirror")); 11 | else if (typeof define == "function" && define.amd) // AMD 12 | define(["../../lib/codemirror"], mod); 13 | else // Plain browser env 14 | mod(CodeMirror); 15 | })(function(CodeMirror) { 16 | "use strict"; 17 | 18 | CodeMirror.registerHelper("lint", "css", function(text) { 19 | var found = []; 20 | if (!window.CSSLint) return found; 21 | var results = CSSLint.verify(text), messages = results.messages, message = null; 22 | for ( var i = 0; i < messages.length; i++) { 23 | message = messages[i]; 24 | var startLine = message.line -1, endLine = message.line -1, startCol = message.col -1, endCol = message.col; 25 | found.push({ 26 | from: CodeMirror.Pos(startLine, startCol), 27 | to: CodeMirror.Pos(endLine, endCol), 28 | message: message.message, 29 | severity : message.type 30 | }); 31 | } 32 | return found; 33 | }); 34 | 35 | }); 36 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/lint/json-lint.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | // Depends on jsonlint.js from https://github.com/zaach/jsonlint 5 | 6 | // declare global: jsonlint 7 | 8 | (function(mod) { 9 | if (typeof exports == "object" && typeof module == "object") // CommonJS 10 | mod(require("../../lib/codemirror")); 11 | else if (typeof define == "function" && define.amd) // AMD 12 | define(["../../lib/codemirror"], mod); 13 | else // Plain browser env 14 | mod(CodeMirror); 15 | })(function(CodeMirror) { 16 | "use strict"; 17 | 18 | CodeMirror.registerHelper("lint", "json", function(text) { 19 | var found = []; 20 | jsonlint.parseError = function(str, hash) { 21 | var loc = hash.loc; 22 | found.push({from: CodeMirror.Pos(loc.first_line - 1, loc.first_column), 23 | to: CodeMirror.Pos(loc.last_line - 1, loc.last_column), 24 | message: str}); 25 | }; 26 | try { jsonlint.parse(text); } 27 | catch(e) {} 28 | return found; 29 | }); 30 | 31 | }); 32 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/lint/yaml-lint.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | // Depends on js-yaml.js from https://github.com/nodeca/js-yaml 15 | 16 | // declare global: jsyaml 17 | 18 | CodeMirror.registerHelper("lint", "yaml", function(text) { 19 | var found = []; 20 | try { jsyaml.load(text); } 21 | catch(e) { 22 | var loc = e.mark; 23 | found.push({ from: CodeMirror.Pos(loc.line, loc.column), to: CodeMirror.Pos(loc.line, loc.column), message: e.message }); 24 | } 25 | return found; 26 | }); 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/mode/multiplex_test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | CodeMirror.defineMode("markdown_with_stex", function(){ 6 | var inner = CodeMirror.getMode({}, "stex"); 7 | var outer = CodeMirror.getMode({}, "markdown"); 8 | 9 | var innerOptions = { 10 | open: '$', 11 | close: '$', 12 | mode: inner, 13 | delimStyle: 'delim', 14 | innerStyle: 'inner' 15 | }; 16 | 17 | return CodeMirror.multiplexingMode(outer, innerOptions); 18 | }); 19 | 20 | var mode = CodeMirror.getMode({}, "markdown_with_stex"); 21 | 22 | function MT(name) { 23 | test.mode( 24 | name, 25 | mode, 26 | Array.prototype.slice.call(arguments, 1), 27 | 'multiplexing'); 28 | } 29 | 30 | MT( 31 | "stexInsideMarkdown", 32 | "[strong **Equation:**] [delim $][inner&tag \\pi][delim $]"); 33 | })(); 34 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/runmode/colorize.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror"), require("./runmode")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror", "./runmode"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | var isBlock = /^(p|li|div|h\\d|pre|blockquote|td)$/; 15 | 16 | function textContent(node, out) { 17 | if (node.nodeType == 3) return out.push(node.nodeValue); 18 | for (var ch = node.firstChild; ch; ch = ch.nextSibling) { 19 | textContent(ch, out); 20 | if (isBlock.test(node.nodeType)) out.push("\n"); 21 | } 22 | } 23 | 24 | CodeMirror.colorize = function(collection, defaultMode) { 25 | if (!collection) collection = document.body.getElementsByTagName("pre"); 26 | 27 | for (var i = 0; i < collection.length; ++i) { 28 | var node = collection[i]; 29 | var mode = node.getAttribute("data-lang") || defaultMode; 30 | if (!mode) continue; 31 | 32 | var text = []; 33 | textContent(node, text); 34 | node.innerHTML = ""; 35 | CodeMirror.runMode(text.join(""), mode, node); 36 | 37 | node.className += " cm-s-default"; 38 | } 39 | }; 40 | }); 41 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/scroll/scrollpastend.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | CodeMirror.defineOption("scrollPastEnd", false, function(cm, val, old) { 15 | if (old && old != CodeMirror.Init) { 16 | cm.off("change", onChange); 17 | cm.off("refresh", updateBottomMargin); 18 | cm.display.lineSpace.parentNode.style.paddingBottom = ""; 19 | cm.state.scrollPastEndPadding = null; 20 | } 21 | if (val) { 22 | cm.on("change", onChange); 23 | cm.on("refresh", updateBottomMargin); 24 | updateBottomMargin(cm); 25 | } 26 | }); 27 | 28 | function onChange(cm, change) { 29 | if (CodeMirror.changeEnd(change).line == cm.lastLine()) 30 | updateBottomMargin(cm); 31 | } 32 | 33 | function updateBottomMargin(cm) { 34 | var padding = ""; 35 | if (cm.lineCount() > 1) { 36 | var totalH = cm.display.scroller.clientHeight - 30, 37 | lastLineH = cm.getLineHandle(cm.lastLine()).height; 38 | padding = (totalH - lastLineH) + "px"; 39 | } 40 | if (cm.state.scrollPastEndPadding != padding) { 41 | cm.state.scrollPastEndPadding = padding; 42 | cm.display.lineSpace.parentNode.style.paddingBottom = padding; 43 | cm.setSize(); 44 | } 45 | } 46 | }); 47 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/scroll/simplescrollbars.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-simplescroll-horizontal div, .CodeMirror-simplescroll-vertical div { 2 | position: absolute; 3 | background: #ccc; 4 | -moz-box-sizing: border-box; 5 | box-sizing: border-box; 6 | border: 1px solid #bbb; 7 | border-radius: 2px; 8 | } 9 | 10 | .CodeMirror-simplescroll-horizontal, .CodeMirror-simplescroll-vertical { 11 | position: absolute; 12 | z-index: 6; 13 | background: #eee; 14 | } 15 | 16 | .CodeMirror-simplescroll-horizontal { 17 | bottom: 0; left: 0; 18 | height: 8px; 19 | } 20 | .CodeMirror-simplescroll-horizontal div { 21 | bottom: 0; 22 | height: 100%; 23 | } 24 | 25 | .CodeMirror-simplescroll-vertical { 26 | right: 0; top: 0; 27 | width: 8px; 28 | } 29 | .CodeMirror-simplescroll-vertical div { 30 | right: 0; 31 | width: 100%; 32 | } 33 | 34 | 35 | .CodeMirror-overlayscroll .CodeMirror-scrollbar-filler, .CodeMirror-overlayscroll .CodeMirror-gutter-filler { 36 | display: none; 37 | } 38 | 39 | .CodeMirror-overlayscroll-horizontal div, .CodeMirror-overlayscroll-vertical div { 40 | position: absolute; 41 | background: #bcd; 42 | border-radius: 3px; 43 | } 44 | 45 | .CodeMirror-overlayscroll-horizontal, .CodeMirror-overlayscroll-vertical { 46 | position: absolute; 47 | z-index: 6; 48 | } 49 | 50 | .CodeMirror-overlayscroll-horizontal { 51 | bottom: 0; left: 0; 52 | height: 6px; 53 | } 54 | .CodeMirror-overlayscroll-horizontal div { 55 | bottom: 0; 56 | height: 100%; 57 | } 58 | 59 | .CodeMirror-overlayscroll-vertical { 60 | right: 0; top: 0; 61 | width: 6px; 62 | } 63 | .CodeMirror-overlayscroll-vertical div { 64 | right: 0; 65 | width: 100%; 66 | } 67 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/search/matchesonscrollbar.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-search-match { 2 | background: gold; 3 | border-top: 1px solid orange; 4 | border-bottom: 1px solid orange; 5 | -moz-box-sizing: border-box; 6 | box-sizing: border-box; 7 | opacity: .5; 8 | } 9 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/addon/tern/worker.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | // declare global: tern, server 5 | 6 | var server; 7 | 8 | this.onmessage = function(e) { 9 | var data = e.data; 10 | switch (data.type) { 11 | case "init": return startServer(data.defs, data.plugins, data.scripts); 12 | case "add": return server.addFile(data.name, data.text); 13 | case "del": return server.delFile(data.name); 14 | case "req": return server.request(data.body, function(err, reqData) { 15 | postMessage({id: data.id, body: reqData, err: err && String(err)}); 16 | }); 17 | case "getFile": 18 | var c = pending[data.id]; 19 | delete pending[data.id]; 20 | return c(data.err, data.text); 21 | default: throw new Error("Unknown message type: " + data.type); 22 | } 23 | }; 24 | 25 | var nextId = 0, pending = {}; 26 | function getFile(file, c) { 27 | postMessage({type: "getFile", name: file, id: ++nextId}); 28 | pending[nextId] = c; 29 | } 30 | 31 | function startServer(defs, plugins, scripts) { 32 | if (scripts) importScripts.apply(null, scripts); 33 | 34 | server = new tern.Server({ 35 | getFile: getFile, 36 | async: true, 37 | defs: defs, 38 | plugins: plugins 39 | }); 40 | } 41 | 42 | var console = { 43 | log: function(v) { postMessage({type: "debug", message: v}); } 44 | }; 45 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "codemirror", 3 | "version":"5.0.0", 4 | "main": ["lib/codemirror.js", "lib/codemirror.css"], 5 | "ignore": [ 6 | "**/.*", 7 | "node_modules", 8 | "components", 9 | "bin", 10 | "demo", 11 | "doc", 12 | "test", 13 | "index.html", 14 | "package.json" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/css/less_test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | "use strict"; 6 | 7 | var mode = CodeMirror.getMode({indentUnit: 2}, "text/x-less"); 8 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), "less"); } 9 | 10 | MT("variable", 11 | "[variable-2 @base]: [atom #f04615];", 12 | "[qualifier .class] {", 13 | " [property width]: [variable percentage]([number 0.5]); [comment // returns `50%`]", 14 | " [property color]: [variable saturate]([variable-2 @base], [number 5%]);", 15 | "}"); 16 | 17 | MT("amp", 18 | "[qualifier .child], [qualifier .sibling] {", 19 | " [qualifier .parent] [atom &] {", 20 | " [property color]: [keyword black];", 21 | " }", 22 | " [atom &] + [atom &] {", 23 | " [property color]: [keyword red];", 24 | " }", 25 | "}"); 26 | 27 | MT("mixin", 28 | "[qualifier .mixin] ([variable dark]; [variable-2 @color]) {", 29 | " [property color]: [variable darken]([variable-2 @color], [number 10%]);", 30 | "}", 31 | "[qualifier .mixin] ([variable light]; [variable-2 @color]) {", 32 | " [property color]: [variable lighten]([variable-2 @color], [number 10%]);", 33 | "}", 34 | "[qualifier .mixin] ([variable-2 @_]; [variable-2 @color]) {", 35 | " [property display]: [atom block];", 36 | "}", 37 | "[variable-2 @switch]: [variable light];", 38 | "[qualifier .class] {", 39 | " [qualifier .mixin]([variable-2 @switch]; [atom #888]);", 40 | "}"); 41 | 42 | MT("nest", 43 | "[qualifier .one] {", 44 | " [def @media] ([property width]: [number 400px]) {", 45 | " [property font-size]: [number 1.2em];", 46 | " [def @media] [attribute print] [keyword and] [property color] {", 47 | " [property color]: [keyword blue];", 48 | " }", 49 | " }", 50 | "}"); 51 | })(); 52 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/dart/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Dart mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

CodeMirror

13 | 14 |
    15 |
  • Home 16 |
  • Manual 17 |
  • Code 18 |
19 |
    20 |
  • Language modes 21 |
  • Dart 22 |
23 |
24 | 25 |
26 |

Dart mode

27 |
28 | 62 |
63 | 64 | 70 | 71 |
72 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/diff/diff.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | CodeMirror.defineMode("diff", function() { 15 | 16 | var TOKEN_NAMES = { 17 | '+': 'positive', 18 | '-': 'negative', 19 | '@': 'meta' 20 | }; 21 | 22 | return { 23 | token: function(stream) { 24 | var tw_pos = stream.string.search(/[\t ]+?$/); 25 | 26 | if (!stream.sol() || tw_pos === 0) { 27 | stream.skipToEnd(); 28 | return ("error " + ( 29 | TOKEN_NAMES[stream.string.charAt(0)] || '')).replace(/ $/, ''); 30 | } 31 | 32 | var token_name = TOKEN_NAMES[stream.peek()] || stream.skipToEnd(); 33 | 34 | if (tw_pos === -1) { 35 | stream.skipToEnd(); 36 | } else { 37 | stream.pos = tw_pos; 38 | } 39 | 40 | return token_name; 41 | } 42 | }; 43 | }); 44 | 45 | CodeMirror.defineMIME("text/x-diff", "diff"); 46 | 47 | }); 48 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/ecl/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: ECL mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

CodeMirror

13 | 14 |
    15 |
  • Home 16 |
  • Manual 17 |
  • Code 18 |
19 |
    20 |
  • Language modes 21 |
  • ECL 22 |
23 |
24 | 25 |
26 |

ECL mode

27 |
45 | 48 | 49 |

Based on CodeMirror's clike mode. For more information see HPCC Systems web site.

50 |

MIME types defined: text/x-ecl.

51 | 52 |
53 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/gherkin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Gherkin mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

CodeMirror

13 | 14 |
    15 |
  • Home 16 |
  • Manual 17 |
  • Code 18 |
19 |
    20 |
  • Language modes 21 |
  • Gherkin 22 |
23 |
24 | 25 |
26 |

Gherkin mode

27 |
42 | 45 | 46 |

MIME types defined: text/x-feature.

47 | 48 |
49 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/http/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: HTTP mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

CodeMirror

13 | 14 |
    15 |
  • Home 16 |
  • Manual 17 |
  • Code 18 |
19 |
    20 |
  • Language modes 21 |
  • HTTP 22 |
23 |
24 | 25 |
26 |

HTTP mode

27 | 28 | 29 |
39 | 40 | 43 | 44 |

MIME types defined: message/http.

45 |
46 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/idl/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: IDL mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

CodeMirror

13 | 14 |
    15 |
  • Home 16 |
  • Manual 17 |
  • Code 18 |
19 |
    20 |
  • Language modes 21 |
  • IDL 22 |
23 |
24 | 25 |
26 |

IDL mode

27 | 28 |
52 | 62 | 63 |

MIME types defined: text/x-idl.

64 |
65 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/javascript/typescript.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: TypeScript mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

CodeMirror

13 | 14 |
    15 |
  • Home 16 |
  • Manual 17 |
  • Code 18 |
19 |
    20 |
  • Language modes 21 |
  • TypeScript 22 |
23 |
24 | 25 |
26 |

TypeScript mode

27 | 28 | 29 |
51 | 52 | 59 | 60 |

This is a specialization of the JavaScript mode.

61 |
62 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/jinja2/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Jinja2 mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

CodeMirror

13 | 14 |
    15 |
  • Home 16 |
  • Manual 17 |
  • Code 18 |
19 |
    20 |
  • Language modes 21 |
  • Jinja2 22 |
23 |
24 | 25 |
26 |

Jinja2 mode

27 |
49 | 54 |
55 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/ntriples/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: NTriples mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15 |
16 |

CodeMirror

17 | 18 |
    19 |
  • Home 20 |
  • Manual 21 |
  • Code 22 |
23 |
    24 |
  • Language modes 25 |
  • NTriples 26 |
27 |
28 | 29 |
30 |

NTriples mode

31 |
32 | 39 |
40 | 41 | 44 |

MIME types defined: text/n-triples.

45 |
46 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/pascal/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Pascal mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

CodeMirror

13 | 14 |
    15 |
  • Home 16 |
  • Manual 17 |
  • Code 18 |
19 |
    20 |
  • Language modes 21 |
  • Pascal 22 |
23 |
24 | 25 |
26 |

Pascal mode

27 | 28 | 29 |
52 | 53 | 59 | 60 |

MIME types defined: text/x-pascal.

61 |
62 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/perl/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Perl mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

CodeMirror

13 | 14 |
    15 |
  • Home 16 |
  • Manual 17 |
  • Code 18 |
19 |
    20 |
  • Language modes 21 |
  • Perl 22 |
23 |
24 | 25 |
26 |

Perl mode

27 | 28 | 29 |
67 | 68 | 73 | 74 |

MIME types defined: text/x-perl.

75 |
76 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/pig/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Pig Latin mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

CodeMirror

13 | 14 |
    15 |
  • Home 16 |
  • Manual 17 |
  • Code 18 |
19 |
    20 |
  • Language modes 21 |
  • Pig Latin 22 |
23 |
24 | 25 |
26 |

Pig Latin mode

27 |
39 | 40 | 47 | 48 |

49 | Simple mode that handles Pig Latin language. 50 |

51 | 52 |

MIME type defined: text/x-pig 53 | (PIG code) 54 | 55 |

56 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/properties/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Properties files mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

CodeMirror

13 | 14 |
    15 |
  • Home 16 |
  • Manual 17 |
  • Code 18 |
19 |
    20 |
  • Language modes 21 |
  • Properties files 22 |
23 |
24 | 25 |
26 |

Properties files mode

27 |
46 | 49 | 50 |

MIME types defined: text/x-properties, 51 | text/x-ini.

52 | 53 |
54 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/ruby/test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | var mode = CodeMirror.getMode({indentUnit: 2}, "ruby"); 6 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } 7 | 8 | MT("divide_equal_operator", 9 | "[variable bar] [operator /=] [variable foo]"); 10 | 11 | MT("divide_equal_operator_no_spacing", 12 | "[variable foo][operator /=][number 42]"); 13 | 14 | })(); 15 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/rust/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Rust mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

CodeMirror

13 | 14 |
    15 |
  • Home 16 |
  • Manual 17 |
  • Code 18 |
19 |
    20 |
  • Language modes 21 |
  • Rust 22 |
23 |
24 | 25 |
26 |

Rust mode

27 | 28 | 29 |
52 | 53 | 58 | 59 |

MIME types defined: text/x-rustsrc.

60 |
61 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/sass/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Sass mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 |

CodeMirror

14 | 15 |
    16 |
  • Home 17 |
  • Manual 18 |
  • Code 19 |
20 |
    21 |
  • Language modes 22 |
  • Sass 23 |
24 |
25 | 26 |
27 |

Sass mode

28 |
58 | 64 | 65 |

MIME types defined: text/x-sass.

66 |
67 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/solr/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Solr mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 20 |
21 |

CodeMirror

22 | 23 |
    24 |
  • Home 25 |
  • Manual 26 |
  • Code 27 |
28 |
    29 |
  • Language modes 30 |
  • Solr 31 |
32 |
33 | 34 |
35 |

Solr mode

36 | 37 |
38 | 47 |
48 | 49 | 55 | 56 |

MIME types defined: text/x-solr.

57 |
58 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/spreadsheet/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Spreadsheet mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 |

CodeMirror

14 | 15 |
    16 |
  • Home 17 |
  • Manual 18 |
  • Code 19 |
20 |
    21 |
  • Language modes 22 |
  • Spreadsheet 23 |
24 |
25 | 26 |
27 |

Spreadsheet mode

28 |
29 | 30 | 37 | 38 |

MIME types defined: text/x-spreadsheet.

39 | 40 |

The Spreadsheet Mode

41 |

Created by Robert Plummer

42 |
43 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/tiddlywiki/tiddlywiki.css: -------------------------------------------------------------------------------- 1 | span.cm-underlined { 2 | text-decoration: underline; 3 | } 4 | span.cm-strikethrough { 5 | text-decoration: line-through; 6 | } 7 | span.cm-brace { 8 | color: #170; 9 | font-weight: bold; 10 | } 11 | span.cm-table { 12 | color: blue; 13 | font-weight: bold; 14 | } 15 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/tiki/tiki.css: -------------------------------------------------------------------------------- 1 | .cm-tw-syntaxerror { 2 | color: #FFF; 3 | background-color: #900; 4 | } 5 | 6 | .cm-tw-deleted { 7 | text-decoration: line-through; 8 | } 9 | 10 | .cm-tw-header5 { 11 | font-weight: bold; 12 | } 13 | .cm-tw-listitem:first-child { /*Added first child to fix duplicate padding when highlighting*/ 14 | padding-left: 10px; 15 | } 16 | 17 | .cm-tw-box { 18 | border-top-width: 0px ! important; 19 | border-style: solid; 20 | border-width: 1px; 21 | border-color: inherit; 22 | } 23 | 24 | .cm-tw-underline { 25 | text-decoration: underline; 26 | } -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/turtle/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Turtle mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

CodeMirror

13 | 14 |
    15 |
  • Home 16 |
  • Manual 17 |
  • Code 18 |
19 |
    20 |
  • Language modes 21 |
  • Turtle 22 |
23 |
24 | 25 |
26 |

Turtle mode

27 |
41 | 47 | 48 |

MIME types defined: text/turtle.

49 | 50 |
51 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/vbscript/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: VBScript mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

CodeMirror

13 | 14 |
    15 |
  • Home 16 |
  • Manual 17 |
  • Code 18 |
19 |
    20 |
  • Language modes 21 |
  • VBScript 22 |
23 |
24 | 25 |
26 |

VBScript mode

27 | 28 | 29 |
46 | 47 | 53 | 54 |

MIME types defined: text/vbscript.

55 |
56 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/xml/test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | var mode = CodeMirror.getMode({indentUnit: 2}, "xml"), mname = "xml"; 6 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), mname); } 7 | 8 | MT("matching", 9 | "[tag&bracket <][tag top][tag&bracket >]", 10 | " text", 11 | " [tag&bracket <][tag inner][tag&bracket />]", 12 | "[tag&bracket ]"); 13 | 14 | MT("nonmatching", 15 | "[tag&bracket <][tag top][tag&bracket >]", 16 | " [tag&bracket <][tag inner][tag&bracket />]", 17 | " [tag&bracket ]"); 18 | 19 | MT("doctype", 20 | "[meta ]", 21 | "[tag&bracket <][tag top][tag&bracket />]"); 22 | 23 | MT("cdata", 24 | "[tag&bracket <][tag top][tag&bracket >]", 25 | " [atom ]", 27 | "[tag&bracket ]"); 28 | 29 | // HTML tests 30 | mode = CodeMirror.getMode({indentUnit: 2}, "text/html"); 31 | 32 | MT("selfclose", 33 | "[tag&bracket <][tag html][tag&bracket >]", 34 | " [tag&bracket <][tag link] [attribute rel]=[string stylesheet] [attribute href]=[string \"/foobar\"][tag&bracket >]", 35 | "[tag&bracket ]"); 36 | 37 | MT("list", 38 | "[tag&bracket <][tag ol][tag&bracket >]", 39 | " [tag&bracket <][tag li][tag&bracket >]one", 40 | " [tag&bracket <][tag li][tag&bracket >]two", 41 | "[tag&bracket ]"); 42 | 43 | MT("valueless", 44 | "[tag&bracket <][tag input] [attribute type]=[string checkbox] [attribute checked][tag&bracket />]"); 45 | 46 | MT("pThenArticle", 47 | "[tag&bracket <][tag p][tag&bracket >]", 48 | " foo", 49 | "[tag&bracket <][tag article][tag&bracket >]bar"); 50 | 51 | })(); 52 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/mode/z80/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Z80 assembly mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |

CodeMirror

13 | 14 |
    15 |
  • Home 16 |
  • Manual 17 |
  • Code 18 |
19 |
    20 |
  • Language modes 21 |
  • Z80 assembly 22 |
23 |
24 | 25 |
26 |

Z80 assembly mode

27 | 28 | 29 |
44 | 45 | 50 | 51 |

MIME type defined: text/x-z80.

52 |
53 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "codemirror", 3 | "version":"5.0.0", 4 | "main": "lib/codemirror.js", 5 | "description": "In-browser code editing made bearable", 6 | "licenses": [{"type": "MIT", 7 | "url": "http://codemirror.net/LICENSE"}], 8 | "directories": {"lib": "./lib"}, 9 | "scripts": {"test": "node ./test/run.js"}, 10 | "devDependencies": {"node-static": "0.6.0", 11 | "phantomjs": "1.9.2-5", 12 | "blint": ">=0.1.1"}, 13 | "bugs": "http://github.com/codemirror/CodeMirror/issues", 14 | "keywords": ["JavaScript", "CodeMirror", "Editor"], 15 | "homepage": "http://codemirror.net", 16 | "maintainers":[{"name": "Marijn Haverbeke", 17 | "email": "marijnh@gmail.com", 18 | "web": "http://marijnhaverbeke.nl"}], 19 | "repository": {"type": "git", 20 | "url": "https://github.com/codemirror/CodeMirror.git"} 21 | } 22 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/3024-day.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: 3024 day 4 | Author: Jan T. Sott (http://github.com/idleberg) 5 | 6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror) 7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) 8 | 9 | */ 10 | 11 | .cm-s-3024-day.CodeMirror {background: #f7f7f7; color: #3a3432;} 12 | .cm-s-3024-day div.CodeMirror-selected {background: #d6d5d4 !important;} 13 | .cm-s-3024-day.CodeMirror ::selection { background: #d6d5d4; } 14 | .cm-s-3024-day.CodeMirror ::-moz-selection { background: #d9d9d9; } 15 | 16 | .cm-s-3024-day .CodeMirror-gutters {background: #f7f7f7; border-right: 0px;} 17 | .cm-s-3024-day .CodeMirror-guttermarker { color: #db2d20; } 18 | .cm-s-3024-day .CodeMirror-guttermarker-subtle { color: #807d7c; } 19 | .cm-s-3024-day .CodeMirror-linenumber {color: #807d7c;} 20 | 21 | .cm-s-3024-day .CodeMirror-cursor {border-left: 1px solid #5c5855 !important;} 22 | 23 | .cm-s-3024-day span.cm-comment {color: #cdab53;} 24 | .cm-s-3024-day span.cm-atom {color: #a16a94;} 25 | .cm-s-3024-day span.cm-number {color: #a16a94;} 26 | 27 | .cm-s-3024-day span.cm-property, .cm-s-3024-day span.cm-attribute {color: #01a252;} 28 | .cm-s-3024-day span.cm-keyword {color: #db2d20;} 29 | .cm-s-3024-day span.cm-string {color: #fded02;} 30 | 31 | .cm-s-3024-day span.cm-variable {color: #01a252;} 32 | .cm-s-3024-day span.cm-variable-2 {color: #01a0e4;} 33 | .cm-s-3024-day span.cm-def {color: #e8bbd0;} 34 | .cm-s-3024-day span.cm-bracket {color: #3a3432;} 35 | .cm-s-3024-day span.cm-tag {color: #db2d20;} 36 | .cm-s-3024-day span.cm-link {color: #a16a94;} 37 | .cm-s-3024-day span.cm-error {background: #db2d20; color: #5c5855;} 38 | 39 | .cm-s-3024-day .CodeMirror-activeline-background {background: #e8f2ff !important;} 40 | .cm-s-3024-day .CodeMirror-matchingbracket { text-decoration: underline; color: #a16a94 !important;} 41 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/3024-night.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: 3024 night 4 | Author: Jan T. Sott (http://github.com/idleberg) 5 | 6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror) 7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) 8 | 9 | */ 10 | 11 | .cm-s-3024-night.CodeMirror {background: #090300; color: #d6d5d4;} 12 | .cm-s-3024-night div.CodeMirror-selected {background: #3a3432 !important;} 13 | .cm-s-3024-night.CodeMirror ::selection { background: rgba(58, 52, 50, .99); } 14 | .cm-s-3024-night.CodeMirror ::-moz-selection { background: rgba(58, 52, 50, .99); } 15 | .cm-s-3024-night .CodeMirror-gutters {background: #090300; border-right: 0px;} 16 | .cm-s-3024-night .CodeMirror-guttermarker { color: #db2d20; } 17 | .cm-s-3024-night .CodeMirror-guttermarker-subtle { color: #5c5855; } 18 | .cm-s-3024-night .CodeMirror-linenumber {color: #5c5855;} 19 | 20 | .cm-s-3024-night .CodeMirror-cursor {border-left: 1px solid #807d7c !important;} 21 | 22 | .cm-s-3024-night span.cm-comment {color: #cdab53;} 23 | .cm-s-3024-night span.cm-atom {color: #a16a94;} 24 | .cm-s-3024-night span.cm-number {color: #a16a94;} 25 | 26 | .cm-s-3024-night span.cm-property, .cm-s-3024-night span.cm-attribute {color: #01a252;} 27 | .cm-s-3024-night span.cm-keyword {color: #db2d20;} 28 | .cm-s-3024-night span.cm-string {color: #fded02;} 29 | 30 | .cm-s-3024-night span.cm-variable {color: #01a252;} 31 | .cm-s-3024-night span.cm-variable-2 {color: #01a0e4;} 32 | .cm-s-3024-night span.cm-def {color: #e8bbd0;} 33 | .cm-s-3024-night span.cm-bracket {color: #d6d5d4;} 34 | .cm-s-3024-night span.cm-tag {color: #db2d20;} 35 | .cm-s-3024-night span.cm-link {color: #a16a94;} 36 | .cm-s-3024-night span.cm-error {background: #db2d20; color: #807d7c;} 37 | 38 | .cm-s-3024-night .CodeMirror-activeline-background {background: #2F2F2F !important;} 39 | .cm-s-3024-night .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 40 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/ambiance-mobile.css: -------------------------------------------------------------------------------- 1 | .cm-s-ambiance.CodeMirror { 2 | -webkit-box-shadow: none; 3 | -moz-box-shadow: none; 4 | box-shadow: none; 5 | } 6 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/base16-light.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Base16 Default Light 4 | Author: Chris Kempson (http://chriskempson.com) 5 | 6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-chrome-devtools) 7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) 8 | 9 | */ 10 | 11 | .cm-s-base16-light.CodeMirror {background: #f5f5f5; color: #202020;} 12 | .cm-s-base16-light div.CodeMirror-selected {background: #e0e0e0 !important;} 13 | .cm-s-base16-light.CodeMirror ::selection { background: #e0e0e0; } 14 | .cm-s-base16-light.CodeMirror ::-moz-selection { background: #e0e0e0; } 15 | .cm-s-base16-light .CodeMirror-gutters {background: #f5f5f5; border-right: 0px;} 16 | .cm-s-base16-light .CodeMirror-guttermarker { color: #ac4142; } 17 | .cm-s-base16-light .CodeMirror-guttermarker-subtle { color: #b0b0b0; } 18 | .cm-s-base16-light .CodeMirror-linenumber {color: #b0b0b0;} 19 | .cm-s-base16-light .CodeMirror-cursor {border-left: 1px solid #505050 !important;} 20 | 21 | .cm-s-base16-light span.cm-comment {color: #8f5536;} 22 | .cm-s-base16-light span.cm-atom {color: #aa759f;} 23 | .cm-s-base16-light span.cm-number {color: #aa759f;} 24 | 25 | .cm-s-base16-light span.cm-property, .cm-s-base16-light span.cm-attribute {color: #90a959;} 26 | .cm-s-base16-light span.cm-keyword {color: #ac4142;} 27 | .cm-s-base16-light span.cm-string {color: #f4bf75;} 28 | 29 | .cm-s-base16-light span.cm-variable {color: #90a959;} 30 | .cm-s-base16-light span.cm-variable-2 {color: #6a9fb5;} 31 | .cm-s-base16-light span.cm-def {color: #d28445;} 32 | .cm-s-base16-light span.cm-bracket {color: #202020;} 33 | .cm-s-base16-light span.cm-tag {color: #ac4142;} 34 | .cm-s-base16-light span.cm-link {color: #aa759f;} 35 | .cm-s-base16-light span.cm-error {background: #ac4142; color: #505050;} 36 | 37 | .cm-s-base16-light .CodeMirror-activeline-background {background: #DDDCDC !important;} 38 | .cm-s-base16-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 39 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/blackboard.css: -------------------------------------------------------------------------------- 1 | /* Port of TextMate's Blackboard theme */ 2 | 3 | .cm-s-blackboard.CodeMirror { background: #0C1021; color: #F8F8F8; } 4 | .cm-s-blackboard .CodeMirror-selected { background: #253B76 !important; } 5 | .cm-s-blackboard.CodeMirror ::selection { background: rgba(37, 59, 118, .99); } 6 | .cm-s-blackboard.CodeMirror ::-moz-selection { background: rgba(37, 59, 118, .99); } 7 | .cm-s-blackboard .CodeMirror-gutters { background: #0C1021; border-right: 0; } 8 | .cm-s-blackboard .CodeMirror-guttermarker { color: #FBDE2D; } 9 | .cm-s-blackboard .CodeMirror-guttermarker-subtle { color: #888; } 10 | .cm-s-blackboard .CodeMirror-linenumber { color: #888; } 11 | .cm-s-blackboard .CodeMirror-cursor { border-left: 1px solid #A7A7A7 !important; } 12 | 13 | .cm-s-blackboard .cm-keyword { color: #FBDE2D; } 14 | .cm-s-blackboard .cm-atom { color: #D8FA3C; } 15 | .cm-s-blackboard .cm-number { color: #D8FA3C; } 16 | .cm-s-blackboard .cm-def { color: #8DA6CE; } 17 | .cm-s-blackboard .cm-variable { color: #FF6400; } 18 | .cm-s-blackboard .cm-operator { color: #FBDE2D;} 19 | .cm-s-blackboard .cm-comment { color: #AEAEAE; } 20 | .cm-s-blackboard .cm-string { color: #61CE3C; } 21 | .cm-s-blackboard .cm-string-2 { color: #61CE3C; } 22 | .cm-s-blackboard .cm-meta { color: #D8FA3C; } 23 | .cm-s-blackboard .cm-builtin { color: #8DA6CE; } 24 | .cm-s-blackboard .cm-tag { color: #8DA6CE; } 25 | .cm-s-blackboard .cm-attribute { color: #8DA6CE; } 26 | .cm-s-blackboard .cm-header { color: #FF6400; } 27 | .cm-s-blackboard .cm-hr { color: #AEAEAE; } 28 | .cm-s-blackboard .cm-link { color: #8DA6CE; } 29 | .cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; } 30 | 31 | .cm-s-blackboard .CodeMirror-activeline-background {background: #3C3636 !important;} 32 | .cm-s-blackboard .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important} -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/cobalt.css: -------------------------------------------------------------------------------- 1 | .cm-s-cobalt.CodeMirror { background: #002240; color: white; } 2 | .cm-s-cobalt div.CodeMirror-selected { background: #b36539 !important; } 3 | .cm-s-cobalt.CodeMirror ::selection { background: rgba(179, 101, 57, .99); } 4 | .cm-s-cobalt.CodeMirror ::-moz-selection { background: rgba(179, 101, 57, .99); } 5 | .cm-s-cobalt .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; } 6 | .cm-s-cobalt .CodeMirror-guttermarker { color: #ffee80; } 7 | .cm-s-cobalt .CodeMirror-guttermarker-subtle { color: #d0d0d0; } 8 | .cm-s-cobalt .CodeMirror-linenumber { color: #d0d0d0; } 9 | .cm-s-cobalt .CodeMirror-cursor { border-left: 1px solid white !important; } 10 | 11 | .cm-s-cobalt span.cm-comment { color: #08f; } 12 | .cm-s-cobalt span.cm-atom { color: #845dc4; } 13 | .cm-s-cobalt span.cm-number, .cm-s-cobalt span.cm-attribute { color: #ff80e1; } 14 | .cm-s-cobalt span.cm-keyword { color: #ffee80; } 15 | .cm-s-cobalt span.cm-string { color: #3ad900; } 16 | .cm-s-cobalt span.cm-meta { color: #ff9d00; } 17 | .cm-s-cobalt span.cm-variable-2, .cm-s-cobalt span.cm-tag { color: #9effff; } 18 | .cm-s-cobalt span.cm-variable-3, .cm-s-cobalt span.cm-def { color: white; } 19 | .cm-s-cobalt span.cm-bracket { color: #d8d8d8; } 20 | .cm-s-cobalt span.cm-builtin, .cm-s-cobalt span.cm-special { color: #ff9e59; } 21 | .cm-s-cobalt span.cm-link { color: #845dc4; } 22 | .cm-s-cobalt span.cm-error { color: #9d1e15; } 23 | 24 | .cm-s-cobalt .CodeMirror-activeline-background {background: #002D57 !important;} 25 | .cm-s-cobalt .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important} 26 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/colorforth.css: -------------------------------------------------------------------------------- 1 | .cm-s-colorforth.CodeMirror { background: #000000; color: #f8f8f8; } 2 | .cm-s-colorforth .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; } 3 | .cm-s-colorforth .CodeMirror-guttermarker { color: #FFBD40; } 4 | .cm-s-colorforth .CodeMirror-guttermarker-subtle { color: #78846f; } 5 | .cm-s-colorforth .CodeMirror-linenumber { color: #bababa; } 6 | .cm-s-colorforth .CodeMirror-cursor { border-left: 1px solid white !important; } 7 | 8 | .cm-s-colorforth span.cm-comment { color: #ededed; } 9 | .cm-s-colorforth span.cm-def { color: #ff1c1c; font-weight:bold; } 10 | .cm-s-colorforth span.cm-keyword { color: #ffd900; } 11 | .cm-s-colorforth span.cm-builtin { color: #00d95a; } 12 | .cm-s-colorforth span.cm-variable { color: #73ff00; } 13 | .cm-s-colorforth span.cm-string { color: #007bff; } 14 | .cm-s-colorforth span.cm-number { color: #00c4ff; } 15 | .cm-s-colorforth span.cm-atom { color: #606060; } 16 | 17 | .cm-s-colorforth span.cm-variable-2 { color: #EEE; } 18 | .cm-s-colorforth span.cm-variable-3 { color: #DDD; } 19 | .cm-s-colorforth span.cm-property {} 20 | .cm-s-colorforth span.cm-operator {} 21 | 22 | .cm-s-colorforth span.cm-meta { color: yellow; } 23 | .cm-s-colorforth span.cm-qualifier { color: #FFF700; } 24 | .cm-s-colorforth span.cm-bracket { color: #cc7; } 25 | .cm-s-colorforth span.cm-tag { color: #FFBD40; } 26 | .cm-s-colorforth span.cm-attribute { color: #FFF700; } 27 | .cm-s-colorforth span.cm-error { color: #f00; } 28 | 29 | .cm-s-colorforth .CodeMirror-selected { background: #333d53 !important; } 30 | 31 | .cm-s-colorforth span.cm-compilation { background: rgba(255, 255, 255, 0.12); } 32 | 33 | .cm-s-colorforth .CodeMirror-activeline-background {background: #253540 !important;} 34 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/eclipse.css: -------------------------------------------------------------------------------- 1 | .cm-s-eclipse span.cm-meta {color: #FF1717;} 2 | .cm-s-eclipse span.cm-keyword { line-height: 1em; font-weight: bold; color: #7F0055; } 3 | .cm-s-eclipse span.cm-atom {color: #219;} 4 | .cm-s-eclipse span.cm-number {color: #164;} 5 | .cm-s-eclipse span.cm-def {color: #00f;} 6 | .cm-s-eclipse span.cm-variable {color: black;} 7 | .cm-s-eclipse span.cm-variable-2 {color: #0000C0;} 8 | .cm-s-eclipse span.cm-variable-3 {color: #0000C0;} 9 | .cm-s-eclipse span.cm-property {color: black;} 10 | .cm-s-eclipse span.cm-operator {color: black;} 11 | .cm-s-eclipse span.cm-comment {color: #3F7F5F;} 12 | .cm-s-eclipse span.cm-string {color: #2A00FF;} 13 | .cm-s-eclipse span.cm-string-2 {color: #f50;} 14 | .cm-s-eclipse span.cm-qualifier {color: #555;} 15 | .cm-s-eclipse span.cm-builtin {color: #30a;} 16 | .cm-s-eclipse span.cm-bracket {color: #cc7;} 17 | .cm-s-eclipse span.cm-tag {color: #170;} 18 | .cm-s-eclipse span.cm-attribute {color: #00c;} 19 | .cm-s-eclipse span.cm-link {color: #219;} 20 | .cm-s-eclipse span.cm-error {color: #f00;} 21 | 22 | .cm-s-eclipse .CodeMirror-activeline-background {background: #e8f2ff !important;} 23 | .cm-s-eclipse .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 24 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/elegant.css: -------------------------------------------------------------------------------- 1 | .cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom {color: #762;} 2 | .cm-s-elegant span.cm-comment {color: #262; font-style: italic; line-height: 1em;} 3 | .cm-s-elegant span.cm-meta {color: #555; font-style: italic; line-height: 1em;} 4 | .cm-s-elegant span.cm-variable {color: black;} 5 | .cm-s-elegant span.cm-variable-2 {color: #b11;} 6 | .cm-s-elegant span.cm-qualifier {color: #555;} 7 | .cm-s-elegant span.cm-keyword {color: #730;} 8 | .cm-s-elegant span.cm-builtin {color: #30a;} 9 | .cm-s-elegant span.cm-link {color: #762;} 10 | .cm-s-elegant span.cm-error {background-color: #fdd;} 11 | 12 | .cm-s-elegant .CodeMirror-activeline-background {background: #e8f2ff !important;} 13 | .cm-s-elegant .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 14 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/monokai.css: -------------------------------------------------------------------------------- 1 | /* Based on Sublime Text's Monokai theme */ 2 | 3 | .cm-s-monokai.CodeMirror {background: #272822; color: #f8f8f2;} 4 | .cm-s-monokai div.CodeMirror-selected {background: #49483E !important;} 5 | .cm-s-monokai.CodeMirror ::selection { background: rgba(73, 72, 62, .99); } 6 | .cm-s-monokai.CodeMirror ::-moz-selection { background: rgba(73, 72, 62, .99); } 7 | .cm-s-monokai .CodeMirror-gutters {background: #272822; border-right: 0px;} 8 | .cm-s-monokai .CodeMirror-guttermarker { color: white; } 9 | .cm-s-monokai .CodeMirror-guttermarker-subtle { color: #d0d0d0; } 10 | .cm-s-monokai .CodeMirror-linenumber {color: #d0d0d0;} 11 | .cm-s-monokai .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;} 12 | 13 | .cm-s-monokai span.cm-comment {color: #75715e;} 14 | .cm-s-monokai span.cm-atom {color: #ae81ff;} 15 | .cm-s-monokai span.cm-number {color: #ae81ff;} 16 | 17 | .cm-s-monokai span.cm-property, .cm-s-monokai span.cm-attribute {color: #a6e22e;} 18 | .cm-s-monokai span.cm-keyword {color: #f92672;} 19 | .cm-s-monokai span.cm-string {color: #e6db74;} 20 | 21 | .cm-s-monokai span.cm-variable {color: #a6e22e;} 22 | .cm-s-monokai span.cm-variable-2 {color: #9effff;} 23 | .cm-s-monokai span.cm-def {color: #fd971f;} 24 | .cm-s-monokai span.cm-bracket {color: #f8f8f2;} 25 | .cm-s-monokai span.cm-tag {color: #f92672;} 26 | .cm-s-monokai span.cm-link {color: #ae81ff;} 27 | .cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;} 28 | 29 | .cm-s-monokai .CodeMirror-activeline-background {background: #373831 !important;} 30 | .cm-s-monokai .CodeMirror-matchingbracket { 31 | text-decoration: underline; 32 | color: white !important; 33 | } 34 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/neat.css: -------------------------------------------------------------------------------- 1 | .cm-s-neat span.cm-comment { color: #a86; } 2 | .cm-s-neat span.cm-keyword { line-height: 1em; font-weight: bold; color: blue; } 3 | .cm-s-neat span.cm-string { color: #a22; } 4 | .cm-s-neat span.cm-builtin { line-height: 1em; font-weight: bold; color: #077; } 5 | .cm-s-neat span.cm-special { line-height: 1em; font-weight: bold; color: #0aa; } 6 | .cm-s-neat span.cm-variable { color: black; } 7 | .cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; } 8 | .cm-s-neat span.cm-meta {color: #555;} 9 | .cm-s-neat span.cm-link { color: #3a3; } 10 | 11 | .cm-s-neat .CodeMirror-activeline-background {background: #e8f2ff !important;} 12 | .cm-s-neat .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 13 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/neo.css: -------------------------------------------------------------------------------- 1 | /* neo theme for codemirror */ 2 | 3 | /* Color scheme */ 4 | 5 | .cm-s-neo.CodeMirror { 6 | background-color:#ffffff; 7 | color:#2e383c; 8 | line-height:1.4375; 9 | } 10 | .cm-s-neo .cm-comment {color:#75787b} 11 | .cm-s-neo .cm-keyword, .cm-s-neo .cm-property {color:#1d75b3} 12 | .cm-s-neo .cm-atom,.cm-s-neo .cm-number {color:#75438a} 13 | .cm-s-neo .cm-node,.cm-s-neo .cm-tag {color:#9c3328} 14 | .cm-s-neo .cm-string {color:#b35e14} 15 | .cm-s-neo .cm-variable,.cm-s-neo .cm-qualifier {color:#047d65} 16 | 17 | 18 | /* Editor styling */ 19 | 20 | .cm-s-neo pre { 21 | padding:0; 22 | } 23 | 24 | .cm-s-neo .CodeMirror-gutters { 25 | border:none; 26 | border-right:10px solid transparent; 27 | background-color:transparent; 28 | } 29 | 30 | .cm-s-neo .CodeMirror-linenumber { 31 | padding:0; 32 | color:#e0e2e5; 33 | } 34 | 35 | .cm-s-neo .CodeMirror-guttermarker { color: #1d75b3; } 36 | .cm-s-neo .CodeMirror-guttermarker-subtle { color: #e0e2e5; } 37 | 38 | .cm-s-neo div.CodeMirror-cursor { 39 | width: auto; 40 | border: 0; 41 | background: rgba(155,157,162,0.37); 42 | z-index: 1; 43 | } 44 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/night.css: -------------------------------------------------------------------------------- 1 | /* Loosely based on the Midnight Textmate theme */ 2 | 3 | .cm-s-night.CodeMirror { background: #0a001f; color: #f8f8f8; } 4 | .cm-s-night div.CodeMirror-selected { background: #447 !important; } 5 | .cm-s-night.CodeMirror ::selection { background: rgba(68, 68, 119, .99); } 6 | .cm-s-night.CodeMirror ::-moz-selection { background: rgba(68, 68, 119, .99); } 7 | .cm-s-night .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; } 8 | .cm-s-night .CodeMirror-guttermarker { color: white; } 9 | .cm-s-night .CodeMirror-guttermarker-subtle { color: #bbb; } 10 | .cm-s-night .CodeMirror-linenumber { color: #f8f8f8; } 11 | .cm-s-night .CodeMirror-cursor { border-left: 1px solid white !important; } 12 | 13 | .cm-s-night span.cm-comment { color: #6900a1; } 14 | .cm-s-night span.cm-atom { color: #845dc4; } 15 | .cm-s-night span.cm-number, .cm-s-night span.cm-attribute { color: #ffd500; } 16 | .cm-s-night span.cm-keyword { color: #599eff; } 17 | .cm-s-night span.cm-string { color: #37f14a; } 18 | .cm-s-night span.cm-meta { color: #7678e2; } 19 | .cm-s-night span.cm-variable-2, .cm-s-night span.cm-tag { color: #99b2ff; } 20 | .cm-s-night span.cm-variable-3, .cm-s-night span.cm-def { color: white; } 21 | .cm-s-night span.cm-bracket { color: #8da6ce; } 22 | .cm-s-night span.cm-comment { color: #6900a1; } 23 | .cm-s-night span.cm-builtin, .cm-s-night span.cm-special { color: #ff9e59; } 24 | .cm-s-night span.cm-link { color: #845dc4; } 25 | .cm-s-night span.cm-error { color: #9d1e15; } 26 | 27 | .cm-s-night .CodeMirror-activeline-background {background: #1C005A !important;} 28 | .cm-s-night .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;} 29 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/paraiso-dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Paraíso (Dark) 4 | Author: Jan T. Sott 5 | 6 | Color scheme by Jan T. Sott (https://github.com/idleberg/Paraiso-CodeMirror) 7 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) 8 | 9 | */ 10 | 11 | .cm-s-paraiso-dark.CodeMirror {background: #2f1e2e; color: #b9b6b0;} 12 | .cm-s-paraiso-dark div.CodeMirror-selected {background: #41323f !important;} 13 | .cm-s-paraiso-dark.CodeMirror ::selection { background: rgba(65, 50, 63, .99); } 14 | .cm-s-paraiso-dark.CodeMirror ::-moz-selection { background: rgba(65, 50, 63, .99); } 15 | .cm-s-paraiso-dark .CodeMirror-gutters {background: #2f1e2e; border-right: 0px;} 16 | .cm-s-paraiso-dark .CodeMirror-guttermarker { color: #ef6155; } 17 | .cm-s-paraiso-dark .CodeMirror-guttermarker-subtle { color: #776e71; } 18 | .cm-s-paraiso-dark .CodeMirror-linenumber {color: #776e71;} 19 | .cm-s-paraiso-dark .CodeMirror-cursor {border-left: 1px solid #8d8687 !important;} 20 | 21 | .cm-s-paraiso-dark span.cm-comment {color: #e96ba8;} 22 | .cm-s-paraiso-dark span.cm-atom {color: #815ba4;} 23 | .cm-s-paraiso-dark span.cm-number {color: #815ba4;} 24 | 25 | .cm-s-paraiso-dark span.cm-property, .cm-s-paraiso-dark span.cm-attribute {color: #48b685;} 26 | .cm-s-paraiso-dark span.cm-keyword {color: #ef6155;} 27 | .cm-s-paraiso-dark span.cm-string {color: #fec418;} 28 | 29 | .cm-s-paraiso-dark span.cm-variable {color: #48b685;} 30 | .cm-s-paraiso-dark span.cm-variable-2 {color: #06b6ef;} 31 | .cm-s-paraiso-dark span.cm-def {color: #f99b15;} 32 | .cm-s-paraiso-dark span.cm-bracket {color: #b9b6b0;} 33 | .cm-s-paraiso-dark span.cm-tag {color: #ef6155;} 34 | .cm-s-paraiso-dark span.cm-link {color: #815ba4;} 35 | .cm-s-paraiso-dark span.cm-error {background: #ef6155; color: #8d8687;} 36 | 37 | .cm-s-paraiso-dark .CodeMirror-activeline-background {background: #4D344A !important;} 38 | .cm-s-paraiso-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 39 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/paraiso-light.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Paraíso (Light) 4 | Author: Jan T. Sott 5 | 6 | Color scheme by Jan T. Sott (https://github.com/idleberg/Paraiso-CodeMirror) 7 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) 8 | 9 | */ 10 | 11 | .cm-s-paraiso-light.CodeMirror {background: #e7e9db; color: #41323f;} 12 | .cm-s-paraiso-light div.CodeMirror-selected {background: #b9b6b0 !important;} 13 | .cm-s-paraiso-light.CodeMirror ::selection { background: #b9b6b0; } 14 | .cm-s-paraiso-light.CodeMirror ::-moz-selection { background: #b9b6b0; } 15 | .cm-s-paraiso-light .CodeMirror-gutters {background: #e7e9db; border-right: 0px;} 16 | .cm-s-paraiso-light .CodeMirror-guttermarker { color: black; } 17 | .cm-s-paraiso-light .CodeMirror-guttermarker-subtle { color: #8d8687; } 18 | .cm-s-paraiso-light .CodeMirror-linenumber {color: #8d8687;} 19 | .cm-s-paraiso-light .CodeMirror-cursor {border-left: 1px solid #776e71 !important;} 20 | 21 | .cm-s-paraiso-light span.cm-comment {color: #e96ba8;} 22 | .cm-s-paraiso-light span.cm-atom {color: #815ba4;} 23 | .cm-s-paraiso-light span.cm-number {color: #815ba4;} 24 | 25 | .cm-s-paraiso-light span.cm-property, .cm-s-paraiso-light span.cm-attribute {color: #48b685;} 26 | .cm-s-paraiso-light span.cm-keyword {color: #ef6155;} 27 | .cm-s-paraiso-light span.cm-string {color: #fec418;} 28 | 29 | .cm-s-paraiso-light span.cm-variable {color: #48b685;} 30 | .cm-s-paraiso-light span.cm-variable-2 {color: #06b6ef;} 31 | .cm-s-paraiso-light span.cm-def {color: #f99b15;} 32 | .cm-s-paraiso-light span.cm-bracket {color: #41323f;} 33 | .cm-s-paraiso-light span.cm-tag {color: #ef6155;} 34 | .cm-s-paraiso-light span.cm-link {color: #815ba4;} 35 | .cm-s-paraiso-light span.cm-error {background: #ef6155; color: #776e71;} 36 | 37 | .cm-s-paraiso-light .CodeMirror-activeline-background {background: #CFD1C4 !important;} 38 | .cm-s-paraiso-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 39 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/rubyblue.css: -------------------------------------------------------------------------------- 1 | .cm-s-rubyblue.CodeMirror { background: #112435; color: white; } 2 | .cm-s-rubyblue div.CodeMirror-selected { background: #38566F !important; } 3 | .cm-s-rubyblue.CodeMirror ::selection { background: rgba(56, 86, 111, 0.99); } 4 | .cm-s-rubyblue.CodeMirror ::-moz-selection { background: rgba(56, 86, 111, 0.99); } 5 | .cm-s-rubyblue .CodeMirror-gutters { background: #1F4661; border-right: 7px solid #3E7087; } 6 | .cm-s-rubyblue .CodeMirror-guttermarker { color: white; } 7 | .cm-s-rubyblue .CodeMirror-guttermarker-subtle { color: #3E7087; } 8 | .cm-s-rubyblue .CodeMirror-linenumber { color: white; } 9 | .cm-s-rubyblue .CodeMirror-cursor { border-left: 1px solid white !important; } 10 | 11 | .cm-s-rubyblue span.cm-comment { color: #999; font-style:italic; line-height: 1em; } 12 | .cm-s-rubyblue span.cm-atom { color: #F4C20B; } 13 | .cm-s-rubyblue span.cm-number, .cm-s-rubyblue span.cm-attribute { color: #82C6E0; } 14 | .cm-s-rubyblue span.cm-keyword { color: #F0F; } 15 | .cm-s-rubyblue span.cm-string { color: #F08047; } 16 | .cm-s-rubyblue span.cm-meta { color: #F0F; } 17 | .cm-s-rubyblue span.cm-variable-2, .cm-s-rubyblue span.cm-tag { color: #7BD827; } 18 | .cm-s-rubyblue span.cm-variable-3, .cm-s-rubyblue span.cm-def { color: white; } 19 | .cm-s-rubyblue span.cm-bracket { color: #F0F; } 20 | .cm-s-rubyblue span.cm-link { color: #F4C20B; } 21 | .cm-s-rubyblue span.CodeMirror-matchingbracket { color:#F0F !important; } 22 | .cm-s-rubyblue span.cm-builtin, .cm-s-rubyblue span.cm-special { color: #FF9D00; } 23 | .cm-s-rubyblue span.cm-error { color: #AF2018; } 24 | 25 | .cm-s-rubyblue .CodeMirror-activeline-background {background: #173047 !important;} 26 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/the-matrix.css: -------------------------------------------------------------------------------- 1 | .cm-s-the-matrix.CodeMirror { background: #000000; color: #00FF00; } 2 | .cm-s-the-matrix div.CodeMirror-selected { background: #2D2D2D !important; } 3 | .cm-s-the-matrix.CodeMirror ::selection { background: rgba(45, 45, 45, 0.99); } 4 | .cm-s-the-matrix.CodeMirror ::-moz-selection { background: rgba(45, 45, 45, 0.99); } 5 | .cm-s-the-matrix .CodeMirror-gutters { background: #060; border-right: 2px solid #00FF00; } 6 | .cm-s-the-matrix .CodeMirror-guttermarker { color: #0f0; } 7 | .cm-s-the-matrix .CodeMirror-guttermarker-subtle { color: white; } 8 | .cm-s-the-matrix .CodeMirror-linenumber { color: #FFFFFF; } 9 | .cm-s-the-matrix .CodeMirror-cursor { border-left: 1px solid #00FF00 !important; } 10 | 11 | .cm-s-the-matrix span.cm-keyword {color: #008803; font-weight: bold;} 12 | .cm-s-the-matrix span.cm-atom {color: #3FF;} 13 | .cm-s-the-matrix span.cm-number {color: #FFB94F;} 14 | .cm-s-the-matrix span.cm-def {color: #99C;} 15 | .cm-s-the-matrix span.cm-variable {color: #F6C;} 16 | .cm-s-the-matrix span.cm-variable-2 {color: #C6F;} 17 | .cm-s-the-matrix span.cm-variable-3 {color: #96F;} 18 | .cm-s-the-matrix span.cm-property {color: #62FFA0;} 19 | .cm-s-the-matrix span.cm-operator {color: #999} 20 | .cm-s-the-matrix span.cm-comment {color: #CCCCCC;} 21 | .cm-s-the-matrix span.cm-string {color: #39C;} 22 | .cm-s-the-matrix span.cm-meta {color: #C9F;} 23 | .cm-s-the-matrix span.cm-qualifier {color: #FFF700;} 24 | .cm-s-the-matrix span.cm-builtin {color: #30a;} 25 | .cm-s-the-matrix span.cm-bracket {color: #cc7;} 26 | .cm-s-the-matrix span.cm-tag {color: #FFBD40;} 27 | .cm-s-the-matrix span.cm-attribute {color: #FFF700;} 28 | .cm-s-the-matrix span.cm-error {color: #FF0000;} 29 | 30 | .cm-s-the-matrix .CodeMirror-activeline-background {background: #040;} 31 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/codemirror/theme/tomorrow-night-bright.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Tomorrow Night - Bright 4 | Author: Chris Kempson 5 | 6 | Port done by Gerard Braad 7 | 8 | */ 9 | 10 | .cm-s-tomorrow-night-bright.CodeMirror {background: #000000; color: #eaeaea;} 11 | .cm-s-tomorrow-night-bright div.CodeMirror-selected {background: #424242 !important;} 12 | .cm-s-tomorrow-night-bright .CodeMirror-gutters {background: #000000; border-right: 0px;} 13 | .cm-s-tomorrow-night-bright .CodeMirror-guttermarker { color: #e78c45; } 14 | .cm-s-tomorrow-night-bright .CodeMirror-guttermarker-subtle { color: #777; } 15 | .cm-s-tomorrow-night-bright .CodeMirror-linenumber {color: #424242;} 16 | .cm-s-tomorrow-night-bright .CodeMirror-cursor {border-left: 1px solid #6A6A6A !important;} 17 | 18 | .cm-s-tomorrow-night-bright span.cm-comment {color: #d27b53;} 19 | .cm-s-tomorrow-night-bright span.cm-atom {color: #a16a94;} 20 | .cm-s-tomorrow-night-bright span.cm-number {color: #a16a94;} 21 | 22 | .cm-s-tomorrow-night-bright span.cm-property, .cm-s-tomorrow-night-bright span.cm-attribute {color: #99cc99;} 23 | .cm-s-tomorrow-night-bright span.cm-keyword {color: #d54e53;} 24 | .cm-s-tomorrow-night-bright span.cm-string {color: #e7c547;} 25 | 26 | .cm-s-tomorrow-night-bright span.cm-variable {color: #b9ca4a;} 27 | .cm-s-tomorrow-night-bright span.cm-variable-2 {color: #7aa6da;} 28 | .cm-s-tomorrow-night-bright span.cm-def {color: #e78c45;} 29 | .cm-s-tomorrow-night-bright span.cm-bracket {color: #eaeaea;} 30 | .cm-s-tomorrow-night-bright span.cm-tag {color: #d54e53;} 31 | .cm-s-tomorrow-night-bright span.cm-link {color: #a16a94;} 32 | .cm-s-tomorrow-night-bright span.cm-error {background: #d54e53; color: #6A6A6A;} 33 | 34 | .cm-s-tomorrow-night-bright .CodeMirror-activeline-background {background: #2a2a2a !important;} 35 | .cm-s-tomorrow-night-bright .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 36 | -------------------------------------------------------------------------------- /static/lib/editor.md/lib/jquery.flowchart.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery.flowchart.js v1.1.0 | jquery.flowchart.min.js | jQuery plugin for flowchart.js. | MIT License | By: Pandao | https://github.com/pandao/jquery.flowchart.js | 2015-03-09 */ 2 | (function(factory){if(typeof require==="function"&&typeof exports==="object"&&typeof module==="object"){module.exports=factory}else{if(typeof define==="function"){factory(jQuery,flowchart)}else{factory($,flowchart)}}}(function(jQuery,flowchart){(function($){$.fn.flowChart=function(options){options=options||{};var defaults={"x":0,"y":0,"line-width":2,"line-length":50,"text-margin":10,"font-size":14,"font-color":"black","line-color":"black","element-color":"black","fill":"white","yes-text":"yes","no-text":"no","arrow-end":"block","symbols":{"start":{"font-color":"black","element-color":"black","fill":"white"},"end":{"class":"end-element"}},"flowstate":{"past":{"fill":"#CCCCCC","font-size":12},"current":{"fill":"black","font-color":"white","font-weight":"bold"},"future":{"fill":"white"},"request":{"fill":"blue"},"invalid":{"fill":"#444444"},"approved":{"fill":"#58C4A3","font-size":12,"yes-text":"APPROVED","no-text":"n/a"},"rejected":{"fill":"#C45879","font-size":12,"yes-text":"n/a","no-text":"REJECTED"}}};return this.each(function(){var $this=$(this);var diagram=flowchart.parse($this.text());var settings=$.extend(true,defaults,options);$this.html("");diagram.drawSVG(this,settings)})}})(jQuery)})); -------------------------------------------------------------------------------- /static/lib/editor.md/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "editor.md", 3 | "version": "1.5.0", 4 | "description": "Open source online markdown editor.", 5 | "directories": { 6 | "doc": "docs", 7 | "example": "examples", 8 | "test": "tests" 9 | }, 10 | "scripts": { 11 | "test": "echo \"Error: no test specified\" && exit 1" 12 | }, 13 | "repository": { 14 | "type": "git", 15 | "url": "https://github.com/pandao/editor.md.git" 16 | }, 17 | "keywords": [ 18 | "editor.md", 19 | "markdown", 20 | "editor" 21 | ], 22 | "author": "Pandao", 23 | "license": "MIT", 24 | "bugs": { 25 | "url": "https://github.com/pandao/editor.md/issues" 26 | }, 27 | "homepage": "https://github.com/pandao/editor.md", 28 | "devDependencies": { 29 | "dateformatter": "^0.1.0", 30 | "gulp": "^3.8.11", 31 | "gulp-concat": "^2.4.2", 32 | "gulp-header": "^1.2.2", 33 | "gulp-jshint": "^1.9.0", 34 | "gulp-minify-css": "^0.4.4", 35 | "gulp-notify": "^2.1.0", 36 | "gulp-rename": "^1.2.0", 37 | "gulp-replace": "^0.5.3", 38 | "gulp-ruby-sass": "^1.0.1", 39 | "gulp-uglifyjs": "^0.6.1", 40 | "gulp-util": "^3.0.1" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /static/lib/editor.md/plugins/test-plugin/test-plugin.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Test plugin for Editor.md 3 | * 4 | * @file test-plugin.js 5 | * @author pandao 6 | * @version 1.2.0 7 | * @updateTime 2015-03-07 8 | * {@link https://github.com/pandao/editor.md} 9 | * @license MIT 10 | */ 11 | 12 | (function() { 13 | 14 | var factory = function (exports) { 15 | 16 | var $ = jQuery; // if using module loader(Require.js/Sea.js). 17 | 18 | exports.testPlugin = function(){ 19 | alert("testPlugin"); 20 | }; 21 | 22 | exports.fn.testPluginMethodA = function() { 23 | /* 24 | var _this = this; // this == the current instance object of Editor.md 25 | var lang = _this.lang; 26 | var settings = _this.settings; 27 | var editor = this.editor; 28 | var cursor = cm.getCursor(); 29 | var selection = cm.getSelection(); 30 | var classPrefix = this.classPrefix; 31 | 32 | cm.focus(); 33 | */ 34 | //.... 35 | 36 | alert("testPluginMethodA"); 37 | }; 38 | 39 | }; 40 | 41 | // CommonJS/Node.js 42 | if (typeof require === "function" && typeof exports === "object" && typeof module === "object") 43 | { 44 | module.exports = factory; 45 | } 46 | else if (typeof define === "function") // AMD/CMD/Sea.js 47 | { 48 | if (define.amd) { // for Require.js 49 | 50 | define(["editormd"], function(editormd) { 51 | factory(editormd); 52 | }); 53 | 54 | } else { // for Sea.js 55 | define(function(require) { 56 | var editormd = require("./../../editormd"); 57 | factory(editormd); 58 | }); 59 | } 60 | } 61 | else 62 | { 63 | factory(window.editormd); 64 | } 65 | 66 | })(); 67 | -------------------------------------------------------------------------------- /static/lib/editor.md/scss/editormd.grid.scss: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | 3 | .editormd-grid-table { 4 | width: 99%; 5 | display: table; 6 | border: 1px solid #ddd; 7 | border-collapse: collapse; 8 | } 9 | 10 | .editormd-grid-table-row { 11 | width: 100%; 12 | display: table-row; 13 | 14 | a { 15 | font-size: 1.4em; 16 | width: 5%; 17 | height: 36px; 18 | color: #999; 19 | text-align: center; 20 | display: table-cell; 21 | vertical-align: middle; 22 | border: 1px solid #ddd; 23 | text-decoration: none; 24 | @include transition(background-color 300ms ease-out, color 100ms ease-in); 25 | 26 | &.selected { 27 | color: #666; 28 | background-color: #eee; 29 | } 30 | 31 | &:hover { 32 | color: #777; 33 | background-color: #f6f6f6; 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /static/lib/editor.md/scss/editormd.tab.scss: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | 3 | .editormd-tab { 4 | } 5 | 6 | .editormd-tab-head { 7 | list-style: none; 8 | border-bottom: 1px solid #ddd; 9 | 10 | li { 11 | display: inline-block; 12 | 13 | a { 14 | color: #999; 15 | display: block; 16 | padding: 6px 12px 5px; 17 | text-align: center; 18 | text-decoration: none; 19 | margin-bottom: -1px; 20 | border: 1px solid #ddd; 21 | @include border-top-left-radius(3px); 22 | @include border-top-right-radius(3px); 23 | background: #f6f6f6; 24 | @include transition(all 300ms ease-out); 25 | 26 | &:hover { 27 | color: #666; 28 | background: #eee; 29 | } 30 | } 31 | 32 | &.active a { 33 | color: #666; 34 | background: #fff; 35 | border-bottom-color: #fff; 36 | } 37 | } 38 | 39 | li + li { 40 | margin-left: 3px; 41 | } 42 | } 43 | 44 | .editormd-tab-container { 45 | } 46 | 47 | .editormd-tab-box { 48 | padding: 20px 0; 49 | } -------------------------------------------------------------------------------- /static/lib/editor.md/scss/editormd.themes.scss: -------------------------------------------------------------------------------- 1 | /* Editor.md Dark theme */ 2 | 3 | #{$prefix}theme-dark { 4 | border-color: #1a1a17; 5 | 6 | #{$prefix}toolbar { 7 | background: #1A1A17; 8 | border-color: #1a1a17; 9 | } 10 | 11 | #{$prefix}menu > li > a { 12 | color: #777; 13 | border-color: #1a1a17; 14 | 15 | &:hover, &.active { 16 | border-color: #333; 17 | background: #333; 18 | } 19 | } 20 | 21 | #{$prefix}menu > li.divider { 22 | border-right: 1px solid #111; 23 | } 24 | 25 | .CodeMirror { 26 | border-right: 1px solid rgba(0,0,0,0.1); 27 | } 28 | } -------------------------------------------------------------------------------- /static/lib/editor.md/scss/lib/variables.scss: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | 3 | // Global Variables 4 | 5 | $prefix : ".editormd-"; 6 | $color : #666; 7 | $mainColor : #2196F3; 8 | $primaryColor : $mainColor; 9 | $secondColor : #33CC66; 10 | $thirdColor : #999999; 11 | $borderColor : #ddd; -------------------------------------------------------------------------------- /static/lib/editor.md/scss/prettify.scss: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | 3 | /*! Pretty printing styles. Used with prettify.js. */ 4 | /* SPAN elements with the classes below are added by prettyprint. */ 5 | .pln { color: #000 } /* plain text */ 6 | 7 | @media screen { 8 | .str { color: #080 } /* string content */ 9 | .kwd { color: #008 } /* a keyword */ 10 | .com { color: #800 } /* a comment */ 11 | .typ { color: #606 } /* a type name */ 12 | .lit { color: #066 } /* a literal value */ 13 | /* punctuation, lisp open bracket, lisp close bracket */ 14 | .pun, .opn, .clo { color: #660 } 15 | .tag { color: #008 } /* a markup tag name */ 16 | .atn { color: #606 } /* a markup attribute name */ 17 | .atv { color: #080 } /* a markup attribute value */ 18 | .dec, .var { color: #606 } /* a declaration; a variable name */ 19 | .fun { color: red } /* a function name */ 20 | } 21 | 22 | /* Use higher contrast and text-weight for printable form. */ 23 | @media print, projection { 24 | .str { color: #060 } 25 | .kwd { color: #006; font-weight: bold } 26 | .com { color: #600; font-style: italic } 27 | .typ { color: #404; font-weight: bold } 28 | .lit { color: #044 } 29 | .pun, .opn, .clo { color: #440 } 30 | .tag { color: #006; font-weight: bold } 31 | .atn { color: #404 } 32 | .atv { color: #060 } 33 | } 34 | 35 | /* Put a border around prettyprinted code snippets. */ 36 | pre.prettyprint { padding: 2px; border: 1px solid #888 } 37 | 38 | /* Specify class=linenums on a pre to get line numbering */ 39 | ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */ 40 | li.L0, 41 | li.L1, 42 | li.L2, 43 | li.L3, 44 | li.L5, 45 | li.L6, 46 | li.L7, 47 | li.L8 { list-style-type: none } 48 | /* Alternate shading for lines */ 49 | li.L1, 50 | li.L3, 51 | li.L5, 52 | li.L7, 53 | li.L9 { background: #eee } -------------------------------------------------------------------------------- /static/lib/jqgrid/css/ui.jqgrid-bootstrap-ui.css: -------------------------------------------------------------------------------- 1 | /* 2 | To change this license header, choose License Headers in Project Properties. 3 | To change this template file, choose Tools | Templates 4 | and open the template in the editor. 5 | */ 6 | /* 7 | Created on : Mar 16, 2015, 10:24:01 AM 8 | Author : tony 9 | */ 10 | 11 | .ui-jqgrid tr.jqgrow td { height: 26px;} 12 | .ui-jqgrid .ui-pg-input,.ui-jqgrid .ui-jqgrid-toppager .ui-pg-input { height:20px } 13 | .ui-state-hover 14 | { 15 | border: .15em solid; 16 | border-color: inherit; 17 | 18 | } 19 | .ui-jqdialog .ui-jqdialog-titlebar { 20 | height:29px; 21 | border-color: inherit; 22 | } 23 | 24 | .ui-jqdialog-content input.FormElement { 25 | padding: 0.25em; 26 | } 27 | 28 | .fm-button { 29 | height:30px; 30 | } 31 | #nData, #pData { height:20px; width:18px; } -------------------------------------------------------------------------------- /static/lib/jqgrid/css/ui.lm.css: -------------------------------------------------------------------------------- 1 | /* 2 | Created on : 2015-9-19, 19:59:16 3 | Author : allen 4 | */ 5 | 6 | .ui-jqgrid-view > .ui-jqgrid-titlebar { 7 | height: 40px; 8 | line-height: 24px; 9 | color: #FFF; 10 | background: #307ECC none repeat scroll 0% 0%; 11 | padding: 0px; 12 | font-size: 15px; 13 | } 14 | 15 | .ui-jqgrid .ui-jqgrid-labels { 16 | border-bottom: medium none; 17 | background: #F2F2F2 linear-gradient(to bottom, #F8F8F8 0%, #ECECEC 100%) repeat-x scroll 0% 0%; 18 | padding: 0px !important; 19 | border-left: 1px solid #E1E1E1 !important; 20 | } 21 | 22 | .ui-jqgrid .ui-jqgrid-hbox { 23 | float: left; 24 | padding-right: 20px; 25 | } 26 | 27 | .ui-jqgrid .ui-jqgrid-hdiv { 28 | font-weight: bold; 29 | color: #777; 30 | text-shadow: none; 31 | line-height: 15px; 32 | } -------------------------------------------------------------------------------- /static/lib/jqgrid/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqgrid/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /static/lib/jqgrid/fonts/OpenSans-300.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqgrid/fonts/OpenSans-300.woff -------------------------------------------------------------------------------- /static/lib/jqgrid/fonts/OpenSans-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqgrid/fonts/OpenSans-400.woff -------------------------------------------------------------------------------- /static/lib/jqgrid/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqgrid/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /static/lib/jqgrid/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqgrid/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /static/lib/jqgrid/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqgrid/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /static/lib/jqgrid/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqgrid/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /static/lib/jqgrid/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqgrid/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /static/lib/jqgrid/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqgrid/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /static/lib/jqgrid/fonts/readme: -------------------------------------------------------------------------------- 1 | Google fonts saved to be locally available during development 2 | http://www.google.com/fonts#UsePlace:use/Collection:Open+Sans 3 | 4 | -------------------------------------------------------------------------------- /static/lib/jqgrid/plugins/grid.postext.js: -------------------------------------------------------------------------------- 1 | ;(function($){ 2 | /** 3 | * jqGrid extension 4 | * Paul Tiseo ptiseo@wasteconsultants.com 5 | * 6 | * Dual licensed under the MIT and GPL licenses: 7 | * http://www.opensource.org/licenses/mit-license.php 8 | * http://www.gnu.org/licenses/gpl-2.0.html 9 | **/ 10 | $.jgrid.extend({ 11 | getPostData : function(){ 12 | var $t = this[0]; 13 | if(!$t.grid) { return; } 14 | return $t.p.postData; 15 | }, 16 | setPostData : function( newdata ) { 17 | var $t = this[0]; 18 | if(!$t.grid) { return; } 19 | // check if newdata is correct type 20 | if ( typeof(newdata) === 'object' ) { 21 | $t.p.postData = newdata; 22 | } 23 | else { 24 | alert("Error: cannot add a non-object postData value. postData unchanged."); 25 | } 26 | }, 27 | appendPostData : function( newdata ) { 28 | var $t = this[0]; 29 | if(!$t.grid) { return; } 30 | // check if newdata is correct type 31 | if ( typeof(newdata) === 'object' ) { 32 | $.extend($t.p.postData, newdata); 33 | } 34 | else { 35 | alert("Error: cannot append a non-object postData value. postData unchanged."); 36 | } 37 | }, 38 | setPostDataItem : function( key, val ) { 39 | var $t = this[0]; 40 | if(!$t.grid) { return; } 41 | $t.p.postData[key] = val; 42 | }, 43 | getPostDataItem : function( key ) { 44 | var $t = this[0]; 45 | if(!$t.grid) { return; } 46 | return $t.p.postData[key]; 47 | }, 48 | removePostDataItem : function( key ) { 49 | var $t = this[0]; 50 | if(!$t.grid) { return; } 51 | delete $t.p.postData[key]; 52 | }, 53 | getUserData : function(){ 54 | var $t = this[0]; 55 | if(!$t.grid) { return; } 56 | return $t.p.userData; 57 | }, 58 | getUserDataItem : function( key ) { 59 | var $t = this[0]; 60 | if(!$t.grid) { return; } 61 | return $t.p.userData[key]; 62 | } 63 | }); 64 | })(jQuery); -------------------------------------------------------------------------------- /static/lib/jqgrid/plugins/searchFilter.css: -------------------------------------------------------------------------------- 1 | .ui-searchFilter { display: none; position: absolute; z-index: 770; overflow: visible;} 2 | .ui-searchFilter table {position:relative; margin:0em; width:auto} 3 | .ui-searchFilter table td {margin: 0em; padding: 1px;} 4 | .ui-searchFilter table td input, .ui-searchFilter table td select {margin: 0.1em;} 5 | .ui-searchFilter .ui-state-default { cursor: pointer; } 6 | .ui-searchFilter .divider hr {margin: 1px; } -------------------------------------------------------------------------------- /static/lib/jqgrid/plugins/ui.multiselect.css: -------------------------------------------------------------------------------- 1 | /* Multiselect 2 | ----------------------------------*/ 3 | 4 | .ui-multiselect { border: solid 1px; font-size: 0.8em; } 5 | .ui-multiselect ul { -moz-user-select: none; } 6 | .ui-multiselect li { margin: 0; padding: 0; cursor: default; line-height: 20px; height: 20px; font-size: 11px; list-style: none; } 7 | .ui-multiselect li a { color: #999; text-decoration: none; padding: 0; display: block; float: left; cursor: pointer;} 8 | .ui-multiselect li.ui-draggable-dragging { padding-left: 10px; } 9 | 10 | .ui-multiselect div.selected { position: relative; padding: 0; margin: 0; border: 0; float:left; } 11 | .ui-multiselect ul.selected { position: relative; padding: 0; overflow: auto; overflow-x: hidden; background: #fff; margin: 0; list-style: none; border: 0; position: relative; width: 100%; } 12 | .ui-multiselect ul.selected li { } 13 | 14 | .ui-multiselect div.available { position: relative; padding: 0; margin: 0; border: 0; float:left; border-left: 1px solid; } 15 | .ui-multiselect ul.available { position: relative; padding: 0; overflow: auto; overflow-x: hidden; background: #fff; margin: 0; list-style: none; border: 0; width: 100%; } 16 | .ui-multiselect ul.available li { padding-left: 10px; } 17 | 18 | .ui-multiselect .ui-state-default { border: none; margin-bottom: 1px; position: relative; padding-left: 20px;} 19 | .ui-multiselect .ui-state-hover { border: none; } 20 | .ui-multiselect .ui-widget-header {border: none; font-size: 11px; margin-bottom: 1px;} 21 | 22 | .ui-multiselect .add-all { float: right; padding: 7px;} 23 | .ui-multiselect .remove-all { float: right; padding: 7px;} 24 | .ui-multiselect .search { float: left; padding: 4px;} 25 | .ui-multiselect .count { float: left; padding: 7px;} 26 | 27 | .ui-multiselect li span.ui-icon-arrowthick-2-n-s { position: absolute; left: 2px; } 28 | .ui-multiselect li a.action { position: absolute; right: 2px; top: 2px; } 29 | 30 | .ui-multiselect input.search { height: 14px; padding: 1px; opacity: 0.5; margin: 4px; width: 100px; } -------------------------------------------------------------------------------- /static/lib/jqgrid/src/css/ui.jqgrid-bootstrap-ui.css: -------------------------------------------------------------------------------- 1 | /* 2 | To change this license header, choose License Headers in Project Properties. 3 | To change this template file, choose Tools | Templates 4 | and open the template in the editor. 5 | */ 6 | /* 7 | Created on : Mar 16, 2015, 10:24:01 AM 8 | Author : tony 9 | */ 10 | 11 | .ui-jqgrid tr.jqgrow td { height: 26px;} 12 | .ui-jqgrid .ui-pg-input,.ui-jqgrid .ui-jqgrid-toppager .ui-pg-input { height:20px } 13 | .ui-state-hover 14 | { 15 | border: .15em solid; 16 | border-color: inherit; 17 | 18 | } 19 | .ui-jqdialog .ui-jqdialog-titlebar { 20 | height:29px; 21 | border-color: inherit; 22 | } 23 | 24 | .ui-jqdialog-content input.FormElement { 25 | padding: 0.25em; 26 | } 27 | 28 | .fm-button { 29 | height:30px; 30 | } 31 | #nData, #pData { height:20px; width:18px; } -------------------------------------------------------------------------------- /static/lib/jqgrid/src/css/ui.multiselect.css: -------------------------------------------------------------------------------- 1 | /* Multiselect 2 | ----------------------------------*/ 3 | 4 | .ui-multiselect { border: solid 1px; font-size: 0.8em; } 5 | .ui-multiselect ul { -moz-user-select: none; } 6 | .ui-multiselect li { margin: 0; padding: 0; cursor: default; line-height: 20px; height: 20px; font-size: 11px; list-style: none; } 7 | .ui-multiselect li a { color: #999; text-decoration: none; padding: 0; display: block; float: left; cursor: pointer;} 8 | .ui-multiselect li.ui-draggable-dragging { padding-left: 10px; } 9 | 10 | .ui-multiselect div.selected { position: relative; padding: 0; margin: 0; border: 0; float:left; } 11 | .ui-multiselect ul.selected { position: relative; padding: 0; overflow: auto; overflow-x: hidden; background: #fff; margin: 0; list-style: none; border: 0; position: relative; width: 100%; } 12 | .ui-multiselect ul.selected li { } 13 | 14 | .ui-multiselect div.available { position: relative; padding: 0; margin: 0; border: 0; float:left; border-left: 1px solid; } 15 | .ui-multiselect ul.available { position: relative; padding: 0; overflow: auto; overflow-x: hidden; background: #fff; margin: 0; list-style: none; border: 0; width: 100%; } 16 | .ui-multiselect ul.available li { padding-left: 10px; } 17 | 18 | .ui-multiselect .ui-state-default { border: none; margin-bottom: 1px; position: relative; padding-left: 20px;} 19 | .ui-multiselect .ui-state-hover { border: none; } 20 | .ui-multiselect .ui-widget-header {border: none; font-size: 11px; margin-bottom: 1px;} 21 | 22 | .ui-multiselect .add-all { float: right; padding: 7px;} 23 | .ui-multiselect .remove-all { float: right; padding: 7px;} 24 | .ui-multiselect .search { float: left; padding: 4px;} 25 | .ui-multiselect .count { float: left; padding: 7px;} 26 | 27 | .ui-multiselect li span.ui-icon-arrowthick-2-n-s { position: absolute; left: 2px; } 28 | .ui-multiselect li a.action { position: absolute; right: 2px; top: 2px; } 29 | 30 | .ui-multiselect input.search { height: 14px; padding: 1px; opacity: 0.5; margin: 4px; width: 100px; } -------------------------------------------------------------------------------- /static/lib/jqupload/delete.php: -------------------------------------------------------------------------------- 1 | "; 12 | } 13 | 14 | ?> -------------------------------------------------------------------------------- /static/lib/jqupload/index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Scroll Issue: 11 | 12 |
Upload
13 | 14 |
15 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /static/lib/jqupload/upload.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/.gitignore: -------------------------------------------------------------------------------- 1 | .tmp_*~ 2 | .DS_Store 3 | /js/jquery.validationEngine.log.txt 4 | /js/jquery.validationEngine.js.min.js.log.txt 5 | /js/jquery.validationEngine-en.log.txt -------------------------------------------------------------------------------- /static/lib/jqvalidation/css/customMessages.css: -------------------------------------------------------------------------------- 1 | body { 2 | 3 | } 4 | 5 | .center { 6 | text-align: center; 7 | } 8 | 9 | 10 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/css/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqvalidation/css/screenshot.png -------------------------------------------------------------------------------- /static/lib/jqvalidation/css/style.css: -------------------------------------------------------------------------------- 1 | body{ 2 | background:url(../images/bg.jpg); 3 | text-shadow: 1px 1px 0px white; 4 | margin: 0; 5 | font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; 6 | font-size: 13px; 7 | line-height: 18px; 8 | color: #333; 9 | } 10 | 11 | h1, h2, h3, h4, h5, h6 { 12 | margin: 0; 13 | font-family: inherit; 14 | font-weight: bold; 15 | color: inherit; 16 | text-rendering: optimizelegibility; 17 | } 18 | h1 { 19 | font-size: 30px; 20 | line-height: 36px; 21 | padding: 50px 0 20px; 22 | } 23 | #websiteContainer{ 24 | background:url(../images/bg2.png) top left no-repeat; 25 | height: 529px; 26 | } 27 | .containerRelease{ 28 | width:780px; 29 | margin-left:230px; 30 | } 31 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/demos/demoAdjustments.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JQuery Validation Engine 6 | 7 | 8 | 10 | 12 | 14 | 21 | 22 | 23 |

24 | This demonstration shows the prompt position adjustments 25 |
26 |

27 |
This is a div element
28 |
29 |
30 | 34 | 37 | 41 |
42 |
43 |
44 |
45 |
46 | 47 | 48 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/demos/phpajax/ajaxValidateFieldName.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/demos/phpajax/ajaxValidateFieldUser.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/demos/phpajax/ajaxValidateSubmit.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqvalidation/favicon.ico -------------------------------------------------------------------------------- /static/lib/jqvalidation/images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqvalidation/images/bg.jpg -------------------------------------------------------------------------------- /static/lib/jqvalidation/images/bg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqvalidation/images/bg2.png -------------------------------------------------------------------------------- /static/lib/jqvalidation/images/bg_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqvalidation/images/bg_new.png -------------------------------------------------------------------------------- /static/lib/jqvalidation/images/bodybg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqvalidation/images/bodybg.png -------------------------------------------------------------------------------- /static/lib/jqvalidation/images/bubble-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqvalidation/images/bubble-arrow.png -------------------------------------------------------------------------------- /static/lib/jqvalidation/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqvalidation/images/icons.png -------------------------------------------------------------------------------- /static/lib/jqvalidation/images/lineseparator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqvalidation/images/lineseparator.png -------------------------------------------------------------------------------- /static/lib/jqvalidation/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/js/script.js: -------------------------------------------------------------------------------- 1 | (function($) 2 | { 3 | 4 | var defaultSettings = { 5 | milestoneNumber : 10, 6 | usePHPapi : true, 7 | apiPath : '/', 8 | repo : 'rails', 9 | username : 'rails' 10 | }; 11 | 12 | $.fn.releaseNotes = function(settings){ 13 | settings = $.extend({}, defaultSettings, settings || {}); 14 | var apiPath = apiPath."api.php"; 15 | var respType = (settings.usePHPapi) ? "jsonp" : "json" 16 | 17 | return this.each(function(){ 18 | releases.load(this, settings); 19 | }); 20 | 21 | var releases = { 22 | 23 | load: function(){ 24 | this.callApi({ 25 | action:"milestones" 26 | }).success(function(resp){ 27 | console.log(resp) 28 | }) 29 | }, 30 | callApi: function(action){ 31 | 32 | return $.ajax({ 33 | url:this.urls[action](), 34 | dataType:respType, 35 | data:settings 36 | }) 37 | }, 38 | urls : { 39 | milestones : function(){ 40 | if(settings.usePHPapi){ 41 | return $url = "/repos/". $configs["username"] ."/". $configs["repo"] ."/milestones"; 42 | }else{ 43 | return apiPath; 44 | } 45 | } 46 | } 47 | } 48 | 49 | 50 | } 51 | })(jQuery); -------------------------------------------------------------------------------- /static/lib/jqvalidation/releases.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Release Notes 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 36 | 37 | 38 |
39 |
40 |

jQuery Validation Engine Release Notes

41 | 42 |
43 | 44 |
45 |
46 | 47 | 48 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/runDemo.bat: -------------------------------------------------------------------------------- 1 | 2 | rem code compiled with jdk 6 3 | java -cp .\test AjaxTestServer 4 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/runDemo.sh: -------------------------------------------------------------------------------- 1 | 2 | # code compiled with jdk 6 3 | java -cp ./test AjaxTestServer 4 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/test/AjaxTestServer$AjaxValidationFieldResponse.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqvalidation/test/AjaxTestServer$AjaxValidationFieldResponse.class -------------------------------------------------------------------------------- /static/lib/jqvalidation/test/AjaxTestServer$AjaxValidationFormResponse.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqvalidation/test/AjaxTestServer$AjaxValidationFormResponse.class -------------------------------------------------------------------------------- /static/lib/jqvalidation/test/AjaxTestServer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqvalidation/test/AjaxTestServer.class -------------------------------------------------------------------------------- /static/lib/jqvalidation/test/NanoHTTPD$HTTPSession.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqvalidation/test/NanoHTTPD$HTTPSession.class -------------------------------------------------------------------------------- /static/lib/jqvalidation/test/NanoHTTPD$Response.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqvalidation/test/NanoHTTPD$Response.class -------------------------------------------------------------------------------- /static/lib/jqvalidation/test/NanoHTTPD.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/jqvalidation/test/NanoHTTPD.class -------------------------------------------------------------------------------- /static/lib/jqvalidation/tests/issue430.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Issue #430: Do not validate empty fields that is not required. 5 | 6 | 7 | 8 | 9 | 10 | 24 | 25 | 26 |

Issue #430: Do not validate empty fields that is not required.

27 |

28 | See https://github.com/posabsolute/jQuery-Validation-Engine/issues/430 29 | for information. 30 |

31 |
32 |

33 |
34 |
35 |

36 |

37 |
38 | 39 |

40 | 41 |
42 | 43 | 44 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/tests/issue451.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Issue #451 5 | 6 | 7 | 8 | 9 | 10 | 16 | 17 | 18 | 19 |

20 | See https://github.com/posabsolute/jQuery-Validation-Engine/issues/451 21 | for information. 22 |

23 |
24 | 27 | 28 | 31 | 32 | 33 |
34 | 35 | 36 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/tests/issue480.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Issue #451 5 | 6 | 7 | 8 | 9 | 10 | 17 | 18 | 19 | 20 |

21 | See https://github.com/posabsolute/jQuery-Validation-Engine/issues/480 22 | for information. 23 |

24 |
25 | 26 | 27 | 28 | 29 |
30 | 31 | 32 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/tests/issue493.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Issue #451 5 | 6 | 7 | 8 | 9 | 10 | 16 | 17 | 18 | 19 |

20 | See https://github.com/posabsolute/jQuery-Validation-Engine/issues/493 21 | for information. 22 |

23 |
24 | 27 | 28 |
29 | 30 | 31 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/tests/issue507.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Issue #430: Do not validate empty fields that is not required. 5 | 6 | 7 | 8 | 9 | 10 | 33 | 34 | 35 |
36 | 37 | 38 | 39 |
40 | 41 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/tests/issue524.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Issue #524 5 | 6 | 7 | 8 | 9 | 10 | 16 | 17 | 18 | 19 |

20 | See https://github.com/posabsolute/jQuery-Validation-Engine/issues/524 21 | for information. 22 |

23 |
24 |
25 |
26 |
27 | 28 | 29 | 30 |
31 |
32 | 33 |
34 | ​ 35 | 36 | -------------------------------------------------------------------------------- /static/lib/jqvalidation/validationengine.jquery.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "validationengine", 3 | "title": "Form Validation Engine", 4 | "description": "Validate your forms with style. Complete api included for advanced users", 5 | "keywords": [ 6 | "form", 7 | "field", 8 | "validation" 9 | ], 10 | "version": "2.6.4", 11 | "author": { 12 | "name": "Cedric Dugas", 13 | "url": "http://www.position-absolute.com" 14 | }, 15 | "maintainers": [ 16 | { 17 | "name": "Olivier Refalo", 18 | "url": "http://www.crionics.com" 19 | } 20 | ], 21 | "licenses": [ 22 | { 23 | "type": "MIT", 24 | "url": "http://opensource.org/licenses/MIT" 25 | } 26 | ], 27 | "docs": "http://posabsolute.github.com/jQuery-Validation-Engine/", 28 | "demo": "http://www.position-relative.net/creation/formValidator/", 29 | "dependencies": { 30 | "jquery": ">=1.6" 31 | } 32 | } -------------------------------------------------------------------------------- /static/lib/layer/skin/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/layer/skin/default/icon-ext.png -------------------------------------------------------------------------------- /static/lib/layer/skin/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/layer/skin/default/icon.png -------------------------------------------------------------------------------- /static/lib/layer/skin/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/layer/skin/default/loading-0.gif -------------------------------------------------------------------------------- /static/lib/layer/skin/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/layer/skin/default/loading-1.gif -------------------------------------------------------------------------------- /static/lib/layer/skin/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/lib/layer/skin/default/loading-2.gif -------------------------------------------------------------------------------- /static/zui/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/zui/.DS_Store -------------------------------------------------------------------------------- /static/zui/fonts/zenicon.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/zui/fonts/zenicon.eot -------------------------------------------------------------------------------- /static/zui/fonts/zenicon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/zui/fonts/zenicon.ttf -------------------------------------------------------------------------------- /static/zui/fonts/zenicon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/zui/fonts/zenicon.woff -------------------------------------------------------------------------------- /static/zui/lib/board/zui.board.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["zui.board.css"],"names":[],"mappings":"AAAA;EACE,2BAA0B;EAC1B,oBAAmB;EACnB,mBAAkB;EAClB,qBAAoB;EACpB,kEAAiE;EACjE,6DAAyD;KAAzD,0DAAyD;EACzD,iDAAwC;UAAxC,yCAAwC;EACzC;AACD;EACE,gDAAuC;UAAvC,wCAAuC;EACxC;AACD;EACE,gBAAe;EACf,eAAc;EACd,sBAAqB;EACtB;AACD;EACE,kEAAiE;EACjE,6DAAyD;KAAzD,0DAAyD;EACzD,eAAc;EACd,cAAa;EACb,YAAW;EACX,qBAAoB;EACpB,sDAA6C;UAA7C,8CAA6C;EAC7C,uBAAsB;EACvB;AACD;EACE,cAAa;EACb,uBAAsB;EACtB,2BAA0B;EAC1B,sDAA6C;UAA7C,8CAA6C;EAC7C,cAAa;EACb,cAAa;EACd;AACD;EACE,2BAA0B;EAC3B;AACD;EACE,kBAAiB;EAClB;AACD;EACE,aAAY;EACZ,cAAa;EACb,oBAAmB;EACpB;AACD;EACE,WAAU;EACV,YAAW;EACX,qBAAoB;EACpB,kBAAiB;EACjB,WAAU;EACX;AACD;EACE,iBAAgB;EACjB;AACD;EACE,cAAa;EACb,qBAAoB;EACrB;AACD;;EAEE,cAAa;EACb,QAAO;EACP,gBAAe;EACf,QAAO;EACR;AACD;EACE,aAAY;EACb;AACD;EACE,uBAAsB;EACtB,sDAA6C;UAA7C,8CAA6C;EAC9C;AACD;EACE,gBAAe;EAChB;AACD;EACE,gBAAe;EAChB;AACD;EACE,eAAc;EACf;AACD;EACE,WAAU;EACV,YAAW;EACX,qBAAoB;EACpB,kBAAiB;EACjB,WAAU;EACX","file":"zui.board.css"} -------------------------------------------------------------------------------- /static/zui/lib/board/zui.board.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * ZUI - v1.3.1 - 2015-05-19 3 | * http://zui.sexy 4 | * GitHub: https://github.com/easysoft/zui.git 5 | * Copyright (c) 2015 cnezsoft.com; Licensed MIT 6 | */.board-item{padding:6px 10px;margin-bottom:5px;background:#fff;border:1px solid #ddd;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.05);box-shadow:0 1px 0 rgba(0,0,0,.05);-webkit-transition:all .5s cubic-bezier(.175,.885,.32,1);-o-transition:all .5s cubic-bezier(.175,.885,.32,1);transition:all .5s cubic-bezier(.175,.885,.32,1)}.board-item:hover{-webkit-box-shadow:0 1px 1 rgba(0,0,0,.1);box-shadow:0 1px 1 rgba(0,0,0,.1)}.board-item.board-item-empty{display:none;color:gray;border-style:dashed}.board-item.board-item-shadow{display:none;padding:0;background:#ddd;border:none;border-color:#ddd;-webkit-box-shadow:inset 0 0 4px rgba(0,0,0,.1);box-shadow:inset 0 0 4px rgba(0,0,0,.1);-webkit-transition:all .5s cubic-bezier(.175,.885,.32,1);-o-transition:all .5s cubic-bezier(.175,.885,.32,1);transition:all .5s cubic-bezier(.175,.885,.32,1)}.board-item.drag-shadow{width:250px;cursor:move;background-color:#fff;border-color:#c4c4c4;-webkit-box-shadow:1px 1px 15px rgba(0,0,0,.25);box-shadow:1px 1px 15px rgba(0,0,0,.25);opacity:.9}.board-item.drag-from{background-color:#ebf2f9}.board-list .board-item:last-child{margin-bottom:0}.board{float:left;width:250px;margin-right:10px}.board.drop-in-empty .board-item-empty{height:0;padding:0;margin:0;overflow:hidden;border:transparent}.board:last-child{margin-right:0}.board>.panel-body{padding:5px;background:#f1f1f1}.boards:before,.boards:after{display:table;content:" "}.boards:after{clear:both}.boards.dragging .board.drop-in{border-color:#c4c4c4;-webkit-box-shadow:1px 1px 15px rgba(0,0,0,.25);box-shadow:1px 1px 15px rgba(0,0,0,.25)}.boards.dragging .board.drop-in .board-item-shadow{display:block}.boards.dragging .board .board-item.board-item-empty{display:block}.boards.dragging .board-item.disable-drop{display:none}.boards.drop-in .board-item.drag-from{height:0;padding:0;margin:0;overflow:hidden;border:transparent} -------------------------------------------------------------------------------- /static/zui/lib/calendar/zui.calendar.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["zui.calendar.css"],"names":[],"mappings":"AAAA;EACE,qBAAoB;EACrB;AACD;EACE,qBAAoB;EACrB;AACD;EACE,oBAAmB;EACpB;AACD;EACE,mBAAkB;EACnB;AACD;EACE,qBAAoB;EACpB,kBAAiB;EAClB;AACD;;EAEE,2BAA0B;EAC1B,YAAW;EACZ;AACD;EACE,2BAA0B;EAC1B,oBAAmB;EACnB,gBAAe;EAChB;AACD;EACE,aAAY;EACb;AACD;EACE,mBAAkB;EAClB,kBAAiB;EAClB;AACD;EACE,2BAA0B;EAC1B,gBAAe;EACf,oBAAmB;EACnB,kBAAiB;EAClB;AACD;EACE,kBAAiB;EACjB,cAAa;EACd;AACD;EACE,YAAW;EACX,2BAA0B;EAC3B;AACD;EACE,2BAA0B;EAC3B;AACD;EACE,aAAY;EACb;AACD;EACE,kBAAiB;EAClB;AACD;EACE,YAAW;EACZ;AACD;EACE,2BAA0B;EAC1B,wEAA+D;UAA/D,gEAA+D;EAChE;AACD;EACE,YAAW;EACZ;AACD;EACE,sCAAqC;EACtC;AACD;EACE,iBAAgB;EAChB,kBAAiB;EACjB,cAAa;EACb,mBAAkB;EAClB,aAAY;EACZ,2BAA0B;EAC1B,kEAAiE;EACjE,6DAAyD;KAAzD,0DAAyD;EAC1D;AACD;EACE,2BAA0B;EAC3B;AACD;EACE,YAAW;EACZ;AACD;EACE,cAAa;EACd;AACD;EACE,cAAa;EACd;AACD;EACE,aAAY;EACZ,2BAA0B;EAC3B;AACD;EACE,2BAA0B;EAC3B;AACD;EACE,aAAY;EACZ,2BAA0B;EAC3B;AACD;EACE,2BAA0B;EAC3B;AACD;EACE,aAAY;EACZ,2BAA0B;EAC3B;AACD;EACE,2BAA0B;EAC3B;AACD;EACE,aAAY;EACZ,2BAA0B;EAC3B;AACD;EACE,2BAA0B;EAC3B;AACD;EACE,aAAY;EACZ,2BAA0B;EAC3B;AACD;EACE,2BAA0B;EAC3B;AACD;EACE,aAAY;EACZ,2BAA0B;EAC3B;AACD;EACE,2BAA0B;EAC3B;AACD;EACE,qBAAoB;EACpB,kBAAiB;EACjB,yBAAwB;EACzB","file":"zui.calendar.css"} -------------------------------------------------------------------------------- /static/zui/lib/chosen/chosen.icons.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * ZUI - v1.3.1 - 2015-05-19 3 | * http://zui.sexy 4 | * GitHub: https://github.com/easysoft/zui.git 5 | * Copyright (c) 2015 cnezsoft.com; Licensed MIT 6 | */ 7 | 8 | 9 | .chosen-container.chosen-icons .chosen-results { 10 | padding: 5px; 11 | } 12 | .chosen-container.chosen-icons .chosen-results li.group-result { 13 | padding: 5px 0; 14 | font-size: 12px; 15 | color: #666; 16 | } 17 | .chosen-container.chosen-icons .chosen-results li.group-option { 18 | display: inline-block; 19 | width: 30px; 20 | padding: 8px; 21 | font-size: 14px; 22 | line-height: 14px; 23 | text-align: center; 24 | border-radius: 4px; 25 | } 26 | 27 | /*# sourceMappingURL=chosen.icons.css.map */ 28 | -------------------------------------------------------------------------------- /static/zui/lib/chosen/chosen.icons.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["chosen.icons.css"],"names":[],"mappings":"AAAA;EACE,cAAa;EACd;AACD;EACE,gBAAe;EACf,aAAY;EACZ,iBAAgB;EACjB;AACD;EACE,uBAAsB;EACtB,cAAa;EACb,iBAAgB;EAChB,mBAAkB;EAClB,aAAY;EACZ,oBAAmB;EACnB,oBAAmB;EACpB","file":"chosen.icons.css"} -------------------------------------------------------------------------------- /static/zui/lib/chosen/chosen.icons.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * ZUI - v1.3.1 - 2015-05-19 3 | * http://zui.sexy 4 | * GitHub: https://github.com/easysoft/zui.git 5 | * Copyright (c) 2015 cnezsoft.com; Licensed MIT 6 | */.chosen-container.chosen-icons .chosen-results{padding:5px}.chosen-container.chosen-icons .chosen-results li.group-result{padding:5px 0;font-size:12px;color:#666}.chosen-container.chosen-icons .chosen-results li.group-option{display:inline-block;width:30px;padding:8px;font-size:14px;line-height:14px;text-align:center;border-radius:4px} -------------------------------------------------------------------------------- /static/zui/lib/datatable/zui.datatable.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["zui.datatable.css"],"names":[],"mappings":"AAAA;;EAEE,gBAAe;EACf,aAAY;EACZ,qBAAoB;EACrB;AACD;EACE,qBAAoB;EACrB;AACD;EACE,6CAA4B;OAA5B,gCAA4B;UAA5B,6BAA4B;EAC7B;AACD;EACE,WAAU;EACV,qBAAoB;EACrB;AACD;;EAEE,iBAAgB;EACjB;AACD;;EAEE,iBAAgB;EAChB,aAAY;EACZ,oBAAmB;EACnB,gBAAe;EAChB;AACD;;;;;;EAME,gBAAe;EAChB;AACD;;;EAGE,kBAAiB;EAClB;AACD;EACE,2BAA0B;EAC3B;AACD;;EAEE,2BAA0B;EAC3B;AACD;EACE,2BAA0B;EAC3B;AACD;EACE,iBAAgB;EAChB,gBAAe;EACf,qDAA4C;UAA5C,6CAA4C;EAC7C;AACD;EACE,iBAAgB;EAChB,qBAAoB;EACpB,kBAAiB;EAClB;AACD;EACE,iBAAgB;EAChB,kBAAiB;EAClB;AACD;EACE,sBAAqB;EACrB,aAAY;EACZ,iBAAgB;EAChB,oBAAmB;EACnB,qBAAoB;EACpB,sBAAqB;EACrB,sBAAqB;EACrB,gBAAe;EACf,qCAAoC;EACpC,oCAAmC;EACnC,kBAAiB;EACjB,uBAAsB;EACtB,kBAAiB;EACjB,gBAAe;EAChB;AACD;EACE,kBAAiB;EACjB,gBAAe;EAChB;AACD;EACE,kBAAiB;EACjB,gBAAe;EAChB;AACD;;EAEE,eAAc;EACf;AACD;EACE,iBAAgB;EACjB;AACD;EACE,oBAAmB;EACpB;AACD;EACE,qBAAoB;EACpB,qBAAoB;EACrB;AACD;EACE,kBAAiB;EAClB;AACD;EACE,yBAAwB;EACzB;AACD;EACE,oBAAmB;EACnB,SAAQ;EACR,QAAO;EACR;AACD;EACE,aAAY;EACZ,oBAAmB;EACnB,QAAO;EACP,WAAU;EACV,kDAAyC;UAAzC,0CAAyC;EACzC,eAAc;EACd,YAAW;EACX,kEAAiE;EACjE,6DAAyD;KAAzD,0DAAyD;EAC1D;AACD;EACE,aAAY;EACb;AACD;EACE,cAAa;EACd;AACD;EACE,oBAAmB;EACnB,aAAY;EACb;AACD;EACE,oBAAmB;EACnB,WAAU;EACV,YAAW;EACX,aAAY;EACZ,qBAAoB;EACpB,sCAAqC;EACrC,2BAA0B;EAC1B,qBAAoB;EACpB,cAAa;EACb,YAAW;EACX,eAAc;EACd,mDAA0C;OAA1C,8CAA0C;UAA1C,2CAA0C;EAC3C;AACD;EACE,oBAAmB;EACnB,cAAa;EACb,UAAS;EACT,iBAAgB;EAChB,SAAQ;EACR,2BAA0B;EAC3B;AACD;EACE,2BAA0B;EAC3B;AACD;EACE,eAAc;EACd,cAAa;EACd;AACD;EACE,cAAa;EACd;AACD;;;;EAIE,YAAW;EACZ;AACD;;EAEE,gBAAe;EAChB;AACD;EACE,aAAY;EACb;AACD;EACE,cAAa;EACd","file":"zui.datatable.css"} -------------------------------------------------------------------------------- /static/zui/lib/datetimepicker/datetimepicker.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["datetimepicker.css"],"names":[],"mappings":"AAAA;;;;;IAKG;AACH;EACE,cAAa;EACb,iBAAgB;EAChB,qBAAoB;EAGpB,oBAAmB;EACnB,gBAAe;EAChB;AACD;EACE,gBAAe;EAChB;AACD;EACE,cAAa;EACd;AACD;EACE,eAAc;EACf;AACD;EACE,gBAAe;EAChB;AACD;EACE,gBAAe;EAChB;AACD;EACE,gBAAe;EAChB;AACD;EACE,gBAAe;EAChB;AACD;EACE,gBAAe;EAChB;AACD;EACE,WAAU;EACX;AACD;EACE,qBAAoB;EACpB,iBAAgB;EACjB;AACD;EACE,qBAAoB;EACpB,iBAAgB;EACjB;AACD;EACE,qBAAoB;EACpB,iBAAgB;EACjB;AACD;EACE,gBAAe;EACf,YAAW;EACX,cAAa;EACb,mBAAkB;EAClB,aAAY;EACZ,YAAW;EACX,iBAAgB;EAGhB,oBAAmB;EACpB;AACD;EACE,qBAAoB;EACrB;AACD;EACE,gBAAe;EAChB;AACD;EACE,cAAa;EACb,mBAAkB;EACnB;AACD;EACE,cAAa;EACb,mBAAkB;EACnB;AACD;EACE,cAAa;EACd;AACD;EACE,cAAa;EACd;AACD;;EAEE,QAAO;EACP,SAAQ;EACT;AACD;EACE,aAAY;EACZ,uBAAsB;EACtB,oCAAmC;EACnC,qCAAoC;EACpC,+BAA8B;EAC9B,yCAAwC;EACxC,oBAAmB;EACpB;AACD;EACE,aAAY;EACZ,uBAAsB;EACtB,oCAAmC;EACnC,qCAAoC;EACpC,kCAAiC;EACjC,oBAAmB;EACpB;AACD;EACE,aAAY;EACZ,uBAAsB;EACtB,oCAAmC;EACnC,qCAAoC;EACpC,4BAA2B;EAC3B,sCAAqC;EACrC,kBAAiB;EAClB;AACD;EACE,aAAY;EACZ,uBAAsB;EACtB,oCAAmC;EACnC,qCAAoC;EACpC,+BAA8B;EAC9B,kBAAiB;EAClB;AACD;EACE,WAAU;EACV,YAAW;EACZ;AACD;EACE,WAAU;EACV,YAAW;EACZ;AACD;EACE,WAAU;EACV,WAAU;EACX;AACD;EACE,WAAU;EACV,WAAU;EACX;AACD;EACE,cAAa;EACb,YAAW;EACZ;AACD;EACE,cAAa;EACb,YAAW;EACZ;AACD;EACE,cAAa;EACb,WAAU;EACX;AACD;EACE,cAAa;EACb,WAAU;EACX;AACD;;EAEE,oBAAmB;EACnB,aAAY;EACZ,cAAa;EACb,kBAAiB;EAGjB,oBAAmB;EACnB,cAAa;EACd;AACD;;EAEE,+BAA8B;EAC/B;AACD;;EAEE,gBAAe;EAChB;AACD;;EAEE,kBAAiB;EACjB,gBAAe;EACf,iBAAgB;EACjB;AACD;EACE,2BAA0B;EAC1B,uBAAsB;EACtB,yEAAwE;EACxE,aAAY;EACb;AACD;EACE,2BAA0B;EAC1B,uBAAsB;EACtB,yEAAwE;EACxE,aAAY;EACZ,2CAA0C;EAC3C;AACD;EACE,2BAA0B;EAC3B;AACD;;EAEE,2BAA0B;EAC3B;AACD;;EAEE,cAAa;EACd;AACD;;EAEE,wBAAuB;EACvB,mBAAkB;EACnB;AACD;;EAEE,kBAAiB;EACjB,gBAAe;EACf,iBAAgB;EACjB;AACD;;;;EAIE,2BAA0B;EAC1B,uBAAsB;EACtB,yEAAwE;EACxE,aAAY;EACZ,2CAA0C;EAC3C;AACD;;EAEE,iBAAgB;EACjB;AACD;;EAEE,qBAAoB;EACrB;AACD;;;EAGE,iBAAgB;EAChB,aAAY;EACZ,cAAa;EACd","file":"datetimepicker.css"} -------------------------------------------------------------------------------- /static/zui/lib/hotkey/hotkey.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * ZUI - v1.3.1 - 2015-05-19 3 | * http://zui.sexy 4 | * GitHub: https://github.com/easysoft/zui.git 5 | * Copyright (c) 2015 cnezsoft.com; Licensed MIT 6 | */ 7 | 8 | !function(a){function b(b){if("string"==typeof b.data){var c=b.handler,d=b.data.toLowerCase().split(" ");b.handler=function(b){if(this===b.target||!/textarea|select/i.test(b.target.nodeName)&&"text"!==b.target.type){var e="keypress"!==b.type&&a.hotkeys.specialKeys[b.which],f=String.fromCharCode(b.which).toLowerCase(),g="",h={};b.altKey&&"alt"!==e&&(g+="alt+"),b.ctrlKey&&"ctrl"!==e&&(g+="ctrl+"),b.metaKey&&!b.ctrlKey&&"meta"!==e&&(g+="meta+"),b.shiftKey&&"shift"!==e&&(g+="shift+"),e?h[g+e]=!0:(h[g+f]=!0,h[g+a.hotkeys.shiftNums[f]]=!0,"shift+"===g&&(h[a.hotkeys.shiftNums[f]]=!0));for(var i=0,j=d.length;j>i;i++)if(h[d[i]])return c.apply(this,arguments)}}}}a.hotkeys={version:"0.8",specialKeys:{8:"backspace",9:"tab",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",191:"/",224:"meta"},shiftNums:{"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":": ","'":'"',",":"<",".":">","/":"?","\\":"|"}},a.each(["keydown","keyup","keypress"],function(){a.event.special[this]={add:b}})}(jQuery); -------------------------------------------------------------------------------- /static/zui/lib/imgcutter/zui.imgcutter.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["zui.imgcutter.css"],"names":[],"mappings":"AAAA;EACE,qBAAoB;EACpB,eAAc;EACd,wBAAuB;EACvB,qBAAoB;EACrB;AACD;EACE,gBAAe;EACf,iBAAgB;EAChB,iBAAgB;EAChB,oBAAmB;EACpB;AACD;EACE,oBAAmB;EACnB,aAAY;EACZ,cAAa;EACb,SAAQ;EACR,QAAO;EACP,YAAW;EACX,kEAAiE;EACjE,6DAAyD;KAAzD,0DAAyD;EAC1D;AACD;EACE,kEAAiE;EACjE,6DAAyD;KAAzD,0DAAyD;EAC1D;AACD;EACE,oBAAmB;EACnB,cAAa;EACb,eAAc;EACd,kBAAiB;EACjB,UAAS;EACT,SAAQ;EACR,YAAW;EACX,yBAAwB;EACxB,wCAAuC;EACvC,cAAa;EACb,sEAAqE;EACrE,iEAA6D;KAA7D,8DAA6D;EAC9D;AACD;EACE,YAAW;EACX,aAAY;EACZ,oBAAmB;EACnB,wBAAuB;EACvB,wCAAuC;EACvC,kBAAiB;EACjB,gCAA+B;EAChC;AACD;EACE,YAAW;EACX,UAAS;EACT,kBAAiB;EACjB,kBAAiB;EAClB;AACD;EACE,WAAU;EACV,WAAU;EACV,mBAAkB;EAClB,kBAAiB;EAClB;AACD;EACE,aAAY;EACZ,UAAS;EACT,kBAAiB;EACjB,kBAAiB;EAClB;AACD;EACE,cAAa;EACb,WAAU;EACV,mBAAkB;EAClB,kBAAiB;EAClB;AACD;EACE,YAAW;EACX,WAAU;EACV,mBAAkB;EACnB;AACD;EACE,aAAY;EACZ,WAAU;EACV,mBAAkB;EACnB;AACD;EACE,YAAW;EACX,cAAa;EACb,mBAAkB;EACnB;AACD;EACE,aAAY;EACZ,cAAa;EACb,mBAAkB;EACnB;AACD;EACE,aAAY;EACZ,cAAa;EACb,oBAAmB;EACnB,SAAQ;EACR,QAAO;EACP,YAAW;EACX,gCAA+B;EAChC;AACD;;EAEE,YAAW;EACX,0BAAyB;EAC1B;AACD;EACE,eAAc;EACf","file":"zui.imgcutter.css"} -------------------------------------------------------------------------------- /static/zui/lib/kindeditor/themes/default/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/zui/lib/kindeditor/themes/default/default.png -------------------------------------------------------------------------------- /static/zui/lib/kindeditor/themes/default/default.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/zui/lib/kindeditor/themes/default/default.psd -------------------------------------------------------------------------------- /static/zui/lib/kindeditor/themes/default/gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/visonforcoding/zuidemo/58cc95c9eed1dd00768a72956607b1b8846ba373/static/zui/lib/kindeditor/themes/default/gray.png -------------------------------------------------------------------------------- /static/zui/lib/migrate/migrate1.2.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * ZUI - v1.3.1 - 2015-05-19 3 | * http://zui.sexy 4 | * GitHub: https://github.com/easysoft/zui.git 5 | * Copyright (c) 2015 cnezsoft.com; Licensed MIT 6 | */ 7 | 8 | /* ======================================================================== 9 | * ZUI: zui.migrate.1.2.js 10 | * This file inclues some helper methods to help upgrad version 1.2 or 11 | * lower to version 1.3 12 | * If you are using 1.3+, then ignore this. 13 | * http://zui.sexy 14 | * ======================================================================== 15 | * Copyright (c) 2014 cnezsoft.com; Licensed MIT 16 | * ======================================================================== */ 17 | 18 | 19 | (function($, window) 20 | { 21 | var zui = $.zui; 22 | if (zui) 23 | { 24 | var extendTo = function(name, $orWindow) 25 | { 26 | if ($.isArray(name)) 27 | { 28 | $.each(name, function(i, n) 29 | { 30 | extendTo(n, $orWindow); 31 | }); 32 | return; 33 | } 34 | 35 | if ($orWindow) 36 | { 37 | $.extend(window, 38 | { 39 | name: zui[name] 40 | }); 41 | } 42 | else 43 | { 44 | $.extend( 45 | { 46 | name: zui[name] 47 | }); 48 | } 49 | } 50 | 51 | extendTo(['uuid', 'callEvent', 'clientLang', 'browser', 'messager', 'Messager', 'showMessager', 'closeModal', 'ajustModalPosition', 'ModalTrigger', 'modalTrigger', 'store']); 52 | extendTo(['Color', 'imgReady', 'messager', 'Messager', 'showMessager', 'closeModal', 'ajustModalPosition', 'ModalTrigger', 'modalTrigger', 'store'], true); 53 | } 54 | }(jQuery, window)); 55 | -------------------------------------------------------------------------------- /static/zui/lib/migrate/migrate1.2.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * ZUI - v1.3.1 - 2015-05-19 3 | * http://zui.sexy 4 | * GitHub: https://github.com/easysoft/zui.git 5 | * Copyright (c) 2015 cnezsoft.com; Licensed MIT 6 | */ 7 | 8 | !function(a,b){var c=a.zui;if(c){var d=function(e,f){return a.isArray(e)?void a.each(e,function(a,b){d(b,f)}):void(f?a.extend(b,{name:c[e]}):a.extend({name:c[e]}))};d(["uuid","callEvent","clientLang","browser","messager","Messager","showMessager","closeModal","ajustModalPosition","ModalTrigger","modalTrigger","store"]),d(["Color","imgReady","messager","Messager","showMessager","closeModal","ajustModalPosition","ModalTrigger","modalTrigger","store"],!0)}}(jQuery,window); --------------------------------------------------------------------------------