70 lines
4.3 KiB
HTML
70 lines
4.3 KiB
HTML
|
<script>
|
||
|
if (typeof brandProductName !== 'undefined') {l10nstrings.strProductName = brandProductName}
|
||
|
document.title = l10nstrings.strProductName + ' - ' + l10nstrings.strAdminConsole;
|
||
|
var host = (window.location.protocol === 'https:' ? 'wss://': 'ws://') + window.location.host + '%SERVICE_ROOT%/cool/adminws';
|
||
|
if (routeToken) {
|
||
|
host += '?RouteToken=' + routeToken
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<div class="is-fullwidth has-text-white" style="height:62px;background-color:#17191E;line-height:50px;">
|
||
|
<a style="margin-left:12px;color:#9D998D;"><script>document.write(l10nstrings.strProductName + ' - ' + l10nstrings.strAdminConsole)</script></a>
|
||
|
<a style="margin-right:12px;color:#9D998D;" id="a-settings-tablet" href="adminSettings.html" class="is-hidden-mobile is-pulled-right add-routetoken"><script>document.write(l10nstrings.strSettings)</script></a>
|
||
|
<div class="dropdown is-hoverable is-right is-pulled-right is-hidden-tablet" style="margin-right:12px;">
|
||
|
<div class="dropdown-trigger">
|
||
|
<button class="button has-text-white" aria-haspopup="true" aria-controls="dropdown-menu1" style="width:40px;background-color:#17191E;border:none;">
|
||
|
<span>☰</span>
|
||
|
<span class="icon is-small">
|
||
|
<i class="fas fa-angle-down" aria-hidden="true"></i>
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
<div class="dropdown-menu" id="dropdown-menu1" role="menu">
|
||
|
<div class="dropdown-content">
|
||
|
<div class="dropdown-item">
|
||
|
<div class="list is-hoverable" style="height:100%;">
|
||
|
<a id="a-overwiew-mobile" class="list-item add-routetoken" href="admin.html"><script>document.write(l10nstrings.strOverview)</script></a>
|
||
|
<a id="a-analytics-mobile" class="list-item add-routetoken" href="adminAnalytics.html"><script>document.write(l10nstrings.strAnalytics)</script></a>
|
||
|
<a id="a-history-mobile" class="list-item add-routetoken" href="adminHistory.html"><script>document.write(l10nstrings.strHistory)</script></a>
|
||
|
<a id="a-log-mobile" class="list-item add-routetoken" href="adminLog.html"><script>document.write(l10nstrings.strLog)</script></a>
|
||
|
<a id="a-settingsmenu-mobile" class="list-item add-routetoken" href="adminSettings.html"><script>document.write(l10nstrings.strSettings)</script></a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="columns is-fullwidth" style="height:calc(100vh - 62px);background-color: #F5F5F5;">
|
||
|
<nav class="column is-hidden-mobile is-narrow" id="column-admin-panel" style="width:225px;">
|
||
|
<div class="list is-hoverable" style="height:100%;">
|
||
|
<a class="list-item" id="button-admin-panel-collapse" href="#">←</a>
|
||
|
<a id="a-overwiew-tablet" class="list-item add-routetoken" href="admin.html"><script>document.write(l10nstrings.strOverview)</script></a>
|
||
|
<a id="a-analytics-tablet" class="list-item add-routetoken" href="adminAnalytics.html"><script>document.write(l10nstrings.strAnalytics)</script></a>
|
||
|
<a id="a-history-tablet" class="list-item add-routetoken" href="adminHistory.html"><script>document.write(l10nstrings.strHistory)</script></a>
|
||
|
<a id="a-log-tablet" class="list-item add-routetoken" href="adminLog.html"><script>document.write(l10nstrings.strLog)</script></a>
|
||
|
<a id="a-settingsmenu-tablet" class="list-item add-routetoken" href="adminSettings.html"><script>document.write(l10nstrings.strSettings)</script></a>
|
||
|
</div>
|
||
|
</nav>
|
||
|
<div class="column is-narrow is-hidden-mobile" id="column-admin-panel-expand" style="width:70px;display:none;">
|
||
|
<div class="list is-hoverable">
|
||
|
<a class="list-item" id="button-admin-panel-expand" href="#">→</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="column">
|
||
|
<!--%MAIN_CONTENT%-->
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<script>
|
||
|
if (routeToken) {
|
||
|
// update href attributes
|
||
|
var anchors = document.getElementsByClassName('add-routetoken');
|
||
|
|
||
|
for (var i = 0; i < anchors.length; i++) {
|
||
|
var href = anchors[i].getAttribute('href');
|
||
|
var updatedHref = href + '?RouteToken=' + routeToken;
|
||
|
anchors[i].setAttribute('href', updatedHref);
|
||
|
}
|
||
|
}
|
||
|
</script>
|