-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
98 lines (93 loc) · 5.97 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
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="ru"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="ru"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="ru"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="ru"> <!--<![endif]-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="content-language" content="ru" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="Author" content="AlexeiN" />
<meta name="Keywords" content="" />
<meta name="Description" content="" />
<meta property="og:image" content="images/logobig.png" />
<meta property="og:title" content="" />
<meta property="og:description" content="" />
<meta name="robots" content="all"/>
<title>Расчет Mesh-сети</title>
<!--[if lt IE 9]>
<script src="html5shiv.js"></script>
<![endif]-->
<link rel="shortcut icon" href="images/favicon.png" type="image/png">
<link rel="icon" href="images/icon.png" type="image/png">
<link rel="icon" sizes="32x32" href="images/icon.png" type="image/png">
<link rel="icon" sizes="200x200" href="images/logobig.png" type="image/png">
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script type="text/javascript" src="js/brython.js"></script>
<script type="text/javascript" src="js/brython_stdlib.js"></script>
</head>
<body class="container" onload="brython()">
<!-- ================================================================= -->
<script type="text/python" src=js/alg1_pr_hersta.py>
</script>
<!-- ================================================================== -->
<input type id="count" value=0>
<nav class="container">
<div class="row">
<div class="navi col-sm-2 col-md-2 col-lg-2" id="nav1">Схема</div>
<div class="navi col-sm-2 col-md-2 col-lg-2" id="nav2">Пропускная способность</div>
<div class="navi col-sm-2 col-md-2 col-lg-2" id="nav3">Настройка трафика</div>
<div class="navi col-sm-2 col-md-2 col-lg-2" id="nav4">Параметры заполнения</div>
</div>
</nav>
<section>
<article id="content1">
<div id="areaMeshNet"><p><h4>1.Выставьте узлы<br>2.Настройте связи<br>3.Перейдите во вкладку "Параметры заполнения"</h4></p></div>
<div class="buttonContainer">
<button id="button1" onclick="modeSet(0);">Выставить узлы</button>
<button id="button2" onclick="modeSet(1);">Настроить связи</button>
<button id="button3" onclick="emptyArea();">Очистить</button>
</div>
</article>
<article id="content2">
<div id="areaMatrix"></div>
<div class="buttonContainer2">
<button id="button4" onclick="reloadMatrix();">Перезагрузить таблицу</button>
</div>
</article>
<article id="content3">
<div id="areaTrafik"><p><h4>Введите узлы, связи, параметры и нажмите расчитать</h4></p></div>
<div class="buttonContainer2">
<button id="button4" onclick="reloadMatrix();">Перезагрузить таблицу</button>
</div>
</article>
<article id="content4">
<div id="setup" class="container">
<br>
<label for="dlinaSoobsheniya" class="col-sm-6 col-md-6 col-lg-6">Длинна сообщения</label><input id=dlinaSoobsheniya name=dlinaSoobsheniya type="number" class="col-sm-6 col-md-6 col-lg-6"><hr />
<label for="propusknayaSposobnost" class="col-sm-6 col-md-6 col-lg-6">Максимальная пропускная способность линии связи</label><input id=propusknayaSposobnost name=propusknayaSposobnost type="number" class="col-sm-6 col-md-6 col-lg-6"><hr />
<label for="vhodniePotoki" class="col-sm-6 col-md-6 col-lg-6">Максимальное количество сообщений в потоке</label><input id=vhodniePotoki name=vhodniePotoki type="number" class="col-sm-6 col-md-6 col-lg-6"><hr />
<label for="kHersta" class="col-sm-6 col-md-6 col-lg-6">Коэффициент Хёрста</label><input id=kHersta name=kHersta type="number" class="col-sm-6 col-md-6 col-lg-6">
</div>
<div class="buttonContainer2">
<button id="button4" onclick="reloadMatrix();">Перезагрузить таблицу</button>
<button id="button5">Рассчитать</button>
</div>
</article>
</section>
<section id="result">
<article id="resultArea">
<h4>Результат:</h4>
</article>
</section>
<footer><a title="My syte" href="https://github.com/alexeinemkov">© Alexei Nemkov</a></footer>
<!-- <script src="http://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> -->
<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="js/jcanvas.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</body>
</html>