Ignore:
Timestamp:
02/01/23 22:35:56 (22 months ago)
Author:
Gjoko <goko_kostadinov@…>
Branches:
master
Children:
cc52b09
Parents:
044bd76
Message:

Adding search by date on homepage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/homepage.html

    r044bd76 r9280859  
    77    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    88
     9    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet" />
     10    <!-- Google Fonts -->
     11    <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
     12    <!-- MDB -->
     13    <link href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/5.0.0/mdb.min.css" rel="stylesheet" />
    914
    1015    <link href='css/fullcalendar.css' rel='stylesheet'/>
    1116    <link href='css/fullcalendar.print.css' rel='stylesheet' media='print'/>
     17    <link href="css/homepage.css" rel="stylesheet" />
    1218</head>
    1319<body>
     
    1521    <div id='calendar'></div>
    1622    <div style='clear:both'></div>
     23</div>
     24
     25<div class="">
     26    <div class="card">
     27        <div class="card-body py-5 px-md-5">
     28            <form th:action="@{/search}" method="get" th:object="${search}">
     29                <div>
     30                    <label for="student-birth-date">Date of search:</label>
     31                    <input type="date" th:field="${search.date}" id="student-birth-date"/>
     32                </div>
     33                <div>
     34                    <button type="submit" class="button">Search</button>
     35                </div>
     36            </form>
     37        </div>
     38    </div>
    1739</div>
    1840<script src='js/jquery-1.10.2.js' type="text/javascript"></script>
Note: See TracChangeset for help on using the changeset viewer.