mirror of
https://github.com/myvesta/vesta
synced 2025-07-16 10:03:23 -07:00
SLL certificates upload implementation step #1
This commit is contained in:
parent
994b0cfa14
commit
373c5f25b2
10 changed files with 52 additions and 171 deletions
|
@ -58,5 +58,23 @@ App.Pages.USER.new_entry = function(evt)
|
|||
var tpl = App.HTML.Build[build_method]({}, form_id);
|
||||
App.Ref.CONTENT.prepend(tpl);
|
||||
App.Helpers.updateScreen();
|
||||
$('#'+form_id).find('.ns-entry, .additional-ns-add').addClass('hidden');
|
||||
$('#'+form_id).find('.ns-entry, .additional-ns-add').addClass('hidden');
|
||||
}
|
||||
|
||||
App.Pages.WEB_DOMAIN.new_entry = function(evt)
|
||||
{
|
||||
var form_id = App.Constants[App.Env.world + '_FORM_ID'];
|
||||
$('#'+form_id).remove();
|
||||
var build_method = App.Env.getWorldName() + '_form';
|
||||
var tpl = App.HTML.Build[build_method]({}, form_id);
|
||||
App.Ref.CONTENT.prepend(tpl);
|
||||
App.Helpers.updateScreen();
|
||||
$('#'+form_id).find('.ns-entry, .additional-ns-add').addClass('hidden');
|
||||
var ssl_key_upload = App.HTML.Build.ssl_key_file();
|
||||
$('#'+form_id).find('.ssl-key-input-dummy:first').replaceWith(ssl_key_upload);
|
||||
}
|
||||
|
||||
App.Pages.WEB_DOMAIN.setSSL = function(content, type)
|
||||
{
|
||||
fb.warn(content);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue