-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
executable file
·144 lines (108 loc) · 4.59 KB
/
index.html
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<style>
body {
background-color: #878f99;
height: 100%;
width: 100%;
overflow: hidden;
margin: 0px;
padding: 0px;
}
div {
border-style: solid;
margin: 0px;
padding: 0px;
border-width: thin;
overflow: hidden;
}
.toolIcon {
filter: grayscale(0%);
}
.toolIcon:hover {
background-color: yellow;
}
.toolIconDisabled {
filter: grayscale(100%);
}
::-webkit-scrollbar {
-webkit-appearance: none;
width: 25px;
}
::-webkit-scrollbar-thumb {
border-radius: 25px;
background-color: rgba(0, 0, 0, .5);
-webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<div style="width:calc(100% - 0px); height:calc(100% - 0px);" onclick="$('#toolBarRightClickMenue').hide();">
<div style="width:calc(100% - 0px); height: 145px; ">
<select id="commands" onchange="doCommand(this.value);"></select> Workbench:
<select id="currentWorkbench" onchange="setActiveWorkbench(this.value);"></select>
<button onclick="$('#fileManager').show();$('#fileManagerIframe').attr('src', './files/');">File Manager</button>
<button onclick="$('#pythonConsole').show()">Python Console</button>
<div id="commandIcons" style="font-size: 12px; width:calc(100% - 0px); height: 120px; overflow:scroll; overflow-y: hidden; border-style: dotted;white-space: nowrap;" oncontextmenu="
groupListIconRightClick(null ,null , event);
return false;
">
<h1>Loading Tool Bars. Please wait</h1>
</div>
</div>
<div id="application" style="height:calc(100% - 160px); width:calc(100% - 2px); padding:0px;">
</div>
<div id="settings" style="height:calc(100% - 160px); width:calc( 100% - 0px); overflow: scroll;">
<button onclick='currentAplicationMode = "app"; $("#settings").hide(); $("#application").show();buildToolGroupPalletDivs();'>Close Icon Editor</button>
<br>
<div id="commandsEditorList" style="height:calc(100% - 50px); width:300px; overflow-y: scroll; display: inline-block;"></div>
<div id="iconEditor" style="height:calc(100% - 50px); width:calc(100% - 310px); overflow-y: scroll; display: inline-block;">
<h3>Icon Editor Selected Icon Properties</h3>
<h3>Icons from left can be dragged and dropped on to toolbar groups</h3>
<input id="commandEditor_id" disabled> Command Number <br>
<input id="commandEditor_command" disabled> Command<br>
<input id="commandEditor_iconFile"> iconFile<br>
<input id="commandEditor_toolTip"> toolTip<br>
<button onclick="saveCommandIcon();">Save</button>
<div id="iconPalletForSettings" style="width:100%; height:calc(100% - 240px); overflow-y: scroll;"></div>
</div>
</div>
</div>
<div id="toolBarRightClickMenue" style="position: fixed;
top: 100px;
left: 200px;
border: 3px solid RED;
background-color: white;
width:200px;">
</div>
<div id="fileManager" style="position: fixed;
top: 25px;
left: 25px;
bottom: 25px;
right: 25px;
border: 3px solid RED;
background-color: white;">
<button onclick="$('#fileManagerIframe').attr('src', './files/');">Refresh</button>
<button onclick="$('#fileManager').hide()" style="position:Absolute;right:0px; top:0px; background-color:red; ">X</button>
<br>
<div style="position:Absolute; top:25px; bottom:0px; left:0px;right:0px;">
<iframe id="fileManagerIframe" src="./files/" style="width:100%; height:100%;"></iframe>
</div>
</div>
<div id="pythonConsole" style="position: fixed;
top: 25px;
left: 25px;
bottom: 25px;
right: 25px;
border: 3px solid RED;
background-color: white;">
<button onclick="runPythonConsole(false);" style="top:50px;height:50px;">clear</button>
<textarea id="pythonCodeArea" style="top:50px;height:50px;width:calc(100% - 150px);">print("hello world")</textarea>
<button onclick="runPythonConsole();" style="top:50px;height:50px;">Send</button>
<button onclick="$('#pythonConsole').hide()" style="position:Absolute;right:0px; top:0px; background-color:red; ">X</button>
<br>
<div style="position:Absolute; top:100px; bottom:0px; left:0px;right:0px">
<div id="pythonCodeResponseAreaA" style="width:100%;height:50%;white-space:pre;overflow:scroll;font-family: monospace;"></div>
<div id="pythonCodeResponseAreaB" style="width:100%;height:50%;white-space:pre;overflow:scroll;font-family: monospace;"></div>
</div>
</div>
<script src="./FC-APP.js"></script>