Even more installer dialogs
This commit is contained in:
parent
323f2f150c
commit
177082fded
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>
|
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>
|
@ -120,7 +120,7 @@ posted_on_label=Posted on
|
|||||||
#404 page
|
#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
|
#'installer
|
||||||
db_install_title=Choose a database
|
db_install_title=Choose a database
|
||||||
redis_name=Redis
|
redis_name=Redis
|
||||||
postgres_name=PostgreSQL
|
postgres_name=PostgreSQL
|
||||||
@ -129,3 +129,45 @@ next_prompt=Next >
|
|||||||
previous_prompt=< Previous
|
previous_prompt=< Previous
|
||||||
finish_prompt=Finish!
|
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