2016-03-20 08:56:20 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="author" content="">
|
|
|
|
|
|
|
|
<title>LibreOffice Online - Admin console</title>
|
|
|
|
|
|
|
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
|
|
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
|
|
|
<![endif]-->
|
2018-09-07 15:56:09 -05:00
|
|
|
<link rel="localizations" href="%SERVICE_ROOT%/loleaflet/%VERSION%/l10n/admin-localizations.json" type="application/vnd.oftn.l10n+json"/>
|
2016-03-20 08:56:20 -05:00
|
|
|
</head>
|
|
|
|
<body>
|
2018-09-07 15:56:09 -05:00
|
|
|
<script src="%SERVICE_ROOT%/loleaflet/%VERSION%/admin-bundle.js"></script>
|
2018-04-25 14:53:38 -05:00
|
|
|
<!--%BRANDING_JS%-->
|
2018-04-25 14:53:38 -05:00
|
|
|
<script>if (typeof brandProductName !== 'undefined') {l10nstrings.strProductName = brandProductName}</script>
|
2016-08-09 09:26:05 -05:00
|
|
|
<script>document.title = l10nstrings.strProductName + ' - ' + l10nstrings.strAdminConsole</script>
|
2016-03-20 08:56:20 -05:00
|
|
|
<script>
|
2016-04-08 05:53:45 -05:00
|
|
|
if (window.location.protocol == "https:") {
|
2018-09-07 15:56:09 -05:00
|
|
|
host = 'wss://' + window.location.host + '%SERVICE_ROOT%/lool/adminws/'
|
2016-04-08 05:53:45 -05:00
|
|
|
}
|
|
|
|
else {
|
2018-09-07 15:56:09 -05:00
|
|
|
host = 'ws://' + window.location.host + '%SERVICE_ROOT%/lool/adminws/'
|
2016-04-08 05:53:45 -05:00
|
|
|
}
|
2016-03-20 08:56:20 -05:00
|
|
|
|
2016-08-09 09:26:05 -05:00
|
|
|
Admin.Settings(host);
|
2016-03-20 08:56:20 -05:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<nav class="navbar navbar-inverse navbar-fixed-top">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="navbar-header">
|
|
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
2017-07-10 02:44:01 -05:00
|
|
|
<span class="sr-only"></span>
|
2016-03-20 08:56:20 -05:00
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</button>
|
2016-08-09 09:26:05 -05:00
|
|
|
<a class="navbar-brand" href="#"><script>document.write(l10nstrings.strProductName + ' - ' + l10nstrings.strAdminConsole)</script></a>
|
2016-03-20 08:56:20 -05:00
|
|
|
</div>
|
|
|
|
<div id="navbar" class="navbar-collapse collapse">
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
2016-08-09 09:26:05 -05:00
|
|
|
<li><a href="adminSettings.html"><script>document.write(l10nstrings.strSettings)</script></a></li>
|
2016-03-20 08:56:20 -05:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-3 col-md-2 sidebar">
|
|
|
|
<ul class="nav nav-sidebar">
|
2016-08-09 09:26:05 -05:00
|
|
|
<li><a href="admin.html"><script>document.write(l10nstrings.strOverview)</script> <span class="sr-only"><script>document.write(l10nstrings.strCurrent)</script></span></a></li>
|
|
|
|
<li><a href="adminAnalytics.html"><script>document.write(l10nstrings.strAnalytics)</script></a></li>
|
2017-04-17 13:36:04 -05:00
|
|
|
<li><a href="adminHistory.html"><script>document.write(l10nstrings.strHistory)</script></a></li>
|
2016-03-20 08:56:20 -05:00
|
|
|
</ul>
|
2017-03-14 08:25:16 -05:00
|
|
|
<hr />
|
|
|
|
<div style="position:absolute; bottom:0px">
|
|
|
|
<h3>About</h3>
|
|
|
|
<p>
|
|
|
|
<h5><b>LOOLWSD</b></h5>
|
|
|
|
<div id="loolwsd-version"></div>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<h5><b>LOKit</b></h5>
|
|
|
|
<div id="lokit-version"></div>
|
|
|
|
</p>
|
|
|
|
</div>
|
2016-03-20 08:56:20 -05:00
|
|
|
</div>
|
|
|
|
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
|
2016-08-09 09:26:05 -05:00
|
|
|
<h1 class="page-header"><script>document.write(l10nstrings.strSettings)</script></h1>
|
2019-01-23 01:57:43 -06:00
|
|
|
<form id="admin_settings" class="form-horizontal">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="mem_stats_size" class="col-md-4 control-label">
|
|
|
|
<script>document.write(l10nstrings.strMemoryStatsCachesize)</script>
|
|
|
|
</label>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<input type="number" id="mem_stats_size" class="form-control" name="Memory Stats Size">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="mem_stats_interval" class="col-md-4 control-label">
|
|
|
|
<script>document.write(l10nstrings.strMemoryStatsInterval)</script>
|
|
|
|
</label>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<input type="number" id="mem_stats_interval" class="form-control" name="Memory Stats Interval">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="cpu_stats_size" class="col-md-4 control-label">
|
|
|
|
<script>document.write(l10nstrings.strCpuStatsSize)</script>
|
|
|
|
</label>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<input type="number" id="cpu_stats_size" class="form-control" name="Cpu Stats Size">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="cpu_stats_interval" class="col-md-4 control-label">
|
|
|
|
<script>document.write(l10nstrings.strCpuStatsInterval)</script>
|
|
|
|
</label>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<input type="number" id="cpu_stats_interval" class="form-control" name="Cpu Stats Size">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="limit_virt_mem_mb" class="col-md-4 control-label">
|
|
|
|
<script>document.write(l10nstrings.strLimitVirtMemMb)</script>
|
|
|
|
</label>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<input type="number" id="limit_virt_mem_mb" class="form-control" name="Max Document Virtual Memory MB">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="limit_stack_mem_kb" class="col-md-4 control-label">
|
|
|
|
<script>document.write(l10nstrings.strLimitStackMemKb)</script>
|
|
|
|
</label>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<input type="number" id="limit_stack_mem_kb" class="form-control" name="Max Document Stack Memory Kb">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="limit_file_size_mb" class="col-md-4 control-label">
|
|
|
|
<script>document.write(l10nstrings.strLimitFileSizeMb)</script>
|
|
|
|
</label>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<input type="number" id="limit_file_size_mb" class="form-control" name="Max File Write Size Mb">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-md-offset-4 col-md-8">
|
|
|
|
<button type="submit" class="btn btn-primary"><script>document.write(l10nstrings.strSave)</script></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-06-12 23:22:42 -05:00
|
|
|
</form>
|
|
|
|
<br />
|
2019-01-23 02:02:35 -06:00
|
|
|
<button id="btnShutdown" type="submit" class="btn btn-danger"><script>document.write(l10nstrings.strShutdown)</script></button>
|
2017-06-12 23:22:42 -05:00
|
|
|
</div>
|
2016-03-20 08:56:20 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-25 14:53:38 -05:00
|
|
|
<!--%FOOTER%-->
|
2016-03-20 08:56:20 -05:00
|
|
|
</body>
|
|
|
|
</html>
|