mirror of
https://github.com/myvesta/vesta
synced 2025-07-16 10:03:23 -07:00
JS updates. Added list / edit / add / delete functionality. Added Helpers methods.
This commit is contained in:
parent
e92b5909a0
commit
8dd2beb82e
7 changed files with 539 additions and 161 deletions
|
@ -3,16 +3,18 @@ App.i18n.EN = {};
|
|||
App.i18n.EN.incorrect_ip = 'Incorrect ip';
|
||||
App.i18n.EN.confirm = 'Are you sure?';
|
||||
App.i18n.getMessage = function(key)
|
||||
{
|
||||
{
|
||||
return 'undefined' != typeof App.i18n[App.Env.lang][key] ? App.i18n[App.Env.lang][key] : '';
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Constants
|
||||
App.Constants.IP_FORM_ID = 'ip-form';
|
||||
App.Constants.DNS_FORM_ID = 'dns-form';
|
||||
App.Constants.USER_FORM_ID = 'user-form';
|
||||
App.Constants.IP_FORM_ID = 'ip-form';
|
||||
App.Constants.DNS_FORM_ID = 'dns-form';
|
||||
App.Constants.USER_FORM_ID = 'user-form';
|
||||
App.Constants.WEB_DOMAIN_FORM_ID = 'web_domain-form';
|
||||
App.Constants.DB_FORM_ID = 'db-form';
|
||||
|
||||
App.Settings.ajax_url = 1;
|
||||
App.Settings.uri = location.href.replace('index.html', '');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue