Files
OpenCloudCal/de.srsoftware.cal.web/src/main/resources/index.html
Stephan Richter 90ea070607 gui work
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
2024-12-27 00:36:48 +01:00

46 lines
1.4 KiB
HTML

<html>
<head>
<meta charset="UTF-8" />
<title>SRSoftware OpenCloudCal</title>
<link rel="stylesheet" href="/static/occ.css" />
<script src="/static/script/common.js"></script>
<script src="/static/script/index.js"></script>
</head>
<body>
<nav />
<div>
<h1>Event List</h1>
<span id="eventnav">
<button onclick="fetchLastMonth()">Load previous month</button>
<button onclick="fetchLastYear()">Load previous year</button>
</span>
<span id="new_event">
<button onclick="window.location = '/static/edit'">Create new event</button>
</span>
<table id="eventlist">
<tr class="head">
<th>ID</th>
<th>Start
<div class="buttons">
</div>
</th>
<th>End</th>
<th>Location</th>
<th>Title</th>
<th>Tags <span id="tag_selection"></span></th>
</tr>
</table>
</div>
<script>
document.addEventListener("DOMContentLoaded", function(event){
console.log("page loaded…");
loadCurrentEvents();
});
</script>
<div id="overlay">
</div>
</body>
</html>