2020-06-03 17:36:46 -05:00
|
|
|
<main>
|
|
|
|
<div class="container">
|
|
|
|
<script>Admin.Settings(host);</script>
|
2022-10-14 08:24:09 -05:00
|
|
|
<div class="columns">
|
|
|
|
<div class="column">
|
2020-06-03 17:36:46 -05:00
|
|
|
<h3 class="title is-3"><script>document.write(l10nstrings.strSettings)</script></h3>
|
2022-10-14 08:24:09 -05:00
|
|
|
</div>
|
|
|
|
<div class="column has-text-right">
|
|
|
|
<button id="btnShutdown" type="submit" class="button is-danger" style="min-width:140px; margin-inline-end:14px"><script>document.write(l10nstrings.strShutdown)</script></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-10-14 08:03:17 -05:00
|
|
|
<div class="tabs">
|
|
|
|
<ul>
|
|
|
|
<li id="tab-documents-open" class="is-active"><a id="button-opview" href="#opview"><script>document.write(l10nstrings.strSettings)</script></a></li>
|
|
|
|
<li id="tab-users-online"><a id="button-versionview" href="#versionview"><script>document.write(l10nstrings.strVersionInfo)</script></a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div id="opview" class="mtabs">
|
2020-06-03 17:36:46 -05:00
|
|
|
<form id="admin_settings">
|
|
|
|
<div class="field is-horizontal">
|
|
|
|
<div class="field-label is-normal">
|
|
|
|
<label class="label"><script>document.write(l10nstrings.strMemoryStatsCachesize)</script></label>
|
|
|
|
</div>
|
|
|
|
<div class="field-body">
|
|
|
|
<div class="field">
|
|
|
|
<div class="control">
|
|
|
|
<input type="number" id="mem_stats_size" class="input" name="Memory Stats Size" style="max-width:200px;">
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-03-20 08:56:20 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-06-03 17:36:46 -05:00
|
|
|
<div class="field is-horizontal">
|
|
|
|
<div class="field-label is-normal">
|
|
|
|
<label class="label"><script>document.write(l10nstrings.strMemoryStatsInterval)</script></label>
|
2016-03-20 08:56:20 -05:00
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
<div class="field-body">
|
|
|
|
<div class="field">
|
|
|
|
<div class="control">
|
|
|
|
<input type="number" id="mem_stats_interval" class="input" name="Memory Stats Interval" style="max-width:200px;">
|
2019-01-23 01:57:43 -06:00
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-01-23 01:57:43 -06:00
|
|
|
|
2020-06-03 17:36:46 -05:00
|
|
|
<div class="field is-horizontal">
|
|
|
|
<div class="field-label is-normal">
|
|
|
|
<label class="label"><script>document.write(l10nstrings.strCpuStatsCachesize)</script></label>
|
|
|
|
</div>
|
|
|
|
<div class="field-body">
|
|
|
|
<div class="field">
|
|
|
|
<div class="control">
|
|
|
|
<input type="number" id="cpu_stats_size" class="input" name="Cpu Stats Size" style="max-width:200px;">
|
2019-01-23 01:57:43 -06:00
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-01-23 01:57:43 -06:00
|
|
|
|
2020-06-03 17:36:46 -05:00
|
|
|
<div class="field is-horizontal">
|
|
|
|
<div class="field-label is-normal">
|
|
|
|
<label class="label"><script>document.write(l10nstrings.strCpuStatsInterval)</script></label>
|
|
|
|
</div>
|
|
|
|
<div class="field-body">
|
|
|
|
<div class="field">
|
|
|
|
<div class="control">
|
|
|
|
<input type="number" id="cpu_stats_interval" class="input" name="Cpu Stats Interval" style="max-width:200px;">
|
2019-01-23 01:57:43 -06:00
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-01-23 01:57:43 -06:00
|
|
|
|
2020-06-03 17:36:46 -05:00
|
|
|
<div class="field is-horizontal">
|
|
|
|
<div class="field-label is-normal">
|
|
|
|
<label class="label"><script>document.write(l10nstrings.strLimitVirtMemMb)</script></label>
|
|
|
|
</div>
|
|
|
|
<div class="field-body">
|
|
|
|
<div class="field">
|
|
|
|
<div class="control">
|
|
|
|
<input type="number" id="limit_virt_mem_mb" class="input" name="Max Document Virtual Memory MB" style="max-width:200px;">
|
2019-01-23 01:57:43 -06:00
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-01-23 01:57:43 -06:00
|
|
|
|
2020-06-03 17:36:46 -05:00
|
|
|
<div class="field is-horizontal">
|
|
|
|
<div class="field-label is-normal">
|
|
|
|
<label class="label"><script>document.write(l10nstrings.strLimitStackMemKb)</script></label>
|
|
|
|
</div>
|
|
|
|
<div class="field-body">
|
|
|
|
<div class="field">
|
|
|
|
<div class="control">
|
|
|
|
<input type="number" id="limit_stack_mem_kb" class="input" name="Max Document Stack Memory Kb" style="max-width:200px;">
|
2019-01-23 01:57:43 -06:00
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-01-23 01:57:43 -06:00
|
|
|
|
2020-06-03 17:36:46 -05:00
|
|
|
<div class="field is-horizontal">
|
|
|
|
<div class="field-label is-normal">
|
|
|
|
<label class="label"><script>document.write(l10nstrings.strLimitFileSizeMb)</script></label>
|
|
|
|
</div>
|
|
|
|
<div class="field-body">
|
|
|
|
<div class="field">
|
|
|
|
<div class="control">
|
|
|
|
<input type="number" id="limit_file_size_mb" class="input" name="Max File Write Size Mb" style="max-width:200px;">
|
2019-01-23 01:57:43 -06:00
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-01-23 01:57:43 -06:00
|
|
|
|
2020-06-03 17:36:46 -05:00
|
|
|
<div class="field is-horizontal">
|
|
|
|
<div class="field-label is-normal">
|
|
|
|
<label class="label"><script>document.write(l10nstrings.strMemoryStatsCachesize)</script></label>
|
|
|
|
</div>
|
|
|
|
<div class="field-body">
|
|
|
|
<div class="field">
|
|
|
|
<div class="control">
|
|
|
|
<input type="number" id="mem_stats_size" class="input" name="Memory Stats Size" style="max-width:200px;">
|
2019-01-23 01:57:43 -06:00
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-01-23 01:57:43 -06:00
|
|
|
|
2020-06-03 17:36:46 -05:00
|
|
|
<div class="field is-horizontal">
|
|
|
|
<div class="field-body">
|
|
|
|
<div class="field">
|
|
|
|
<div class="control">
|
2020-12-08 02:49:14 -06:00
|
|
|
<button type="submit" class="button is-primary" style="min-width:120px;"><script>document.write(l10nstrings.strSave)</script></button>
|
2019-01-23 01:57:43 -06:00
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
</div>
|
2017-06-12 23:22:42 -05:00
|
|
|
</div>
|
2016-03-20 08:56:20 -05:00
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
</form>
|
2022-10-14 08:03:17 -05:00
|
|
|
</div>
|
|
|
|
<div id="versionview" class="mtabs">
|
2020-06-03 17:36:46 -05:00
|
|
|
<p>
|
2021-11-18 06:08:14 -06:00
|
|
|
<h5><b>COOLWSD</b></h5>
|
|
|
|
<div id="coolwsd-version"></div>
|
2022-10-10 16:46:17 -05:00
|
|
|
<div id="coolwsd-buildconfig"></div>
|
2020-06-03 17:36:46 -05:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<h5><b>LOKit</b></h5>
|
|
|
|
<div id="lokit-version"></div>
|
2022-10-10 16:46:17 -05:00
|
|
|
<div id="lokit-buildconfig"></div>
|
2020-06-03 17:36:46 -05:00
|
|
|
</p>
|
2022-10-14 08:03:17 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-03 17:36:46 -05:00
|
|
|
</main>
|
|
|
|
|
|
|
|
<script>
|
2022-10-14 08:41:08 -05:00
|
|
|
document.getElementById('a-settingsmenu-mobile').classList.add('is-active');
|
|
|
|
document.getElementById('a-settingsmenu-tablet').classList.add('is-active');
|
2022-10-14 08:03:17 -05:00
|
|
|
|
|
|
|
window.location.href += '#opview';
|
|
|
|
|
|
|
|
// Switching tabs is done by css rules. We will set "is-active" classes here.
|
|
|
|
document.getElementById('button-versionview').onclick = function() {
|
|
|
|
document.getElementById('button-versionview').parentNode.className = 'is-active';
|
|
|
|
document.getElementById('button-opview').parentNode.className = '';
|
|
|
|
}
|
|
|
|
|
|
|
|
document.getElementById('button-opview').onclick = function() {
|
|
|
|
document.getElementById('button-opview').parentNode.className = 'is-active';
|
|
|
|
document.getElementById('button-versionview').parentNode.className = '';
|
|
|
|
}
|
|
|
|
|
2021-04-16 14:50:57 -05:00
|
|
|
</script>
|