-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·136 lines (134 loc) · 6.15 KB
/
index.html
File metadata and controls
executable file
·136 lines (134 loc) · 6.15 KB
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
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="img/Logo.ico">
<link href="style/style.css" rel="stylesheet">
<link href="style/load_page.css" rel="stylesheet">
<title>GraphABC</title>
<meta charset="utf-8">
</head>
<BODY>
<div id="load_div">
<img height="70" width="70" src="img/Logo.svg" alt="Logo.svg">
<div id="txt-costl">Graph</div>
<div id="floatBarsG">
<div id="floatBarsG_1" class="floatBarsG"></div>
<div id="floatBarsG_2" class="floatBarsG"></div>
<div id="floatBarsG_3" class="floatBarsG"></div>
<div id="floatBarsG_4" class="floatBarsG"></div>
<div id="floatBarsG_5" class="floatBarsG"></div>
<div id="floatBarsG_6" class="floatBarsG"></div>
<div id="floatBarsG_7" class="floatBarsG"></div>
<div id="floatBarsG_8" class="floatBarsG"></div>
</div>
</div>
<div id='basic_page'>
<div id="logo">
<img height="70" src="img/Logo.svg" alt="Logo.svg">
<div id="txt-costl">Graph 1.7</div>
</div>
<canvas width='1280px' height='640px' class='layer' id='layer_0'>background</canvas>
<canvas width='1280px' height='640px' class='layer' id='layer_1'>background</canvas>
<canvas width='1280px' height='640px' class='layer' id='layer_1_5'>background</canvas>
<canvas width='1280px' height='640px' class='layer' id='layer_2'>background</canvas>
<canvas width='1280px' height='640px' class='layer' id='layer_3'>background</canvas>
<canvas width='1280px' height='640px' class='layer' id="gr_paint"
onselectstart="return false"
onclick="return false"
oncontextmenu = 'return false;'>
Graph Painter</canvas>
<div id="toolbar">
<img src="img/move_icon.png" alt="move mode" id="move_mode_button" width="24" height="24">
<a href="" onclick="setupDownloadLink(this,'canvas');" download="Matrix_sm.dat">
<img src="img/Save_icon.png" alt="download" id="download_graph_img">
</a>
</div>
<div id="Options" >
<div id="hide_options"></div>
<div id="txt_1"><span id='txt_1_content'>Матриця суміжності</span></div>
<a href="" onclick="setupDownloadLink(this,'matrix');" download="Matrix_sm.dat">
<img src="img/Save_icon.png" alt="download" id="download_matrix">
</a>
<div id="matrix_out" onclick="Select('matrix_out');">
</div>
<div id="txt_1"><span id='txt_2_content'>Список ребер</span> </div>
<a href="" onclick="setupDownloadLink(this,'m_reb');" download="List_reb.dat">
<img src="img/Save_icon.png" alt="download" id="download_matrix_reb">
</a>
<div id="matrix_reb">
</div>
<h4 id="txt_1">Вид графу</h4>
<div id="settings">
<input type="checkbox" id="vect" onChange="output_matrix_reb(); redraw_line();"> Орієнтований граф <br>
<input type="checkbox" id="mass" onChange="output_matrix_reb(); load_graph(); redraw_line(); handler_event_keydown(-1);">Навантажений граф<br>
</div>
</div>
redraw
<div id="help_menu">
<!--<input type="file" id="js_loader" accept="application/javascript" onchange="load_page(); processFiles(this.files);">-->
<span>Режим</span>
<select id="mode" width="100" onChange="">
<option value="1">Базовий</option>
<!-- <option value="2">Виділення</option> -->
</select>
<div style="overflow-y: auto; max-height: 470px; padding-top: 0px;">
<div id='modul1' class='modul'
style='max-height: 30pt;'>
<div id='color_modul' style="margin-top: -10px;" onclick="turn(modul1,v1)">
<samp>Налаштування кольорів <span id='v1' style="font-size: 19pt;">˅</span></samp>
</div>
<div id='color_modul'>
<samp> Колір вершин </samp>
<input type="color" id='color_t' value="#1C86EE"
oninput="top_color = this.value; redraw_circel();"/>
</div>
<div id='color_modul'>
<samp> Колір ребер </samp>
<input type="color" id='color_r' value="#000"
oninput="color_reb = this.value; redraw_line();"/>
</div>
<div id='color_modul'>
<samp> Колір фону</samp>
<input type="color" id='color_bg' value="#FFFFFF"
oninput="color_clear = this.value; _init_();" />
</div>
</div>
<div id='modul2' class='modul' style='max-height: 30pt'>
<div id='color_modul' style="margin-top: -10px;" onclick="turn(modul2,v2)">
<samp> Налаштування розміру <span id='v2' style="font-size: 19pt;">˅</span></samp>
</div>
<div id='color_modul'>
<samp> Товщина ребр </samp>
<input id='width_l' type="range" value='2' min='0.1' max='15'
oninput="width_line = this.value; redraw_line();"/>
</div>
<div id='color_modul'>
<samp> Радіус вершин </samp>
<input id='top_r' type="range" value='20' min='5' max='40'
oninput="top_radius = this.value; redraw_circel();" onmouseup="redraw_line();"/>
</div>
</div>
<button style="margin-top: 10px; width: 100%;" type="button" onclick="default_setting()">Налаштування по замовчуванню</button>
</div>
<img src="img/option.png" id='help_menu_dop'
onclick="help_menu_visible();">
<div id="settings_dop"></div>
</div>
<img src="img/terminal.ico" onclick="terminal_visable();" width='40' height='40' id="terminal_ico" >
<input type="number" min="-1000" id="mass_1" onclick="load_graph();" onblur="load_graph();">
<div id="terminal" onclick="input_comand.focus();">
</div>
<div id="comand_line">
<font size="4" color="red">~#</font>
<input type="text" id="input_comand" onkeydown="processing(event.keyCode)">
</div>
<div id="mass_next_reb_output">1</div>
</div>
<!--
<img src="img/bug_report_icon.png" width='40' height='40' id="bug_report_icon" >
-->
<img id="image" style=" position: absolute; top: 750px; margin-left: -320px;">
<script type="text/javascript" src="scripts/init.js"></script>
<!-- Автор : В.Демченко (11-Б 2016-2017н.р.) !-->
</BODY>
</html>