Some more installer dialogs
This commit is contained in:
parent
44ff1d2fb6
commit
323f2f150c
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>
|
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>
|
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>
|
Reference in New Issue
Block a user