|
1 | 1 | <div id="settingsPane"> |
2 | | - <h2>Preferences</h2> |
3 | | - <p> |
4 | | - <label for="consoleOrientation">Console</label> |
5 | | - <select id="consoleOrientation" v-model="consoleOrientation"> |
6 | | - <option value="horizontal">Horizontal</option> |
7 | | - <option value="vertical">Vertical</option> |
8 | | - </select> |
9 | | - </p> |
10 | | - |
11 | | - <p> |
12 | | - <input id="showLibs" type="checkbox" v-model="showLibs"> |
13 | | - <label for="showLibs">Show library files</label> |
14 | | - </p> |
15 | | - |
16 | | - <p> |
17 | | - <label for="fontSize">Editor Font Size</label> |
18 | | - <input type="text" id="fontSize" v-model="fontSize" size=3> |
19 | | - </p> |
20 | | - |
21 | | - <p> |
22 | | - <label for="tabSize">Indentation Size</label> |
23 | | - <input type="text" id="tabSize" v-model="tabSize" size=3> |
24 | | - </p> |
25 | | - |
26 | | - <p> |
27 | | - <label for="tabType">Indent With</label> |
28 | | - <select id="tabType" v-model="tabType"> |
29 | | - <option value="spaces">Spaces</option> |
30 | | - <option value="tabs">Tabs</option> |
31 | | - </select> |
32 | | - </p> |
33 | | - |
34 | | - <p style="margin-bottom:0"> |
35 | | - <button v-on="click: $root.toggleSettingsPane()">Close</button> |
36 | | - </p> |
| 2 | + <div id="titleBar"> |
| 3 | + <h2>Preferences</h2><div id="close" v-on="click: $root.toggleSettingsPane()"> |
| 4 | + |
| 5 | + <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="x" x="0" y="0" viewBox="111.98 169.64 388.04 407.06" enable-background="new 111.982048 169.6423035 388.0419922 407.0557861" xml:space="preserve"><path d="M326.08 360.51L392.7 293.88c6.42-6.42 6.42-16.81 0-23.23 -6.42-6.42-16.81-6.42-23.23 0l-66.63 66.63 -66.63-66.63c-6.42-6.42-16.81-6.42-23.23 0s-6.42 16.81 0 23.23l66.63 66.63 -66.63 66.63c-6.42 6.42-6.42 16.81 0 23.23 3.21 3.21 7.41 4.81 11.61 4.81 4.2 0 8.41-1.6 11.61-4.81l66.63-66.63 66.63 66.63c3.21 3.21 7.41 4.81 11.61 4.81 4.2 0 8.41-1.6 11.61-4.81 6.42-6.42 6.42-16.81 0-23.23L326.08 360.51z" ></svg></div> |
| 6 | + |
| 7 | + </div> |
| 8 | + <div id="optionsZone"> |
| 9 | + <div class="hiddenRadio"> |
| 10 | + <p id="consoleText">Console Orientation</p> |
| 11 | + |
| 12 | + <input type="radio" name="consoleOrientation" id="consoleH" v-model="consoleOrientation" value="horizontal" > |
| 13 | + <label for="consoleH" class="left"> |
| 14 | + <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" class="console" id="consoleHorizontal" x="0px" y="0px" viewBox="111.982048 169.6423035 388.0419922 220.7826385" xml:space="preserve"><g><path d="M487.5209656 339.6809998H124.4851151c-6.9052582 0-12.5030746-5.5978394-12.5030746-12.5030823V182.145401 c0-6.9052582 5.5978165-12.5030823 12.5030746-12.5030823h363.0358582c6.9052429 0 12.5 5.6 12.5 12.5 v145.0325165C500.0240173 334.1 494.4 339.7 487.5 339.6809998z"/><path d="M111.9820404 377.9217529v-18.2110291c0-6.9052429 5.5978165-12.5030518 12.5030746-12.5030518h363.0358582 c6.9052429 0 12.5 5.6 12.5 12.5030518v18.2110291c0 6.9052734-5.5978088 12.5030823-12.5030518 12.5 H124.4851151C117.5798569 390.4 112 384.8 112 377.9217529z"/></g></svg> |
| 15 | + </label> |
| 16 | + |
| 17 | + <input type="radio" name="consoleOrientation" id="consoleV" v-model="consoleOrientation" value="vertical" > |
| 18 | + <label for="consoleV" class="right"> |
| 19 | + <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" class="console" id="consoleVertical" x="0" y="0" viewBox="111.98 169.64 388.04 220.78" enable-background="new 111.982048 169.6423035 388.0419922 220.7826385" xml:space="preserve"><path d="M400.55 390.42H124.49c-6.91 0-12.5-5.6-12.5-12.5V182.15c0-6.91 5.6-12.5 12.5-12.5H400.55c6.91 0 12.5 5.6 12.5 12.5V377.92C413.05 384.83 407.45 390.42 400.55 390.42z"/><path d="M487.52 390.42h-54.44c-6.91 0-12.5-5.6-12.5-12.5V182.15c0-6.91 5.6-12.5 12.5-12.5h54.44c6.91 0 12.5 5.6 12.5 12.5V377.92C500.02 384.83 494.43 390.42 487.52 390.42z"/></svg> |
| 20 | + </label> |
| 21 | + </div> |
| 22 | + |
| 23 | + <div class="hiddenCheckbox"> |
| 24 | + <img id="libraryIcon" src="images/library.svg"> |
| 25 | + <input id="showLibs" type="checkbox" v-model="showLibs"> |
| 26 | + <label class="highlight" id="libraries" for="showLibs">Show Libraries</label> |
| 27 | + </div> |
| 28 | + |
| 29 | + <div> |
| 30 | + <img id="textAdjust" src="images/textAdjust.svg"> |
| 31 | + <input id="textAdjustInput" class="highlight" type="text" v-model="fontSize" size=3> |
| 32 | + </div> |
| 33 | + |
| 34 | + <div id="indentation"> |
| 35 | + <label for="tabSize">Indentation Amout</label><input id="tabSize" class="highlight" type="text" v-model="tabSize" size=3> |
| 36 | + </div> |
| 37 | + |
| 38 | + <div id="indentOptions" class="hiddenRadio"> |
| 39 | + <input type="radio" name="tabType" value="spaces" id="tabTypeS" v-model="tabType"> |
| 40 | + <label class="indentSelection" id="spaceBox" for="tabTypeS"> |
| 41 | + <span> |
| 42 | + <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="space" x="0" y="0" viewBox="111.98 169.64 394.28 116.59" enable-background="new 111.982048 169.6423035 394.276123 116.5872803" xml:space="preserve"><path d="M495.71 169.64h-50.1c-5.85 0-10.58 4.74-10.58 10.58v34.74H183.25v-34.74c0-5.84-4.74-10.58-10.58-10.58h-50.1c-5.84 0-10.58 4.74-10.58 10.58v45.32 50.1c0 5.84 4.74 10.58 10.58 10.58h50.1 272.95 36.41 13.69c5.85 0 10.58-4.74 10.58-10.58v-95.42C506.3 174.38 501.56 169.64 495.71 169.64z"/></svg> |
| 43 | + </span> |
| 44 | + spaces |
| 45 | + </label> |
| 46 | + <input type="radio" name="tabType" value="tabs" id="tabTypeT" v-model="tabType"> |
| 47 | + <label class="indentSelection" id="tabBox" for="tabTypeT"> |
| 48 | + <span> |
| 49 | + <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="tab" x="0" y="0" viewBox="111.98 169.64 394.28 196.29" enable-background="new 111.982048 169.6423035 394.276123 196.2901306" xml:space="preserve"><path d="M292.69 348.7v-47.75H123.92c-6.53 0-11.94-5.41-11.94-11.94v-47.75c0-6.53 5.41-11.94 11.94-11.94h168.77v-47.75c0-4.85 2.98-9.14 7.46-11 4.29-1.87 9.51-0.94 12.86 2.61l83.56 83.56c2.43 2.23 3.55 5.41 3.55 8.39 0 2.98-1.12 6.16-3.55 8.39l-83.56 83.56c-3.35 3.55-8.58 4.48-12.86 2.61C295.67 357.84 292.69 353.55 292.69 348.7z"/><path d="M435 355.35v-175.13c0-5.84 4.74-10.58 10.58-10.58h50.09c5.84 0 10.58 4.74 10.58 10.58v175.13c0 5.84-4.74 10.58-10.58 10.58h-50.09C439.74 365.93 435 361.19 435 355.35z"/></svg> |
| 50 | + </span> |
| 51 | + tabs |
| 52 | + </label> |
| 53 | + |
| 54 | + </div> |
| 55 | + </div> |
37 | 56 | </div> |
0 commit comments