-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
151 lines (143 loc) · 5.91 KB
/
index.html
File metadata and controls
151 lines (143 loc) · 5.91 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>My Power Platform</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="assets/fontawsome/css/fontawesome.css" rel="stylesheet" />
<link href="assets/fontawsome/css/solid.min.css" rel="stylesheet" />
<link href="assets/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
<style>
/* Set height of the grid so .sidenav can be 100% (adjust as needed) */
.row.content {height: 100vh}
/* Set gray background color and 100% height */
.sidenav {
background-color: #f1f1f1;
height: 100%;
}
.icon{
height: 50px;
}
.footer{
position: fixed;
bottom:20px;
}
/* On small screens, set height to 'auto' for the grid */
@media screen and (max-width: 767px) {
.row.content {height: auto;}
.footer {display: none;}
}
</style>
</head>
<body>
<nav class="navbar navbar-inverse visible-xs">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">Logo</a>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row content">
<div class="col-sm-3 sidenav hidden-xs">
<h2><img src="icon256.png" class="icon" /> My Power Platform</h2>
<div class="form-group">
<input type="date" class="form-control" id="input-date" aria-describedby="Date From">
<small id="dateHelp" class="form-text text-muted">Select when you want the data from</small>
<input type="date" class="form-control" id="input-dateTo" aria-describedby="Date To">
<small id="dateToHelp" class="form-text text-muted">Select when you want the data to</small>
<input type="text" class="form-control" id="input-filter" style="display:none" aria-describedby="Filter" placeholder="Solution name includes">
<small id="filterHelp" class="form-text text-muted" style="display:none">Filter solutions</small>
<br>
<table>
<tr>
<td><button id="button-update" type="button" class="btn btn-primary"><i class="fa-solid fa-arrows-rotate"></i> Update</button></td>
<td> <button id="button-data" type="button" class="btn btn-primary"><i class="fa-solid fa-download"></i> Data</button></td>
<td> <button id="button-envir" type="button" class="btn btn-primary"><i class="fa-solid fa-download"></i> Envir</button></td>
<td> <button id="button-csv" type="button" class="btn btn-primary"><i class="fa-solid fa-download"></i> CSV</button></td>
</tr>
</table>
</div>
<table>
<tr>
<td><label for="load" id="sideTitle">Data Loading..</label></td>
<td><div id="div-count"> <span id ="span-count">0</span> of <span id ="span-total">0</span></div></td>
</tr>
</table>
<div id="region-badges" style="margin:6px 0;line-height:1.8;"></div>
<div id="data" style="max-height:55vh; overflow-y: auto;"></div>
<br>
<label class="footer">
<a href="https://powerdevbox.com/devto.html" target="_blank">
<img src="assets/img/wyattdave.png" style="height:20px;padding-right:10px"/>
dev.to blog about extension</a>
<a href="https://powerdevbox.com" target="_blank">
<img src="assets/img/power devbox black.png" style="height:22px;padding-right:10px"/>
</a>
<a href="https://github.com/wyattdave/my-power-platform" target="_blank">
<img src="assets/img/github.png" style="height:26px;padding-right:10px"/>
</a>
</label>
</div>
<br>
<div class="col-sm-9">
<div class="row">
<div class="col-sm-8">
<div class="well">
<h4>Timeline</h4>
<canvas id="timelineChart" style="height:38vh"></canvas>
</div>
</div>
<div class="col-sm-4">
<div class="well">
<h4>Components</h4>
<canvas id="componentChart" style=" height:38vh"></canvas>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<div class="well">
<h4>Solutions</h4>
<canvas id="solutionChart" style="height:30vh"></canvas>
</div>
</div>
<div class="col-sm-4">
<div class="well">
<h4>Environment Variables</h4>
<canvas id="variableChart" style="height:30vh"></canvas>
</div>
</div>
<div class="col-sm-4">
<div class="well">
<h4>Connection References</h4>
<canvas id="connectionChart" style="height:30vh"></canvas>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Alert Modal -->
<div class="modal fade" id="alertModal" tabindex="-1" role="dialog" aria-labelledby="alertModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="alertModalLabel"><i class="fa-solid fa-triangle-exclamation" style="color:#f0ad4e"></i> Notice</h4>
</div>
<div class="modal-body" id="alertModalBody"></div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">OK</button>
</div>
</div>
</div>
</div>
</body>
<script type="text/javascript" src="data.js"></script>
<script src="assets/bootstrap/js/jquery.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/chart.umd.js"></script>
<script src="assets/jsonToCsv.js"></script>
<script src="script.js"></script>
</html>