Ignore:
Timestamp:
12/26/23 18:50:43 (11 months ago)
Author:
gjoko kostadinov <gjokokostadinov@…>
Branches:
master
Children:
1413ee2
Parents:
950fa0d
Message:

Add entire code

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

Legend:

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

    • Property mode changed from 100644 to 100755
  • src/main/resources/templates/business_admin.html

    • Property mode changed from 100644 to 100755
    r950fa0d r77205be  
    1515<header class="p-3 mb-3 border-bottom">
    1616    <div class="row">
    17         <div class="col-md-10 mb-10" >
     17        <div class="col-md-10 mb-10">
    1818            <span id="header">
    1919                Welcome back
     
    3030<nav>
    3131    <div class="nav nav-tabs" id="nav-tab" role="tablist">
    32         <a class="nav-link active" id="nav-business-tab" data-bs-toggle="tab" href="#nav-business" role="tab" aria-controls="nav-business" aria-selected="true">Business Info</a>
    33         <a class="nav-link" id="nav-owner-tab" data-bs-toggle="tab" href="#nav-owner" role="tab" aria-controls="nav-owner" aria-selected="false">Owner Info</a>
    34         <a class="nav-link" id="nav-services-tab" data-bs-toggle="tab" href="#nav-services" role="tab" aria-controls="nav-services" aria-selected="false">Services Info</a>
     32        <a class="nav-link active" id="nav-business-tab" data-bs-toggle="tab" href="#nav-business" role="tab"
     33           aria-controls="nav-business" aria-selected="true">Business Info</a>
     34        <a class="nav-link" id="nav-owner-tab" data-bs-toggle="tab" href="#nav-owner" role="tab"
     35           aria-controls="nav-owner" aria-selected="false">Owner Info</a>
     36        <a class="nav-link" id="nav-services-tab" data-bs-toggle="tab" href="#nav-services" role="tab"
     37           aria-controls="nav-services" aria-selected="false">Services Info</a>
     38        <a class="nav-link" id="nav-appointments-tab" data-bs-toggle="tab" href="#nav-appointments" role="tab"
     39           aria-controls="nav-appointments" aria-selected="false">Appointments</a>
    3540    </div>
    3641</nav>
     
    4146                <label for="business_status">Business status</label>
    4247                <input type="text" id="business_status" disabled class="form-control" aria-label="business_status"/>
    43                 <p id="new_business_warning" style="color:darkorange;" hidden>Please wait for the admin to approve your business.</p>
     48                <p id="new_business_warning" style="color:darkorange;" hidden>Please wait for the admin to approve your
     49                    business.</p>
    4450            </div>
    4551
     
    7076                        </div>
    7177                    </div>
     78                    <!-- Phone number input -->
     79                    <div class="form-outline mb-4">
     80                        <label for="phoneNumber">Phone number</label>
     81                        <input type="number" id="phoneNumber" class="form-control" placeholder="Phone number"
     82                               aria-label="phoneNumber"/>
     83                    </div>
     84
    7285                    <!-- Email input -->
    7386                    <div class="form-outline mb-4">
     
    7689                               aria-label="Email"/>
    7790                    </div>
    78                     <!-- Email input -->
     91                    <!-- Username input -->
    7992                    <div class="form-outline mb-4">
    8093                        <label for="username">Username</label>
     
    97110                            <input type="text" id="input_service" class="form-control"
    98111                                   placeholder="Services"
    99                                    aria-label="services" />
     112                                   aria-label="services"/>
    100113                        </div>
    101114                    </div>
     
    111124        </div>
    112125    </div>
     126    <div class="tab-pane fade" id="nav-appointments" role="tabpanel" aria-labelledby="nav-appointments-tab">
     127        <div class="form-outline col-lg-12 row">
     128            <div class="form-outline col-lg-12">
     129                <div class="table-responsive">
     130                    <table class="table">
     131                        <thead>
     132                        <tr>
     133                            <th scope="col">#</th>
     134                            <th scope="col">Full name</th>
     135                            <th scope="col">Email</th>
     136                            <th scope="col">Phone number</th>
     137                            <th scope="col">Time period</th>
     138                            <th scope="col">Service</th>
     139                            <th scope="col">Action</th>
     140                        </tr>
     141                        </thead>
     142                        <tbody id="bookings-table-body">
     143                        </tbody>
     144                    </table>
     145                </div>
     146            </div>
     147        </div>
     148    </div>
    113149</div>
    114150<script src='js/jquery-1.10.2.js' type="text/javascript"></script>
  • src/main/resources/templates/homepage.html

    • Property mode changed from 100644 to 100755
    r950fa0d r77205be  
    1616    <link href='css/fullcalendar.print.css' rel='stylesheet' media='print'/>
    1717    <link href="css/homepage.css" rel="stylesheet"/>
    18     <link href="css/headers.css" rel="stylesheet">
     18    <link href="css/headers.css" rel="stylesheet" />
    1919</head>
    2020<body>
     
    2727        </div>
    2828        <div class="col-md-2 mb-2">
    29             <button id="profile" class="btn btn-primary btn-block">
     29            <button id="profile" class="btn btn-primary btn-block" onclick="goToProfile()">
    3030                Profile
    3131            </button>
     
    7070        <div class="form-outline mb-4">
    7171            <label for="startdatetime">Start:</label>
    72             <input type="datetime-local" id="startdatetime" name="startdatetime">
     72            <input type="datetime-local" id="startdatetime" name="startdatetime" style="float:right;">
     73        </div>
     74        <div class="form-outline mb-4">
     75            <label for="enddatetime">End:</label>
     76            <input type="datetime-local" id="enddatetime" name="enddatetime" style="float:right;">
    7377        </div>
    7478        <div class="form-outline mb-4">
     
    7882        </div>
    7983    </div>
     84    <div class="card form-outline mb-4" style="margin-top:30px;" >
     85        <ul class="list-group list-group-flush" id="reviews-ul">
     86            <li class="list-group-item"><b>service name: </b><span id="rating-service-name"></span></li>
     87            <li class="list-group-item"><b>rating </b><span id="rating-value"></span></li>
     88            <li class="list-group-item" style="margin-bottom:10px;"><b>reviews count </b><span id="rating-count"></span></li>
     89            <li class="list-group-item" id="reviews-li"><a href="#/reviews_page">Checkout reviews</a></li>
     90        </ul>
     91    </div>
    8092
     93</div>
     94<div class="modal fade" id="showReviewsModal" tabindex="-1" aria-labelledby="showReviewsModalLabel" aria-hidden="true">
     95    <div class="modal-dialog modal-xl modal-dialog-scrollable modal-dialog-centered" >
     96        <div class="modal-content">
     97            <div class="modal-header">
     98                <h1>Reviews</h1>
     99                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
     100            </div>
     101            <div class="modal-body form-outline col-lg-12 row" id="reviewsModalBody" style="--mdb-gutter-x: 0 !important; background-color: #f0f0f0 !important;">
     102                <div class="card m-3" style="max-width: 300px; padding: 0;">
     103                    <div class="card-header text-bg-success">
     104                        ☆☆☆☆☆
     105                    </div>
     106                    <ul class="list-group list-group-flush">
     107                        <li class="list-group-item"><i>Business:</i> Businessname<</li>
     108                        <li class="list-group-item"><i>Service:</i> Customer Name</li>
     109                        <li class="list-group-item"><i>Reviewer:</i> Customer Name</li>
     110                        <li class="list-group-item"><i>Comment:</i> Lorem ipsum diem amet</li>
     111                        <li class="list-group-item"><small class="text-body-secondary">Created on 29-11-2023T11:32:23</small></li>
     112                    </ul>
     113                </div>
     114            </div>
     115            <div class="modal-footer">
     116                <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
     117            </div>
     118        </div>
     119    </div>
    81120</div>
    82121<script src='js/jquery-1.10.2.js' type="text/javascript"></script>
  • src/main/resources/templates/login.html

    • Property mode changed from 100644 to 100755
  • src/main/resources/templates/register_business.html

    • Property mode changed from 100644 to 100755
    r950fa0d r77205be  
    4444                                    </div>
    4545                                </div>
     46                            </div>
     47
     48                            <!-- Phone number input -->
     49                            <div class="form-outline mb-4">
     50                                <input type="number" id="phoneNumber" class="form-control" placeholder="Phone number"
     51                                       aria-label="phonenumber"/>
    4652                            </div>
    4753
  • src/main/resources/templates/register_customer.html

    • Property mode changed from 100644 to 100755
    r950fa0d r77205be  
    6767                            </div>
    6868
     69                            <!-- Phone number input -->
     70                            <div class="form-outline mb-4">
     71                                <input type="number" id="phoneNumber" class="form-control" required th:field="*{phoneNumber}" />
     72                                <label class="form-label" for="phoneNumber">Phone Number</label>
     73                            </div>
     74
    6975                            <!-- Email input -->
    7076                            <div class="form-outline mb-4">
Note: See TracChangeset for help on using the changeset viewer.