-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
174 lines (160 loc) · 5.35 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<title>Scoop UI</title>
<!--------->
<!-- CSS -->
<!--------->
<!-- bootstrap -->
<link rel="stylesheet" href="dist/bootstrap/css/bootstrap.min.css">
<!-- custom -->
<link rel="stylesheet" href="custom.css">
</head>
<body>
<header>
<!-- Fixed navbar -->
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<a class="navbar-brand" href="#">Scoop UI</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse"
aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li>
<a class="btn btn-primary scoop-list" role="button">
<i class="fa fa-clock wait collapse float-left"></i>
List
</a>
</li>
<li>
<a class="btn btn-primary scoop-status" role="button">
<i class="fa fa-clock wait collapse"></i>
Status
</a>
</li>
<li>
<a class="btn btn-primary scoop-update" role="button">
<i class="fa fa-clock wait collapse"></i>
Update
</a>
</li>
<li>
<a class="btn btn-primary scoop-checkver" role="button" data-bs-toggle="modal"
data-bs-target="#bucket-selection-modal">
<i class="fa fa-clock wait collapse"></i>
Check Versions
</a>
</li>
<li>
<a class="btn btn-primary scoop-update-all d-none" role="button">
<i class="fa fa-clock wait collapse"></i>
Update All
</a>
</li>
</ul>
</div>
</nav>
</header>
<!-- Begin page content -->
<main role="main" class="container pt-5">
<!-- app table -->
<div id="scoop-apps"></div>
</main>
<footer class="footer">
<div class="card">
<div class="card-body">
<h5 class="card-title">
<label for="console">
<strong class="mr-auto title"><i class="fa fa-terminal"></i> Console Log</strong>
</label>
</h5>
<textarea id="console" rows="10" class="h-100" readonly="readonly"></textarea>
</div>
</div>
</footer>
<!-- toasts -->
<div id="toasts" class="container fixed-bottom">
<div class="toast template d-none" role="alert" aria-live="assertive" aria-atomic="true">
<button type="button" class="mx-2 my-1 close" data-bs-dismiss="toast" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<div class="toast-body"></div>
<div class="toast-footer">
<div class="progress d-none">
<div class="progress-bar progress-bar-striped progress-bar-animated w-100" role="progressbar"></div>
</div>
</div>
</div>
</div>
<!-- modals -->
<div id="uninstall-modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">App Uninstall</h5>
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Are you sure you want to uninstall this app?</p>
</div>
<div class="modal-footer">
<a class="btn btn-primary confirm" role="button" data-bs-dismiss="modal">
Confirm
</a>
<a class="btn btn-secondary" role="button" data-bs-dismiss="modal">
Cancel
</a>
</div>
</div>
</div>
</div>
<div id="bucket-selection-modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Bucket Selection</h5>
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Which bucket do you want to check the versions for?</p>
<div id="bucket-selection">
<div class="radio template d-none">
<label><input type="radio" name="bucket" value=""> </label>
</div>
</div>
</div>
<div class="modal-footer">
<a class="btn btn-primary confirm" role="button" data-bs-dismiss="modal">
Confirm
</a>
<a class="btn btn-secondary" role="button" data-bs-dismiss="modal">
Cancel
</a>
</div>
</div>
</div>
</div>
<!--------------------------->
<!-- external dependencies -->
<!--------------------------->
<!-- bootstrap -->
<script src="dist/jquery/js/jquery.min.js"></script>
<script src="dist/bootstrap/js/bootstrap.min.js"></script>
<!-- tabulator -->
<link href="dist/tabulator/css/tabulator.min.css" rel="stylesheet">
<script type="text/javascript" src="dist/tabulator/js/tabulator.min.js"></script>
<!-- fontawesome -->
<link href="dist/fontawesome/css/all.css" rel="stylesheet">
<!--------------------------->
<!-- internal dependencies -->
<!--------------------------->
<script src="./index.js"></script>
</body>
</html>