Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2024-12-27 00:36:48 +01:00
parent 469a7c1901
commit 90ea070607
3 changed files with 39 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
<html>
<head>
<meta charset="UTF-8" />
<title>SRSoftware OpenCloudCal</title>
<link rel="stylesheet" href="occ.css" />
<script src="/static/script/common.js"></script>
<script src="/static/script/event.js"></script>
</head>
<body>
<h1>Create new event</h1>
</body>
</html>

View File

@@ -14,15 +14,22 @@
<button onclick="fetchLastMonth()">Load previous month</button> <button onclick="fetchLastMonth()">Load previous month</button>
<button onclick="fetchLastYear()">Load previous year</button> <button onclick="fetchLastYear()">Load previous year</button>
</span> </span>
<span id="tag_selection"></span> <span id="new_event">
<button onclick="window.location = '/static/edit'">Create new event</button>
</span>
<table id="eventlist"> <table id="eventlist">
<tr class="head"> <tr class="head">
<th>ID</th> <th>ID</th>
<th>Start</th> <th>Start
<div class="buttons">
</div>
</th>
<th>End</th> <th>End</th>
<th>Location</th> <th>Location</th>
<th>Title</th> <th>Title</th>
<th>Tags click to filter!</th> <th>Tags <span id="tag_selection"></span></th>
</tr> </tr>
</table> </table>
</div> </div>

View File

@@ -57,4 +57,20 @@ body.event {
#tag_selection { #tag_selection {
background: orange; background: orange;
padding: 3px 10px; padding: 3px 10px;
} }
#new_event{
position: fixed;
top: 5px;
right: 5px;
z-index: 50;
}
tr.head{
position: sticky;
top: 0;
background: white;
}
table#eventlist{
width: 100%;
}