-
Notifications
You must be signed in to change notification settings - Fork 0
/
content.html
executable file
·141 lines (128 loc) · 5.44 KB
/
content.html
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!--Navbar -->
<nav class="mb-1 navbar navbar-expand-lg navbar-dark sticky-top contrastColor">
<a class="navbar-brand" href="#">AnnaLügt</a>
<button id="navbar-toggler" class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent-333"
aria-controls="navbarSupportedContent-333" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent-333">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="index.php">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="statistics.php">Statistics</a>
</li>
</ul>
<ul class="navbar-nav mr-right mt-2 mt-lg-0">
<li class="nav-item">
<a id="logoutButton" class="nav-link" href="index.php">Logout</a>
</li>
</ul>
</div>
</nav>
<!--/.Navbar -->
<div class="jumbotron text-center backColor">
<input class="btn btn-dark" type="button" id="addAttrButton" value="Add Category" data-toggle="modal" data-target="#newCategory">
<input class="btn btn-dark" type="button" id="addActButton" value="Add Activity" data-toggle="modal" data-target="#newActivity">
<div class="row justify-content-md-center" id="attributesBox"></div>
</div>
<div id="newCategory" class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content backColor">
<div class="modal-header">
<h5 class="modal-title text-white">New Category</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<input type="text" class="form-control text-light bg-dark" id="newCategoryName" placeholder="name">
</div>
<div class="form-group">
<input type="text" class="form-control text-light bg-dark" id="newCategoryDescription" placeholder="description">
</div>
<div class="form-group">
<select class="form-control text-light bg-dark" id="newCategoryFormat">
</select>
</div>
</form>
</div>
<div class="modal-footer">
<button id="saveNewCategory" type="button" class="btn btn-dark">Save category</button>
<button type="button" class="btn btn-dark" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div id="newActivity" class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content backColor">
<div class="modal-header">
<h5 class="modal-title text-white">New Activity</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<input type="text" class="form-control text-light bg-dark" id="newActivityName" placeholder="name">
</div>
</form>
</div>
<div class="modal-footer">
<button id="saveNewActivity" type="button" class="btn btn-dark">Save activity</button>
<button type="button" class="btn btn-dark" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div id="editCategory" class="modal" tabindex="-1" role="dialog" attrId="-1">
<div class="modal-dialog" role="document">
<div class="modal-content backColor">
<div class="modal-header">
<h5 class="modal-title text-white">Edit Category</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<input type="text" class="form-control text-light bg-dark" id="editCategoryName" placeholder="name">
</div>
<div class="form-group">
<input type="text" class="form-control text-light bg-dark" id="editCategoryDescription" placeholder="description">
</div>
<div class="form-group">
<select class="form-control text-light bg-dark" id="editCategoryFormat">
</select>
</div>
</form>
</div>
<div class="modal-footer">
<button id="saveEditCategory" type="button" class="btn btn-dark">Save category</button>
<button type="button" class="btn btn-dark" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div id="removeCategory" class="modal" tabindex="-1" role="dialog" attrId="-1">
<div class="modal-dialog" role="document">
<div class="modal-content backColor">
<div class="modal-header">
<h5 id="removeCategoryTitle" class="modal-title text-white">Remove Category: </h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-footer">
<button id="executeRemoveCategory" type="button" class="btn btn-dark">Remove category</button>
<button type="button" class="btn btn-dark" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>