forked from Integra98/first
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNextCountry.html
More file actions
165 lines (145 loc) · 5.28 KB
/
NextCountry.html
File metadata and controls
165 lines (145 loc) · 5.28 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CreateCountry</title>
<style>
.header{
background:#DF6E21;
padding:20px;
color:white;
font-size:35px;
font-family:fantasy;
}
.menubut{
width: 100%;
padding: 25px;
background-color:#2096BA;
color: white;
font-size: 20px;
text-align: left;
border: none;
border-bottom: 1px solid #dddddd;
font-family:Courier New;
}
.menubut:hover{
background-color: #E7B183;
color: #ffffff;
}
div#cit:hover{
background-image: url('geo.png');
cursor: pointer;
background-size: cover;
}
.cit{
width:100px;
height:100px;
margin:10px;
padding:15px;
float: left;
font-size: 22px;
font-family:fantasy;
text-align: center;
color:white;
background-image: linear-gradient(#E7B183,#DF6E21,#E7B183);
}
</style>
</head>
<body style="padding: 0; margin: 0;">
<div style="width: 100%;">
<div style="width: 1325px; height: 500; margin:0 auto;">
<div class="header">CreateCountry
Новое изменение
</div>
<div style="display: inline-block;">
<div style="width:300px; height:500px;">
<div><button class="menubut" onclick="show('menu1')">Список стран </button></div>
<div><button class="menubut" onclick="show('menu2')">Создать страну </button></div>
</div>
</div>
<div style="float:right;width:1025px; height:500px; background-color: #C5D2DB; ">
<div id="main" ><img src="D:\Учеба\Семестр 5\SPA WebPrograming\TS\NextCountry\0051.jpg" width="1025px" height="500px"></div>
<div id="menu1" style="display: none; ">
<div id="listcountries" style="width:700px; height: 600px; float: left;"></div>
<div id="infoCountry" style='display: none;outline: 2px solid #2096BA; background-image: linear-gradient( #C5D2DB,#2096BA, #C5D2DB);position: absolute;left:900px; width: 400px; height: 250px; margin:5px; float: left;'>
<table cellspacing="0" font-size: 18px; >
<tr>
<td>Название: </td><td id="namep"></td>
</tr>
<tr>
<td>Площадь: </td><td><span id="ploshp"></span></td>
</tr>
<tr>
<td>Население: </td><td><span id="naselp"></span></td>
</tr>
<tr>
<td>Язык: </td><td><span id="langp"></span></td>
</tr>
<tr>
<td>Валюта: </td><td><span id="valp"></span></td>
</tr>
<tr>
<td>Столица: </td><td><span id="stolp"></span></td>
</tr>
<tr>
<td>Форма правления: </td><td><span id="formp"></span></td>
</tr>
</table>
<div><span style='font-size:15px;'>Города: </span></div>
<div id="listcities"></div>
<div><span style='padding-left:30px;'> </span><input type="button" value="Добавить" onclick="showWindowCity()"></div>
</div>
<div id="adcit" style='display:none; outline: 2px solid #2096BA;background-image: linear-gradient( #C5D2DB,#2096BA, #C5D2DB); position: absolute; left:900px; margin:5px;width: 400px; height: 160px;top:300px;'>
<table cellspacing="0" font-size: 15px;>
<tr><th>Добавить город</th></tr>
<tr>
<td>Название: </td><td><input type="text" id="namecity"></td>
</tr>
<tr>
<td>Площадь: </td><td><input type="text" id="ploshcity"></td>
</tr>
<tr>
<td>Население: </td><td><input type="text" id="naselcity"></td>
</tr>
<tr>
<td>Градообразующая функция: </td><td>
<div ><input id="cen" name="grad" type="radio" value="0"> Центральный</div>
<div ><input id="spec" name="grad" type="radio" value="1" checked> Специальный</div></td>
</tr></table>
<div ><span style='padding-left:100px;'><input id="addCitBut" type='button' value='Добавить' > </span></div>
</div>
</div>
<div id="menu2" style="display: none">
<h1><span style='padding-left:130px;'> </span>Создай свою страну!</h1>
<div>
<table style='padding-left:100px;' cellspacing="0" font-size: 18px;>
<tr>
<td>Название: </td><td><input type="text" id="name"></td>
</tr>
<tr>
<td>Площадь: </td><td><input type="text" id="plosh"></td>
</tr>
<tr>
<td>Население: </td><td><input type="text" id="nasel"></td>
</tr>
<tr>
<td>Язык: </td><td><input type="text" id="lang"></td>
</tr>
<tr>
<td>Валюта: </td><td><input type="text" id="val"></td>
</tr>
<tr><td>Форма правления: </td><td>
<div ><input id="mon" name="forma" type="radio" value="0"> Монархия</div>
<div ><input id="res" name="forma" type="radio" value="1" checked> Республика</div>
<div>EXAMPLE FOR GIT</div>
</td></tr>
</table>
</div>
<div><span style='padding-left:220px;'><button id="CreateCountry" class="but" onclick="createCountry(countries)">Создать</button></div>
</div>
</div>
</div>
<script src="Nextcountry.js"></script>
</div>
</body>
</html>