[enh] Add a page to download SSL Certificate authority.

This commit is contained in:
opi 2014-06-17 10:34:02 +02:00
parent d9f3fcf829
commit e7086da6c4
5 changed files with 28 additions and 0 deletions

View file

@ -1345,6 +1345,10 @@ app = Sammy('#main', function (sam) {
}
});
// Download SSL Certificate Authority
sam.get('#/tools/ca', function (c) {
c.view('tools/tools_ca');
});
/**
* Backup

View file

@ -193,6 +193,8 @@
"tools_adminpw_current_placeholder" : "Enter your current password",
"tools_adminpw_new_placeholder" : "Enter the new password",
"tools_adminpw_confirm_placeholder" : "Confirm the new password",
"tools_download_ca" : "Download SSL Certificate Authority (CA)",
"tools_download_ca_desc" : "Click here to download your SSL certificate authority (CA)",
"system_update" : "System update",
"system_upgrade" : "System upgrade",

View file

@ -194,6 +194,9 @@
"tools_adminpw_current_placeholder" : "Entrez le mot de passe actuel",
"tools_adminpw_new_placeholder" : "Entrez le nouveau mot de passe",
"tools_adminpw_confirm_placeholder" : "Confirmez le nouveau mot de passe",
"tools_download_ca" : "Télécharger l'autorité de certification SSL (CA)",
"tools_download_ca_desc" : "Cliquez ici pour télécharger l'autorité de certification SSL (CA)",
"system_update" : "Mettre à jour le système",
"system_upgrade" : "Mise à jour du système",

15
views/tools/tools_ca.ms Normal file
View file

@ -0,0 +1,15 @@
<div class="pull-left">
<a href="#/tools" class="btn btn-default slide back">
<span class="fa-chevron-left"></span> {{t 'tools'}}
</a>
</div>
<div class="clearfix"></div>
<h1 class="view-title">{{t 'tools_download_ca'}}</h1>
<div class="br"></div>
<div class="panel panel-default">
<div class="panel-body">
<p>{{t 'tools_download_ca_desc'}}</p>
<a href="ca.crt" class="btn btn-success">CA.crt</a>
</div>
</div>

View file

@ -17,5 +17,9 @@
<span class="fa-chevron-right pull-right"></span>
<h2 class="list-group-item-heading">{{t 'system_update'}}</h2>
</a>
<a href="#/tools/ca" class="list-group-item slide">
<span class="fa-chevron-right pull-right"></span>
<h2 class="list-group-item-heading">{{t 'tools_download_ca'}}</h2>
</a>
</div>