-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (44 loc) · 1.65 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
<!doctype html>
<html ng-app="myApp">
<head>
<script src="angular.min.js"></script>
<script type="text/javascript" src="app_gnutiy.js"></script>
<style type="text/css">
.clearfix:after {
content: "";
display: table;
clear: both;
}
</style>
</head>
<body ng-controller="calcController">
<form style="margin-bottom: 10px;" class="clearfix">
<div class="clearfix">
<div style="float: left; margin: 0 20px 10px 0;">
<input type="text" size="1" ng-model="variables.H"> <label>мм.</label> <label>Высота тумбы.</label>
</div>
</div>
<div class="clearfix">
<div style="float: left; margin: 0 20px 10px 0;">
<input type="text" size="1" ng-model="variables.tx"> <label>мм.</label> <label>Ширина тумбы.</label>
</div>
</div>
<div class="clearfix">
<div style="float: left; margin: 0 20px 10px 0;">
<input type="text" size="1" ng-model="variables.ty"> <label>мм.</label> <label>Глубина тумбы.</label>
</div>
</div>
<div class="clearfix">
<div style="float: left; margin: 0 20px 10px 0;">
<input type="text" size="1" ng-model="variables.th"> <label>мм.</label> <label>Толщина фасада.</label>
</div>
</div>
<div class="clearfix">
<div style="float: left; margin: 0 20px 10px 0;">
<input type="text" size="1" ng-model="variables.rv"> <label>мм.</label> <label>Радиус внутренний</label>
</div>
</div>
</form>
<canvas calc variables="variables"></canvas>
</body>
</html>