-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathMain_Menu_View.html
More file actions
59 lines (45 loc) · 1.96 KB
/
Main_Menu_View.html
File metadata and controls
59 lines (45 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<html xmlns:th="https://www.thymeleaf.org">
<head>
<title>Main Menu</title>
</head>
<body>
<br />
<div>
<button id="start_TransactionButton" type="button" class="action" >Start Transaction</button>
<br /><br />
<button id="view_ProductsButton" type="button" class="action">View Products</button>
<br /><br />
<div th:switch="${isElevatedUser} ? ${true} : ${false} ">
<span th:case="${false}">
<p hidden>
<button id="Create_EmployeeButton" type="button" class="action">Create Employee</button>
<br /><br />
<button id="Sales_ReportButton" type="button" class="action">Sales Report </button>
<br /><br />
<button id="Cashier_ReportButton" type="button" class="action">Cashier Report</button>
<br />
</p>
</span>
</div>
<span th:case="${true}">
<div th:unless="${isElevatedUser}" >
<button id="Create_EmployeeButton" type="button" class="action">Create Employee</button>
<br /><br />
<button id="Sales_ReportButton" type="button" class="action">Sales Report </button>
<br /><br />
<button id="Cashier_ReportButton" type="button" class="action">Cashier Report</button>
<br />
</div>
</span>
</div>
<div style="float:right">
<form align="right" name="form1" method="post" action="/">
<img id="signOutImg" style='height:50px' src="power_settings_new-24px.svg" alt="Sign Out" >
</label>
</form>
</div>
<script type="text/javascript" src="file:///C:/Users/NARMINE%20BEN%20AISSA/Desktop/Fall2020/CSCE%203513/Sprint2-V1/scripts/mainMenu.js" ></script>
<script type="text/javascript" src="file:///C:/Users/NARMINE%20BEN%20AISSA/Desktop/Fall2020/CSCE%203513/Sprint2-V1/scripts/master.js" >
</script>
</body>
</html>