source: src/main/resources/templates/admin.html@ 9050790

Last change on this file since 9050790 was 9050790, checked in by Gjoko Kostadinov <gjoko.kostadinov@…>, 16 months ago

Add admin functionality for activating or deactivating companies

  • Property mode set to 100644
File size: 1.9 KB
Line 
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <title>Schedlr</title>
5
6 <meta charset="utf-8"/>
7 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
8
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"/>
12</head>
13<body>
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>
22
23<div class="container">
24
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>
45<!-- jQuery library -->
46<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
47 integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
48 crossorigin="anonymous"></script>
49<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"
50 integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3"
51 crossorigin="anonymous"></script>
52<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
53<script src="js/admin.js" type="text/javascript"></script>
54</body>
55</html>
Note: See TracBrowser for help on using the repository browser.