-
Notifications
You must be signed in to change notification settings - Fork 0
/
eventEdit.html
104 lines (87 loc) · 2.94 KB
/
eventEdit.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Agenda Mensa</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="css/jquery-ui-1.8.10.custom.css">
<link rel="stylesheet" type="text/css" href="css/jquery-ui-fix.css">
<script src="scripts/vendors/jquery-1.5.1.min.js"></script>
<script src="scripts/vendors/jquery-ui-1.8.10.custom.min.js"></script>
<script src="scripts/vendors/jquery.ui.datepicker-fr.js"></script>
<script src="scripts/vendors/jquery.blockUI.js"></script>
<script src="scripts/vendors/json2.js"></script>
<script src="scripts/common.js"></script>
<script src="scripts/eventEdit.js"></script>
<script>
$(function(){
initialize();
$.datepicker.setDefaults( $.datepicker.regional[ "fr" ] );
$('#dateInput').datepicker();
$('#dateInput').blur(reformatDateInput);
callService("checkLoggedIn", null, function(){
$(window).bind('hashchange', function(e) {processEventEditHash(location.hash)});
processEventEditHash(location.hash);
});
});
</script>
<script src="/ga.js"></script>
</head>
<body>
<div id="header">
<h1 id="title"><a href=".">Agenda Mensa</a></h1>
<div id="authenticationZone"></div>
</div>
<div id="errorMessage"></div>
<div id="mainContent">
<input type="hidden" id="eventIdInput">
<table id="editEventTable">
<tr>
<th colspan="2"><span id="backContainer"></span>Edition Evènement</th>
</tr>
<tr>
<td class="header editHeader">Titre</td>
<td><input type="text" id="titleInput"></td>
</tr>
<tr>
<td class="header editHeader">Region</td>
<td><select id="regionSelector"></select></td>
</tr>
<tr>
<td class="header editHeader">Date</td>
<td><input type="text" id="dateInput">
<span class="inputInstructions">jj/mm/aaaa (ex.: 18/04/2010)</span></td>
</tr>
<tr>
<td class="header editHeader">Heure</td>
<td><input type="text" id="timeInput" maxlength="5">
<span class="inputInstructions">hh:mm (ex.: 17:30)</span></td>
</tr>
<tr>
<td class="header editHeader">Lieu</td>
<td><input type="text" id="locationInput">
<a id="locationPreview" target="_blank">Tester le lien</a></td>
</tr>
<tr>
<td class="header editHeader">Nb. personnes max.</td>
<td>
<input type="text" id="maxParticipantsInput" maxlength="3" placeholder="0">
<span class="inputInstructions">0 ou vide pour illimité</span>
</td>
</tr>
<tr>
<td class="header editHeader">Description
<div><a href="http://fr.wikipedia.org/wiki/Markdown" class="inputInstructions" target="_blank">Supporte
la syntaxe Markdown [?]</a></div></td>
<td><textarea id="descriptionInput"></textarea></td>
</tr>
<tr>
<td class="header"><button id="deleteButton" class="hidden">Supprimer</button></td>
<td>
<button id="submitButton" disabled="disabled">Valider</button>
<a id="cancelLink">Annuler</a>
</td>
</tr>
</table>
</div>
</body>