|
|
|
@ -4,9 +4,95 @@
@@ -4,9 +4,95 @@
|
|
|
|
|
<title>SRSoftware OpenCloudCal</title> |
|
|
|
|
<link rel="stylesheet" href="occ.css" /> |
|
|
|
|
<script src="/static/script/common.js"></script> |
|
|
|
|
<script src="/static/script/event.js"></script> |
|
|
|
|
<script src="/static/script/edit.js"></script> |
|
|
|
|
</head> |
|
|
|
|
<body> |
|
|
|
|
<h1>Create new event</h1> |
|
|
|
|
<div class="form"> |
|
|
|
|
<fieldset> |
|
|
|
|
<legend>basic data</legend> |
|
|
|
|
<table> |
|
|
|
|
<tr> |
|
|
|
|
<th>Event title</th> |
|
|
|
|
<td> |
|
|
|
|
<input type="text" name="title" class="required" placeholder="Name of the Event" /> |
|
|
|
|
</td> |
|
|
|
|
<th>Description</th> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<th>Location</th> |
|
|
|
|
<td> |
|
|
|
|
<input type="text" name="location" class="required" placeholder="Address"/> |
|
|
|
|
</td> |
|
|
|
|
<th rowspan="4"> |
|
|
|
|
<textarea name="description" id="description" placeholder="Describe the event"></textarea> |
|
|
|
|
</th> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<th>Start</th> |
|
|
|
|
<td> |
|
|
|
|
<input type="datetime-local" name="start" class="required" /> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<th>End</th> |
|
|
|
|
<td> |
|
|
|
|
<input type="datetime-local" name="start"/> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<th>Keywords</th> |
|
|
|
|
<td> |
|
|
|
|
<input type="text" name="tags-input" id="tags-input" placeholder="Press Enter to add" onkeyup="tagKeyPress(event)" /> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="2" id="taglist"></td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</fieldset> |
|
|
|
|
<fieldset> |
|
|
|
|
<legend>extended data</legend> |
|
|
|
|
<table> |
|
|
|
|
<tr> |
|
|
|
|
<th>Coordinates</th> |
|
|
|
|
<td> |
|
|
|
|
<input type="text" name="coords" placeholder="latitude, longitude"> |
|
|
|
|
</td> |
|
|
|
|
<td></td> |
|
|
|
|
<th>Map</th> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<th>Links</th> |
|
|
|
|
<td> |
|
|
|
|
<input type="url" name="link-url" placeholder="http://example.com/info" /> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<button>add</button> |
|
|
|
|
</td> |
|
|
|
|
<td rowspan="4"> |
|
|
|
|
Map goes here |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="2" id="link-list"> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<th>Attachments/Images</th> |
|
|
|
|
<td> |
|
|
|
|
<input type="url" name="image-url" placeholder="http://example.com/ad.jpg"/> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<button>add</button> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td colspan="2" id="attachment-list"> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</table> |
|
|
|
|
</fieldset> |
|
|
|
|
</div> |
|
|
|
|
</body> |
|
|
|
|
</html> |