-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
171 lines (143 loc) · 4.54 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset= utf-8">
<title>Главная страница</title>
<style>
* {
margin: 0;
padding: 0;
}
body {
background:#d9d8d8;
}
#wrapper{
width: 1415px;
margin:0px;
border: none;
}
#logo{
border: none;
}
div {
margin: 0px;
}
.img {
line-height: 1px; /* Межстрочное расстояние */
}
#okno {
width: 300px; /* Ширина */
height: 600px;
background: #d9d8d8; /* Цвет фона */
padding: 20px; /* Поля */
-moz-box-sizing: border-box; /* Для Firefox */
-webkit-box-sizing: border-box; /* Для Safari и Chrome */
box-sizing: border-box; /* Для IE и Opera */
border: 100px ;
float: left; /* Обтекание по правому краю */
}
#forma{
width: 300px; /* Ширина слоя */
margin: 0px; /* Значение отступов */
border: 0px; /* Параметры границы */
padding: 0px;
}
select {
width: 250px; /* Ширина списка в пикселах */
}
</style>
<meta name="keywords" content="" />
<meta name="description" content="" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("#writer").click(function () {
var user=$("#user").val();
$.post("http://localhost:3000/writer",{user:user}, function(data){
if(data=="done"){console.log("Success!")}
})
})
});
</script>
</head>
<body>
<div id="wrapper">
<div id="header">
<div id="logo">
<img src="img/logo1.png" alt="Логотип" width="1396" height="208" >
<table border="2">
<tr>
<td>
<div id="okno"><p>
<p><div id="forma" >
<h2>Ввод данных</h2>
<div class="box" >
<form action="/" enctype="multipart/form-data" method="post">
<input type="file" name="upload" multiple>
<input type="submit" value="Загрузить">
</form>
</div>
<h3>Вывод отчетов</h3>
<form action="/writer" enctype="multipart/form-data" method="post">
<div class="box">
<p id="tablica"><select size="3" name="report" >
<option disabled>Выберите отчет:</option>
<option value='lostIncome'>По выпадающим доходам</option>
</select></p>
</div>
<div class="box">
<p><select size="3" multiple name="controlCompany[]">
<option disabled>Выберите управляющую организацию:</option>
<option value='По всем организациям'>По всем организациям</option>
<option value='УК Городская'>УК Городская</option>
<option value='ООО "Управляющая компания "ГрадСервис"'>ООО "Управляющая компания "ГрадСервис"</option>
</select></p>
</div>
<div class="box">
<p><select size="3" multiple name="houseList[]">
<option disabled>Выберите адрес:</option>
<option value='По всем организациям'>По всем организациям</option>
<option value='Тимошенкова 34'>Тимошенкова 34</option>
</select></p>
</div>
<div class="box">
<p><select size="3" multiple name="years[]">
<option disabled>Выберите год:</option>
<option value='2016'>2016</option>
<option value='2015'>2015</option>
</select></p>
</div>
<div class="box">
<p><select size="3" multiple name="months[]">
<option disabled>Выберите месяц:</option>
<option value='1'>Январь</option>
<option value='2'>Февраль</option>
<option value='3'>Март</option>
<option value='4'>Апрель</option>
<option value='5'>Май</option>
<option value='6'>Июнь</option>
<option value='7'>Июль</option>
<option value='8'>Август</option>
<option value='9'>Сентябрь</option>
<option value='10'>Октябрь</option>
<option value='11'>Ноябрь</option>
<option value='12'>Декабрь</option>
</select></p>
</div>
<input type="button" id="writer" value="вывести отчет">
</form>
</td>
</tr>
</table>
<br>
</div></div>
</div></div>
<div id="menu">
</div>
</div>
<div id="content">
</div>
<div id="footer"></div>
</div>
</body>
</html>