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

Last change on this file was 77205be, checked in by gjoko kostadinov <gjokokostadinov@…>, 11 months ago

Add entire code

  • Property mode set to 100755
File size: 2.0 KB
Line 
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <title>Admin</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="row">
17 <div class="col-md-10 mb-10">
18 Welcome to the admin page
19 </div>
20 <div class="col-md-2 mb-2">
21 <button id="logout" class="btn btn-primary btn-block">
22 Logout
23 </button>
24 </div>
25 </div>
26</header>
27
28<div class="container">
29
30 <h3>Current companies</h3>
31 <!-- Navbar end -->
32 <table class="table table-striped" id="new_table">
33 <thead class="thead-dark">
34 <tr>
35 <th scope="col">Id</th>
36 <th scope="col">Name</th>
37 <th scope="col">Owner</th>
38 <th scope="col">Active</th>
39 </tr>
40 </thead>
41 <tbody id="table_body">
42 </tbody>
43 </table>
44
45 <!-- Submit button -->
46 <button type="button" class="btn btn-primary btn-block mb-4" id="save_button">
47 Save changes
48 </button>
49</div>
50<!-- jQuery library -->
51<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
52 integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
53 crossorigin="anonymous"></script>
54<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"
55 integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3"
56 crossorigin="anonymous"></script>
57<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
58<script src="js/admin.js" type="text/javascript"></script>
59<script src="js/logout.js" type="text/javascript"></script>
60</body>
61</html>
Note: See TracBrowser for help on using the repository browser.