Commit 5b4ae11e authored by Martins Berzins's avatar Martins Berzins
Browse files

Added calendar name in /calendar

parent bf415235
......@@ -95,6 +95,7 @@ public class CalendarController {
List<EventType> allEventTypes = Arrays.asList(EventType.values());
models.addAttribute("calendarName", c1.getName());
models.addAttribute("currentTime", LocalTime.now().toString());
models.addAttribute("eventTypes", allEventTypes);
models.addAttribute("currentDate", LocalDate.now().toString());
......
......@@ -45,6 +45,8 @@
</div>
</nav>
<style>
.fc-content{
font-size: 1.5em;
......@@ -104,6 +106,12 @@ a:hover {
<br/>
<div class="ui container">
<h1 style="color:#007bff" th:inline="text" >
Calendar:
<small th:text="${calendarName}"></small>
</h1>
<div class="ui grid">
<div class="ui sixteen column">
<div id="calendar"></div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment