aboutsummaryrefslogtreecommitdiff
path: root/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.html
blob: 0f335625af756df72836ff79e056ba47cd5bd28e (plain)
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
<!DOCTYPE HTML>
<!-- <copyright>
 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
 (c) Copyright 2011 Motorola Mobility, Inc.  All Rights Reserved.
 </copyright> -->
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="code-editor-view-options.css">
    <script type="text/montage-serialization">
    {
        "codeCompleteCheck":{
            "prototype": "montage/ui/checkbox.reel",
            "properties": {
                "element": {"#": "codeComplete"}
            }
        },

        "zoomHottext": {
            "prototype": "js/components/hottextunit.reel[HotTextUnit]",
            "properties": {
                "element": {"#": "zoomFont"},
                "minValue":100,
                "maxValue" :200,
                "stepSize" :10,
                "acceptableUnits" : ["%"],
                "units" : "%"
            }
        },

        "owner":{
            "prototype": "js/code-editor/ui/code-editor-view-options.reel[CodeEditorViewOptions]",
            "properties": {
                "element": {"#": "viewOptions"},
                "codeCompleteCheck":{"@": "codeCompleteCheck"},
                "zoomHottext":{"@":"zoomHottext"},
                "format":{"#": "format"},
                "comment":{"#":"comment"},
                "uncomment":{"#":"uncomment"},
                "themeSelect":{"#":"themeSelect"},
                "shortKeys":{"#":"shortKeys"}
            }
        }
    }
    </script>
</head>
<body>
<div id="viewOptions" class="viewOptions">
    <div>
        <input class="zoomFont" id="zoomFont"/>
        <div class="autoCodeComplete" >
            <input type="checkbox" id="codeComplete" />
            <span>Automatic Completion</span>
        </div>
        <div class="floatButtons">
            <button disabled="disabled" id="format" value="format" class="nj-skinned format">Format</button>
            <button id="comment" value="comment" class="nj-skinned format">comment</button>
            <button id="uncomment" value="uncomment" class="nj-skinned format">uncomment</button>
        </div>
        <div class="themeOptions">
            <span>Theme :</span>
            <select id="themeSelect">
                <option value="default" selected="">DEFAULT</option>
                <option value="night">NIGHT</option>
                <option value="monokai" >MONOKAI</option>
                <option value="neat" >NEAT</option>
                <option value="elegant" >ELEGANT</option>
                <option value="cobalt" >COBALT</option>
                <option value="eclipse" >ECLIPSE</option>
                <option value="rubyblue" >RUBYBLUE</option>
                <option value="lesser-dark" >LESSER-DARK</option>
                <option value="xq-dark" >XQ-DARK</option>
            </select>
        </div>
        <div id="shortKeys" class="shortKeys">
            <div class="list hide">
                <div><span class="shortKey">ctrl+space :</span> <span class="shortKeyDesc">code hints</span></div>
                <div><span class="shortKey">ctrl+/ :</span> <span class="shortKeyDesc">comment selection</span></div>
                <div><span class="shortKey">ctrl+shift+/ :</span> <span class="shortKeyDesc">uncomment selection</span></div>
            </div>
            <span>ShortKeys</span>
            <span class="dropdownArrow">&#9660</span>
        </div>
    </div>
</div>
</body>
</html>