-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.html
173 lines (169 loc) · 10.7 KB
/
config.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
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8">
<title>Allure Report</title>
<meta name="viewport" content="width=device-width; initial-scale=1.0;">
<link rel="favicon" href="favicon.ico?v=2">
<script src="js/summaryFunctions.js" type="text/javascript"></script>
<script src="js/filterFunctions.js" type="text/javascript"></script>
<script src="js/adminFunctions.js" type="text/javascript"></script>
<script src="js/commonFunctions.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<link rel="stylesheet" href="css/styles-own.css">
</head>
<body onload="loadConfig()">
<script>
function showLittleMenu(){
var menu = document.getElementById("menu-little");
menu.setAttribute("style", "display: block;");
}
function hideLittleMenu(){
var menu = document.getElementById("menu-little");
menu.setAttribute("style", "display: none;");
}
</script>
<div class="page">
<div id="content" class="container-fluid">
<div id="header" class="row">
<ul id="nav-space"></ul>
<ul id="nav-part" class="nav links">
<li class="nav-item">
<a id="link-nav" class="nav-link active nav-mode" aria-current="page" href="index.html">Individual</a>
</li>
<li class="nav-item">
<a id="link-nav" class="nav-link nav-mode" href="general.html">General</a>
</li>
</ul>
<ul id="nav-part" class="nav justify-content-center logo">
<li class="nav-item">
<a href="index.html"><img id="logo" src="images/logo_minimalist.png"/></a>
</li>
</ul>
<ul id="nav-part" class="nav justify-content-end settings">
<li class="nav-item">
<a id="link-nav-active" class="nav-link nav-mode" href="config.html">
<i class="far fa-user-circle fa-lg"></i>
</a>
</li>
<li class="nav-item">
<div class="nav-link">
<label class="switch">
<input id="slider-mode" type="checkbox" onclick="changeMode()">
<span class="slider round"></span>
</label>
</div>
</li>
</ul>
<ul id="nav-part" class="nav justify-content-end settings-small">
<li class="nav-item">
<a id="link-nav" class="nav-link settings-icon nav-mode" onclick="showLittleMenu()">
<i id="settings-icon" class="fas fa-bars fa-lg"></i>
</a>
</li>
</ul>
</div>
<div id="menu-little" class="container-fluid justify-content-center">
<ul class="nav flex-column">
<li class="nav-item">
<a id="menu-item" class="nav-link nav-mode" href="index.html">Individual</a>
</li>
<li class="nav-item">
<a id="menu-item" class="nav-link nav-mode" href="general.html">General</a>
</li>
<li class="nav-item" style="display: flex;">
<div id="menu-item" class="col-6">
<a id="menu-item-active" href="config.html" class="nav-mode">
<i class="far fa-user-circle fa-lg"></i>
</a>
</div>
<div id="menu-item" class="col-6">
<label class="switch">
<input id="slider-little-mode" type="checkbox" onclick="changeMode()">
<span class="slider round"></span>
</label>
</div>
</li>
<li class="nav-item">
<a id="menu-item" class="nav-link nav-mode" onclick="hideLittleMenu()">
<i class="fas fa-chevron-up"></i>
</a>
</li>
</ul>
</div>
<div class="container-lg">
<div id="config">
<div id="config-title" class="row text-center" style="margin-bottom: 20px;">
<h2 class="widget-text-mode">Multiview Configuration</h2>
</div>
<div id="config-message" class="row text-center" style="margin-bottom: 15px;">
</div>
<div id="config-method" class="row">
<div id="method-title" class="col-2" style="display: flex;">
<h5 class="widget-text-mode" style="margin: auto; margin-left: 0px; margin-bottom: 8px;">Saving preferences</h5>
</div>
<div id="method-option" class="col-2" style="display: flex;">
<div class="form-check form-check-inline">
<input class="form-check-input radio-mode" type="radio" name="inlineRadioOptions" id="inlineRadio1" value="" onclick="turnActive('directory-method')">
<label class="form-check-label" for="inlineRadio1" style="display: flex;">
<i id="directory-method-icon" class="far fa-folder fa-2x method"></i>
<h5 id="directory-method-text" class="method" style="margin: auto; margin-left: 10px;">Directories</h5></label>
</div>
</div>
<div id="method-option" class="col-2" style="display: flex;">
<div class="form-check form-check-inline">
<input class="form-check-input radio-mode" type="radio" name="inlineRadioOptions" id="inlineRadio2" value="" onclick="turnActive('files-method')">
<label class="form-check-label" for="inlineRadio2" style="display: flex;">
<i id="files-method-icon" class="far fa-file-alt fa-2x method"></i>
<h5 id="files-method-text" class="method" style="margin: auto; margin-left: 10px;">Specific Files</h5></label>
</div>
</div>
<div id="method-update" class="col-1">
<button type="button" id="btn-new-config" class="btn btn-mode" onclick="updatePreference()">Update</button>
<i id="method-info-icon" class='far fa-question-circle fa-sm' aria-hidden='true';></i>
<span class="tooltip-text-method">
This option will update <b>only the saving method.</b>
</span>
</div>
<div id="config-messages-div" class="col">
<button id="message" type="button" class="btn btn-success message-no" disable>
New settings have been saved!
</button>
<button id="neg-message" type="button" class="btn btn-danger message-no" disable>
A problem occurred, try again!
</button>
</div>
</div>
<div id="config-data" class="row">
</div>
<div id="config-new" class="row">
<label class="form-label widget-text-mode">Add a new path to your configuration</label>
<div class="input-group mb-3">
<span class="input-group-text input-mode" id="basic-addon3">file:///path/to/report</span>
<input type="text" class="form-control input-mode" id="config-path-input" aria-describedby="basic-addon3" placeholder="file:///path/to/report">
<button type="button" id="btn-new-config" class="btn btn-mode" onclick="addNewPath()">Add</button>
</div>
<label class="form-label widget-text-mode">Reset configuration</label>
<div class="row" style="display: flex;">
<div class="col-1">
<button type="button" id="btn-new-config" class="btn btn-mode" onclick="resetConfig()">Reset</button>
</div>
<div class="col-11">
<button id="reset-message" type="button" class="btn btn-dark message-no" disable>
Configuration has been reset!
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="made-with-love" class="text-center">
<p class="widget-text-mode">Made with <i class="fas fa-heart widget-text-mode"></i></p>
</div>
</div>
</body>
</html>