Ignore:
Timestamp:
03/13/23 23:30:41 (20 months ago)
Author:
Gjoko Kostadinov <gjoko.kostadinov@…>
Branches:
master
Children:
8bcd64c
Parents:
46fd0c7
Message:

Add admin functionality for activating or deactivating companies

File:
1 edited

Legend:

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

    r46fd0c7 r9050790  
    22<html lang="en">
    33<head>
    4   <title>Schedlr</title>
     4    <title>Schedlr</title>
    55
    6   <meta charset="utf-8"/>
    7   <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
     6    <meta charset="utf-8"/>
     7    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    88
    9   <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
    10         integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
     9    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
     10          integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
     11    <link href="css/admin.css" rel="stylesheet"/>
    1112</head>
    1213<body>
    13 ADMIN
     14<!-- Navbar start -->
     15<header class="p-3 mb-3 border-bottom">
     16    <div class="container">
     17        <div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">
     18            Welcome to the admin page
     19        </div>
     20    </div>
     21</header>
    1422
     23<div class="container">
    1524
     25    <h3>Current companies</h3>
     26    <!-- Navbar end -->
     27    <table class="table table-striped" id="new_table">
     28        <thead class="thead-dark">
     29        <tr>
     30            <th scope="col">Id</th>
     31            <th scope="col">Name</th>
     32            <th scope="col">Owner</th>
     33            <th scope="col">Active</th>
     34        </tr>
     35        </thead>
     36        <tbody id="table_body">
     37        </tbody>
     38    </table>
     39
     40    <!-- Submit button -->
     41    <button type="buttom" class="btn btn-primary btn-block mb-4" id="save_button">
     42        Save changes
     43    </button>
     44</div>
    1645<!-- jQuery library -->
    1746<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
Note: See TracChangeset for help on using the changeset viewer.