-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfields-map.php
More file actions
77 lines (74 loc) · 3.35 KB
/
Copy pathfields-map.php
File metadata and controls
77 lines (74 loc) · 3.35 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
<?php
session_start();
if(!isset($_SESSION['logged']))
{
header('Location: index.php');
exit();
}
?>
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
<title>Mapa działek</title>
<link rel="stylesheet" type="text/css" href="css/fields-map-styles.css"/>
</head>
<body>
<div id = "container">
<div id = "map">
</div>
<div id = "menu">
<div id = "userMenu">
<br/>
<br/>
<input id = "createPolygon" type = "button" value = "create polygon" onclick="createPolygonFromMarkers();" />
<input id = "removePolygon" type = "button" value = "remove polygon" onclick="removePolygon();"/>
<form id = "mode_selector">
Swobodne przegladanie <input type="radio" name="mode" value="explore" checked /> <br/>
Utwórz nowy obszar <input type="radio" name="mode" value="create" /> <br/>
Edycja <input type="radio" name="mode" value="edit" /> <br/>
</form>
<br/>
<form id = "fields_coloring_selector">
koloruj według właściciela <input type="radio" name="mode" value="owner_coloring" checked /> <br/>
koloruj według rośliny <input type="radio" name="mode" value="plant_coloring" /> <br/>
</form>
<div id="editor" style="margin-top: 40px;">
<form id="editingForm" method="post">
Właściciel <br/>
<select id="owners" name="owners" style="width: 200px" ></select> <br/>
Najbliższa miejscowość <br/>
<select id = "places" name = "places">
</select> <br/>
<br/>Pole powierzchni [ha]<br/>
<input id = "area_field" type="text" name="area" /> <br/>
<br/>Posadzone rośliny <br/>
<select id = "plants" name = "plants" style="width: 200px">
</select> <br/>
<br/>Opis <br/>
<textarea id="descr" name="descr" rows="8" cols = "60"></textarea> <br/>
<!--
<br/>Kolor <br/>
<select id = "colors" name = "color" style="width:100px;">
</select> <br/>
<br/>
-->
<input type="button" value = "Zapisz zmiany" onclick="confirmChanges();"/>
</form>
</div>
</div>
<div id = "bottomMenu">
<form action="logout.php">
<input type = "submit" style="float: right; margin-right: 30px" id="logout" type = "button" value = "Wyloguj"/>
</form>
</div>
</div>
</div>
<div style = "clear:both" ></div>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCT0-f9kkWY4sC6dVBrtAKH91MOxkj9GVY"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type = "text/javascript" src = "js/map-data-script.js"></script>
<script src="js/styling-functions.js"></script>
</body>
</html>