File: mode_creator.html

package info (click to toggle)
node-ace-code 1.40.1%2B~cs1.7.37-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 24,816 kB
  • sloc: javascript: 258,622; sh: 231; asm: 185; makefile: 130; xml: 85; jsp: 85; objc: 77; lisp: 52; cpp: 34; java: 34; tcl: 30; cobol: 30; pascal: 29; ruby: 27; vhdl: 25; fortran: 21; erlang: 17; python: 13; php: 12; perl: 11; haskell: 10; ml: 10; sql: 6; ada: 5; cs: 3
file content (101 lines) | stat: -rw-r--r-- 2,761 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>

<html lang="en">
<head>
    <base href="../">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Ace Mode Creator</title>
    <meta name="author" content="Harutyun Amirjanyan">
    <style type="text/css" >
        body, html {
            overflow: hidden;
            height: 100%;
            width: 100%;
            margin: 0;
            padding: 0;
        }

        #header {
            border-bottom: solid 1px;
        }
        .separator-h {
            padding: 0 10px;
        }
        #closeBtn {
            background: rgba(245, 146, 146, 0.5);
            border: 1px solid #F48A8A;
            border-radius: 50%;
            padding: 7px;
            position: absolute;
            right: -8px;
            top: -8px;
            z-index: 1000;
        }
        #closeBtn:hover {
            background: rgba(245, 146, 146, 0.9);
        }
        #console{
            /border: 1px solid lightblue;
            bottom: 0;
            height: 80px;
            margin: 0 4%;
            position: absolute;
            width: 92%;
            z-index: 1000;
            box-shadow: 0 0 1px 2px gray
        }
        #consoleEditor{
            height: 100%;
            position: relative;
            width: 100%;
        }
    </style>
    <link href="../doc/site/images/favicon.ico" rel="icon" type="image/x-icon">
</head>
<body>

<div id="header">
    <label for="modeEl">mode</label>
    <select id="modeEl" size="1"></select>
    <input type="button" value="&#10227;" title="sync" id="syncToMode"></select>
    <span id="tablist"></span>
    <input type="button" value="Save" id="saveButton1"></select>
    <span class="separator-h"></span>
    <label for="autorunEl">live preview</label>
    <input type="checkbox" label="autorun" id="autorunEl" checked>
    <span class="separator-h"></span>
    <input type="button" value="measure speed" id="perfTest"></select>


    <div style='float:right'>
        <label for="themeEl">Theme</label>
        <select id="themeEl" size="1" value="textmate"></select>
        <span class="separator-h"></span>
        <input type="button" value="Save" id="saveButton2"></select>
        <label for="doc">Document</label>
        <select id="doc" size="1"></select>
    </div>
</div>
<div id="editor"></div>
<div id="console" style="display:none">
    <span id="closeBtn" onclick="this.parentNode.style.display='none'"></span>
    <div id="consoleEditor"></div>
</div>


<script src="./demo/kitchen-sink/require.js"></script>
<script type="text/javascript">
  require.config({
      paths: {
          ace: "../src",
          demo: "../demo",
          tool: "../tool"
      }
  });
  require(["tool/mode_creator"])
</script>



</body>
</html>