libreoffice-online/loleaflet/admin/adminLog.html
gokaysatir 5f07429b6b leaflet: Update admin console & drop bootstrap package.
Change-Id: I9243393693c2464f2e9a4d24cccf9c5f3415e2ef
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95468
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-04 12:56:16 +02:00

42 lines
No EOL
2.1 KiB
HTML

<main>
<div class="container">
<script>Admin.Log(host);</script>
<h3 class="title is-3"><script>document.write(l10nstrings.strLog)</script></h3>
<div class="buttons is-fullwidth is-right">
<button type="button" class="button is-info" id="refresh-log" style="width:120px;"><script>document.write(l10nstrings.strRefreshLog)</script></button>
<button type="button" id="button-open-log-list-modal" class="button is-info" style="width:120px;">
<script>document.write(l10nstrings.strSetLogLevels)</script>
</button>
</div>
<textarea id="log-lines" style="width:100%;height:100%;min-height: calc(100vh - 250px);resize:vertical;" readonly="true"></textarea>
</div>
</main>
<div class="modal" id="channel-list-modal">
<div class="modal-background" onclick="document.getElementById('channel-list-modal').classList.remove('is-active');"></div>
<div class="modal-card">
<header class="modal-card-head">
<p class="modal-card-title"><script>document.write(l10nstrings.strLogLevels)</script></p>
<button class="delete" onclick="document.getElementById('channel-list-modal').classList.remove('is-active');"></button>
</header>
<section class="modal-card-body">
<form class="form-horizontal" id="form-channel-list"></form>
</section>
<footer class="modal-card-foot is-fullwidth has-text-right">
<button type="button" onclick="document.getElementById('channel-list-modal').classList.remove('is-active');" class="button" style="width:120px;" data-dismiss="modal"><script>document.write(l10nstrings.strCloseModal)</script></button>
<button type="button" form="form-channel-list" id="update-log-levels" class="button is-primary" style="width:140px;"><script>document.write(l10nstrings.strUpdateLogLevels)</script></button>
</footer>
</div>
</div>
<script>
document.getElementById('a-log-mobile').classList.add('is-active');
document.getElementById('a-log-tablet').classList.add('is-active');
document.getElementById('button-open-log-list-modal').onclick = function() {
document.getElementById('channel-list-modal').classList.add('is-active');
};
</script>