Skip to content

Commit

Permalink
Styled secretary page
Browse files Browse the repository at this point in the history
  • Loading branch information
rudasrudas committed Jun 2, 2021
1 parent 7941772 commit 3ca7ece
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 6 deletions.
20 changes: 20 additions & 0 deletions src/main/resources/static/booking-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -475,4 +475,24 @@ select#select-google-maps {
font-size: 20px;
padding: 20px;
border: 2px solid #AFAFAF;
}

#filter input, select{
margin: 10px 20px;
}

#filter {
font-size: 15px;
}

.table-container {
margin: 20px;
}

.table-container form {
width: 100%;
}

.table-container form table tr td {
text-align: center;
}
17 changes: 11 additions & 6 deletions src/main/resources/templates/logging/secretary-landing.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
<!--Navigation bar-->
<div class="topnav" style="height: 100px;" >
<ul>
<li><a href="/secretary">Dashboard</a></li>
<li>
<form th:action="@{/logout}" method="post">
<button class="small-cta" style="margin-left: 50px;" type="submit">Log out</button>
</form>
</li>
<!-- <li><a href="/secretary">Dashboard</a></li>-->
<li style="float:right;"><a href="/"><img src="https://i.ibb.co/VMQ8rtj/corona-prevention-logo.png" alt="Corona Prevention Division" class="logo" style="height: 30px; margin: 0px 0px 0px 0px; "/></a></li>
<li style="float:right;
display: block;
Expand All @@ -30,7 +35,7 @@
</div>
<div style="height: 75px;"></div>
<!--Dashboard-->
<div class="booking-content" style="width: 85%;">
<div class="booking-content" style="width: 85%; padding-bottom: 20px;">
<h1 class="title" style="margin-bottom: 0px; margin-top: 20px;">Secretary Dashboard</h1>
<div class="filter">
<form id="filter">
Expand All @@ -45,15 +50,15 @@ <h1 class="title" style="margin-bottom: 0px; margin-top: 20px;">Secretary Dashbo
</option>
</select>
<input id="display-booked" type="checkbox" name="booked-only" value="BOOKED"> Display today's BOOKED appointments only<br>
<button id="filter-button" type="submit">Filter</button>
<button id="filter-button" type="submit" class="cta" style="margin-left: 20px;">Filter</button>
</form>
</div>
</div>


<div class="table-container" style="display: flex; justify-content: center;">
<!-- part of form: action="#" th:action="@{/get-center-appointments}" th:method="post" -->
<form>
<table id="appointment-table" class="styled-table" style="padding: 20px; width: 80%;">
<table id="appointment-table" class="styled-table" style="padding: 20px; width: 100%;">
<thead class="styled-table-header">
<tr>
<th>ID</th>
Expand Down Expand Up @@ -84,7 +89,7 @@ <h1 class="title" style="margin-bottom: 0px; margin-top: 20px;">Secretary Dashbo
</table>
</form>
</div>

</div>
<footer class="footer">© Copyright Corona prevention division, All rights reserved 2021</footer>

<script th:inline="javascript">
Expand Down

0 comments on commit 3ca7ece

Please sign in to comment.