-
Notifications
You must be signed in to change notification settings - Fork 0
/
findyourway_add_city.html
78 lines (76 loc) · 2.11 KB
/
findyourway_add_city.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
<!DOCTYPE html>
<head>
<meta charset='utf-8'>
<title>FIND YOUR WAY - Add or edit a city</title>
<link href='https://fonts.googleapis.com/css?family=Muli' rel='stylesheet' type='text/css'>
<style>
body {
font: 16px 'Muli', sans-serif;
background-color: white;
margin: 2%;
}
.mainDiv {
background-color: #ffe6cc;
border-radius: 10px;
padding: 2%;
width: 50%;
word-wrap: break-word;
overflow: auto;
}
header {
font-size: 1.3em;
margin-top: 5%;
margin-bottom: 2%;
}
.content {
width: 70%;
float: left;
}
.sideMenu {
margin-left: 70%;
margin-top: 1px;
width: 30%;
text-align: center;
}
.menuList li {
border-bottom: 2px solid #ffa84d;
margin-top: 5px;
}
ul li {
list-style-type: none;
margin: 10px;
}
</style>
</head>
<body>
<div class="mainDiv">
<header>Add new city</header>
<div class="content">
<form action='http://edi.iem.pw.edu.pl/pijaginw/findyourwayapp/city' method='POST'>
<ul>
<li>
<label for='newcity_name'>Name: </label>
<input type='text' name='newcity_name' id='newcity_name' placeholder="name"/>
</li>
<li>
<label for='newcity_short'>Short name: </label>
<input type='text' name='newcity_short' id='newcity_short' placeholder="short"/>
</li>
<li>
<label for='newcity_connections'>Connections: </label>
<input type='text' name='newcity_connections' id='newcity_connections' placeholder="connections"/>
</li>
<li><input type='submit' value='Add new city'/></li>
</ul>
</form>
</div>
<div class="sideMenu">
<ul class="menuList">
<li><p><a href="http://edi.iem.pw.edu.pl/pijaginw/findyourwayapp/">Find a path</a></p></li>
<li><p><a href="http://edi.iem.pw.edu.pl/pijaginw/findyourwayapp/cities">All cities</a></p></li>
<li><p><a href="http://edi.iem.pw.edu.pl/pijaginw/findyourwayapp/city">Add new city</a></p></li>
<li><p><a href="http://edi.iem.pw.edu.pl/pijaginw/findyourwayapp/connections">Edit/delete connection</a></p></li>
</ul>
</div>
</div>
</body>