commit
317bbbf457
64
contrib/templates/default/inst_api.mustache
Normal file
64
contrib/templates/default/inst_api.mustache
Normal file
@ -0,0 +1,64 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="initial-scale=1" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
|
||||
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script>
|
||||
<title>{{#i18n.Translations}}{{api_install_title}}{{/i18n.Translations}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="installer_header">{{#i18n.Translations}}{{api_install_title}}{{/i18n.Translations}}</div>
|
||||
{{#dialog.HasError}}
|
||||
<p class="installer_error">{{dialog.Error}}</p>
|
||||
{{/dialog.HasError}}
|
||||
<form action="" method="post" autocomplete="off">
|
||||
<div id="install-outer">
|
||||
<div id="installer-inner">
|
||||
<table class="installer-tab">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{api_username}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="user" value="{{dialog.User}}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{api_password_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="password" name="pass" value="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{api_secret_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="secret" value="{{dialog.Secret}}">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{#dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{next_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
{{^dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{finish_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
</div>
|
||||
</form>
|
||||
{{#dialog.HasPrevious}}
|
||||
<div class="back_button">
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="back" value="true" />
|
||||
<input type="submit" value="{{#i18n.Translations}}{{previous_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
</form>
|
||||
</div>
|
||||
{{/dialog.HasPrevious}}
|
||||
</body>
|
||||
</html>
|
64
contrib/templates/default/inst_bins.mustache
Normal file
64
contrib/templates/default/inst_bins.mustache
Normal file
@ -0,0 +1,64 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="initial-scale=1" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
|
||||
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script>
|
||||
<title>{{#i18n.Translations}}{{binary_install_title}}{{/i18n.Translations}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="installer_header">{{#i18n.Translations}}{{binary_install_title}}{{/i18n.Translations}}</div>
|
||||
{{#dialog.HasError}}
|
||||
<p class="installer_error">{{dialog.Error}}</p>
|
||||
{{/dialog.HasError}}
|
||||
<form action="" method="post" autocomplete="off">
|
||||
<div id="install-outer">
|
||||
<div id="installer-inner">
|
||||
<table class="installer-tab">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{convert_prompt}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="convert" value="{{dialog.Convert}}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{ffmpeg_prompt}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="ffmpeg" value="{{dialog.FFmpeg}}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{sox_prompt}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="sox" value="{{dialog.Sox}}">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{#dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{next_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
{{^dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{finish_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
</div>
|
||||
</form>
|
||||
{{#dialog.HasPrevious}}
|
||||
<div class="back_button">
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="back" value="true" />
|
||||
<input type="submit" value="{{#i18n.Translations}}{{previous_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
</form>
|
||||
</div>
|
||||
{{/dialog.HasPrevious}}
|
||||
</body>
|
||||
</html>
|
64
contrib/templates/default/inst_cache.mustache
Normal file
64
contrib/templates/default/inst_cache.mustache
Normal file
@ -0,0 +1,64 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="initial-scale=1" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
|
||||
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script>
|
||||
<title>{{#i18n.Translations}}{{cache_install_title}}{{/i18n.Translations}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="installer_header">{{#i18n.Translations}}{{cache_install_title}}{{/i18n.Translations}}</div>
|
||||
{{#dialog.HasError}}
|
||||
<p class="installer_error">{{dialog.Error}}</p>
|
||||
{{/dialog.HasError}}
|
||||
<form action="" method="post">
|
||||
<div id="install-outer">
|
||||
<div id="installer-inner">
|
||||
<table class="installer-tab">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
|
||||
</th>
|
||||
<td>
|
||||
<input type="radio" name="cache" value="file" checked> {{#i18n.Translations}}{{file_cache_name}}{{/i18n.Translations}}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
|
||||
</th>
|
||||
<td>
|
||||
<input type="radio" name="cache" value="null"> {{#i18n.Translations}}{{null_cache_name}}{{/i18n.Translations}}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
|
||||
</th>
|
||||
<td>
|
||||
<input type="radio" name="cache" value="redis"> {{#i18n.Translations}}{{redis_cache_name}}{{/i18n.Translations}}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{#dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{next_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
{{^dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{finish_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
</div>
|
||||
</form>
|
||||
{{#dialog.HasPrevious}}
|
||||
<div class="back_button">
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="back" value="true" />
|
||||
<input type="submit" value="{{#i18n.Translations}}{{previous_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
</form>
|
||||
</div>
|
||||
{{/dialog.HasPrevious}}
|
||||
</body>
|
||||
</html>
|
56
contrib/templates/default/inst_crypto.mustache
Normal file
56
contrib/templates/default/inst_crypto.mustache
Normal file
@ -0,0 +1,56 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="initial-scale=1" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
|
||||
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script>
|
||||
<title>{{#i18n.Translations}}{{crypto_install_title}}{{/i18n.Translations}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="installer_header">{{#i18n.Translations}}{{crypto_install_title}}{{/i18n.Translations}}</div>
|
||||
{{#dialog.HasError}}
|
||||
<p class="installer_error">{{dialog.Error}}</p>
|
||||
{{/dialog.HasError}}
|
||||
<form action="" method="post" autocomplete="off">
|
||||
<div id="install-outer">
|
||||
<div id="installer-inner">
|
||||
<table class="installer-tab">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{host_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="host" value="{{dialog.Host}}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{key_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="key" value="{{dialog.Key}}">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{#dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{next_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
{{^dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{finish_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
</div>
|
||||
</form>
|
||||
{{#dialog.HasPrevious}}
|
||||
<div class="back_button">
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="back" value="true" />
|
||||
<input type="submit" value="{{#i18n.Translations}}{{previous_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
</form>
|
||||
</div>
|
||||
{{/dialog.HasPrevious}}
|
||||
</body>
|
||||
</html>
|
56
contrib/templates/default/inst_db.mustache
Normal file
56
contrib/templates/default/inst_db.mustache
Normal file
@ -0,0 +1,56 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="initial-scale=1" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
|
||||
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script>
|
||||
<title>{{#i18n.Translations}}{{db_install_title}}{{/i18n.Translations}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="installer_header">{{#i18n.Translations}}{{db_install_title}}{{/i18n.Translations}}</div>
|
||||
{{#dialog.HasError}}
|
||||
<p class="installer_error">{{dialog.Error}}</p>
|
||||
{{/dialog.HasError}}
|
||||
<form action="" method="post">
|
||||
<div id="install-outer">
|
||||
<div id="installer-inner">
|
||||
<table class="installer-tab">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
|
||||
</th>
|
||||
<td>
|
||||
<input type="radio" name="db" value="postgres"> {{#i18n.Translations}}{{postgres_name}}{{/i18n.Translations}}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
|
||||
</th>
|
||||
<td>
|
||||
<input type="radio" name="db" value="redis" checked> {{#i18n.Translations}}{{redis_name}}{{/i18n.Translations}}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{#dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{next_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
{{^dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{finish_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
</div>
|
||||
</form>
|
||||
{{#dialog.HasPrevious}}
|
||||
<div class="back_button">
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="back" value="true" />
|
||||
<input type="submit" value="{{#i18n.Translations}}{{previous_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
</form>
|
||||
</div>
|
||||
{{/dialog.HasPrevious}}
|
||||
</body>
|
||||
</html>
|
72
contrib/templates/default/inst_frontend.mustache
Normal file
72
contrib/templates/default/inst_frontend.mustache
Normal file
@ -0,0 +1,72 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="initial-scale=1" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
|
||||
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script>
|
||||
<title>{{#i18n.Translations}}{{frontend_install_title}}{{/i18n.Translations}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="installer_header">{{#i18n.Translations}}{{frontend_install_title}}{{/i18n.Translations}}</div>
|
||||
{{#dialog.HasError}}
|
||||
<p class="installer_error">{{dialog.Error}}</p>
|
||||
{{/dialog.HasError}}
|
||||
<form action="" method="post" autocomplete="off">
|
||||
<div id="install-outer">
|
||||
<div id="installer-inner">
|
||||
<table class="installer-tab">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{frontend_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="name" value="{{dialog.Name}}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{locale_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="locale" value="{{dialog.Locale}}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{allow_files_prompt}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="checkbox" name="allow_files" value="1" checked>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{enable_json_prompt}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="checkbox" name="json" value="1">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{#dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{next_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
{{^dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{finish_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
</div>
|
||||
</form>
|
||||
{{#dialog.HasPrevious}}
|
||||
<div class="back_button">
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="back" value="true" />
|
||||
<input type="submit" value="{{#i18n.Translations}}{{previous_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
</form>
|
||||
</div>
|
||||
{{/dialog.HasPrevious}}
|
||||
</body>
|
||||
</html>
|
56
contrib/templates/default/inst_key.mustache
Normal file
56
contrib/templates/default/inst_key.mustache
Normal file
@ -0,0 +1,56 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="initial-scale=1" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
|
||||
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script>
|
||||
<title>{{#i18n.Translations}}{{key_install_title}}{{/i18n.Translations}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="installer_header">{{#i18n.Translations}}{{key_install_title}}{{/i18n.Translations}}</div>
|
||||
{{#dialog.HasError}}
|
||||
<p class="installer_error">{{dialog.Error}}</p>
|
||||
{{/dialog.HasError}}
|
||||
<form action="" method="post" autocomplete="off">
|
||||
<div id="install-outer">
|
||||
<div id="installer-inner">
|
||||
<table class="installer-tab">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{pubkey_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="public" value="{{dialog.Public}}" size="65" readonly>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{secretkey_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="secret" value="{{dialog.Secret}}" size="65" readonly>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{#dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{next_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
{{^dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{finish_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
</div>
|
||||
</form>
|
||||
{{#dialog.HasPrevious}}
|
||||
<div class="back_button">
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="back" value="true" />
|
||||
<input type="submit" value="{{#i18n.Translations}}{{previous_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
</form>
|
||||
</div>
|
||||
{{/dialog.HasPrevious}}
|
||||
</body>
|
||||
</html>
|
80
contrib/templates/default/inst_nntp.mustache
Normal file
80
contrib/templates/default/inst_nntp.mustache
Normal file
@ -0,0 +1,80 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="initial-scale=1" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
|
||||
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script>
|
||||
<title>{{#i18n.Translations}}{{nntp_install_title}}{{/i18n.Translations}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="installer_header">{{#i18n.Translations}}{{nntp_install_title}}{{/i18n.Translations}}</div>
|
||||
{{#dialog.HasError}}
|
||||
<p class="installer_error">{{dialog.Error}}</p>
|
||||
{{/dialog.HasError}}
|
||||
<form action="" method="post" autocomplete="off">
|
||||
<div id="install-outer">
|
||||
<div id="installer-inner">
|
||||
<table class="installer-tab">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{nntp_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="nntp_name" value="{{dialog.Name}}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{allow_attachments_prompt}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="checkbox" name="allow_attachments" value="1" checked>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{allow_anon_prompt}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="checkbox" name="allow_anon" value="1" checked>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{allow_anon_attachments_prompt}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="checkbox" name="allow_anon_attachments" value="1">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{require_tls_prompt}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="checkbox" name="require_tls" value="1" checked>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{#dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{next_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
{{^dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{finish_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
</div>
|
||||
</form>
|
||||
{{#dialog.HasPrevious}}
|
||||
<div class="back_button">
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="back" value="true" />
|
||||
<input type="submit" value="{{#i18n.Translations}}{{previous_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
</form>
|
||||
</div>
|
||||
{{/dialog.HasPrevious}}
|
||||
</body>
|
||||
</html>
|
72
contrib/templates/default/inst_postgres_db.mustache
Normal file
72
contrib/templates/default/inst_postgres_db.mustache
Normal file
@ -0,0 +1,72 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="initial-scale=1" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
|
||||
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script>
|
||||
<title>{{#i18n.Translations}}{{postgres_db_install_title}}{{/i18n.Translations}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="installer_header">{{#i18n.Translations}}{{postgres_db_install_title}}{{/i18n.Translations}}</div>
|
||||
{{#dialog.HasError}}
|
||||
<p class="installer_error">{{dialog.Error}}</p>
|
||||
{{/dialog.HasError}}
|
||||
<form action="" method="post" autocomplete="off">
|
||||
<div id="install-outer">
|
||||
<div id="installer-inner">
|
||||
<table class="installer-tab">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{host_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="host" value="{{dialog.Host}}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{port_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="port" value="{{dialog.Port}}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{username_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="user" value="{{dialog.Username}}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{password_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="password" name="password" value="">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{#dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{next_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
{{^dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{finish_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
</div>
|
||||
</form>
|
||||
{{#dialog.HasPrevious}}
|
||||
<div class="back_button">
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="back" value="true" />
|
||||
<input type="submit" value="{{#i18n.Translations}}{{previous_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
</form>
|
||||
</div>
|
||||
{{/dialog.HasPrevious}}
|
||||
</body>
|
||||
</html>
|
64
contrib/templates/default/inst_redis_cache.mustache
Normal file
64
contrib/templates/default/inst_redis_cache.mustache
Normal file
@ -0,0 +1,64 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="initial-scale=1" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
|
||||
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script>
|
||||
<title>{{#i18n.Translations}}{{redis_db_install_title}}{{/i18n.Translations}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="installer_header">{{#i18n.Translations}}{{redis_db_install_title}}{{/i18n.Translations}}</div>
|
||||
{{#dialog.HasError}}
|
||||
<p class="installer_error">{{dialog.Error}}</p>
|
||||
{{/dialog.HasError}}
|
||||
<form action="" method="post" autocomplete="off">
|
||||
<div id="install-outer">
|
||||
<div id="installer-inner">
|
||||
<table class="installer-tab">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{host_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="host" value="{{dialog.Host}}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{port_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="port" value="{{dialog.Port}}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{password_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="password" name="password" value="">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{#dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{next_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
{{^dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{finish_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
</div>
|
||||
</form>
|
||||
{{#dialog.HasPrevious}}
|
||||
<div class="back_button">
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="back" value="true" />
|
||||
<input type="submit" value="{{#i18n.Translations}}{{previous_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
</form>
|
||||
</div>
|
||||
{{/dialog.HasPrevious}}
|
||||
</body>
|
||||
</html>
|
64
contrib/templates/default/inst_redis_db.mustache
Normal file
64
contrib/templates/default/inst_redis_db.mustache
Normal file
@ -0,0 +1,64 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="initial-scale=1" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
|
||||
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
|
||||
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script>
|
||||
<title>{{#i18n.Translations}}{{redis_db_install_title}}{{/i18n.Translations}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="installer_header">{{#i18n.Translations}}{{redis_db_install_title}}{{/i18n.Translations}}</div>
|
||||
{{#dialog.HasError}}
|
||||
<p class="installer_error">{{dialog.Error}}</p>
|
||||
{{/dialog.HasError}}
|
||||
<form action="" method="post" autocomplete="off">
|
||||
<div id="install-outer">
|
||||
<div id="installer-inner">
|
||||
<table class="installer-tab">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{host_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="host" value="{{dialog.Host}}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{port_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="port" value="{{dialog.Port}}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
{{#i18n.Translations}}{{password_name}}{{/i18n.Translations}}
|
||||
</th>
|
||||
<td>
|
||||
<input type="password" name="password" value="">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{#dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{next_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
{{^dialog.HasNext}}
|
||||
<input type="submit" value="{{#i18n.Translations}}{{finish_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
{{/dialog.HasNext}}
|
||||
</div>
|
||||
</form>
|
||||
{{#dialog.HasPrevious}}
|
||||
<div class="back_button">
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="back" value="true" />
|
||||
<input type="submit" value="{{#i18n.Translations}}{{previous_prompt}}{{/i18n.Translations}}" class="button" />
|
||||
</form>
|
||||
</div>
|
||||
{{/dialog.HasPrevious}}
|
||||
</body>
|
||||
</html>
|
@ -118,4 +118,56 @@ overboard_title=ukko / overboard
|
||||
posted_on_label=Posted on
|
||||
|
||||
#404 page
|
||||
resource_not_found=The page you are looking for isn't here
|
||||
resource_not_found=The page you are looking for isn't here
|
||||
|
||||
#'installer
|
||||
db_install_title=Choose a database
|
||||
redis_name=Redis
|
||||
postgres_name=PostgreSQL
|
||||
|
||||
next_prompt=Next >
|
||||
previous_prompt=< Previous
|
||||
finish_prompt=Finish!
|
||||
|
||||
redis_db_install_title=Please enter the connection details for Redis
|
||||
postgres_db_install_title=Please enter the connection details for PostgreSQL
|
||||
crypto_install_title=TLS settings
|
||||
host_name=Hostname or IP address
|
||||
key_name=TLS keyname
|
||||
port_name=Port number
|
||||
username_name=Username
|
||||
password_name=Password
|
||||
|
||||
nntp_install_title=Configure the NNTP settings
|
||||
nntp_name=Name of the NNTP instance
|
||||
allow_attachments_prompt=Allow attachments
|
||||
allow_anon_prompt=Allow anonymous posters
|
||||
allow_anon_attachments_prompt=Allow attachments from anonymous posters
|
||||
require_tls_prompt=Require TLS for incoming connections
|
||||
|
||||
binary_install_title=Configure the path of the external programs
|
||||
convert_prompt=convert path
|
||||
ffmpeg_prompt=ffmpeg path
|
||||
sox_prompt=sox path
|
||||
|
||||
cache_install_title=Please choose the mechanism by which the HTML pages are cached
|
||||
null_cache_name=None
|
||||
file_cache_name=Static files
|
||||
redis_cache_name=Redis
|
||||
|
||||
frontend_install_title=Frontend settings
|
||||
frontend_name=Name
|
||||
locale_name=Locale
|
||||
allow_files_prompt=Allow file uploads
|
||||
enable_json_prompt=Enable the JSON API
|
||||
|
||||
api_install_title=API settings
|
||||
api_username=API username
|
||||
api_password_name=API password
|
||||
api_secret_name=API secret
|
||||
|
||||
pubkey_name=Public key
|
||||
secretkey_name=Secret key
|
||||
key_install_title=A new keypair has been generated for you. Please keep it safe and don't share it with anyone, as this is used to login to the mod panel
|
||||
#'
|
||||
|
||||
|
Reference in New Issue
Block a user