You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.4 KiB
46 lines
1.4 KiB
<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> |