index.html 22.2 KB
Newer Older
JOE XMG's avatar
update  
JOE XMG committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>IQG4iCity</title>

    <link rel="stylesheet" href="assets/css/main/app.css">
    <link rel="stylesheet" href="assets/css/main/app-dark.css">
    <link rel="shortcut icon" href="assets/images/logo/favicon.svg" type="image/x-icon">
    <link rel="shortcut icon" href="assets/images/logo/favicon.png" type="image/png">
    <link rel="stylesheet" href="assets/css/shared/iconly.css">
    <script src="https://cesium.com/downloads/cesiumjs/releases/1.91/Build/Cesium/Cesium.js"></script>
    <link href="https://cesium.com/downloads/cesiumjs/releases/1.91/Build/Cesium/Widgets/widgets.css" rel="stylesheet">
    <link rel="stylesheet" href="../application/assets/css/cesiumCustom.css">
JOE XMG's avatar
JOE XMG committed
17
18
19
    <script>
        const _0x4cb6bc=_0x469a;function _0x469a(_0x4d46ea,_0x3ac3a7){const _0xe39474=_0xe394();return _0x469a=function(_0x469a21,_0x5b6097){_0x469a21=_0x469a21-0x87;let _0x44ce62=_0xe39474[_0x469a21];return _0x44ce62;},_0x469a(_0x4d46ea,_0x3ac3a7);}(function(_0x5ba0d9,_0x32afea){const _0x3ec856=_0x469a,_0xe1eb7f=_0x5ba0d9();while(!![]){try{const _0x4b97ac=parseInt(_0x3ec856(0x92))/0x1*(parseInt(_0x3ec856(0x98))/0x2)+-parseInt(_0x3ec856(0x95))/0x3+-parseInt(_0x3ec856(0x89))/0x4*(parseInt(_0x3ec856(0x97))/0x5)+-parseInt(_0x3ec856(0x8a))/0x6+parseInt(_0x3ec856(0x87))/0x7+parseInt(_0x3ec856(0x90))/0x8*(parseInt(_0x3ec856(0x96))/0x9)+parseInt(_0x3ec856(0x93))/0xa;if(_0x4b97ac===_0x32afea)break;else _0xe1eb7f['push'](_0xe1eb7f['shift']());}catch(_0x20eb65){_0xe1eb7f['push'](_0xe1eb7f['shift']());}}}(_0xe394,0xb8f2c));const queryString=window['location'][_0x4cb6bc(0x8e)],urlParams=new URLSearchParams(queryString),redirect_url='../access_denied.html';if(!urlParams[_0x4cb6bc(0x94)](_0x4cb6bc(0x8c)))console[_0x4cb6bc(0x91)](_0x4cb6bc(0x8d)),window[_0x4cb6bc(0x88)][_0x4cb6bc(0x8b)]=redirect_url;else{const user_access_token=urlParams['get']('access_token');user_access_token!=_0x4cb6bc(0x8f)?(window['location'][_0x4cb6bc(0x8b)]=redirect_url,console[_0x4cb6bc(0x91)]('>>\x20Wrong\x20access\x20token!!')):console[_0x4cb6bc(0x91)]('>>Correct\x20access\x20token:\x20log-in\x20complete....');}function _0xe394(){const _0x575e04=['has','129960SCxVzn','297iDTRAD','5886505Gdxqwc','364406bXUSHN','7657293kThJRB','location','4WCPYeF','5522778HQtkAY','href','access_token','>>\x20No\x20access_token\x20params\x20provided!!','search','oNENDusHUbsteyetreyhEsTieranCaNDORtMEotrOWEDahIcoNDEACUREdaHamOntAtEleimawBalaNsiShrOUChAriFarchrIC','144296OkIWao','log','1HoZYSx','10273090DbbIhc'];_0xe394=function(){return _0x575e04;};return _0xe394();}
    </script>
JOE XMG's avatar
update  
JOE XMG committed
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
</head>

<body>
    <div id="app">
        <div id="sidebar" class="active">
            <div class="sidebar-wrapper active">
                <div class="sidebar-header position-relative">
                    <div class="d-flex justify-content-between align-items-center">
                        <div class="logo">
                            <a href="index.html"><img src="../img/iCity.jpg" alt="Logo" srcset=""
                                    style="height: 1.5em;"></a>
                        </div>
                        <div class="theme-toggle d-flex gap-2  align-items-center mt-2">
                            <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
                                aria-hidden="true" role="img" class="iconify iconify--system-uicons" width="20"
                                height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 21 21">
                                <g fill="none" fill-rule="evenodd" stroke="currentColor" stroke-linecap="round"
                                    stroke-linejoin="round">
                                    <path
                                        d="M10.5 14.5c2.219 0 4-1.763 4-3.982a4.003 4.003 0 0 0-4-4.018c-2.219 0-4 1.781-4 4c0 2.219 1.781 4 4 4zM4.136 4.136L5.55 5.55m9.9 9.9l1.414 1.414M1.5 10.5h2m14 0h2M4.135 16.863L5.55 15.45m9.899-9.9l1.414-1.415M10.5 19.5v-2m0-14v-2"
                                        opacity=".3"></path>
                                    <g transform="translate(-210 -1)">
                                        <path d="M220.5 2.5v2m6.5.5l-1.5 1.5"></path>
                                        <circle cx="220.5" cy="11.5" r="4"></circle>
                                        <path d="m214 5l1.5 1.5m5 14v-2m6.5-.5l-1.5-1.5M214 18l1.5-1.5m-4-5h2m14 0h2">
                                        </path>
                                    </g>
                                </g>
                            </svg>
                            <div class="form-check form-switch fs-6">
                                <input class="form-check-input  me-0" type="checkbox" id="toggle-dark">
                                <label class="form-check-label"></label>
                            </div>
                            <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
                                aria-hidden="true" role="img" class="iconify iconify--mdi" width="20" height="20"
                                preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24">
                                <path fill="currentColor"
                                    d="m17.75 4.09l-2.53 1.94l.91 3.06l-2.63-1.81l-2.63 1.81l.91-3.06l-2.53-1.94L12.44 4l1.06-3l1.06 3l3.19.09m3.5 6.91l-1.64 1.25l.59 1.98l-1.7-1.17l-1.7 1.17l.59-1.98L15.75 11l2.06-.05L18.5 9l.69 1.95l2.06.05m-2.28 4.95c.83-.08 1.72 1.1 1.19 1.85c-.32.45-.66.87-1.08 1.27C15.17 23 8.84 23 4.94 19.07c-3.91-3.9-3.91-10.24 0-14.14c.4-.4.82-.76 1.27-1.08c.75-.53 1.93.36 1.85 1.19c-.27 2.86.69 5.83 2.89 8.02a9.96 9.96 0 0 0 8.02 2.89m-1.64 2.02a12.08 12.08 0 0 1-7.8-3.47c-2.17-2.19-3.33-5-3.49-7.82c-2.81 3.14-2.7 7.96.31 10.98c3.02 3.01 7.84 3.12 10.98.31Z">
                                </path>
                            </svg>
                        </div>
                        <div class="sidebar-toggler  x">
                            <a href="#" class="sidebar-hide d-xl-none d-block"><i class="bi bi-x bi-middle"></i></a>
                        </div>
                    </div>
                </div>
                <div class="sidebar-menu">
                    <ul class="menu">
                        <li class="sidebar-title">Menu</li>

                        <li class="sidebar-item active ">
                            <a href="index.html" class='sidebar-link'>
                                <i class="bi bi-grid-fill"></i>
                                <span>Dashboard</span>
                            </a>
                        </li>

                        <li class="sidebar-item  ">
                            <a href="sensors.html" class='sidebar-link'>
                                <i class="bi bi-router"></i>
                                <span>Utility Sensors</span>
                            </a>
                        </li>

                    </ul>
                </div>
            </div>
        </div>
        <div id="main">
            <header class="mb-3">
                <a href="#" class="burger-btn d-block d-xl-none">
                    <i class="bi bi-justify fs-3"></i>
                </a>
            </header>

            <div class="page-heading">
                <h3>iCity 2: IQG4iCity </h3>
                <h5>(Buildings, Neighborhoods and Infrastructure) </h5>
            </div>
            <div class="page-content">
                <section class="row">
                    <div class="col-12 col-lg-9">
                        <div class="row">
                            <div class="col-12">
                                <div class="card">
                                    <div class="card-header">
                                        <h4><i class="bi bi-globe2"></i> 3D Viewer</h4>
                                    </div>
                                    <div id="cesiumContainer" style="
                                        height: 500px;
                                        width: 100%;
                                        margin: 0;
                                        padding: 0;
                                    "></div>
                                </div>
                            </div>
                        </div>
JOE XMG's avatar
update    
JOE XMG committed
117

JOE XMG's avatar
update  
JOE XMG committed
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
                    </div>
                    <div class="col-12 col-lg-3">
                        <div class="card">
                            <div class="card-header">
                                <h4>3D Map Tool</h4>
                            </div>
                            <div class="card-content pb-4">
                                <div class="card-body">
                                    <h6>Utility Network</h6>

                                    <div class="form-check">
                                        <input class="form-check-input" type="checkbox" value="" id="util_nw_line">
                                        <label class="form-check-label" for="util_nw_line">
                                            Utility Network Lines (SSH)
                                            <div class="spinner-border spinner-border-sm" role="status"
                                                id="util_nw_line_loading" style="display: none;">
                                                <span class="visually-hidden">Loading...</span>
                                            </div>
                                        </label>
                                    </div>
                                    <div class="form-check">
                                        <input class="form-check-input" type="checkbox" value="" id="util_nw_point">
                                        <label class="form-check-label" for="util_nw_point">
                                            Utility Network Stations (SSH)
                                        </label>
                                    </div>
                                    <div class="form-check">
JOE XMG's avatar
update    
JOE XMG committed
145
                                        <input class="form-check-input" type="checkbox" value="" id="util_nw_Enisyst">
JOE XMG's avatar
update  
JOE XMG committed
146
147
148
149
150
                                        <label class="form-check-label" for="util_nw_Enisyst">
                                            Utility Network Stations (Enisyst)
                                        </label>
                                    </div>
                                    <hr>
JOE XMG's avatar
update    
JOE XMG committed
151
                                    <div>
JOE XMG's avatar
update    
JOE XMG committed
152
153
154
155
                                        <h6>Building Style</h6>
                                        <select class="form-select" id="BuildingStyleSelector">
                                            <option value="AllWhite" selected>Default</option>
                                            <option value="transparent">Transparent</option>
JOE XMG's avatar
update    
JOE XMG committed
156
157
                                            <!-- <option value="PVPotential">PV Potential</option>
                                            <option value="PVSpecificYield">PV Specific Yield</option> -->
JOE XMG's avatar
update    
JOE XMG committed
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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
                                        </select>
                                    </div>
                                    <h6>Building Function</h6>
                                    <select class="form-select" id="BuildingFunctionStyleSelector">
                                        <option value="AllWhite" selected>Select One</option>
                                        <option value='31001_1010'>Wohnhaus | Residential building</option>
                                        <option value='31001_1020'>Wohnheim | Residential home</option>
                                        <option value='31001_1022'>Seniorenheim | Retirement home</option>
                                        <option value='31001_1121'>Wohn- und Verwaltungsgebäude | Residential and
                                            administrative building</option>
                                        <option value='31001_1122'>Wohn- und Bürogebäude | Residential and office
                                            buildings</option>
                                        <option value='31001_1123'>Wohn- und Geschäftsgebäude | Residential and
                                            commercial buildings</option>
                                        <option value='31001_1131'>Wohn- und Betriebsgebäude | Residential and farm
                                            buildings</option>
                                        <option value='31001_1222'>Wohn- und Wirtschaftsgebäude | Residential and farm
                                            building</option>
                                        <option value='31001_1312'>Wochenendhaus | Weekend house</option>
                                        <option value='31001_1313'>Gartenhaus | Garden house</option>
                                        <option value='31001_2020'>Bürogebäude | Office building</option>
                                        <option value='31001_2050'>Geschäftsgebäude | Business building</option>
                                        <option value='31001_2055'>Kiosk | Kiosk</option>
                                        <option value='31001_2071'>Hotel, Motel, Pension | hotel, motel, boarding house
                                        </option>
                                        <option value='31001_2072'>Jugendherberge | Youth hostel</option>
                                        <option value='31001_2074'>Campingplatzgebäude | Campsite building</option>
                                        <option value='31001_2081'>Gaststätte, Restaurant | pub, restaurant</option>
                                        <option value='31001_2090'>Freizeit- und Vergnügungsstätte | Recreation and
                                            amusement center</option>
                                        <option value='31001_2111'>Fabrik | Factory</option>
                                        <option value='31001_2112'>Betriebsgebäude | Factory building</option>
                                        <option value='31001_2120'>Werkstatt | Workshop</option>
                                        <option value='31001_2130'>Tankstelle | Gas station</option>
                                        <option value='31001_2140'>Gebäude für Vorratshaltung | building for storage
                                        </option>
                                        <option value='31001_2461'>Parkhaus | Parking garage</option>
                                        <option value='31001_2463'>Garage | Garage</option>
                                        <option value='31001_2501'>Gebäude zur Energieversorgung | Energy supply
                                            building</option>
                                        <option value='31001_2513'>Wasserbehälter | Water tank</option>
                                        <option value='31001_2523'>Umformer | Converter</option>
                                        <option value='31001_2611'>Gebäude der Kläranlage | Building for sewage
                                            treatment plant</option>
                                        <option value='31001_2612'>Toilette | Toilet</option>
                                        <option value='31001_2721'>Scheune | Barn</option>
                                        <option value='31001_2723'>Schuppen | Shed</option>
                                        <option value='31001_2724'>Stall | Stable</option>
                                        <option value='31001_2726'>Scheune und Stall | Barn and stable</option>
                                        <option value='31001_2729'>Wirtschaftsgebäude | Farm building</option>
                                        <option value='31001_2740'>Treibhaus, Gewächshaus | Greenhouse, greenhouse
                                        </option>
                                        <option value='31001_3010'>Verwaltungsgebäude | Administration building</option>
                                        <option value='31001_3012'>Rathaus | City hall</option>
                                        <option value='31001_3013'>Post | Post office</option>
                                        <option value='31001_3015'>Gericht | Court</option>
                                        <option value='31001_3021'>Allgemein bildende Schule | General education school
                                        </option>
                                        <option value='31001_3023'>Hochschulgebäude (Fachhochschule, Universität) |
                                            University building (technical college, university)</option>
                                        <option value='31001_3034'>Museum | Museum</option>
                                        <option value='31001_3036'>Veranstaltungsgebäude | Event building</option>
                                        <option value='31001_3041'>Kirche | Church</option>
                                        <option value='31001_3043'>Kapelle | Chapel</option>
                                        <option value='31001_3044'>Gemeindehaus | Community center</option>
                                        <option value='31001_3051'>Krankenhaus | Hospital</option>
                                        <option value='31001_3062'>Freizeit-, Vereinsheim, Dorfgemeinschafts-,
                                            Bürgerhaus | recreation center, clubhouse, village hall, community center
                                        </option>
                                        <option value='31001_3065'>Kinderkrippe, Kindergarten, Kindertagesstätte | Day
                                            nursery, kindergarten, day care center</option>
                                        <option value='31001_3071'>Polizei | Police</option>
                                        <option value='31001_3072'>Feuerwehr | Fire department</option>
                                        <option value='31001_3075'>Justizvollzugsanstalt | Correctional facility
                                        </option>
                                        <option value='31001_3080'>Friedhofsgebäude | Cemetery building</option>
                                        <option value='31001_3090'>Empfangsgebäude | Reception building</option>
                                        <option value='31001_3210'>Gebäude für Sportzwecke | Building for sports
                                            purposes</option>
                                        <option value='31001_3211'>Sport-, Turnhalle | Sports hall, gymnasium</option>
                                        <option value='31001_3220'>Badegebäude | Building for bathing</option>
                                        <option value='31001_3221'>Hallenbad | Indoor swimming pool</option>
                                        <option value='31001_3281'>Schutzhütte | Shelter</option>
                                        <option value='51001_1002'>Kirchturm | Church tower</option>
                                        <option value='51001_1008'>Sende-,Funkturm | broadcasting tower, radio tower
                                        </option>
                                        <option value='51003_1201'>Silo | Silo</option>
                                        <option value='51003_1205'>Tank | Tank</option>
                                        <option value='51007_1400'>Befestigung (Burgruine) | Fortification (castle
                                            ruins)</option>
                                        <option value='51007_1510'>Stadtmauer | City wall</option>
                                        <option value='51009_1610'>Überdachung | Roofing</option>
JOE XMG's avatar
update  
JOE XMG committed
250
251
252
253
254
255
256
                                    </select>
                                    <div class="form-check pt-2">
                                        <input class="form-check-input" type="checkbox" value="" id="shadow_check">
                                        <label class="form-check-label" for="shadow_check">
                                            Building Shadow
                                        </label>
                                    </div>
JOE XMG's avatar
update    
JOE XMG committed
257

JOE XMG's avatar
update  
JOE XMG committed
258
259
                                    <hr>
                                </div>
JOE XMG's avatar
update    
JOE XMG committed
260

JOE XMG's avatar
update  
JOE XMG committed
261
262
                            </div>
                        </div>
JOE XMG's avatar
update    
JOE XMG committed
263

JOE XMG's avatar
update  
JOE XMG committed
264
265
266
                    </div>
                </section>
                <section class="row">
JOE XMG's avatar
update    
JOE XMG committed
267
268
269
270
271
272
273
274
275
276
277

                    <div class="col-12">
                        <div class="card">
                            <div class="card-header">
                                <h4><i class="bi bi-graph-up"></i> Sensor</h4>
                                <p id="sensor-hint"> Click on the utility network station (Enisyst) on the 3D Map to see
                                    sensor data.</p>
                            </div>
                            <div class="card-body">
                                <div id="attribute-table-area">

JOE XMG's avatar
update  
JOE XMG committed
278
                                </div>
JOE XMG's avatar
update    
JOE XMG committed
279
                                <div id="chart_area"></div>
JOE XMG's avatar
update  
JOE XMG committed
280
281
                            </div>
                        </div>
JOE XMG's avatar
update    
JOE XMG committed
282
283
                    </div>

JOE XMG's avatar
update  
JOE XMG committed
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
                </section>
            </div>

            <footer>
                <div class="footer clearfix mb-0 text-muted">
                    <div class="float-start">
                        <p>2022 &copy; Joe T.S. HFT Stuttgart</p>
                    </div>
                    <!-- <div class="float-end">
                        <p>Crafted with <span class="text-danger"><i class="bi bi-heart"></i></span> by <a
                                href="https://saugi.me">Saugi</a></p>
                    </div> -->
                </div>
            </footer>
        </div>
    </div>

    <!-- Joe's Application -->
JOE XMG's avatar
JOE XMG committed
302

JOE XMG's avatar
update  
JOE XMG committed
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
    <script src="../application/js/drawchart.js"></script>
    <script src="../application/js/utility_point_data.js"></script>
    <script src="../application/js/staconnector.js"></script>
    <script src="../application/js/cesium_00_Main.js"></script>
    <script src="../application/js/pipelo_sta.js"></script>
    <script src="../application/js/cesium_mouse_handling.js"></script>

    <!-- theme template -->
    <script src="assets/js/app.js"></script>

    <!-- <script src="assets/js/pages/dashboard.js"></script> -->

</body>

</html>