-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEditProjectList.html
218 lines (211 loc) · 6.85 KB
/
EditProjectList.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BillBliss</title>
<link rel="stylesheet" href="css/dashboard.css" />
<link rel="stylesheet" href="css/rankingList.css" />
<!-- favicon -->
<link
rel="apple-touch-icon"
sizes="180x180"
href="./logo/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./logo/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="192x192"
href="./logo/android-chrome-192x192.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="./logo/favicon-16x16.png"
/>
<link rel="manifest" href="./logo/site.webmanifest" />
<link rel="mask-icon" href="./logo/safari-pinned-tab.svg" color="#5bbad5" />
<link rel="shortcut icon" href="./logo/favicon.ico" />
<meta name="apple-mobile-web-app-title" content="BillBliss" />
<meta name="application-name" content="BillBliss" />
<meta name="msapplication-TileColor" content="#ffc40d" />
<meta name="msapplication-config" content="./logo/browserconfig.xml" />
<meta name="theme-color" content="#ffffff" />
<!-- scripts -->
<script src="js/deptsSettle.js"></script>
<script src="js/localStorageAsked.js"></script>
<script src="js/helperFunctions.js"></script>
<script defer src="js/leftPanel.js"></script>
<script defer src="js/EditProjectList.js"></script>
</head>
<body>
<!-- Navigation Menu -->
<nav>
<div id="NavigationTitle">
<label id="showLeftPanel" for="showLeftPanelCheckbox">
<strong class="burgerLayer"></strong>
<strong class="burgerLayer"></strong>
<strong class="burgerLayer"></strong>
</label>
<img src="./logo/logo.png" />
<h1>BillBliss</h1>
</div>
</nav>
<section id="leftPanelContainer">
<input type="checkbox" id="showLeftPanelCheckbox" />
<label
id="leftPanelBackground"
class="ModalBackground"
for="showLeftPanelCheckbox"
></label>
<div id="leftPanel">
<div id="PanelTitle">
<label for="showLeftPanelCheckbox">
<strong class="Xside1"></strong>
<strong class="Xside2"></strong>
</label>
<img src="./logo/logo.png" style="height: 2em" />
<h1>BillBliss</h1>
</div>
<div class="leftPanelButtonGroupe">
<label class="ButtonRetractible">
<input type="checkbox" class="ButtonRetractibleCheckbox" checked />
<div
class="leftPanelButton"
style="--iconURL: url("../assets/icons/Projects.svg")"
>
Projects
</div>
<div id="LeftPanelProjectList" class="ButtonRetractibleDiv">
<button
class="leftPanelButton"
onclick="window.location.href = './AddProject.html'"
style="
--iconURL: url("../assets/icons/AddProjects.svg");
"
>
Add project
</button>
<div class="leftPanelButton" onclick="loadProject('demo')">
demo
</div>
<div class="leftPanelButton" onclick="loadProject('demo2')">
demo2
</div>
</div>
</label>
<div class="leftPanelButton hidden">Button 1</div>
</div>
<div class="leftPanelButtonGroupe leftPanelFooter">
<button
class="leftPanelButton"
style="--iconURL: url("../assets/icons/Settings.svg")"
onclick="window.location.href = './settings.html'"
>
Settings
</button>
<button
class="leftPanelButton"
style="--iconURL: url("../assets/icons/About.svg")"
onclick="window.location.href = './about.html'"
>
About BillBliss
</button>
</div>
</div>
</section>
<section id="AboutSection" class="SinglePage">
<div class="SinglePageContainer">
<h1>Edit Project List</h1>
<div id="ExplainUIdiv">
<!-- this part is changed using EditProjectList.js when one of the two
buttons are used-->
<p>
The project list contains all the project you are parcipating with.
</p>
<p>
You can choose the display order on the left menu by assigning them
a number id. Click on the "Update list" button to see the change.
Once you are satisfied with it, you can save the order.
<strong>Exiting the page will discard your changes</strong>
</p>
<p>If you prefer to drag to order them along :</p>
<div class="ButttonList">
<!--TODO : add button behavior-->
<button onclick="updateOrder(); saveList(); setupDragable();">
Show draggable & save current changes
</button>
<button onclick="setupDragable(); ">
Show draggable & discard current changes
</button>
</div>
</div>
<form onsubmit="event.preventDefault()">
<div class="rankings">
<a href="#rankingsSkipEnd" class="skipLink" id="rankingsSkipStart"
>↓ Jump to list end</a
>
<ol></ol>
<a href="#rankingsSkipStart" class="skipLink" id="rankingsSkipEnd"
>↑ Jump to list start</a
>
<div class="buttonRowRight">
<button
id="updateBtn"
class="button buttonSecondary"
type="submit"
name="update"
onclick="updateOrder();"
>
Update list
</button>
</div>
</div>
<div class="buttonRowRight">
<button
id="saveBtn"
class="button buttonLarge"
type="submit"
name="save"
onclick="saveList();"
>
Save
</button>
</div>
</form>
</div>
</section>
</body>
<svg
xmlns="http://www.w3.org/2000/svg"
class="visuallyHidden"
focusable="false"
aria-hidden="true"
>
<defs>
<symbol id="icon--up" viewBox="0 0 14 14">
<path
fill="none"
stroke="currentColor"
stroke-width="2"
d="M.7 10.1L7 3.8l6.3 6.3"
/>
</symbol>
<symbol id="icon--down" viewBox="0 0 14 14">
<path
fill="none"
stroke="currentColor"
stroke-width="2"
d="M.7 3.8L7 10.1l6.3-6.3"
/>
</symbol>
</defs>
</svg>
</html>