Ignore:
Timestamp:
04/19/23 21:19:08 (15 months ago)
Author:
Gjoko Kostadinov <gjoko.kostadinov@…>
Branches:
master
Children:
950fa0d
Parents:
9050790
Message:

Add admin functionality and business admin functionality.

Location:
src/main/resources/templates
Files:
1 added
5 edited

Legend:

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

    r9050790 r8bcd64c  
    22<html lang="en">
    33<head>
    4     <title>Schedlr</title>
     4    <title>Admin</title>
    55
    66    <meta charset="utf-8"/>
  • src/main/resources/templates/homepage.html

    r9050790 r8bcd64c  
    22<html>
    33<head>
    4     <title>Schedlr</title>
     4    <title>Homepage</title>
    55
    66    <meta charset="utf-8"/>
  • src/main/resources/templates/login.html

    r9050790 r8bcd64c  
    33<head>
    44    <meta charset="UTF-8">
    5     <title>Schedlr</title>
     5    <title>Login</title>
    66
    77    <!-- Font Awesome -->
     
    5454
    5555                            <!-- Submit button -->
    56                             <button type="submit" class="btn btn-primary btn-block mb-4">
     56                            <button id="login" type="submit" class="btn btn-primary btn-block mb-4">
    5757                                Login
    5858                            </button>
     59                            <div th:if="${param.error}">
     60                                <div th:if="${param.error.contains('notApproved')}" class="alert alert-danger">
     61                                    Account not approved yet.
     62                                </div>
     63
     64                                <div th:if="${param.error.contains('badCredentials')}" class="alert alert-danger">
     65                                    Invalid username or password.
     66                                </div>
     67                            </div>
    5968                        </form>
    6069
  • src/main/resources/templates/register_business.html

    r9050790 r8bcd64c  
    33<head>
    44    <meta charset="UTF-8">
    5     <title>Schedlr</title>
    6 
     5    <title>Register business</title>
    76    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
    87          integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
    9 
    108    <link rel="stylesheet" href="css/login.css">
    11 
    129</head>
    1310<body>
     
    3027                        <form>
    3128                            <div class="text-center">
    32                                 <p>Personal Info</p>
    33                             </div>
     29                            <p>Personal Info</p>
     30                        </div>
    3431
    3532                            <!-- 2 column grid layout with text inputs for the first and last names -->
  • src/main/resources/templates/register_customer.html

    r9050790 r8bcd64c  
    33<head>
    44    <meta charset="UTF-8">
    5     <title>Schedlr</title>
     5    <title>Register customer</title>
    66
    77    <meta charset="utf-8"/>
Note: See TracChangeset for help on using the changeset viewer.