diff --git a/data/templates/web/apache_default.descr b/data/templates/web/apache_default.descr
new file mode 100644
index 00000000..50a93940
--- /dev/null
+++ b/data/templates/web/apache_default.descr
@@ -0,0 +1,3 @@
+# Default template with basic php module restrictions.
+# Best performance. Not recomended for shared hosting.
+PHP='module' CGI='yes' ELOG='no'
diff --git a/data/templates/web/apache_default.stpl b/data/templates/web/apache_default.stpl
new file mode 100644
index 00000000..02916c79
--- /dev/null
+++ b/data/templates/web/apache_default.stpl
@@ -0,0 +1,49 @@
+
+
+ ServerName %domain_idn%
+ %alias_string%
+ ServerAdmin %email%
+ %docroot_string%
+ %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/
+ Alias /vstats/ %home%/%user%/web/%domain%/stats/
+ Alias /error/ %home%/%user%/web/%domain%/document_errors/
+ SuexecUserGroup %user% %group%
+ CustomLog /var/log/httpd/domains/%domain%.bytes bytes
+ CustomLog /var/log/httpd/domains/%domain%.log combined
+ %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
+
+ AllowOverride AuthConfig FileInfo Indexes Limit
+ SSLRequireSSL
+ Options +Includes -Indexes %cgi_option%
+ php_admin_value upload_tmp_dir %home%/%user%/tmp
+ php_admin_value upload_max_filesize 10M
+ php_admin_value max_execution_time 20
+ php_admin_value post_max_size 8M
+ php_admin_value memory_limit 32M
+ php_admin_flag mysql.allow_persistent off
+ php_admin_flag safe_mode off
+ php_admin_value session.save_path %home%/%user%/tmp
+ php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f %email%'
+
+
+ AllowOverride All
+
+ php_admin_value open_basedir %home%/%user%/web:%home%/%user%/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp
+ SSLEngine on
+ SSLVerifyClient none
+ SSLCertificateFile %ssl_crt%
+ SSLCertificateKeyFile %ssl_key%
+ %ssl_ca_str%SSLCertificateChainFile %ssl_ca%
+
+ RMode config
+ RUidGid %user% %group%
+ RGroups apache
+
+
+ AssignUserID %user% %group%
+
+
+ Include %home%/%user%/conf/shttpd.%domain%.conf*
+
+
+
diff --git a/data/templates/web/apache_default.tpl b/data/templates/web/apache_default.tpl
new file mode 100644
index 00000000..d91bc321
--- /dev/null
+++ b/data/templates/web/apache_default.tpl
@@ -0,0 +1,43 @@
+
+
+ ServerName %domain_idn%
+ %alias_string%
+ ServerAdmin %email%
+ %docroot_string%
+ %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/
+ Alias /vstats/ %home%/%user%/web/%domain%/stats/
+ Alias /error/ %home%/%user%/web/%domain%/document_errors/
+ SuexecUserGroup %user% %group%
+ CustomLog /var/log/httpd/domains/%domain%.bytes bytes
+ CustomLog /var/log/httpd/domains/%domain%.log combined
+ %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
+
+ AllowOverride AuthConfig FileInfo Indexes Limit
+ Options +Includes -Indexes %cgi_option%
+ php_admin_value upload_tmp_dir %home%/%user%/tmp
+ php_admin_value upload_max_filesize 10M
+ php_admin_value max_execution_time 20
+ php_admin_value post_max_size 8M
+ php_admin_value memory_limit 32M
+ php_admin_flag mysql.allow_persistent off
+ php_admin_flag safe_mode off
+ php_admin_value session.save_path %home%/%user%/tmp
+ php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f %email%'
+
+
+ AllowOverride All
+
+ php_admin_value open_basedir %home%/%user%/web:%home%/%user%/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp
+
+ RMode config
+ RUidGid %user% %group%
+ RGroups apache
+
+
+ AssignUserID %user% %group%
+
+
+ Include %home%/%user%/conf/httpd.%domain%.conf*
+
+
+
diff --git a/data/templates/web/apache_phpcgi.descr b/data/templates/web/apache_phpcgi.descr
new file mode 100644
index 00000000..13e82645
--- /dev/null
+++ b/data/templates/web/apache_phpcgi.descr
@@ -0,0 +1,3 @@
+# Template with php as cgi for better security.
+# (it use post instal script)
+PHP='cgi' CGI='yes' ELOG='no'
diff --git a/data/templates/web/apache_phpcgi.sh b/data/templates/web/apache_phpcgi.sh
new file mode 100755
index 00000000..6565e103
--- /dev/null
+++ b/data/templates/web/apache_phpcgi.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+# Adding php wrapper
+user="$1"
+domain="$2"
+ip="$3"
+home_dir="$4"
+docroot="$5"
+
+wrapper_script='#!/usr/bin/php-cgi -cphp5-cgi.ini'
+wrapper_file="$home_dir/$user/web/$domain/cgi-bin/php"
+
+echo "$wrapper_script" > $wrapper_file
+chown $user:$user $wrapper_file
+chmod -f 751 $wrapper_file
+
+exit 0
diff --git a/data/templates/web/apache_phpcgi.stpl b/data/templates/web/apache_phpcgi.stpl
new file mode 100644
index 00000000..9664b040
--- /dev/null
+++ b/data/templates/web/apache_phpcgi.stpl
@@ -0,0 +1,35 @@
+
+
+ ServerName %domain_idn%
+ %alias_string%
+ ServerAdmin %email%
+ %docroot_string%
+ %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/
+ Alias /vstats/ %home%/%user%/web/%domain%/stats/
+ Alias /error/ %home%/%user%/web/%domain%/document_errors/
+ SuexecUserGroup %user% %group%
+ CustomLog /var/log/httpd/domains/%domain%.bytes bytes
+ CustomLog /var/log/httpd/domains/%domain%.log combined
+ %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
+
+ AllowOverride AuthConfig FileInfo Indexes Limit
+ SSLRequireSSL
+ Options +Includes -Indexes %cgi_option%
+ php_admin_flag engine off
+ Action phpcgi-script /cgi-bin/php
+ AddHandler phpcgi-script .php
+
+
+ AllowOverride All
+
+ php_admin_value open_basedir %home%/%user%/web:%home%/%user%/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp
+ SSLEngine on
+ SSLVerifyClient none
+ SSLCertificateFile %ssl_crt%
+ SSLCertificateKeyFile %ssl_key%
+ %ssl_ca_str%SSLCertificateChainFile %ssl_ca%
+
+ Include %home%/%user%/conf/shttpd.%domain%.conf*
+
+
+
diff --git a/data/templates/web/apache_phpcgi.tpl b/data/templates/web/apache_phpcgi.tpl
new file mode 100644
index 00000000..96784083
--- /dev/null
+++ b/data/templates/web/apache_phpcgi.tpl
@@ -0,0 +1,27 @@
+
+
+ ServerName %domain_idn%
+ %alias_string%
+ ServerAdmin %email%
+ %docroot_string%
+ %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/
+ Alias /vstats/ %home%/%user%/web/%domain%/stats/
+ Alias /error/ %home%/%user%/web/%domain%/document_errors/
+ SuexecUserGroup %user% %group%
+ CustomLog /var/log/httpd/domains/%domain%.bytes bytes
+ CustomLog /var/log/httpd/domains/%domain%.log combined
+ %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
+
+ AllowOverride AuthConfig FileInfo Indexes Limit
+ Options +Includes -Indexes %cgi_option%
+ php_admin_flag engine off
+ Action phpcgi-script /cgi-bin/php
+ AddHandler phpcgi-script .php
+
+
+ AllowOverride All
+
+ Include %home%/%user%/conf/httpd.%domain%.conf*
+
+
+
diff --git a/data/templates/web/apache_phpfcgid.descr b/data/templates/web/apache_phpfcgid.descr
new file mode 100644
index 00000000..5607994a
--- /dev/null
+++ b/data/templates/web/apache_phpfcgid.descr
@@ -0,0 +1,3 @@
+# Template with php as FastCGI for best performance and security.
+# (it use post instal script)
+PHP='fcgid' CGI='yes' ELOG='no'
diff --git a/data/templates/web/apache_phpfcgid.sh b/data/templates/web/apache_phpfcgid.sh
new file mode 100755
index 00000000..d044d3f1
--- /dev/null
+++ b/data/templates/web/apache_phpfcgid.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+# Adding php wrapper
+user="$1"
+domain="$2"
+ip="$3"
+home_dir="$4"
+docroot="$5"
+
+wrapper_script="#!/bin/sh
+PHPRC=/etc/
+export PHPRC
+export PHP_FCGI_MAX_REQUESTS=1000
+export PHP_FCGI_CHILDREN=8
+exec /usr/bin/php-cgi
+"
+wrapper_file="$home_dir/$user/web/$domain/cgi-bin/fcgi-starter"
+
+echo "$wrapper_script" > $wrapper_file
+chown $user:$user $wrapper_file
+chmod -f 751 $wrapper_file
+
+exit 0
diff --git a/data/templates/web/apache_phpfcgid.stpl b/data/templates/web/apache_phpfcgid.stpl
new file mode 100644
index 00000000..6fe5b6e9
--- /dev/null
+++ b/data/templates/web/apache_phpfcgid.stpl
@@ -0,0 +1,35 @@
+
+
+ ServerName %domain_idn%
+ %alias_string%
+ ServerAdmin %email%
+ %docroot_string%
+ %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/
+ Alias /vstats/ %home%/%user%/web/%domain%/stats/
+ Alias /error/ %home%/%user%/web/%domain%/document_errors/
+ SuexecUserGroup %user% %group%
+ CustomLog /var/log/httpd/domains/%domain%.bytes bytes
+ CustomLog /var/log/httpd/domains/%domain%.log combined
+ %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
+
+ AllowOverride AuthConfig FileInfo Indexes Limit
+ SSLRequireSSL
+ Options +Includes -Indexes %cgi_option%
+ php_admin_flag engine off
+ AddHandler fcgid-script .php
+ FCGIWrapper %home%/%user%/web/%domain%/cgi-bin/fcgi-starter .php
+
+
+ AllowOverride All
+
+ php_admin_value open_basedir %home%/%user%/web:%home%/%user%/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp
+ SSLEngine on
+ SSLVerifyClient none
+ SSLCertificateFile %ssl_crt%
+ SSLCertificateKeyFile %ssl_key%
+ %ssl_ca_str%SSLCertificateChainFile %ssl_ca%
+
+ Include %home%/%user%/conf/shttpd.%domain%.conf*
+
+
+
diff --git a/data/templates/web/apache_phpfcgid.tpl b/data/templates/web/apache_phpfcgid.tpl
new file mode 100644
index 00000000..617c70cf
--- /dev/null
+++ b/data/templates/web/apache_phpfcgid.tpl
@@ -0,0 +1,27 @@
+
+
+ ServerName %domain_idn%
+ %alias_string%
+ ServerAdmin %email%
+ %docroot_string%
+ %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/
+ Alias /vstats/ %home%/%user%/web/%domain%/stats/
+ Alias /error/ %home%/%user%/web/%domain%/document_errors/
+ SuexecUserGroup %user% %group%
+ CustomLog /var/log/httpd/domains/%domain%.bytes bytes
+ CustomLog /var/log/httpd/domains/%domain%.log combined
+ %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
+
+ AllowOverride AuthConfig FileInfo Indexes Limit
+ Options +Includes -Indexes %cgi_option%
+ php_admin_flag engine off
+ AddHandler fcgid-script .php
+ FCGIWrapper %home%/%user%/web/%domain%/cgi-bin/fcgi-starter .php
+
+
+ AllowOverride All
+
+ Include %home%/%user%/conf/httpd.%domain%.conf*
+
+
+
diff --git a/data/templates/web/apache_unlim.descr b/data/templates/web/apache_unlim.descr
new file mode 100644
index 00000000..95a96802
--- /dev/null
+++ b/data/templates/web/apache_unlim.descr
@@ -0,0 +1,2 @@
+# Almost unlimited php options and vhost configuration.
+PHP='module' CGI='yes' ELOG='yes'
diff --git a/data/templates/web/apache_unlim.stpl b/data/templates/web/apache_unlim.stpl
new file mode 100644
index 00000000..7df4a2ed
--- /dev/null
+++ b/data/templates/web/apache_unlim.stpl
@@ -0,0 +1,50 @@
+
+
+ ServerName %domain_idn%
+ %alias_string%
+ ServerAdmin %email%
+ %docroot_string%
+ %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/
+ Alias /vstats/ %home%/%user%/web/%domain%/stats/
+ Alias /error/ %home%/%user%/web/%domain%/document_errors/
+ SuexecUserGroup %user% %group%
+ CustomLog /var/log/httpd/domains/%domain%.bytes bytes
+ CustomLog /var/log/httpd/domains/%domain%.log combined
+ %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
+
+ AllowOverride All
+ SSLRequireSSL
+ Options +Includes -Indexes %cgi_option%
+ php_admin_value upload_tmp_dir %home%/%user%/tmp
+ php_admin_value upload_max_filesize 60M
+ php_admin_value max_execution_time 60
+ php_admin_value post_max_size 60M
+ php_admin_value memory_limit 60M
+ php_admin_flag mysql.allow_persistent off
+ php_admin_flag safe_mode off
+ php_admin_value session.save_path %home%/%user%/tmp
+ php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f %email%'
+
+
+ AllowOverride All
+
+ php_admin_value open_basedir none
+ SSLEngine on
+ SSLVerifyClient none
+ SSLCertificateFile %ssl_crt%
+ SSLCertificateKeyFile %ssl_key%
+ %ssl_ca_str%SSLCertificateChainFile %ssl_ca%
+
+
+ RMode config
+ RUidGid %user% %group%
+ RGroups apache
+
+
+ AssignUserID %user% %group%
+
+
+ Include %home%/%user%/conf/shttpd.%domain%.conf*
+
+
+
diff --git a/data/templates/web/apache_unlim.tpl b/data/templates/web/apache_unlim.tpl
new file mode 100644
index 00000000..35654011
--- /dev/null
+++ b/data/templates/web/apache_unlim.tpl
@@ -0,0 +1,44 @@
+
+
+ ServerName %domain_idn%
+ %alias_string%
+ ServerAdmin %email%
+ %docroot_string%
+ %cgi%ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/
+ Alias /vstats/ %home%/%user%/web/%domain%/stats/
+ Alias /error/ %home%/%user%/web/%domain%/document_errors/
+ SuexecUserGroup %user% %group%
+ CustomLog /var/log/httpd/domains/%domain%.bytes bytes
+ CustomLog /var/log/httpd/domains/%domain%.log combined
+ %elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
+
+ AllowOverride All
+ Options +Includes -Indexes %cgi_option%
+ php_admin_value upload_tmp_dir %home%/%user%/tmp
+ php_admin_value upload_max_filesize 60M
+ php_admin_value max_execution_time 60
+ php_admin_value post_max_size 60M
+ php_admin_value memory_limit 60M
+ php_admin_flag mysql.allow_persistent off
+ php_admin_flag safe_mode off
+ php_admin_value session.save_path %home%/%user%/tmp
+ php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f %email%'
+
+
+ AllowOverride All
+
+ php_admin_value open_basedir none
+
+
+ RMode config
+ RUidGid %user% %group%
+ RGroups apache
+
+
+ AssignUserID %user% %group%
+
+
+ Include %home%/%user%/conf/httpd.%domain%.conf*
+
+
+
diff --git a/data/templates/web/awstats.tpl b/data/templates/web/awstats.tpl
new file mode 100644
index 00000000..8a48c696
--- /dev/null
+++ b/data/templates/web/awstats.tpl
@@ -0,0 +1,133 @@
+LogFile="/var/log/httpd/domains/%domain%.log"
+LogType=W
+LogFormat=1
+LogSeparator=" "
+SiteDomain="%domain_idn%"
+HostAliases="%alias_idn%"
+DirData="%home%/%user%/web/%domain%/stats"
+DirCgi="/stats"
+DirIcons="/stats/icon"
+AllowToUpdateStatsFromBrowser=0
+AllowFullYearView=2
+EnableLockForUpdate=1
+DNSStaticCacheFile="dnscache.txt"
+DNSLastUpdateCacheFile="dnscachelastupdate.txt"
+SkipDNSLookupFor=""
+AllowAccessFromWebToAuthenticatedUsersOnly=0
+AllowAccessFromWebToFollowingAuthenticatedUsers=""
+AllowAccessFromWebToFollowingIPAddresses=""
+CreateDirDataIfNotExists=0
+BuildHistoryFormat=text
+BuildReportFormat=html
+SaveDatabaseFilesWithPermissionsForEveryone=0
+PurgeLogFile=0
+ArchiveLogRecords=0
+KeepBackupOfHistoricFiles=1
+DefaultFile="index.php index.html"
+SkipHosts="127.0.0.1
+SkipUserAgents=""
+SkipFiles=""
+SkipReferrersBlackList=""
+OnlyHosts=""
+OnlyUserAgents=""
+OnlyUsers=""
+OnlyFiles=""
+NotPageList="css js class gif jpg jpeg png bmp ico rss xml swf"
+ValidHTTPCodes="200 304"
+ValidSMTPCodes="1 250"
+AuthenticatedUsersNotCaseSensitive=0
+URLNotCaseSensitive=0
+URLWithAnchor=0
+URLQuerySeparators="?;"
+URLWithQuery=0
+URLWithQueryWithOnlyFollowingParameters=""
+URLWithQueryWithoutFollowingParameters=""
+URLReferrerWithQuery=0
+WarningMessages=1
+ErrorMessages=""
+DebugMessages=0
+NbOfLinesForCorruptedLog=50
+WrapperScript=""
+DecodeUA=0
+MiscTrackerUrl="/js/awstats_misc_tracker.js"
+UseFramesWhenCGI=1
+DetailedReportsOnNewWindows=1
+Expires=3600
+MaxRowsInHTMLOutput=1000
+Lang="auto"
+DirLang="./lang"
+ShowMenu=1
+ShowSummary=UVPHB
+ShowMonthStats=UVPHB
+ShowDaysOfMonthStats=VPHB
+ShowDaysOfWeekStats=PHB
+ShowHoursStats=PHB
+ShowDomainsStats=PHB
+ShowHostsStats=PHBL
+ShowAuthenticatedUsers=0
+ShowRobotsStats=HBL
+ShowWormsStats=0
+ShowEMailSenders=0
+ShowEMailReceivers=0
+ShowSessionsStats=1
+ShowPagesStats=PBEX
+ShowFileTypesStats=HB
+ShowFileSizesStats=0
+ShowDownloadsStats=HB
+ShowOSStats=1
+ShowBrowsersStats=1
+ShowScreenSizeStats=0
+ShowOriginStats=PH
+ShowKeyphrasesStats=1
+ShowKeywordsStats=1
+ShowMiscStats=a
+ShowHTTPErrorsStats=1
+ShowSMTPErrorsStats=0
+ShowClusterStats=0
+AddDataArrayMonthStats=1
+AddDataArrayShowDaysOfMonthStats=1
+AddDataArrayShowDaysOfWeekStats=1
+AddDataArrayShowHoursStats=1
+IncludeInternalLinksInOriginSection=0
+MaxNbOfDomain = 10
+MinHitDomain = 1
+MaxNbOfHostsShown = 10
+MinHitHost = 1
+MaxNbOfLoginShown = 10
+MinHitLogin = 1
+MaxNbOfRobotShown = 10
+MinHitRobot = 1
+MaxNbOfDownloadsShown = 10
+MinHitDownloads = 1
+MaxNbOfPageShown = 10
+MinHitFile = 1
+MaxNbOfOsShown = 10
+MinHitOs = 1
+MaxNbOfBrowsersShown = 10
+MinHitBrowser = 1
+MaxNbOfScreenSizesShown = 5
+MinHitScreenSize = 1
+MaxNbOfWindowSizesShown = 5
+MinHitWindowSize = 1
+MaxNbOfRefererShown = 10
+MinHitRefer = 1
+MaxNbOfKeyphrasesShown = 10
+MinHitKeyphrase = 1
+MaxNbOfKeywordsShown = 10
+MinHitKeyword = 1
+MaxNbOfEMailsShown = 20
+MinHitEMail = 1
+FirstDayOfWeek=0
+ShowFlagLinks=""
+ShowLinksOnUrl=1
+UseHTTPSLinkForUrl=""
+MaxLengthOfShownURL=64
+HTMLHeadSection=""
+HTMLEndSection=""
+MetaRobot=0
+Logo="awstats_logo6.png"
+LogoLink="http://awstats.sourceforge.net"
+BarWidth = 260
+BarHeight = 90
+StyleSheet=""
+ExtraTrackedRowsLimit=500
diff --git a/data/templates/web/awstats_index.tpl b/data/templates/web/awstats_index.tpl
new file mode 100644
index 00000000..929232d3
--- /dev/null
+++ b/data/templates/web/awstats_index.tpl
@@ -0,0 +1,10 @@
+
+
+
+ Awstats log analyzer
+
+
+
+
+
+
diff --git a/data/templates/web/awstats_nav.tpl b/data/templates/web/awstats_nav.tpl
new file mode 100644
index 00000000..385f9418
--- /dev/null
+++ b/data/templates/web/awstats_nav.tpl
@@ -0,0 +1,23 @@
+
+
+ Awstats navigation
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/data/templates/web/email_reset_password.tpl b/data/templates/web/email_reset_password.tpl
new file mode 100644
index 00000000..0e1161fa
--- /dev/null
+++ b/data/templates/web/email_reset_password.tpl
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+ Vesta received a request to reset the password for your account %FIRSTNAME% %LASTNAME% (%LOGIN%)?
+
+
+ If you want to reset your password, click on the link below (or copy and paste the URL into your browser):
+
+
+
+ If you don't want to reset your password, please ignore this message.
+ Your password will not be reset.
+ If you have any concerns, please contact us at support@vestacp.com.
+
+
+ VestaCP
+
+
+ Please do not reply to this message; it was sent from an unmonitored email address.
+
+
+
diff --git a/data/templates/web/ngingx_ip.tpl b/data/templates/web/ngingx_ip.tpl
new file mode 100644
index 00000000..37b73396
--- /dev/null
+++ b/data/templates/web/ngingx_ip.tpl
@@ -0,0 +1,9 @@
+server {
+ listen %ip%:%proxy_port% default;
+ server_name _;
+ #access_log /var/log/nginx/%ip%.log main;
+ location / {
+ proxy_pass http://%ip%:%web_port%;
+ }
+}
+
diff --git a/data/templates/web/ngingx_vhost_default.descr b/data/templates/web/ngingx_vhost_default.descr
new file mode 100644
index 00000000..806cbce7
--- /dev/null
+++ b/data/templates/web/ngingx_vhost_default.descr
@@ -0,0 +1,2 @@
+# Default template for static content speed optimization.
+# Best in most cases.
diff --git a/data/templates/web/ngingx_vhost_default.stpl b/data/templates/web/ngingx_vhost_default.stpl
new file mode 100644
index 00000000..f4696294
--- /dev/null
+++ b/data/templates/web/ngingx_vhost_default.stpl
@@ -0,0 +1,36 @@
+server {
+ listen %ip%:%proxy_ssl_port%;
+ server_name %domain_idn% %alias_idn%;
+ ssl on;
+ ssl_certificate %ssl_pem%;
+ ssl_certificate_key %ssl_key%;
+ %elog%error_log /var/log/httpd/domains/%domain%.error.log error;
+
+ location / {
+ %proxy_string%
+ location ~* ^.+\.(%nginx_extentions%)$ {
+ root %docroot%;
+ access_log /var/log/httpd/domains/%domain%.log combined;
+ access_log /var/log/httpd/domains/%domain%.bytes bytes;
+ expires max;
+ try_files $uri @fallback;
+ }
+ }
+
+ location /error/ {
+ alias %home%/%user%/web/%domain%/document_errors/;
+ }
+
+ location @fallback {
+ proxy_pass https://%ip%:%web_ssl_port%;
+ }
+
+ location ~ /\.ht {return 404;}
+ location ~ /\.svn/ {return 404;}
+ location ~ /\.git/ {return 404;}
+ location ~ /\.hg/ {return 404;}
+ location ~ /\.bzr/ {return 404;}
+
+ include %home%/%user%/conf/snginx.%domain%.conf*;
+}
+
diff --git a/data/templates/web/ngingx_vhost_default.tpl b/data/templates/web/ngingx_vhost_default.tpl
new file mode 100644
index 00000000..2646c311
--- /dev/null
+++ b/data/templates/web/ngingx_vhost_default.tpl
@@ -0,0 +1,33 @@
+server {
+ listen %ip%:%proxy_port%;
+ server_name %domain_idn% %alias_idn%;
+ %elog%error_log /var/log/httpd/domains/%domain%.error.log error;
+
+ location / {
+ %proxy_string%
+ location ~* ^.+\.(%nginx_extentions%)$ {
+ root %docroot%;
+ access_log /var/log/httpd/domains/%domain%.log combined;
+ access_log /var/log/httpd/domains/%domain%.bytes bytes;
+ expires max;
+ try_files $uri @fallback;
+ }
+ }
+
+ location /error/ {
+ alias %home%/%user%/web/%domain%/document_errors/;
+ }
+
+ location @fallback {
+ proxy_pass http://%ip%:%web_port%;
+ }
+
+ location ~ /\.ht {return 404;}
+ location ~ /\.svn/ {return 404;}
+ location ~ /\.git/ {return 404;}
+ location ~ /\.hg/ {return 404;}
+ location ~ /\.bzr/ {return 404;}
+
+ include %home%/%user%/conf/nginx.%domain%.conf*;
+}
+
diff --git a/data/templates/web/skel/document_errors/403.html b/data/templates/web/skel/document_errors/403.html
new file mode 100644
index 00000000..8547c106
--- /dev/null
+++ b/data/templates/web/skel/document_errors/403.html
@@ -0,0 +1,29 @@
+
+
+ 403 — Forbidden
+
+
+
+
+
+
+ %domain%
+
+ 403
+ Forbidden
+
+ Unfortunately, you do not have permission to view this
+
+
+
+
diff --git a/data/templates/web/skel/document_errors/404.html b/data/templates/web/skel/document_errors/404.html
new file mode 100644
index 00000000..91d8331f
--- /dev/null
+++ b/data/templates/web/skel/document_errors/404.html
@@ -0,0 +1,28 @@
+
+
+ 404 — Not Found
+
+
+
+
+
+
+ %domain%
+ 404
+ Page Not Found
+
+ It seems that the page you were trying to reach does not exist anymore, or maybe it has just moved.
+ You can start again from the
home or go back to
previous page .
+
+
+
diff --git a/data/templates/web/skel/document_errors/50x.html b/data/templates/web/skel/document_errors/50x.html
new file mode 100644
index 00000000..b5ae9a50
--- /dev/null
+++ b/data/templates/web/skel/document_errors/50x.html
@@ -0,0 +1,29 @@
+
+
+ 500 — Internal Sever Error
+
+
+
+
+
+
+ %domain%
+
+ 500
+ Internal Sever Error
+
+ Sorry, something went wrong :(
+
+
+
+
diff --git a/data/templates/web/skel/public_html/index.html b/data/templates/web/skel/public_html/index.html
new file mode 100644
index 00000000..1a191891
--- /dev/null
+++ b/data/templates/web/skel/public_html/index.html
@@ -0,0 +1,29 @@
+
+
+ %domain% — Coming Soon
+
+
+
+
+
+
+ %domain%
+
+
+
+
+
diff --git a/data/templates/web/skel/public_html/robots.txt b/data/templates/web/skel/public_html/robots.txt
new file mode 100644
index 00000000..00ee83dc
--- /dev/null
+++ b/data/templates/web/skel/public_html/robots.txt
@@ -0,0 +1,3 @@
+# vestacp autogenerated robots.txt
+User-agent: *
+Crawl-delay: 10
diff --git a/data/templates/web/skel/public_shtml/index.html b/data/templates/web/skel/public_shtml/index.html
new file mode 100644
index 00000000..1a191891
--- /dev/null
+++ b/data/templates/web/skel/public_shtml/index.html
@@ -0,0 +1,29 @@
+
+
+ %domain% — Coming Soon
+
+
+
+
+
+
+ %domain%
+
+
+
+
+
diff --git a/data/templates/web/skel/public_shtml/robots.txt b/data/templates/web/skel/public_shtml/robots.txt
new file mode 100644
index 00000000..00ee83dc
--- /dev/null
+++ b/data/templates/web/skel/public_shtml/robots.txt
@@ -0,0 +1,3 @@
+# vestacp autogenerated robots.txt
+User-agent: *
+Crawl-delay: 10
diff --git a/data/templates/web/webalizer.tpl b/data/templates/web/webalizer.tpl
new file mode 100644
index 00000000..2e4fee3f
--- /dev/null
+++ b/data/templates/web/webalizer.tpl
@@ -0,0 +1,110 @@
+HostName %domain_idn%
+LogFile /var/log/httpd/domains/%domain%.log
+OutputDir %home%/%user%/web/%domain%/stats
+HistoryName %home%/%user%/web/%domain%/stats/%domain%.hist
+Incremental yes
+IncrementalName %home%/%user%/web/%domain%/stats/%domain%.current
+PageType htm*
+PageType cgi
+PageType php
+PageType shtml
+DNSCache /var/lib/webalizer/dns_cache.db
+DNSChildren 10
+Quiet yes
+FoldSeqErr yes
+IndexAlias index.php
+HideURL *.gif
+HideURL *.GIF
+HideURL *.jpg
+HideURL *.JPG
+HideURL *.png
+HideURL *.PNG
+HideURL *.ra
+SearchEngine abcsearch. terms=
+SearchEngine alexa. q=
+SearchEngine alltheweb. q=
+SearchEngine alltheweb. query=
+SearchEngine alot. q=
+SearchEngine altavista. q=
+SearchEngine aolsearch. query=
+SearchEngine aport.ru r=
+SearchEngine ask. q=
+SearchEngine atlas.cz q=
+SearchEngine bbc. q=
+SearchEngine bing. q=
+SearchEngine blingo. q=
+SearchEngine blogs.yandex.ru text=
+SearchEngine btopenworld query=
+SearchEngine buscador.ya.com q=
+SearchEngine busca. q=
+SearchEngine business. query=
+SearchEngine centrum.cz q=
+SearchEngine chiff. q=
+SearchEngine clusty. query=
+SearchEngine comcast. q=
+SearchEngine crawler. q=
+SearchEngine cuil. q=
+SearchEngine dmoz. search=
+SearchEngine dogpile.com q=
+SearchEngine dpxml qkw=
+SearchEngine eureka. searchword=
+SearchEngine euroseek. string=
+SearchEngine exalead. q=
+SearchEngine excite search=
+SearchEngine ezilon. q=
+SearchEngine fastbrowsersearch. q=
+SearchEngine feedster.com q=
+SearchEngine fireball.de q=
+SearchEngine fireball. keyword=
+SearchEngine freeserve. q=
+SearchEngine gigablast. q=
+SearchEngine gogo.ru q=
+SearchEngine go.mail.ru q=
+SearchEngine google. q=
+SearchEngine hakia. q=
+SearchEngine hotbot. query=
+SearchEngine infoseek. qt=
+SearchEngine iwon searchfor=
+SearchEngine ixquick.com query=
+SearchEngine joeant. keywords=
+SearchEngine jyxo.cz s=
+SearchEngine looksmart. key=
+SearchEngine lycos. query=
+SearchEngine mamma. q=
+SearchEngine metacrawler q=
+SearchEngine msn. MT=
+SearchEngine msxml qkw=
+SearchEngine mysearch. searchfor=
+SearchEngine mywebsearch. searchfor=
+SearchEngine netscape. q=
+SearchEngine nigma.ru q=
+SearchEngine northernlight. qr=
+SearchEngine ntlworld. q=
+SearchEngine orange. q=
+SearchEngine overture. Keywords=
+SearchEngine punto.ru text=
+SearchEngine rambler. keyword=
+SearchEngine search.aol. q=
+SearchEngine search.babylon. q=
+SearchEngine search.centrum. phrase=
+SearchEngine search.conduit. q=
+SearchEngine search.earthlink q=
+SearchEngine search.icq. q=
+SearchEngine search.live.com q=
+SearchEngine search.rambler.ru words=
+SearchEngine search.winamp. q=
+SearchEngine searchy. q=
+SearchEngine seznam.cz w=
+SearchEngine snap. query=
+SearchEngine teoma. q=
+SearchEngine teradex.com q=
+SearchEngine ukplus key=
+SearchEngine verizon. q=
+SearchEngine virginmedia. q=
+SearchEngine voila. rdata=
+SearchEngine webcrawler searchText=
+SearchEngine web.search.naver. query=
+SearchEngine wisenut q=
+SearchEngine yahoo. p=
+SearchEngine yandex. text=
+SearchEngine yodao. q=
diff --git a/web/INSTALL.txt b/web/INSTALL.txt
deleted file mode 100644
index ea3ad0d0..00000000
--- a/web/INSTALL.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-INSTALLATION
-------------
-
-SYSTEM REQUIREMENTS
--------------------
-
-DEVELOPMENT VERSIONS
---------------------
-
-CONFIGURING THE INCLUDE PATH
-----------------------------
-
-GETTING STARTED
----------------
diff --git a/web/LICENSE.txt b/web/LICENSE.txt
deleted file mode 100644
index fc62e9c1..00000000
--- a/web/LICENSE.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Copyright (c) 2005-2010, http://www.vestacp.com
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- * Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
- * Neither the name of XXX xxx USA, Inc. nor the names of its
- contributors may be used to endorse or promote products derived from this
- software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/web/README.txt b/web/README.txt
deleted file mode 100644
index 960888e2..00000000
--- a/web/README.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-RELEASE INFORMATION
----------------
-
-NEW FEATURES
-------------
-
-SYSTEM REQUIREMENTS
--------------------
-
-INSTALLATION
-------------
-Please see INSTALL.txt.
-
-QUESTIONS AND FEEDBACK
-----------------------
-
-LICENSE
--------
-You can find a copy of this license in LICENSE.txt.
-
-ACKNOWLEDGEMENTS
-----------------
diff --git a/web/add/user/index.php b/web/add/user/index.php
new file mode 100644
index 00000000..caadabcf
--- /dev/null
+++ b/web/add/user/index.php
@@ -0,0 +1,36 @@
+image = imagecreatetruecolor($this->width, 50);
- $this->color1 = imagecolorallocate($this->image, 57, 58, 52);
- $this->color2 = imagecolorallocate($this->image, 45, 44, 40);
- $this->color3 = imagecolorallocate($this->image, 255, 255, 255);
- imagefilledrectangle($this->image, 0, 0, 249, 249, $this->color1);
- }
-
-
- public function generateImage($offset = 0)
- {
- $values = array(
- $offset, 15,
- $offset, 40,
- $offset + 14, 32,
- $offset + 14, 8,
- $offset, 15,
- $offset, 15
- );
-
- imagefilledpolygon($this->image, $values, 6, $this->color2);
- }
-
- public function draw()
- {
- $this->generateKeyword();
- for ($i = 0; $i < strlen($this->keyword) -1; $i++) {
- $this->generateImage($i * 15);
- }
-
- $font_file = dirname(__FILE__).DIRECTORY_SEPARATOR.'css'.DIRECTORY_SEPARATOR.'arialbd.ttf';
- imagefttext($this->image, 17, 0, 2, 31, $this->color3, $font_file, $this->keyword);
- $this->slice();
- }
-
- public function slice()
- {
- $width = 15;
- $height = 50;
- $dest = imagecreatetruecolor(15 * $this->key_len + 2 * $this->key_len + 8, $height);
- imagefilledrectangle($dest, 0, 0, 249, 249, $this->color1);
-
- for ($i = 0; $i < $this->key_len; $i++) {
- $dest_x = $i == 0 ? $i * 15 : $i * 15 + $i * 4;
- imagecopy($dest, $this->image, $dest_x, 0, $i * 15, 0, $width, $height);
- }
-
- header('Content-type: image/jpeg');
- imagepng($dest);
- }
-
- /**
- *
- */
- protected function generateKeyword()
- {
- $this->keyword = '';
- for ($i = 0; $i < $this->key_len; $i++) {
- $this->keyword .= $this->chars[rand(0, strlen($this->chars)-1)];
- }
-
- $_SESSION['captcha_key'] = $this->keyword;
- return $this->keyword;
- }
-
-}
-
-$c = new Captcha();
-$c->draw();
-
-
-
-?>
diff --git a/web/change_password.php b/web/change_password.php
deleted file mode 100644
index 745019b8..00000000
--- a/web/change_password.php
+++ /dev/null
@@ -1,222 +0,0 @@
-renderError('General error');
- }
-
- $key = addslashes(htmlspecialchars($_GET['v']));
-
- $cmd = Config::get('sudo_path')." ".Config::get('vesta_functions_path').Vesta::V_LIST_SYS_USERS." 'json'";
- exec($cmd, $output, $return);
-
- $users = json_decode(implode('', $output), true);
-
- $email_matched_count = array();
-
- foreach ($users as $username => $user) {
- if ($user['RKEY'] == trim($key)) {
- $email_matched_count[] = array_merge(array('USERNAME' => $username), $user);
- }
- }
-
- if (isset($_POST['action']) && $_POST['action'] == 'change') {
- return $this->doChangePassword($email_matched_count);
- }
-
- return $this->showResetForm();
- }
-
- protected function doChangePassword($users)
- {
- if ($_POST['secret_code'] != $_POST['confirm_secret_code']) {
- return $this->showResetForm('Passwords don\'t match');
- }
-
- if (strlen($_POST['secret_code']) < 6) {
- return $this->showResetForm('Passwords is too short');
- }
-
- if (strlen($_POST['secret_code']) > 255) {
- return $this->showResetForm('Passwords is too long');
- }
-
- $success = true;
- foreach ($users as $user) {
- $cmd = Config::get('sudo_path')." ".Config::get('vesta_functions_path').Vesta::V_CHANGE_SYS_USER_PASSWORD." ".$user['USERNAME']." ".$_POST['secret_code'];
- exec($cmd, $output, $return);
-
- if (!$return) {
- $success = false;
- }
- }
-
- if (!$success) {
- $main = new MAIN();
- $about = json_decode($main->aboutExecute(), TRUE);
-
- return $this->showResetForm('Something went wrong. Please contact support: '.$about['data']['company_email']);
- }
-
- return $this->showSuccessTpl();
- }
-
- public function showSuccessTpl()
- {
- $main = new MAIN();
- $about = json_decode($main->aboutExecute(), TRUE);
- $current_year = date("Y");
-
- print <<
-
-
- Vesta Control Panel
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-HTML;
-
- }
-
- public function showResetForm($error_msg = '')
- {
- if (!empty($error_msg)) {
- $error_msg = ''.$error_msg.'
';
- }
-
- $main = new MAIN();
- $about = json_decode($main->aboutExecute(), TRUE);
-
- $current_year = date("Y");
-
- print <<
-
-
- Vesta Control Panel
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-HTML;
- }
-
- public function renderError($message)
- {
- print <<dispatch();
-
-?>
\ No newline at end of file
diff --git a/web/css/arialbd.ttf b/web/css/arialbd.ttf
deleted file mode 100644
index d0d857e2..00000000
Binary files a/web/css/arialbd.ttf and /dev/null differ
diff --git a/web/css/jquery-custom-dialogs.css b/web/css/jquery-custom-dialogs.css
new file mode 100644
index 00000000..223167ee
--- /dev/null
+++ b/web/css/jquery-custom-dialogs.css
@@ -0,0 +1,548 @@
+/*!
+ * jQuery UI CSS Framework 1.8.20
+ *
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Theming/API
+ */
+
+/* Layout helpers
+----------------------------------*/
+.ui-helper-hidden { display: none; }
+.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
+.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
+.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
+.ui-helper-clearfix:after { clear: both; }
+.ui-helper-clearfix { zoom: 1; }
+.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
+
+
+/* Interaction Cues
+----------------------------------*/
+.ui-state-disabled { cursor: default !important; }
+
+
+/* Icons
+----------------------------------*/
+
+/* states and images */
+.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
+
+
+/* Misc visuals
+----------------------------------*/
+
+/* Overlays */
+.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
+
+
+/*!
+ * jQuery UI CSS Framework 1.8.20
+ *
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Theming/API
+ *
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Arial, Helvetica, sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
+ */
+
+
+/* Component containers
+----------------------------------*/
+.ui-widget { font-family: Arial, Helvetica, sans-serif; font-size: 12pt; }
+.ui-widget .ui-widget { font-size: 10pt; }
+.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; }
+.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
+.ui-widget-content a { color: #222222; }
+.ui-widget-header { border: 1px solid #d6d4c9; background: #ebe9dc; color: #777777; font-size: 10pt; font-weight: bold;}
+.ui-widget-header a { color: #222222; }
+
+/* Interaction Cues
+----------------------------------*/
+.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
+.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
+.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
+.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
+.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
+.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
+.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
+.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
+
+/* Icons
+----------------------------------*/
+
+/* states and images */
+.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
+.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
+.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
+.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); }
+.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
+.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
+.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
+.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
+
+
+/* positioning */
+.ui-icon-carat-1-n { background-position: 0 0; }
+.ui-icon-carat-1-ne { background-position: -16px 0; }
+.ui-icon-carat-1-e { background-position: -32px 0; }
+.ui-icon-carat-1-se { background-position: -48px 0; }
+.ui-icon-carat-1-s { background-position: -64px 0; }
+.ui-icon-carat-1-sw { background-position: -80px 0; }
+.ui-icon-carat-1-w { background-position: -96px 0; }
+.ui-icon-carat-1-nw { background-position: -112px 0; }
+.ui-icon-carat-2-n-s { background-position: -128px 0; }
+.ui-icon-carat-2-e-w { background-position: -144px 0; }
+.ui-icon-triangle-1-n { background-position: 0 -16px; }
+.ui-icon-triangle-1-ne { background-position: -16px -16px; }
+.ui-icon-triangle-1-e { background-position: -32px -16px; }
+.ui-icon-triangle-1-se { background-position: -48px -16px; }
+.ui-icon-triangle-1-s { background-position: -64px -16px; }
+.ui-icon-triangle-1-sw { background-position: -80px -16px; }
+.ui-icon-triangle-1-w { background-position: -96px -16px; }
+.ui-icon-triangle-1-nw { background-position: -112px -16px; }
+.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
+.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
+.ui-icon-arrow-1-n { background-position: 0 -32px; }
+.ui-icon-arrow-1-ne { background-position: -16px -32px; }
+.ui-icon-arrow-1-e { background-position: -32px -32px; }
+.ui-icon-arrow-1-se { background-position: -48px -32px; }
+.ui-icon-arrow-1-s { background-position: -64px -32px; }
+.ui-icon-arrow-1-sw { background-position: -80px -32px; }
+.ui-icon-arrow-1-w { background-position: -96px -32px; }
+.ui-icon-arrow-1-nw { background-position: -112px -32px; }
+.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
+.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
+.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
+.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
+.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
+.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
+.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
+.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
+.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
+.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
+.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
+.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
+.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
+.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
+.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
+.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
+.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
+.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
+.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
+.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
+.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
+.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
+.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
+.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
+.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
+.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
+.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
+.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
+.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
+.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
+.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
+.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
+.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
+.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
+.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
+.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
+.ui-icon-arrow-4 { background-position: 0 -80px; }
+.ui-icon-arrow-4-diag { background-position: -16px -80px; }
+.ui-icon-extlink { background-position: -32px -80px; }
+.ui-icon-newwin { background-position: -48px -80px; }
+.ui-icon-refresh { background-position: -64px -80px; }
+.ui-icon-shuffle { background-position: -80px -80px; }
+.ui-icon-transfer-e-w { background-position: -96px -80px; }
+.ui-icon-transferthick-e-w { background-position: -112px -80px; }
+.ui-icon-folder-collapsed { background-position: 0 -96px; }
+.ui-icon-folder-open { background-position: -16px -96px; }
+.ui-icon-document { background-position: -32px -96px; }
+.ui-icon-document-b { background-position: -48px -96px; }
+.ui-icon-note { background-position: -64px -96px; }
+.ui-icon-mail-closed { background-position: -80px -96px; }
+.ui-icon-mail-open { background-position: -96px -96px; }
+.ui-icon-suitcase { background-position: -112px -96px; }
+.ui-icon-comment { background-position: -128px -96px; }
+.ui-icon-person { background-position: -144px -96px; }
+.ui-icon-print { background-position: -160px -96px; }
+.ui-icon-trash { background-position: -176px -96px; }
+.ui-icon-locked { background-position: -192px -96px; }
+.ui-icon-unlocked { background-position: -208px -96px; }
+.ui-icon-bookmark { background-position: -224px -96px; }
+.ui-icon-tag { background-position: -240px -96px; }
+.ui-icon-home { background-position: 0 -112px; }
+.ui-icon-flag { background-position: -16px -112px; }
+.ui-icon-calendar { background-position: -32px -112px; }
+.ui-icon-cart { background-position: -48px -112px; }
+.ui-icon-pencil { background-position: -64px -112px; }
+.ui-icon-clock { background-position: -80px -112px; }
+.ui-icon-disk { background-position: -96px -112px; }
+.ui-icon-calculator { background-position: -112px -112px; }
+.ui-icon-zoomin { background-position: -128px -112px; }
+.ui-icon-zoomout { background-position: -144px -112px; }
+.ui-icon-search { background-position: -160px -112px; }
+.ui-icon-wrench { background-position: -176px -112px; }
+.ui-icon-gear { background-position: -192px -112px; }
+.ui-icon-heart { background-position: -208px -112px; }
+.ui-icon-star { background-position: -224px -112px; }
+.ui-icon-link { background-position: -240px -112px; }
+.ui-icon-cancel { background-position: 0 -128px; }
+.ui-icon-plus { background-position: -16px -128px; }
+.ui-icon-plusthick { background-position: -32px -128px; }
+.ui-icon-minus { background-position: -48px -128px; }
+.ui-icon-minusthick { background-position: -64px -128px; }
+.ui-icon-key { background-position: -112px -128px; }
+.ui-icon-lightbulb { background-position: -128px -128px; }
+.ui-icon-scissors { background-position: -144px -128px; }
+.ui-icon-clipboard { background-position: -160px -128px; }
+.ui-icon-copy { background-position: -176px -128px; }
+.ui-icon-contact { background-position: -192px -128px; }
+.ui-icon-image { background-position: -208px -128px; }
+.ui-icon-video { background-position: -224px -128px; }
+.ui-icon-script { background-position: -240px -128px; }
+.ui-icon-alert { background-position: 0 -144px; }
+.ui-icon-info { background-position: -16px -144px; }
+.ui-icon-notice { background-position: -32px -144px; }
+.ui-icon-help { background-position: -48px -144px; }
+.ui-icon-check { background-position: -64px -144px; }
+.ui-icon-bullet { background-position: -80px -144px; }
+.ui-icon-radio-off { background-position: -96px -144px; }
+.ui-icon-radio-on { background-position: -112px -144px; }
+.ui-icon-pin-w { background-position: -128px -144px; }
+.ui-icon-pin-s { background-position: -144px -144px; }
+.ui-icon-play { background-position: 0 -160px; }
+.ui-icon-pause { background-position: -16px -160px; }
+.ui-icon-seek-next { background-position: -32px -160px; }
+.ui-icon-seek-prev { background-position: -48px -160px; }
+.ui-icon-seek-end { background-position: -64px -160px; }
+.ui-icon-seek-start { background-position: -80px -160px; }
+/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
+.ui-icon-seek-first { background-position: -80px -160px; }
+.ui-icon-stop { background-position: -96px -160px; }
+.ui-icon-eject { background-position: -112px -160px; }
+.ui-icon-volume-off { background-position: -128px -160px; }
+.ui-icon-volume-on { background-position: -144px -160px; }
+.ui-icon-power { background-position: 0 -176px; }
+.ui-icon-signal-diag { background-position: -16px -176px; }
+.ui-icon-signal { background-position: -32px -176px; }
+.ui-icon-battery-0 { background-position: -48px -176px; }
+.ui-icon-battery-1 { background-position: -64px -176px; }
+.ui-icon-battery-2 { background-position: -80px -176px; }
+.ui-icon-battery-3 { background-position: -96px -176px; }
+.ui-icon-circle-plus { background-position: 0 -192px; }
+.ui-icon-circle-minus { background-position: -16px -192px; }
+.ui-icon-circle-close { background-position: -32px -192px; }
+.ui-icon-circle-triangle-e { background-position: -48px -192px; }
+.ui-icon-circle-triangle-s { background-position: -64px -192px; }
+.ui-icon-circle-triangle-w { background-position: -80px -192px; }
+.ui-icon-circle-triangle-n { background-position: -96px -192px; }
+.ui-icon-circle-arrow-e { background-position: -112px -192px; }
+.ui-icon-circle-arrow-s { background-position: -128px -192px; }
+.ui-icon-circle-arrow-w { background-position: -144px -192px; }
+.ui-icon-circle-arrow-n { background-position: -160px -192px; }
+.ui-icon-circle-zoomin { background-position: -176px -192px; }
+.ui-icon-circle-zoomout { background-position: -192px -192px; }
+.ui-icon-circle-check { background-position: -208px -192px; }
+.ui-icon-circlesmall-plus { background-position: 0 -208px; }
+.ui-icon-circlesmall-minus { background-position: -16px -208px; }
+.ui-icon-circlesmall-close { background-position: -32px -208px; }
+.ui-icon-squaresmall-plus { background-position: -48px -208px; }
+.ui-icon-squaresmall-minus { background-position: -64px -208px; }
+.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
+.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
+.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
+.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
+.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
+.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
+
+
+
+/* Misc visuals
+----------------------------------*/
+
+/* Overlays */
+.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
+.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*!
+ * jQuery UI Resizable 1.8.20
+ *
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Resizable#theming
+ */
+.ui-resizable { position: relative;}
+.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; }
+.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
+.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
+.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
+.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
+.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
+.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
+.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
+.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
+.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*!
+ * jQuery UI Selectable 1.8.20
+ *
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Selectable#theming
+ */
+.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
+/*!
+ * jQuery UI Accordion 1.8.20
+ *
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Accordion#theming
+ */
+/* IE/Win - Fix animation bug - #4615 */
+.ui-accordion { width: 100%; }
+.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
+.ui-accordion .ui-accordion-li-fix { display: inline; }
+.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
+.ui-accordion .ui-accordion-header a { display: block; font-size: 10pt; padding: .5em .5em .5em .7em; }
+.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
+.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
+.ui-accordion .ui-accordion-content { padding: 10pt 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
+.ui-accordion .ui-accordion-content-active { display: block; }
+/*!
+ * jQuery UI Autocomplete 1.8.20
+ *
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Autocomplete#theming
+ */
+.ui-autocomplete { position: absolute; cursor: default; }
+
+/* workarounds */
+* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
+
+/*
+ * jQuery UI Menu 1.8.20
+ *
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Menu#theming
+ */
+.ui-menu {
+ list-style:none;
+ padding: 2px;
+ margin: 0;
+ display:block;
+ float: left;
+}
+.ui-menu .ui-menu {
+ margin-top: -3px;
+}
+.ui-menu .ui-menu-item {
+ margin:0;
+ padding: 0;
+ zoom: 1;
+ float: left;
+ clear: left;
+ width: 100%;
+}
+.ui-menu .ui-menu-item a {
+ text-decoration:none;
+ display:block;
+ padding:.2em .4em;
+ line-height:1.5;
+ zoom:1;
+}
+.ui-menu .ui-menu-item a.ui-state-hover,
+.ui-menu .ui-menu-item a.ui-state-active {
+ font-weight: normal;
+ margin: -1px;
+}
+/*!
+ * jQuery UI Button 1.8.20
+ *
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Button#theming
+ */
+.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .10pt; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
+.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
+button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
+.ui-button-icons-only { width: 3.4em; }
+button.ui-button-icons-only { width: 3.7em; }
+
+/*button text element */
+.ui-button .ui-button-text { display: block; line-height: 1.4; }
+.ui-button-text-only .ui-button-text { padding: .4em 10pt; }
+.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
+.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 10pt .4em 2.10pt; }
+.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.10pt .4em 10pt; }
+.ui-button-text-icons .ui-button-text { padding-left: 2.10pt; padding-right: 2.10pt; }
+/* no icon support for input elements, provide padding by default */
+input.ui-button { padding: .4em 10pt; }
+
+/*button icon element(s) */
+.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
+.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
+.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
+.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
+.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
+
+/*button sets*/
+.ui-buttonset { margin-right: 7px; }
+.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
+
+/* workarounds */
+button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
+/*!
+ * jQuery UI Dialog 1.8.20
+ *
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Dialog#theming
+ */
+.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
+.ui-dialog .ui-dialog-titlebar { padding: .4em 10pt; position: relative; }
+.ui-dialog .ui-dialog-title { float: left; margin: .10pt 16px .10pt 0; }
+.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
+.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
+.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
+.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 10pt; background: none; overflow: auto; zoom: 1; }
+.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 10pt .5em .4em; }
+.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
+.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
+.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
+.ui-draggable .ui-dialog-titlebar { cursor: move; }
+/*!
+ * jQuery UI Slider 1.8.20
+ *
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Slider#theming
+ */
+.ui-slider { position: relative; text-align: left; }
+.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
+.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
+
+.ui-slider-horizontal { height: .8em; }
+.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
+.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
+.ui-slider-horizontal .ui-slider-range-min { left: 0; }
+.ui-slider-horizontal .ui-slider-range-max { right: 0; }
+
+.ui-slider-vertical { width: .8em; height: 100px; }
+.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
+.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
+.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
+.ui-slider-vertical .ui-slider-range-max { top: 0; }/*!
+ * jQuery UI Tabs 1.8.20
+ *
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Tabs#theming
+ */
+.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
+.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
+.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
+.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 10pt; text-decoration: none; }
+.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
+.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
+.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
+.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 10pt 1.4em; background: none; }
+.ui-tabs .ui-tabs-hide { display: none !important; }
+/*!
+ * jQuery UI Datepicker 1.8.20
+ *
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Datepicker#theming
+ */
+.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
+.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
+.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
+.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
+.ui-datepicker .ui-datepicker-prev { left:2px; }
+.ui-datepicker .ui-datepicker-next { right:2px; }
+.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
+.ui-datepicker .ui-datepicker-next-hover { right:1px; }
+.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
+.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
+.ui-datepicker .ui-datepicker-title select { font-size:10pt; margin:1px 0; }
+.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
+.ui-datepicker select.ui-datepicker-month,
+.ui-datepicker select.ui-datepicker-year { width: 49%;}
+.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
+.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
+.ui-datepicker td { border: 0; padding: 1px; }
+.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
+.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
+.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
+.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
+
+/* with multiple calendars */
+.ui-datepicker.ui-datepicker-multi { width:auto; }
+.ui-datepicker-multi .ui-datepicker-group { float:left; }
+.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
+.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
+.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
+.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
+.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
+.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
+.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
+.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
+
+/* RTL support */
+.ui-datepicker-rtl { direction: rtl; }
+.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
+.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
+.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
+.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
+.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
+.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
+.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
+.ui-datepicker-rtl .ui-datepicker-group { float:right; }
+.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
+.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
+
+/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
+.ui-datepicker-cover {
+ display: none; /*sorry for IE5*/
+ display/**/: block; /*sorry for IE5*/
+ position: absolute; /*must have*/
+ z-index: -1; /*must have*/
+ filter: mask(); /*must have*/
+ top: -4px; /*must have*/
+ left: -4px; /*must have*/
+ width: 200px; /*must have*/
+ height: 200px; /*must have*/
+}/*!
+ * jQuery UI Progressbar 1.8.20
+ *
+ * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Progressbar#theming
+ */
+.ui-progressbar { height:2em; text-align: left; overflow: hidden; }
+.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
\ No newline at end of file
diff --git a/web/css/main.css b/web/css/main.css
deleted file mode 100644
index 55edf511..00000000
--- a/web/css/main.css
+++ /dev/null
@@ -1,3340 +0,0 @@
-/*- - - - - - - - - - - - - - - - - - -
-Title : Vesta
-Author : Eugen Lobicov, eugen.lobicov@gmail.com
-
-created : November 27, 2009
-last updated : February 22, 2012
-- - - - - - - - - - - - - - - - - - */
-
-html{
- font-size:100.01%; /* prevent IE's extreme font-resizing bug*/
-}
-
-body{
- position:relative;
- font:normal 62.5%/1.5 Helvetica, Arial, sans-serif;
- background:#B2AD9C url(../images/thin-grey-line-4.gif) repeat-x;
- color:#333;
-}
-#page{
- width:965px;
- width:955px;
- margin:3px auto 0;
- border:1px solid red;
- border:solid #807D70;
- border-width:0 1px;
-}
-.outer{
- padding-bottom:58px;
- background:#fff url(../images/footer-bg.gif) repeat-x 0 100%;
-}
-#header{
- padding:0 1px 0 10px;
- height:26px;
- border-bottom:2px solid #333527;
- background-color:#484439;
-}
-.logo-box{
- float:left;
-}
-.logo,
-.logo a,
-.logo a span{
- display:block;
- width:80px;
- height:26px;
-}
-.logo a{
- position:relative;
- overflow:hidden;
- font-size:1.2em; /*12px */
- text-decoration:none;
- color:#fff;
- display:block;
- text-indent:-9999px;
-}
-.logo a span{
- position:absolute;
- top:1px;
- left:0;
- z-index:1;
- width:72px;
- height:24px;
- background:url(../images/vesta-logo-2011-12-14.png) no-repeat;
-}
-.settings{
- float:right;
-}
-.settings .settings-item,
-.extra-services .service-item{
- float:left;
- display:block;
- padding:0 10px;
- font-size:9px;
- line-height:26px;
-
- text-transform:uppercase;
- letter-spacing:1px;
-}
-.settings .item-title,
-.extra-services .item-title{
- font-family:Arial, Helvetica, san-serif;
- font-size:9px;
- color:#C0BD00;
- text-decoration:none;
- border-bottom:1px dotted #68684B;
-}
-.settings a.item-title:hover{
- color:#fefda0;
- text-decoration:none;
-}
-.settings a.item-title:active{
- color:#E16734;
- text-decoration:none;
-}
-.settings .logged-as{
- margin:0;
-}
-.settings .logged-as{
- position:relative;
- top:1px;
- padding-right:5px;
- font-size:16px;
- line-height:20px;
- font-family:Georgia, Cambria, "Times New Roman", Times, serif;
- font-weight:bold;
- font-style:italic;
- color:#fff;
- text-transform:none;
- border:none;
- letter-spacing:normal;
-}
-.settings .logout{
- float:left;
- display:block;
- text-transform:uppercase;
- letter-spacing:1px;
- line-height:26px;
- }
- .settings .logout .item-title{
- display:block;
- padding:0 10px;
- font-size:9px;
- line-height:26px;
- border:none;
- }
- .settings .logout .item-title-inner{
- border-bottom:1px dotted #68684B;
- }
- .logout a.item-title:hover{
- background-color:#a3b82d;
- color:#ffffc5;
- }
- .logout a.item-title:hover .item-title-inner{
- border:none;
- }
-
- .logout a.item-title:active{
- background-color:#ffff66;
- color:#272700;
- }
-#logged-in-as{
- background-color: #FFCC00;
- border: 2px solid #EE7250;
- color: #FFFFFF;
- font-family: arial;
- font-size: 12px;
- font-weight: bold;
- height: 26px;
- margin: 2px auto -3px;
- padding: 7px 0 0;
- text-align: center;
- width: 955px;
-}
-.extra-services{
- float:right;
- margin-right:59px;
-}
-.extra-services .service-item{
- position:relative;
- padding:0 13px;
- line-height:26px;
- letter-spacing:normal;
-}
-.extra-services .item-devider{
- position:absolute;
- top:-3px;
- left:0;
- width:100%;
- height:3px;
-}
-.extra-services .item-title{
- font-family:Arial, Helvetica, san-serif;
- font-size:10px;
- font-weight:bold;
- color:#C0E1F3;
- border-bottom:1px dotted #7D939F;
-}
-.extra-services .active{
- cursor:default;
- background:#333;
- font-weight:bold;
- }
- .extra-services .service-item:hover{
- cursor:pointer;
- }
- .extra-services .service-item:hover .item-title{
- color:#fffa96;
- border-bottom-color:#fffa96;
- }
- .extra-services .service-item:active{
- background:#333;
- }
- .extra-services .service-item:active .item-title{
- color:#fff;
- border:none;
- }
- .extra-services .active .item-title{
- color:#fff997;
- border:none;
- }
- .extra-services .active .item-devider{
- background:#ff6766;
- }
-
-/*Remove button padding in FF*/
-input::-moz-focus-inner{
- border: 0;
- padding: 0;
-}
-.cc:after{
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
-}
-.hidden{
- display:none !important;
-}
-
-/* Navigation
-- - - - - - - - - - - - - - - - - - - - */
-#primary-nav-box{
- clear:both;
- height:115px;
- background-color:#ecf3d2;
-}
-.primary-nav{}
-
-.primary-nav .section{
- position:relative;
- float:left;
- display:block;
- padding-right:1px;
- background:url(../images/nav-devider-2.png) no-repeat 100% 50%;
-}
-.primary-nav .last-section{
- background:none;
- padding:0;
-}
-.section .section-inner{
- width:130px;
- min-height:100px;
- height:auto !important;
- height:100px;
- padding:15px 0 3px 6px;
- padding:15px 0 0 6px;
- }
-.primary-nav .last-section .section-inner{
- width:133px;
- width:127px;
-}
-.section .section-title{
- position:absolute;
- left:7px;
- bottom:9px;
- font-family:Arial, Helvetica, sans-serif;
- font-size:15px;
- line-height:1.2;
- font-weight:bold;
- text-transform:uppercase;
- color:#393939;
- color:#33342e;
- }
- .section .section-title .to-section{
- float:left;
- margin-right:4px;
- }
- /*
- .section .section-title .add-entry{
- position:relative;
- top:2px;
- float:left;
- display:block;
- width:14px;
- height:14px;
- background:url(../images/plus-sprite1.png) no-repeat;
- font-size:0;
- line-height:0;
- visibility:hidden;
- }
- .section .section-title .add-entry:hover{
- background-position:-14px 0;
- cursor:pointer;
- }
- */
-.section .section-devider{
- position:absolute;
- left:0;
- bottom:0;
- z-index:10;
- display:block;
- width:100%;
- height:3px;
-
- /*background:url(../images/section-status-sprite-5.gif) no-repeat -420px 115px; */
- /*background:url(../images/section-status-sprite-6.png) no-repeat -420px 100%;*/
- background:url(../images/section-status-sprite-7.png) no-repeat -136px 100%;
-
-}
-
-.dnstpl-nav-item .section-title{
- background-position:100% 85%;
-}
-.section .def{
- display:block;
- font-family:Arial, Helvetica, sans-serif;
- font-size:12px;
- color:#8c9c91;
-}
-.section:hover .section-inner{
- background-color:#F1F7D6;
- color:#000;
- cursor:pointer;
- }
- .section:hover .section-devider{
- background-position:0 100%;
- }
- .section:hover .section-title{
- color:#000;
- }
-.primary-nav .active .section-inner{
- cursor:pointer;
- }
- .primary-nav .active .section-devider{
- /*background-position:-283px 100%;*/
- background-position:-276px 100%;
-
- height:6px;
- bottom:-3px;
- }
- .primary-nav .active .def{
- color:#8c9c91;
- }
- .primary-nav .active .section-title{
- color:#393939;
- }
-
-#console{
- clear:both;
- position:relative;
- height:70px;
- background:#535049 url(../images/console-box-bg.png) repeat-x;
- border-bottom:1px solid #7a7967;
- z-index:1;
-}
-.b-console{}
-
-.b-console-wrap{
- position:relative;
- width:655px;
- margin:0 auto;
- padding:10px 15px 16px 25px;
- background:url(../images/console-bg.png) repeat;
-
- border-radius: 0 0 5px 5px;
- -moz-border-radius: 0 0 5px 5px;
- -webkit-border-top-right-radius: 0;
- -webkit-border-top-left-radius: 0;
- -webkit-border-bottom-right-radius: 5px;
- -webkit-border-bottom-left-radius: 5px;
-}
- .b-console-form{}
-
- .b-console-field{
- float:left;
- width:548px;
- margin-right:15px;
- padding:5px 10px;
- border:2px solid #42647f;
- font-family:Arial, Helvetica, sans-serif;
- font-size:18px;
- font-style:italic;
- font-weight:bold;
- color:#aaa;
- }
- .b-console-field:focus{
- -moz-box-shadow:0 0 8px rgba(82, 168, 236, 0.5);
- -webkit-box-shadow:0 0 8px rgba(82, 168, 236, 0.5);
- border-color:rgba(82, 168, 236, 0.75) !important;
- color:#333;
- }
- .b-console-btn{
- float:left;
- overflow:visible;
- height:30px;
- margin:4px 0 0;
- padding:0 20px;
- -webkit-border-radius:4px;
- -moz-border-radius:4px;
- border-radius:4px;
- border:0 none;
- background-color:#fdcd00;
- color:#4b3600;
-
- font-size:13px;
- font-family:Arial, Helvetica, sans-serif;
- font-weight:bold;
- line-height:30px;
- text-transform:uppercase;
- cursor:pointer;
-
- /* a little animation effect on hover for -webkit- */
- -webkit-transition-property: background;
- -webkit-transition-duration: 150ms;
- -webkit-transition-timing-function: ease-in-out;
- }
- .b-console-btn:focus{
- position:relative;
- top:1px;
- }
- .b-console-btn:hover{
- background-color:#ffe84c;
- color:#39351c;
- }
- .b-console-btn:active{
- background-color:#333;
- color:#fff;
- }
-
-.b-console-statuses{
- margin-top:15px;
-}
-
- .b-console-status{
- position:relative;
- padding:5px 80px 5px 10px;
- border:2px dashed #999;
- background-color:#feff99;
- color:#666;
- font-size:12px;
- }
- .b-console-status-message{
- float:left;
- color:#666;
- }
- .b-console-status-action{
- float:right;
- margin-right:-36px;
- text-decoration:underline;
- }
- .b-console-status-message b{
- font-weight:bold;
- color:#333;
- }
- .b-console-status-arrow{
- position:absolute;
- top:10px;
- right:12px;
- display:block;
- width:14px;
- height:8px;
- background:url(../images/status-arrow.png) no-repeat;
- }
-
-
-
-#actions-toolbar{
- clear:both;
- position:relative;
- /*padding:15px 20px 15px 280px;*/
- padding:15px 20px 15px 250px;
- background-color:#f3f3d9;
- border-bottom:1px solid #c9cbc8;
-}
-.add-domain,
-.add-btn{
- position:relative;
- top:2px;
- float:left;
- /*margin:0 0 0 -260px;*/
- margin:0 0 0 -230px;
- border-bottom:1px solid #b5c968;
- font-family:Georgia, "Times New Roman", Times, serif;
- font-size:16px;
- line-height:1;
- text-transform:uppercase;
- color:#66685d;
- text-decoration:none;
-}
-.add-domain .icon,
-.add-btn-icon{
- float:left;
- display:block;
- width:11px;
- height:11px;
- margin:4px 5px 0 0;
- background:url(../images/add-entry-plus.gif) no-repeat;
- font-size:0;
- line-height:0;
- }
- .add-btn:hover{
- color:#000;
- border-bottom-color:#b85152;
- }
- .add-btn:active{
- color:#b85152;
- border-bottom-color:#000;
- }
-
-.select-all{
- padding:0 40px 0 0;
- font-size:13px;
- color:#7f7e6c;
- text-decoration:underline;
- cursor:pointer;
- }
- .select-all:hover{
- text-decoration:none;
- }
-.clear-selected{
- font-size:11px;
- line-height:10px;
- text-transform:uppercase;
- color:#bcb6a6;
- cursor:pointer;
- letter-spacing:0.2px;
- border-bottom:1px solid #bcb6a6;
- }
- .clear-selected:hover{
- color:#000;
- border-bottom-color:#b85152;
- }
- .clear-selected:active{
- color:#b85152;
- border-bottom-color:#000;
- }
-
-.db-manager{
- float:right;
- margin:5px 0 0 25px;
- font-size:11px;
- line-height:1.273; /*14px*/
- text-transform:uppercase;
- letter-spacing:0.2px;
- border-bottom:1px solid #bcb6a6;
- text-decoration:none;
- color:#9b9b8f;
- }
- .db-manager .highlighted{
- font-style:normal;
- font-weight:bold;
- color:#4097b3;
- }
- .db-manager:hover{
- color:#4097b3;
- border-bottom-color:#b85152;
- }
- .db-manager:active{
- color:#b85152;
- border-bottom-color:#4097b3;
- }
- .db-manager:active .highlighted{
- color:#b85152;
- }
-
-/* Row filters */
-
-.row-filters{}
-
- .b-row-selector{
- float:left;
- width:240px;
- }
-
- .b-row-selector .checkbox-selector{
- position:relative;
- top:4px;
- margin-right:20px;
- }
- .b-row-selector .b-cust-sel{
- width:100px;
- }
-
-.checkbox-selector,
-.context-actions,
-.checkbox-selector .ui-checkbox,
-.cust-checkbox-wrap .ui-checkbox{
- display:-moz-inline-stack;
- display: inline-block;
- zoom: 1;
- *display: inline;
- vertical-align:top;
- }
- .ui-helper-hidden-accessible{
- display:none;
- }
- .cust-checkbox-wrap span.ui-checkbox,
- .checkbox-selector span.ui-checkbox{
- float:none;
- width:10px;
- height:10px;
- margin:2px 2px 0 0;
- background:url(../images/checkbox-selector-2012-01-31.png) no-repeat;
- cursor:pointer;
- }
- .cust-checkbox-wrap .cust-checkbox-title,
- .checkbox-selector .selector-title{
- font-size:11px;
- line-height:15px;
- text-transform:uppercase;
- color:#5d5d5d;
- cursor:pointer;
- white-space:nowrap;
- }
- .cust-checkbox-wrap span.ui-checkbox-hover,
- .checkbox-selector span.ui-checkbox-hover{
- background-position:0 -20px;
- -moz-box-shadow:0 0 5px rgba(82, 168, 236, 0.6);
- -webkit-box-shadow:0 0 5px rgba(82, 168, 236, 0.6);
- }
- .cust-checkbox-wrap span.ui-checkbox-state-checked,
- .checkbox-selector span.ui-checkbox-state-checked{
- background-position:0 -40px;
- }
- .cust-checkbox-wrap span.ui-checkbox-state-checked-hover,
- .checkbox-selector span.ui-checkbox-state-checked-hover{
- background-position:0 -60px;
- -moz-box-shadow:0 0 5px rgba(82, 168, 236, 0.6);
- -webkit-box-shadow:0 0 5px rgba(82, 168, 236, 0.6);
- }
- .cust-checkbox-wrap .cust-checkbox-title:hover,
- .checkbox-selector .selector-title:hover{
- color:#2ea8bd;
- }
- .cust-checkbox-wrap .cust-checkbox-title:active,
- .checkbox-selector .selector-title:active{
- color:#fc0;
- }
-
-/* Custom select */
-.b-cust-sel{
- position: relative;
- font-size: 12px;
-
- background-color: #fff;
-
- box-shadow: inset 1px 1px 4px 0px rgba(0, 0, 0, 0.10);
- -moz-box-shadow: inset 1px 1px 4px 0px rgba(0, 0, 0, 0.10);
- -webkit-box-shadow: inset 1px 1px 4px 0px rgba(0, 0, 0, 0.10);
-
- border: 1px solid #c5c4bf;
- display: block;
- white-space: nowrap;
- position: relative;
- height: 20px;
- line-height: 20px;
- padding: 0 0 0 8px;
- color: #616161;
-
-}
-.b-cust-sel .title{
- margin-right: 26px;
- display: block;
- overflow: hidden;
- white-space: nowrap;
- -o-text-overflow: ellipsis;
- -ms-text-overflow: ellipsis;
- text-overflow: ellipsis;
-}
-.cust-sel-arrow{
- -moz-background-clip : padding;
- -webkit-background-clip: padding-box;
- background-clip : padding-box;
- background: #ccc;
-
- background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(0.6, #f5f4ef));
- background-image: -webkit-linear-gradient(center bottom, #fff 0%, #f5f4ef 60%);
- background-image: -moz-linear-gradient(center bottom, #fff 0%, #f5f4ef 60%);
- background-image: -o-linear-gradient(bottom, #fff 0%, #f5f4ef 60%);
- background-image: -ms-linear-gradient(top, #cccccc 0%,#f5f4ef 60%);
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#f5f4ef',GradientType=0 );
- background-image: linear-gradient(top, #cccccc 0%,#f5f4ef 60%);
-
- position: absolute;
- right: 0;
- top: 0;
- display: block;
- height: 100%;
- width: 21px;
-}
-.cust-sel-arrow i{
- display: block;
- width: 100%;
- height: 100%;
- background:url(../images/custom-arrow.png) no-repeat 50% 50%;
-}
-.b-cust-sel .cust-sel-options{
- position:absolute;
- top:21px;
- left:-1px;
- width:100%;
- padding:5px 0 2px;
- border:solid #C5C4BF;
- border-width:0 1px 1px;
- background:#fff;
- z-index:100;
- }
- .b-cust-sel .cust-sel-option{
- padding:0 0 4px 18px;
- background:url(../images/cust-option-bullets.png) no-repeat 5px 7px;
- color:#828282;
- cursor:pointer;
- }
- .b-cust-sel .cust-sel-option:hover{
- color:#333;
- }
- .b-cust-sel .ico_gray{
- background-position:5px 7px;
- }
- .b-cust-sel .ico_green{
- background-position:5px -35px;
- }
- .b-cust-sel .ico_red{
- background-position:5px -79px;
- }
-
-.b-cust-sel_inactive{
- background:#f3f3d9;
- box-shadow: none;
- -moz-box-shadow: none;
- -webkit-box-shadow: none;
- }
- .b-cust-sel_inactive .cust-sel-arrow{
- background:#f3f3d9;
- }
- .b-cust-sel_inactive .cust-sel-options{
- display:none;
- }
-
-.domain-groups-selector{
- float:left;
- width:270px;
- padding-top:2px;
- font-size:11px;
- line-height:15px;
- }
- .domain-groups-selector .selector-wrap{
- display:-moz-inline-stack;
- display: inline-block;
- zoom: 1;
- *display: inline;
- vertical-align:top;
- padding-right:15px;
- border-bottom:1px solid #d5d6c4;
- background:url(../images/custom-arrow.png) no-repeat 100% 6px;
- }
- .domain-groups-selector .selector-title{
- padding-right:5px;
- font-weight:normal;
- text-transform:uppercase;
- color:#8b8b8b;
- }
- .domain-groups-selector .selected-groups{
- color:#5d5d5d;
- }
-
-#content{
- padding:8px 0 50px;
- background:#fff url(../images/content-separator.png) repeat-x;
-}
-.b-ext-info-wrap{
- position:relative;
- min-height:40px;
- }
- .b-ext-info{
- margin:0 0 6px;
- padding:10px 25px 15px;
- background:#ddd;
- font-size:12px;
- color:#000;
- text-shadow: 0px 1px 1px #fff;
- }
- .b-ext-info-btn{
- position:relative;
- left:-1px;
- width:102px;
- height:15px;
- margin-left:-50px;
- margin:-6px auto 0;
- background-color:#fff;
- cursor:pointer;
- }
- .b-ext-info-wrap_collapsed .b-ext-info-btn{
- background:url(../images/more-info-btn.png) no-repeat;
- }
-.content-inner{
- background-color:#fff;
- padding:0 15px 15px;
-}
-/*
-.domains{
- border-bottom:1px solid #333;
- background-color:#fff;
-}
-.domains .item{
- position:relative;
- padding:0 20px;
- background:url(../images/long-dotted-bg.gif) repeat-x;
-}
-.domains .first{
- margin:0;
- background:none;
-}
-.item .view{
- padding:15px 0 10px;
-}
-.item .ip-box{
- float:left;
- width:150px;
- padding-top:12px;
-}
-.ip-box .ip{
- font-size:1.1em; /*11px*
- line-height:21px;
- font-weight:normal;
- letter-spacing:.175em;
-}
-.ip-box .owner{
- display:block;
- font-size:1.2em;
- color:#999;
-}
-.details .names .primary{
- font-size:20px;
- font-family:Georgia, "Times New Roman", Times, serif;
- font-weight:normal;
- font-style:normal;
- color:#000; /* radikal'no cherniy, da! *
-}
-.names .divider{
- font-size:12px;
- line-height:2;
- text-transform:uppercase;
- color:#999;
-}
-.names .domain-name{
- padding:0 10px;
- font-size:12px;
- line-height:2;
- font-style:italic;
- color:#999;
- white-space:nowrap;
-}
-.item .details{
- margin-left:150px;
-}
-.item .details .status{
- float:right;
- width:60%;
- margin:5px 20px 0 0;
- color:#999;
-}
-.details .status .logging{
- float:left;
-}
-.logging .err-log,
-.logging .log,
-.logging .stats{
- float:left;
- display:inline;
- margin:0 20px 0 0;
- padding-right:25px;
- background:url(../images/logging-status-sprite.png) no-repeat -100% -100%;
-}
-.logging .off{
- background-position:100% 0;
-}
-.logging .on{
- background-position:100% 100%;
-}
-.logging .stats{
- margin-right:10px;
-}
-.logging .stat-auth{
- float:left;
- display:inline;
- margin:0 10px 0 0;
- border-bottom:1px solid #9bcad0;
- color:#999;
- cursor:pointer;
-}
-.details .status .params{
- float:right;
-}
-.params .memory,
-.params .t,
-.params .max-weight,
-.params .upload-weight{
- float:left;
- display:inline;
- margin-right:25px;
-}
-.memory{}
-
-.memory dl{
- overflow:hidden;
- margin-bottom:2px;
-}
-
-.memory dt{
- float:left;
- width:15px;
-}
-.memory dd{
- float:left;
-}
-.memory .usage{}
-
-.memory .usage .value{
- float:left;
- width:30px;
-}
-.memory .usage .divider{
- padding-right:2px;
-}
-.memory .usage .max{
- font-weight:bold;
- border-bottom:1px solid #9bcad0;
- cursor:pointer;
-}
-.memory .graph{
- clear:both;
- position:relative;
- border:1px solid #ccc;
- font-size:0;
- line-height:0;
-}
-.memory .graph .bar{
- position:relative;
- display:block;
- height:2px;
-}
-.critical .bar{
- background-color:#f00;
-}
-.middle .bar{
- background-color:#ff9934;
-}
-.low .bar{
- background-color:#acd45a;
-}
-.params .upload-weight{
- margin:0;
-}
-.t .value,
-.max-weight .value,
-.upload-weight .value{
- border-bottom:1px solid #9bcad0;
- cursor:pointer;
-}
-.item .close{
- position:absolute;
- top:30px;
- right:20px;
- display:block;
- width:16px;
- height:16px;
- background:url(../images/sprite.png) no-repeat;
- cursor:pointer;
-}
-.item .close:hover{
- background-position:-16px 0;
-}
-*/
-/* row hover effect
-- - - - - - - - - - - - - - - - - - - */
-/*
-.domains .item:hover{
- background-color:#ffffcb;
-}
-.item:hover .names .primary{
- cursor:pointer;
- border-bottom:1px dotted #ccc;
-}
-.item:hover .logging .err-log,
-.item:hover .logging .log,
-.item:hover .logging .stats,
-.item:hover .memory dt,
-.item:hover .memory .divider,
-.item:hover .params .title{
- color:#98bc65;
-}
-.item:hover .logging .stat-auth,
-.item:hover .memory .max,
-.item:hover .t .value,
-.item:hover .max-weight .value,
-.item:hover .upload-weight .value{
- color:#333;
-}
-*/
-/* Edit
-- - - - - - - - - - - - - - - - - - - */
-/*
-.edit{
- position:relative;
- clear:both;
- margin:0 -20px;
- padding:15px 20px 10px;
- border-top:2px solid #999;
- background-color:#ffffcb;
-}
-.change-ip-box{
- margin:0 0 20px;
-}
-.edit .ip-details{
- float:left;
- margin-right:20px;
-}
-.change-ip{
- width:140px;
- padding:3px 5px;
- border:2px solid #9bcad0;
- font-size:16px;
-}
-.ip-details .created{
- display:block;
- margin:5px 0 0;
- font-size:12px;
-}
-.change-domain-name{
- width:360px;
- padding:3px 5px;
- border:2px solid #9bcad0;
- font-size:16px;
- font-weight:bold;
-}
-.edit .domain-name{
- font-size:20px;
- font-family:Georgia, "Times New Roman", Times, serif;
- font-weight:normal;
- font-style:normal;
- color:#000; /* radikal'no cherniy, da! *
- white-space:nowrap;
- line-height:2;
-}
-.change-logs-box{
- float:left;
- width:170px;
- margin-right:50px;
- padding-left:180px;
-}
-.ownership{
- display:inline;
- float:left;
- width:160px;
- margin:0 0 0 -180px;
- font-size:12px;
-}
-.ownership .owner{
- display:block;
- font-size:16px;
- font-weight:bold;
- font-style:italic;
-}
-.change-logs{
- padding-top:5px;
-}
-.change-logs label{
- display:block;
- margin:0 0 9px;
-}
-.change-logs .last{
- margin:0;
-}
-.change-logs .title{
- display:block;
- float:left;
- width:70px;
- font-size:14px;
-}
-.change-logs .title b{
- font-weight:bold;
-}
-.change-logs .checkbox{
- margin:3px 0 0;
- border:2px solid #9bcad0;
-}
-.change-logs .stat-auth{
- position:relative;
- top:-3px;
- left:10px;
- border-bottom:1px solid #9BCAD0;
- cursor:pointer;
-}
-.change-memory{
- float:left;
- width:150px;
- padding-top:5px;
- font-size:14px;
-}
-.change-memory dl{
- margin-bottom:13px;
-}
-.change-memory .value{
- padding:0 5px;
- font-style:italic;
- font-weight:bold;
- color:#6b930f;
-}
-.change-memory .amount{
- margin-top:7px;
-}
-.change-memory .amount .max{
- width:50px;
- margin-left:10px;
- padding:2px 5px;
- border:2px solid #9bcad0;
- text-align:right;
-}
-.change-memory .graph{
- clear:both;
- position:relative;
- border:1px solid #9c9c82;
- font-size:0;
- line-height:0;
-}
-.change-memory .graph .bar{
- position:relative;
- display:block;
- height:2px;
-}
-.change-params{
- float:right;
- font-size:14px;
-}
-.change-params li{
- margin-top:5px;
- overflow:hidden;
-}
-.change-params .title{
- float:left;
- width:165px;
-}
-.change-params .param-value{
- width:30px;
- margin-right:5px;
- padding:1px 5px;
- border:2px solid #9bcad0;
- text-align:right;
-
-}
-.aliases{
- position:relative;
- padding-top:20px;
- margin-bottom:20px;
-}
-.aliases .title{
- float:left;
- display:block;
- margin-right:20px;
- padding-top:3px;
- font-size:17px;
-}
-.aliases .hint{
- position:absolute;
- top:-15px;
- left:78px;
- font-style:italic;
- color:#999;
-}
-.aliases-list{
- width:90%;
- padding:3px 5px;
- border:2px solid #9bcad0;
- font-size:16px;
-}
-.buttons{}
-
-.buttons .apply{
- width:auto;
- overflow:visible;
- padding:4px 20px 3px 17px;
- background-color:#feff99;
- border:1px solid #728b25;
-
- font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
- font-size:120%;
- font-weight:bold;
- text-transform:uppercase;
-
- line-height:130%;
- color:#6b9e05;
- cursor:pointer;
-
- float:right;
-}
-.buttons .devider{
- text-transform:uppercase;
- float:right;
- display:block;
- line-height:24px;
- margin:0 10px;
-}
-.buttons .cancel{
- float:right;
- width:auto;
- height:20px;
- padding:0;
- border:0 none;
- background:none;
- color:#e09462;
- text-decoration:underline;
- cursor:pointer;
-}
-.hidden{
- display:none;
-}
-.edit .iSelected{ /* descendant selector for more specific style context *
- border-color:#59B4FF; /* blue border on focused input *
- font-weight:bold;
-}
-.edit .not-valid{ /* descendant selector for more specific style context *
- border-color:#f00; /* RED border on error field *
-}
-
-.edit .edit-help{
- padding-bottom:1px;
- font-family:Arial, Helvetica, sans-serif;
- font-size:14px;
- color:#a0a094;
- text-decoration:none;
- text-transform:uppercase;
- border-bottom:1px solid #b5b59b;
-}
-.edit .delete{
- position:absolute;
- top:15px;
- right:25px;
- padding:3px 25px 3px 2px;
- font-family:Arial, Helvetica, sans-serif;
- font-size:14px;
- color:#a0a094;
- text-transform:uppercase;
- background:url(../images/delete.gif) no-repeat 100% 50%;
- cursor:pointer;
-}
-.edit .delete .title{
- padding-bottom:1px;
- border-bottom:1px solid #b5b59b;
-}
-*/
-
-/* IP list
-- - - - - - - - - - - - - - - - - - - - */
-#content{
- padding-bottom:0;
-}
-.ip-list{}
-
- .row{
- padding-top:10px;
- padding:10px 10px 15px 10px;
-/* min-height:125px;
- min-height:110px;*/
- background:url(../images/long-dotted-bg.gif) repeat-x;
- }
- .first-row{
- background-image:none;
- }
- .row-meta{
- float:left;
- width:150px;
- }
- .row-details{
- margin-left:150px;
-/* background:#e0e0e0;*/
- }
- .row-actions-box{
-/* margin:0 0 5px;*/
- }
-
- .row-actions-box .check-this,
- .row-actions-box .check-control{
- float:left;
- width:10px;
- height:10px;
- margin-top:4px;
-/* background:url(../images/logging-status-sprite.png) no-repeat;*/
- background:url(../images/check-row-sprite.png) no-repeat;
- background:url(../images/check-row-sprite_.png) no-repeat;
- }
- .row-actions-box .check-control:hover{
- cursor:pointer;
- background-position:0 -89px;
- -moz-box-shadow:0 0 5px rgba(82, 168, 236, 0.6);
- -webkit-box-shadow:0 0 5px rgba(82, 168, 236, 0.6);
- }
- .row-actions-box .row-operations{
- float:right;
- }
- .ip-status-info{
- position:relative;
- display:block;
- float:left;
- /*margin-right:25px;*/
- padding-right:15px;
- font-size:12px;
- }
- .ip-status-info .ip-status-text{
- visibility:hidden;
- }
- .row .ip-suspended-status{
- margin:0;
- background:url(../images/suspended-ico.png) no-repeat 100% 65%;
- }
- .row .ip-suspended-status .ip-status-text{
- text-transform:uppercase;
- color:#333;
- font-size:10px;
- visibility:visible;
- }
- .delete-entry{
- position:relative;
- top:2px;
- display:block;
- float:left;
- padding-right:15px;
- font-size:11px;
- text-transform:uppercase;
- }
- .delete-entry .delete-entry-text{
- visibility:hidden;
- }
- .entry-created{
- padding-top:7px;
- font-size:11px;
- color:#6f6f6f;
- }
- .props-main{
- float:left;
- width:425px;
-/* background:#eee;*/
- }
- .props-main .prop-box{
- margin-bottom:15px;
- }
-
- .props-additional{
- float:left;
- width:200px;
- padding:5px 10px 0 0;
-/* background:#ccc;*/
- }
- .props-ext{
- float:right;
- width:120px;
- padding-top:5px;
-/* background:#d5d5d5;*/
- }
- .ip-adr-box,
- .user-wrap{
- margin:0 0 5px;
- }
- .ip-adr{
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- font-size:22px;
- line-height:1;
- font-weight:normal;
- letter-spacing:0.5px;
- }
- .ip-adr:active,
- .ip-adr:focus{
- color:#9fb749;
- }
- .ip-adr .dot{
- padding:0 3px;
- }
- .ip-list .ip-adr{
- border-bottom:1px solid #fff;
- }
- .username-box .user{
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- margin-right:10px;
- }
- .username-box .nickname{
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
- margin-right:5px;
-
- font-size:20px;
- line-height:25px;
- font-family:Arial, Helvetica, sans-serif;
- color:#000;
-
- }
- .username-box .role{
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- position:relative;
- top:2px;
-
- font-size:12px;
- line-height:25px;
- color:#777;
- }
-
- .prop-box{
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- min-width:40%;
-/* width:auto !important;
- width:40%;*/
- margin:0 0 3px;
- font-size:10px;
- }
- .prop-title{
- text-transform:uppercase;
- color:#9c9c9c;
- font-size:9px;
- line-height:15px;
- }
- .prop-value{
- padding-left:3px;
- font-size:12px;
- color:#777;
- }
- .prop-value-collapsed-childs{
- padding-right:15px;
- background:url(../images/group-values-collapsed.png) no-repeat 100% 5px;
- cursor:pointer;
- }
- .show-records{
- display:inline-block;
- padding-right:15px;
- border-bottom:1px solid #c9cabc;
- background:url(../images/show-records-ico.png) no-repeat 100% 50%;
- text-transform:uppercase;
- line-height:13px;
- cursor:pointer;
- }
- .hide-records{
- display:inline-block;
- padding-right:15px;
- border-bottom:1px solid #c9cabc;
- background:url(../images/hide-records-ico.png) no-repeat 100% 50%;
- text-transform:uppercase;
- line-height:13px;
- cursor:pointer;
- }
-
- .prop-box_group-values{
- display:block;
- }
- .prop-box_group-values .prop-title{
- float: left;
- margin:2px 0 0;
- }
- .prop-box_group-values .group-values{
- float:left;
- margin-left:3px;
- }
- .group-values .prop-value{
- display:block;
- }
- .group-values__bullet .prop-value{
- padding-left:15px;
- background:url(../images/group-value-bullet.png) no-repeat 5px 8px;
- }
- .group-values .group-switcher{
- display:block;
- padding-right:15px;
- background:url(../images/group-values-collapsed.png) no-repeat 100% 50%;
- }
- .group-values .group-values-count{
- font-size:12px;
- font-style:italic;
- color:#cdcdcd;
- border-bottom:1px solid #c9cac4;
- cursor:pointer;
- }
-
- .props-additional .owner-box{
- padding-left:45px;
- }
- .props-additional .owner-box .prop-title{
- float:left;
- display:inline;
- margin:2px 0 0 -45px;
- }
- .props-additional .owner-box .prop-value{
- padding:0;
- }
-
- .ip-list .ip-name-box{
- margin:0 0 3px;
- }
-
-
-/* Entry adding form
-- - - - - - - - - - - - - - - - - - - */
-.b-new-entry{
- margin-top:25px;
- border-style:solid;
- border-width:2px 1px 1px;
- border-color:#999 #ccc #ccc #ccc;
-
- background-color:#ffffcb;
- }
- .b-new-entry .entry-header{
- margin:0 0 10px;
- padding:8px 15px 9px;
- border-bottom:1px solid #dcdbab;
- font-size:16px;
- font-family:Georgia, "Times New Roman", Times, serif;
- text-transform:uppercase;
- color:#747668;
- }
- .b-new-entry .form-row{
- position: relative;
- padding: 10px 15px 9px;
- }
- .b-new-entry .field-label,
- .b-new-entry .row-header{
- float:left;
- width:180px;
- font-size:15px;
- line-height:35px;
- color:#3d504a;
- }
- .b-new-entry .text-field{
- float:left;
- width:265px;
- margin:0 15px 0 0;
- padding: 8px 0 7px 7px;
- border:2px solid #b8c2c3;
- color:#3B3937;
- font-family:Arial, Helvetica, sans-serif;
- font-size:14px;
- font-weight:bold;
- }
- .b-new-entry .field-label .remark{
- position:relative;
- top:-14px;
- display:block;
- font-style:italic;
- font-size:14px;
- color:#a3a590;
- }
-
- .b-new-entry .mandatory{
- padding-right:5px;
- background:url(../images/asterisk2.png) no-repeat 100% 2px;
- }
-
- .b-new-entry .custom-select{}
-
- .b-new-entry .textarea{
- width:685px;
- height:100px;
- padding:6px 7px;
- border:2px solid #b8c2c3;
- color:#555;
- font-family:Arial, Helvetica, sans-serif;
- font-size:14px;
- font-weight:bold;
- }
- .b-new-entry .text-field:focus,
- .b-new-entry .textarea:focus{
- -moz-box-shadow:0 0 8px rgba(82, 168, 236, 0.5);
- -webkit-box-shadow:0 0 8px rgba(82, 168, 236, 0.5);
- border-color:rgba(82, 168, 236, 0.75);
- color:#262523;
- }
-
- .b-new-entry .ssl-crtfct-box .textarea{
- margin:10px 0 0;
- }
- .b-new-entry .select{
- position: absolute;
- top:auto;
- left:195px;
- width: 195px;
- height: 28px;
- padding: 2px 24px 2px 9px;
- color: #555555;
- font:bold 14px/28px arial,sans-serif;
- background:#fff url(../images/select-arrow.png) no-repeat 100% 50%;
- overflow: hidden;
- border:2px solid #b8c2c3;
- }
- .b-new-entry .select.disabled{
- border: 0;
- background-color: #FFFFCB;
- opacity: 1;
- background: 0;
- }
-
- .b-new-entry .checkbox.disabled{
- background-position: -331px -126px;
- margin-right:5px;
- }
- .b-new-entry .text-field:disabled{
- border:0;
- background-color:#FFFFCB;
- }
- .b-new-entry select.styled{
- top:0;
- width:231px;
- height:35px;
- }
- .b-new-entry option{
- padding:5px 5px 5px 8px;
- font-family:Arial, Helvetica, sans-serif;
- font-size:14px;
- font-weight:bold;
- color:#555;
- }
- .b-new-entry .form-options-group{}
-
- .b-new-entry .group-header{
- margin:12px 25px 12px 15px;
- text-transform:uppercase;
- color:#9c9c9c;
- font-size:11px;
- line-height:15px;
- height:16px;
- background:url(../images/dotted.gif) repeat-x 0 50%;
- }
- .b-new-entry .group-title-outer{
- display:inline-block;
- width:165px;
- padding:0 15px 0 0;
- line-height:16px;
- text-align:right;
- background:#ffffcb;
- }
- .b-new-entry .group-title-inner{
- padding:2px 13px 2px 0;
- }
- .b-new-entry .group-title{
- border-bottom:1px solid #FFFFCB;
- }
- .b-new-entry .expanded .group-title-inner{
- background:#ffffcb url(../images/form-group-expanded.png) no-repeat 100% 50%;
- }
- .b-new-entry .collapsed .group-title-inner{
- background:#ffffcb url(../images/form-group-collapsed.png) no-repeat 100% 50%;
- }
- .b-new-entry .group-header:hover{
- cursor:pointer;
- }
- .b-new-entry .group-header:hover .group-title,
- .b-new-entry .group-header .group-title:hover{
- color:#000;
- border-bottom-color:#9fb35a;
- }
- .b-new-entry .group-header .group-title:active{
- color:#4B9427;
- }
-
- .b-new-entry .mail-options-group{
- margin-bottom:27px;
- }
- .b-new-entry .mail-options-group .form-row{
- padding-bottom:0;
- }
-
- .b-new-entry .delete-record{
- display: block;
- position:relative;
- top:11px;
- float: left;
- width: 11px;
- height: 11px;
- background: url(../images/delete-ico-off.png) no-repeat;
- }
- .b-new-entry .delete-record:hover{
- cursor:pointer;
- background-image:url(../images/delete-ico.png);
- }
- .b-new-entry .delete-record:active{
- cursor:pointer;
- background-image:url(../images/delete-ico-active.png);
- }
-
-
- /*.b-new-entry .checkbox,*/
- .b-new-entry span.ui-checkbox{
- display:block;
- float:left;
- width:18px;
- height:18px;
- margin:9px 0 0;
- /*background:url(../i/checkbox-1.png) no-repeat;*/
- /*background:url(../i/form-checkboxes.png) no-repeat;*/
- background:url(../images/checkbox-selector-2012-01-31.png) no-repeat -12px 0;
- }
- .b-new-entry .ui-checkbox-hover{
- cursor:pointer;
- }
- .b-new-entry span.ui-checkbox-hover{
- background-position:-12px -20px;
- -moz-box-shadow:0 0 8px rgba(82, 168, 236, 0.6);
- -webkit-box-shadow:0 0 8px rgba(82, 168, 236, 0.6);
- }
- .b-new-entry span.ui-checkbox-state-checked{
- background-position:-12px -40px;
- }
- .b-new-entry span.ui-checkbox-state-checked-hover{
- background-position:-12px -60px;
- -moz-box-shadow:0 0 8px rgba(82, 168, 236, 0.6);
- -webkit-box-shadow:0 0 8px rgba(82, 168, 236, 0.6);
- }
-
- .b-new-entry .stats-settings{
- padding-left:40px;
- }
- .b-new-entry .db-credentials .field-label{
- text-indent:40px;
- }
- .b-new-entry_user .lastname-box{
- margin-bottom:30px;
- }
- .b-new-entry_dns .dns-template-box .styled{
- float:left;
- margin:0 40px 0 0;
- margin:0 20px 0 0;
- width:230px;
- cursor:pointer;
- }
- .b-new-entry_dns .ttl-field{
- width:75px;
- }
- .generate-pwd,
- .context-settings{
- position:relative;
- top:10px;
- float:left;
- display:block;
- color:#5ea2a1;
- border-bottom:1px solid #cdcea6;
- text-transform:uppercase;
- cursor:pointer;
-
- font-size:11px;
- line-height:1;
- letter-spacing:0.5px;
- }
-/*
- .generate-pwd:hover,
- .context-settings:hover{
- color:#575757;
- border-bottom-color:#b4c775;
- }
- .generate-pwd:active,
- .context-settings:active{
- color:#b4c775;
- }
-*/
-
- .b-new-entry .add-ns{
- display:-moz-inline-stack;
- display: inline-block;
- zoom: 1;
- *display: inline;
-
- margin:0 0 7px 180px;
- font-family:Georgia, "Times New Roman", Times, serif;
- font-size:14px;
- line-height:1;
- text-transform:uppercase;
- color:#66685d;
- text-decoration:none;
- }
- .add-ns .icon{
- float:left;
- display:block;
- width:11px;
- height:11px;
- margin:2px 5px 0 0;
- background:url(../images/add-entry-plus.gif) no-repeat;
- font-size:0;
- line-height:0;
- }
- .add-ns .btn-title{
- display:inline-block;
- border-bottom:1px solid #b5c968;
- }
-
- .b-new-entry .buttons-row{
- position:relative;
- margin-top:13px;
- padding:8px 15px 8px 195px;
- border-top:1px solid #dcdbad;
- background:url(../images/form-bottom-bg.png) repeat-x;
- }
-
- .b-new-entry .cancel-btn{
-
- display:-moz-inline-stack;
- display: inline-block;
- zoom: 1;
- *display: inline;
-
- margin-left:30px;
- font-size:11px;
- line-height:1;
- font-weight:bold;
-
- text-transform:uppercase;
- color:#2ca9bd;
- cursor:pointer;
- border-bottom:1px solid #2ca9bd;
- }
- .b-new-entry .cancel-btn:hover{
- color:#999;
- border-bottom-color:#999;
- }
- .b-new-entry .cancel-btn:active{
- color:#fc0;
- border-bottom-color:#fc0;
- }
-
- .b-new-entry .delete-btn{
- position:absolute;
- top:18px;
- right:16px;
-
- font-size:9px;
- line-height:11px;
- text-transform:uppercase;
- color:#333;
- letter-spacing:3px;
- cursor:pointer;
- border-bottom:1px solid #ff6766;
- }
- .b-new-entry .delete-btn:hover{
- color:#ff6766;
- }
- .b-new-entry .delete-btn:active{
- color:#fc0;
- border-bottom-color:#fc0;
- }
-
-
- .b-new-entry .add-entry-btn{
- overflow:visible;
- height:28px;
- padding:0 50px;
- -webkit-border-radius:9px;
- -moz-border-radius:9px;
- border-radius:9px;
- border:2px solid #c8c09c;
- background-color:#feff99;
- color:#444428;
- font-size:14px;
- font-family:Arial, Helvetica, sans-serif;
- font-weight:bold;
- line-height:25px;
- text-transform:uppercase;
- cursor:pointer;
- }
- .b-new-entry .add-entry-btn:focus{
- position:relative;
- top:1px;
- }
- .b-new-entry .add-entry-btn:hover{
- background-color:#feff77;
- color:#464322;
- border-color:#9e977b;
- }
- .b-new-entry .add-entry-btn:active{
- background-color:#928d7a;
- color:#fefe9e;
- border-color:#87826e;
- }
- .b-new-entry .autocomplete-box{
- position:relative;
- float:left;
- padding-right:34px;
- background:#fff;
- }
- .b-new-entry .autocomplete-box .text-field{
- width:221px;
- margin:0;
- border-right:0;
- padding-top:6px;
- padding-bottom:6px;
- }
-
- .b-new-entry .autocomplete-box .arrow{
- position:absolute;
- top:0;
- right:0;
- display:block;
- width:34px;
- height:32px;
- font-size:0;
- line-height:0;
- background:#fff url(../images/autocomplete-field-arrows-sprite-2012-02-11.png) no-repeat;
- cursor:pointer;
- }
- .b-new-entry .autocomplete-box .arrow:hover,
- .b-new-entry .autocomplete-box .arrow:active,
- .b-new-entry .autocomplete-box .arrow:focus{
- background-position:0 -32px;
- }
-
- .b-new-entry .form-error{
- position:relative;
- margin:-5px 5px 5px;
- padding:8px 15px;
- border:1px solid #dcdbad;
- background:url(../images/form-bottom-bg.png) repeat-x;
- }
- .form-error .error-box{
- padding-left:18px;
- background:url(../images/error-bullet.png) no-repeat 0 50%;
- }
- .form-error .error-box .error-message{
- color:#9a32ff;
- font-size:16px;
- line-height:22px;
- }
- .form-error .error-box .help-tip-url{
- position:relative;
- top:-1px;
- font-size:12px;
- line-height:15px;
- color:#b4b39f;
- text-transform:uppercase;
- text-decoration:none;
- cursor:pointer;
- border-bottom:1px solid #b4b39f;
- }
- .b-new-entry .help-tip-url:hover{
- color:#000;
- border-bottom-color:#9fb35a;
- }
-
- .b-new-entry_cron{}
-
- .b-new-entry_cron .form-row{
- padding-top:7px;
- padding-bottom:5px;
- }
- .b-new-entry_cron .run-at-box{
- padding-bottom:7px;
- }
- .b-new-entry_cron .run-at-box .row-header{
- margin-top:35px;
- }
- .b-new-entry_cron .form-row-line .field-box{
- margin-right:14px;
- }
- .b-new-entry_cron .form-row-line .cron-week-box{
- margin:0;
- }
- .b-new-entry_cron .form-row-line .field-label{
- display:block;
- float:none;
- width:auto;
- line-height:1;
- padding:0 0 8px;
- color:#7d7d7d;
-
- font-size:13px;
- }
- .b-new-entry_cron .form-row-line .text-field{
- width:112px;
- margin:0;
- padding-right:7px;
- }
- .b-new-entry_cron .form-row-line .cron-week-box .text-field{
- width:109px;
- margin:0;
- }
- .b-new-entry_cron .textarea{
- height:60px;
- }
-
-
- .b-new-detailed-restore{}
-
- .b-new-detailed-restore .add-entry-btn{
- padding:0 30px;
- }
-
-/* Show/edit dns records form
-- - - - - - - - - - - - - - - - - - - */
-.b-records-list{
- margin-left:160px;
- }
- .b-records-list .entry-header{
- padding-top:6px;
- padding-bottom:11px;
- }
- .b-records-list .hide-records{
- font-size:10px;
- font-family:Arial, Helvetica, sans-serif;
- line-height:13px;
- }
- .b-records-list .add-btn{
- margin:0;
- float:none;
- }
- .b-records-list .form-row{
- padding-top:5px;
- padding-bottom:5px;
- }
- .b-records-list .add-box{
- padding-bottom:15px;
- }
- .b-records-list .buttons-row{
- margin-top:20px;
- }
- .form-row-line{
- position:relative;
- }
- .form-row-line .field-box{
- float:left;
- }
- .form-row-line .field-devider{
- float:left;
- display:block;
- min-height:30px;
- margin:0 15px;
- font-size:15px;
- line-height:2;
- }
- .b-records-list .form-row-line .field-label{
- float:none;
- display:block;
- width:auto;
- line-height:20px;
- }
- .b-records-list .dns-record-box .text-field{
- width:147px;
- float:left;
- margin:0;
- }
- .b-records-list .dns-type-box{
- margin-right:15px;
- }
- .b-records-list .dns-type-box .select{
- width:51px;
- left:221px;
- }
- .b-records-list .dns-type-box select.styled{
- width:87px;
- cursor:pointer;
- }
- .b-records-list .dns-value-box .text-field{
- float:none;
- width:390px;
- margin:0;
- }
- .b-records-list .delete-record{
- position:absolute;
- top: auto;
- bottom:15px;
- right:11px;
- display:block;
- float:left;
- width:11px;
- height:11px;
- background:url(../images/delete-ico-off.png) no-repeat;
- }
-
-
-/* Web-domains list
-- - - - - - - - - - - - - - - - - - - */
-.domains-list{}
-
- .domains-list .entry-created{
- padding-top:9px;
- }
- .names{
- margin:0 0 6px;
- color:#acacac;
- }
- .names .alias-title{
- position:relative;
- top:-1px;
- padding-right:3px;
- padding:0 3px 0 25px;
- font-size:10px;
- line-height:1.8;
- text-transform:uppercase;
- }
- .names .domain-name{
- position:relative;
- top:-1px;
- padding:0 3px 0 0;
- font-size:12px;
- line-height:1.5;
- color:#acacac;
- white-space:nowrap;
- }
- .row-details .names .primary{
- top:0;
-/* padding:0 25px 0 0;*/
- font-size:20px;
- font-family:Arial, Helvetica, sans-serif;
- font-weight:normal;
- font-style:normal;
- color:#000; /* radikal'no cherniy, da! */
- }
- .names .primary:active{
- color:#9fb749;
- }
- .domains-list .names .primary,
- .dns-list .names .primary{
- border-bottom:1px solid #fff;
- }
-
- .domains-list .props-main{
- width:345px;
- }
- .domains-list .ip-adr{
- font-size:16px;
- color:#888;
- }
- .domains-list .ip-adr-box .prop-box{
- margin-left:20px;
- }
-
- .domains-list .props-additional{
- width:230px;
- padding-top:0;
-/* background:#bbb;*/
- }
- .domains-list .props-ext{
- width:170px;
- padding-top:0;
-/* background:#ddd;*/
- }
-
-.b-usage-box{
- display:block;
-}
-
- .b-usage-box .prop-title{
- float:left;
- margin:2px 15px 0 0;
- }
- .b-usage-box .usage-box{
- float:left;
- width:136px;
- }
- .b-usage-box .usage-box{
-
- }
- .b-usage-box .value-box{
- float:left;
- width:75px;
- }
- .b-usage-box .max-size{
- float:right;
- }
- .b-usage-box .value{
- display:block;
- font-size:11px;
- line-height:1;
- color:#999;
- }
- .b-usage-box .max-size{
- position:relative;
- top:2px;
- font-size:14px;
- line-height:1;
- color:#ababab;
- }
- .b-usage-box .max-size .units{
- font-size:12px;
- color:#797979;
- }
- .graph{
- position:relative;
- border:1px solid #b7b7b9;
- font-size:0;
- line-height:0;
- }
- .graph .bar{
- position:relative;
- display:block;
- height:2px;
- }
- .critical .bar{
- background-color:#f00;
- }
- .middle .bar{
- background-color:#ff9934;
- }
- .low .bar{
- background-color:#9fec00;
- }
-
-/* New graphs */
-.b-stats-box{
- position:relative;
- margin-left:-25px;
- padding-left:25px;
- background:url(../images/stats-brace.png) no-repeat 0 50%;
- }
- .stats-box-title{
- position:absolute;
- top:50%;
- left:-68px;
-
- width:28px;
- margin-top:-6px;
- padding-right:35px;
- text-transform:uppercase;
- font-size:9px;
- line-height:12px;
- background:url(../images/stats-curve.png) no-repeat 85% 50%;
- color:#acacac;
- }
-
-.b-usage-box2{
- display:block;
- margin:0 0 22px;
- position:relative;
- }
- .b-usage-box2 .prop-title{
- float:left;
- margin:2px 15px 0 0;
- }
- .b-usage-box2 .usage-box{
- float:left;
- }
- .b-usage-box2 .value-box{
- padding-top:11px;
- float:left;
- width:85px;
- }
- .b-usage-box2 .max-size{
- position:relative;
- top:11px;
- float:right;
- padding:7px 0 0 3px;
- border-left:1px solid #B7B7B9;
- font-size:10px;
- line-height:1;
- color:#acacac;
- }
- .b-usage-box2 .max-size .units{
- font-size:10px;
- color:#acacac;
- }
- .b-usage-box2 .graph{
- position:relative;
- border:solid #b7b7b9;
- border-width:1px 0 1px 1px;
- font-size:0;
- line-height:0;
- }
- .b-usage-box2 .value{
- position:absolute;
- top:-15px;
- left:0;
- z-index:10;
- display:block;
- white-space:nowrap;
- padding:0 0 7px 3px;
- font-size:11px;
- line-height:1;
- background:url(../images/bar-value-mark.png) no-repeat 0 100%;
- color:#797979;
- }
- .b-usage-box2 .value-size{
- padding-left:3px;
- }
- .b-usage-box2 .graph .bar{
- position:relative;
- display:block;
- height:2px;
- background-color:#9fec00;
- }
-
- /* Overdraft */
- .b-usage-box2 .overdraft{}
-
- .b-usage-box2 .overdraft .value{
- margin-left:-1px;
- color:#F00;
- }
-
- .b-usage-box2 .bar_overdraft{
- position:absolute;
- top:-1px;
- z-index:5;
- display:block;
- height:2px;
- border:solid #b7b7b9;
- border-width:1px 0;
- background:#ff9934 url(../images/overrun-border.png) no-repeat 100% 0;
- }
-
-
-.domains-list .props-additional .prop-box,
-.domains-list .props-ext .prop-box{
- display:block;
- margin:0;
- }
- .stats-box{}
-
- .stats-box .stats-auth{
- position:relative;
- top:3px;
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- margin:0 0 0 5px;
- padding:0 0 0 10px;
- font-size:12px;
- line-height:1.5;
- color:#777;
- cursor:pointer;
- }
- .stats-box .stats-auth-on{
- background:url(../images/auth-plus.png) no-repeat 0 60%;
- }
- .stats-box .stats-auth-text{
- display:block;
- line-height:11px;
- border-bottom:1px solid #cacbbd;
- }
-
- .nginx-box{}
-
- .nginx-box .nginx-ext-list{
- position:relative;
- top:3px;
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- margin:0 0 0 5px;
- border-bottom:1px solid #cacbbd;
- font-size:12px;
- line-height:1;
- color:#777;
- cursor:pointer;
- }
- .template-box{}
-
- .template-box .prop-value{
- padding:0;
- cursor:pointer;
- border-bottom:1px solid #cbcbbf;
- }
-
-/* DNS list
-- - - - - - - - - - - - - - - - - - - */
-.dns-list{}
-
- .dns-list .row-details{
- padding-bottom:8px;
- }
- .dns-list .entry-created{
- padding-top:9px;
- }
- .dns-list .props-main{
- width:295px;
- }
- .dns-list .props-additional{
- width:200px;
- }
- .dns-list .props-ext{
- width:250px;
- }
-.dns-list .props-additional .prop-box,
-.dns-list .props-ext .prop-box{
- display:block;
- margin:0;
- }
-.dns-list .ip-adr-box{
- margin:0;
- }
- .dns-list .ip-adr{
- font-size:12px;
- line-height:1.5;
- color:#777;
- }
-
-/* Cron list
-- - - - - - - - - - - - - - - - - - - */
-.cron-list{}
-
- .cron-list .entry-created{
- padding-top:18px;
- }
- .cron-list .cron-meta{
- margin:0 0 9px;
- }
- .cron-meta .prop-box{
- min-width:0;
- }
- .cron-meta .prop-title{
- display:block;
- text-transform:none;
- font-size:10px;
- }
- .cron-meta .prop-value{
- padding:0;
- font-size:16px;
- color:#7c7c7c;
- }
- .cron-meta .cron-min,
- .cron-meta .cron-hour,
- .cron-meta .cron-day,
- .cron-meta .cron-week,
- .cron-meta .cron-month{
- min-width:45px;
- padding-right:20px;
- }
-
- .cron-command-box{
- margin:0 0 5px;
- }
- .cron-command-line{
- position:relative;
- padding:0 3px 0 0;
- font-family:Arial, Helvetica, sans-serif;
- font-size:20px;
- line-height:1.5;
- font-weight:normal;
- font-style:normal;
- color:#000;
-
- }
- .cron-command-line:active{
- color:#9fb749;
- }
- .cron-list .cron-command-line{
- border-bottom:1px solid #fff;
- }
-
- .cron-reported-to{
- margin:0 0 3px;
- }
- .cron-reported-to .prop-title{
- padding-right:3px;
- }
- .cron-reported-to .prop-value{
- padding:0 3px 0 0;
- }
-
-/* Users list
-- - - - - - - - - - - - - - - - - - - */
-.users-list{}
-
- .users-list .entry-created{
- padding-top:10px;
- }
- .users-list .user-wrap{
- margin:0 0 19px;
- }
- .users-list .props-main{
- width:345px;
- width:330px;
- }
- .users-list .username-box{
- padding-top:6px;
- margin:0 0 15px;
- }
- .users-list .username-box .user{
- position:relative;
- top:-6px;
- }
- .users-list .username-box .nickname{
- border-bottom:1px solid #fff;
- }
-
- .user-backups-box{
- margin-top:5px;
- }
- .user-backups-box .prop-title{
- border-bottom:1px solid #CBCBBF;
- font-size:12px;
- text-transform:capitalize;
- cursor:pointer;
- color:#777;
- }
-
- .users-list .props-additional{
- width:200px;
- width:225px;
- }
- .users-list .props-additional .prop-box,
- .users-list .props-ext .prop-box{
- display:block;
- }
- .users-list .props-additional .ns1-box,
- .users-list .props-additional .ns2-box{
- padding-left:27px;
- }
- .users-list .webtpl-box .group-switcher,
- .users-list .ns-list-box .group-switcher{
- padding-left:2px;
- }
- .users-list .props-additional .ns1-box .prop-title,
- .users-list .props-additional .ns2-box .prop-title{
- display: inline;
- float: left;
- margin: 2px 0 0 -27px;
- }
- .users-list .props-additional .ns1-box .prop-value,
- .users-list .props-additional .ns2-box .prop-value{
- padding:0;
- }
-
- .users-list .props-ext{
- width:190px;
- }
-
- .users-list .db-box,
- .users-list .dnsdomains-box{
- margin-top:35px;
- }
-
- .username-box .prop-box{
- position:relative;
- margin:0;
- }
- .user-details{
- font-size:12px;
- }
- .user-details .user-email{
- color:#777;
- padding-right:5px;
- }
- .user-details .user-reports{
- color:#9c9c9c;
- }
-
- .user-details .login-as{
- border-bottom: 1px solid #CBCBBF;
- cursor: pointer;
- padding-left: 0;
- }
-
- .user-details-box .prop-box{
- margin:0 0 5px;
- }
- .user-details-box .user-name .prop-value,
- .user-details-box .user-email{
- font-style:italic;
- color:#706f6b;
- }
-
-/* DB list
-- - - - - - - - - - - - - - - - - - - */
-.db-list{}
-
- .db-list .row-details{
- padding-bottom:8px;
- }
- .db-list .db-devider{
- margin-top:25px;
- position:relative;
- display:block;
- border-bottom:1px solid #e0e0e0;
- }
- .db-list .db-devider-title{
- display:block;
- position:absolute;
- top:-8px;
- left:0;
- width:100%;
- }
- .db-list .db-devider-outer{
- display:block;
- position:absolute;
- left:50%;
- }
- .db-list .db-devider-inner{
- background:#fff;
- position:relative;
- left:-50%;
- padding:0 10px;
-
- font-size:11px;
- font-weight:bold;
- text-transform:uppercase;
- color:#4097B3;
- }
-
- .db-list .props-main{
- width:210px;
- padding-right:10px;
- }
- .db-list .props-additional{
- width:340px;
- padding-top:6px;
- }
- .db-list .props-ext{
- width:257px;
- padding-top:6px;
- }
- .db-name{
- position:relative;
- margin:0 0 6px;
- padding:0 3px 0 0;
- }
- .db-name-box .db-name{
- font-size:20px;
- font-family:Arial, Helvetica, sans-serif;
- font-weight:normal;
- font-style:normal;
- line-height:27px;
- }
- .db-name:active{
- color:#9fb749;
- }
- .db-list .db-name{
- border-bottom:1px solid #fff;
- }
-
- .db-list .ownership .prop-box{
- margin:5px 0 0;
- }
- .db-list .ownership .prop-value{
- padding:0;
- font-size:11px;
- font-style:italic;
- }
- .db-list .entry-created{
- padding:0;
- }
- .db-user-box{
- margin:0 0 10px;
- }
- .db-user-box .db-user{
- position:relative;
- display:block;
- float:left;
- margin-right:25px;
- padding-right:20px;
-
- font-size:12px;
- line-height:1.25; /*15px*/
- font-style:italic;
- color:#999;
- }
- .db-user-box .db-user:hover{
- color:#f00;
- }
- .db-user-box .change-pwd{
- position:relative;
- top:1px;
- display:inline-block;
- border-bottom:1px solid #c9cabc;
- text-transform:uppercase;
- line-height:13px;
- cursor:pointer;
- visibility:hidden;
- }
- .add-db-user{
- border-bottom:1px solid #c9cabc;
- text-transform:uppercase;
- line-height:13px;
- padding-left:10px;
- background:url(../images/auth-plus.png) no-repeat 0 50%;
- color:#555;
- cursor:pointer;
- }
- .backup-db{
- float:left;
- position:relative;
- top:2px;
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- border-bottom:1px solid #cacbbd;
- font-size:12px;
- line-height:13px;
- color:#777;
- cursor:pointer;
- }
- .db-list .b-usage-box{
- float:right;
- position:relative;
- top:1px;
- }
- .db-list .b-usage-box .usage-box{
- width:auto;
- }
- .db-list .b-usage-box .value,
- .db-list .b-usage-box .max-size{
- color:#797979;
- }
- .db-list .b-usage-box .value-box{
- width:60px;
- margin-right:5px;
- }
- .db-list .b-usage-box .max-size{
- float:left;
- }
- .db-list .b-usage-box .max-size .units{
- color:#ABABAB;
- }
-
-/* Backups list
-- - - - - - - - - - - - - - - - - - - */
-.backups-list{}
-
- .backups-list .row{
- padding:25px 10px 15px;
- }
- .backups-list .ownership{
- padding:5px 0 0;
- }
- .backups-list .props-main{
- padding-top:5px;
- }
- .backups-list .props-main .prop-box{
- margin:0;
- }
- .backups-list .props-additional{
- width:165px;
- padding:4px 0 0;
- }
- .backups-list .props-ext{
- width:165px;
- padding:0;
- }
- .backups-list .entry-created{
- width:185px;
- padding:0;
- }
- .backups-list .backup-date,
- .backups-list .backup-weekday{
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
- }
- .backups-list .backup-date .backup-day{
- display:block;
- width:105px;
- font-size:14px;
- font-family:Arial,Helvetica,sans-serif;
- font-weight:bold;
- line-height:20px;
- color:#47443f;
- }
- .backups-list .backup-weekday{
- padding-top:4px;
- color:#408abb;
- }
- .backups-list .backup-time,
- .backups-list .generation-time .prop-value{
- font-size:10px;
- color:#999;
- }
- .backups-list .generation-time .prop-value{
- color:#9C9C9C;
- }
-
- .backups-list .generation-time{
- padding-top:4px;
- }
- .backups-list .backup-size{
- display:-moz-inline-stack;
- display:inline-block;
- padding-right:12px;
-
- font-size:10px;
- line-height:24px;
-
- background:url(../images/green-bracket-l.png) no-repeat 0 50%;
- color:#595959;
- }
- .backups-list .backup-size-inner{
- display:-moz-inline-stack;
- display:inline-block;
-
- padding:0 10px;
- background:url(../images/green-bracket-r.png) no-repeat 100% 50%;
- }
- .backups-list .backup-url,
- .backups-list .backup-actions{
- font-size:13px;
- color:#999;
- }
- .backups-list .backup-actions{
- background:#ccc;
- }
- .backups-list .backup-actions-url{
- float:right;
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- -webkit-border-radius:9px;
- -moz-border-radius:9px;
- border-radius:9px;
-
- border:2px solid #fff;
- color:#999;
- line-height:26px;
- }
- .backups-list .row a.backup-actions-url:hover{
- padding:0 12px;
-
- border-color:#c8c09c;
- background-color:#feff99;
- color:#444428;
- font-size:14px;
- font-family:Arial, Helvetica, sans-serif;
- font-weight:bold;
- cursor:pointer;
- text-decoration:none;
- text-transform:uppercase;
- }
-
- .backups-list .detailed-restore-ext{
- display:none;
- }
-
- .backups-list a.detailed-restore-url:hover .detailed-restore-title{
- text-transform:none;
- }
- .backups-list a.detailed-restore-url:hover .detailed-restore-ext{
- display:inline-block;
- }
-
- .backups-list .restore-url{
- margin-left:10px;
- color:#93b749;
- }
-
- .backup-tree{
- padding-left:130px;
- }
-
- .backup-tree .backup-tree-item{
- padding:0 0 7px 25px;
- background:url(../images/backup-checkbox.png) no-repeat 0 .5em;
- }
- .backup-tree .unchecked{
- background:url(../images/backup-checkbox-unchecked.png) no-repeat 0 .5em;
- }
- .backup-tree .checked{
- background:url(../images/backup-checkbox-checked.png) no-repeat 0 .5em;
- }
-
- .backup-tree .backup-sections,
- .backup-tree .backup-sections .sub-tree{
- padding:10px 0 0 25px;
- }
-
- .backup-tree .node-item{
- font-size:13px;
- font-weight:bold;
- padding-left:15px;
- background:url(../images/backup-collapsed-ico.png) no-repeat 0 .3em;
- border-bottom:1px dashed #cfd19f;
- color:#5a6962;
- cursor:pointer;
- }
- .backup-tree .node-item:hover{
- color:#ffcf0b;
- }
-
- .backup-tree .expanded{
- background:url(../images/backup-expand-ico.png) no-repeat 0 .45em;
- }
- .backup-tree .backup-sections .sub-tree .node-item{
- font-style:italic;
- color:#abad85;
- padding:0;
- background:none;
- border:none;
- }
- .backup-tree .backup-sections .sub-tree .node-item:hover{
- color:#abad85;
- }
-
- .backup-tree .backup-sections .sub-tree .checked .node-item{
- color:#5a6962;
- font-style:normal;
- }
-
-/* Highlighted backup row */
-.backup-details-row_highlighted,
-.backups-list .backup-details-row_highlighted:hover{
- background:#666;
- }
- .backup-details-row_highlighted .notes-wrap{
- font-size:14px;
- line-height:25px;
- font-weight:bold;
- text-transform:uppercase;
- color:#bad23e;
- text-align:center;
- padding:0 0 10px;
- }
- .backup-details-row_highlighted .restore-ico{
- padding:4px 0 4px 30px;
- line-height:25px;
- background:url(../images/backup-restore-ico.png) no-repeat;
- }
- .backup-details-row_highlighted .backup-time{
- color:#fff;
- }
- .backup-details-row_highlighted .ownership .prop-value{
- color:#c8c8c8;
- }
- .backups-list .backup-details-row_highlighted .backup-day{
- color:#fff;
- }
- .backups-list .backup-details-row_highlighted .backup-size{
- color:#ccc;
- }
- .backups-list .backup-details-row_highlighted .backup-actions{
- display:none;
- }
-
-/* row hover effect
-- - - - - - - - - - - - - - - - - - - */
-.row:hover{
-// background-color:#ffffcb;
- background-color: #FEFFD9;
-}
-.ip-list .row:hover .ip-adr,
-.domains-list .row:hover .names .primary,
-.dns-list .row:hover .names .primary,
-.cron-list .row:hover .cron-command-line,
-.users-list .row:hover .username-box .nickname,
-.db-list .row:hover .db-name
-{
- border-bottom-style:solid;
-// border-bottom-color:#e5e5e5;
-// border-bottom-color:#ccc;
-// border-bottom-color: #1DB4D6;
- color: #2EAABD;
-// color: #333;
- text-decoration: underline;
-// text-shadow: 1px 1px 3px #3DB8FF;
-// text-shadow: 1px 1px 2px #B4DEFC;
-}
-.ip-list .row:hover .ip-adr:hover,
-.domains-list .row:hover .names .primary:hover,
-.dns-list .row:hover .names .primary:hover,
-.cron-list .row:hover .cron-command-line:hover,
-.users-list .row:hover .username-box .nickname:hover,
-.db-list .row:hover .db-name:hover{
- cursor:pointer;
-// border-bottom-style:solid;
-// border-bottom-color:#b4c775;
-// border-bottom-color:#333;
-// color: #FF4B4B;
-// color: #E9640B;
- color: #FF5B5B;
- text-decoration: underline;
- text-shadow: 1px 1px 2px #FEFFC7;
-}
-.ip-list .ip-details-suspended:hover .ip-adr,
-.ip-list .ip-details-suspended:hover .ip-adr:hover{
- border:none;
- cursor:default;
-}
-.backups-list .row:hover .backup-actions-url{
- border-color:#ffffcb;
-}
-
-.row:hover .ip-status-info{
- background:url(../images/enabled-ico_.png) no-repeat 100% 50%;
-}
-.row:hover .delete-entry,
-.row:hover .db-user-box .db-user{
- background:url(../images/delete-ico-off.png) no-repeat 100% 4px;
-}
-.row:hover .ip-suspended-status{
- background:url(../images/suspended-ico.png) no-repeat 100% 65%;
-}
-.ip-status-info:hover .ip-status-text,
-.delete-entry:hover .delete-entry-text,
-.row:hover .db-user-box .change-pwd{
- visibility:visible;
-}
-.row .ip-status-info:hover{
- background-image:url(../images/enabled-ico-hover.png);
-}
-.row .ip-suspended-status:hover{
- background-image:url(../images/suspended-ico.png);
-}
-.row .delete-entry:hover,
-.row .db-user-box .db-user:hover{
- background-image:url(../images/delete-ico.png);
- cursor:pointer;
-}
-.row .delete-entry:active{
- background-image:url(../images/delete-ico-active.png);
- cursor:pointer;
-}
-.delete-entry:hover .delete-entry-text{
- color:#333;
-}
-.delete-entry .delete-entry-text:hover{
- cursor:pointer;
-}
-.delete-entry .delete-entry-text:active{
- color:#f00;
-}
-.row:hover .show-records,
-.row:hover .hide-records,
-.row:hover .template-box .prop-value,
-.domains-list .row:hover .stats-box .stats-auth-text,
-.domains-list .row:hover .nginx-box .nginx-ext-list,
-.row:hover .db-user-box .change-pwd,
-.row:hover .add-db-user,
-.row:hover .backup-db,
-.row:hover .user-backups-box .prop-title,
-.row:hover .group-switcher .group-values-count{
- color: #5BA0AD;
- border-bottom-color:#cacbbd;
-}
-
-.row:hover .user-details .login-as{
- border-bottom: 1px solid #FF9591;
- color: #FFCC00;
-}
-
-
-.row:hover .template-box .prop-value:hover,
-.row:hover .show-records:hover,
-.hide-records:hover,
-.domains-list .row:hover .stats-box .stats-auth-text:hover,
-.domains-list .row:hover .nginx-box .nginx-ext-list:hover,
-.row .db-user-box .change-pwd:hover,
-.row .add-db-user:hover,
-.row .backup-db:hover,
-.row .user-backups-box:hover .prop-title,
-.row .group-switcher:hover .group-values-count,
-.generate-pwd:hover,
-.context-settings:hover,
-.add-ns .btn-title:hover
-{
-// color: #26A9E0;
- color: #FF8D80;
- border-bottom-color:#b4c775;
-}
-
-.row .template-box:active .prop-value,
-.row .prop-value:active,
-.row .show-records:active,
-.hide-records:active,
-.domains-list .row:hover .stats-box .stats-auth-text:active,
-.domains-list .row:hover .nginx-box .nginx-ext-list:active,
-.users-list .username-box .nickname:active,
-.users-list .user-backups-box .prop-title:active,
-.row .db-user-box .change-pwd:active,
-.row .add-db-user:active,
-.row .backup-db:active,
-.row .user-backups-box:active .prop-title,
-.row .group-switcher:active .group-values-count,
-.generate-pwd:active,
-.context-settings:active,
-.add-ns .btn-title:active
-{
- color: #FFCC00;
-}
-.add-domain:hover{
- color: #92BD10;
- border-bottom: 1px solid #828477;
-}
-.add-domain:active{
- color: #FFCC00;
-}
-
-
-/* Checked row
-- - - - - - - - - - - - - - - - - - - */
-.checked-row{
- background-color:#e4f7bf;
-}
- .checked-row .row-actions-box .check-control{
- background-position:0 -30px;
- }
-
- .domains-list .checked-row .names .primary,
- .dns-list .checked-row .names .primary,
- .cron-list .checked-row .cron-command-line,
- .users-list .checked-row .username-box .nickname,
- .db-list .checked-row .db-name{
- border-bottom:1px solid #e4f7bf;
- }
-
-/* Suspended row
-- - - - - - - - - - - - - - - - - - - */
-.ip-details-suspended,
-.suspended-row{}
-
-.ip-details-suspended:hover,
-.suspended-row:hover{
- background-color:#fff;
-}
- .ip-details-suspended .entry-created,
- .suspended-row .entry-created,
- .suspended-row .username-box .role{
- color:#ccc;
- }
- .ip-details-suspended .ip-adr,
- .suspended-row .ip-adr,
- .suspended-row .cron-command-line,
- .suspended-row .username-box,
- .suspended-row .username-box .nickname,
- .suspended-row .user-name .prop-value,
- .suspended-row .user-backups-box .prop-title,
- .suspended-row .user-details .user-email,
- .suspended-row .user-details .user-reports,
- .suspended-row .template-box .prop-value,
- .suspended-row .stats-box-title,
- .suspended-row .stats-box .stats-auth,
- .suspended-row .nginx-box .nginx-ext-list{
- color:#ccc;
- border:none;
- }
- .ip-details-suspended:hover .ip-adr,
- .suspended-row:hover .ip-adr,
- .suspended-row:hover .names .primary,
- .domains-list .suspended-row:hover .names .primary,
- .dns-list .suspended-row:hover .names .primary,
- .cron-list .suspended-row:hover .cron-command-line,
- .users-list .suspended-row:hover .username-box .nickname,
- .users-list .suspended-row:hover .user-backups-box .prop-title,
- .suspended-row .stats-box .stats-auth-text{
- border:none;
- }
- .ip-details-suspended:hover .ip-adr:hover,
- .suspended-row:hover .ip-adr:hover,
- .cron-list .suspended-row:hover .cron-command-line:hover,
- .users-list .suspended-row:hover .username-box .nickname:hover,
- .users-list .suspended-row:hover .user-backups-box .prop-title:hover,
- .cron-list .suspended-row:hover .cron-command-line{
- border:none;
- cursor:default;
- }
- .users-list .suspended-row .username-box .nickname:active,
- .users-list .suspended-row .user-backups-box .prop-title:active{
- color:#ccc;
- }
-
-.ip-details-suspended .prop-title,
-.ip-details-suspended .prop-value,
-.suspended-row .prop-title,
-.suspended-row .prop-value,
-.suspended-row .b-usage-box .value,
-.suspended-row .b-usage-box .max-size,
-.suspended-row .b-usage-box .max-size .units,
-.suspended-row .b-usage-box2 .value,
-.suspended-row .b-usage-box2 .max-size,
-.suspended-row .names .primary{
- color:#ccc;
-}
-.suspended-row .b-usage-box .bar,
-.suspended-row .b-usage-box2 .graph .bar {
- background-color:#ccc;
-}
-.suspended-row:hover .show-records,
-.suspended-row:hover .hide-records,
-.suspended-row:hover .template-box .prop-value,
-.domains-list .suspended-row:hover .stats-box .stats-auth-text,
-.domains-list .suspended-row:hover .nginx-box .nginx-ext-list,
-.suspended-row:hover .user-backups-box .prop-title,
-.suspended-row:hover .template-box .prop-value:hover,
-.suspended-row:hover .show-records:hover,
-.suspended-row .hide-records:hover,
-.domains-list .suspended-row:hover .stats-box .stats-auth-text:hover,
-.domains-list .suspended-row:hover .nginx-box .nginx-ext-list:hover{
- color:#ccc;
- border:none;
- cursor:default;
-}
-.suspended-row:hover .template-box .prop-value:active,
-.suspended-row:hover .show-records:active,
-.suspended-row .hide-records:active,
-.domains-list .suspended-row:hover .stats-box .stats-auth-text:active,
-.domains-list .suspended-row:hover .nginx-box .nginx-ext-list:active,
-.users-list .suspended-row .username-box .nickname:active,
-.users-list .suspended-row .user-backups-box .prop-title:active{
- color:#ccc;
-}
-.suspended-row .stats-box-title{
- background-image:url(../images/stats-curve-grey.png);
-}
-
-.success-box {
- color: #BBBF45;
- font-size: 22px;
- padding-left: 136px;
- padding-bottom: 30px;
-}
-
-.inactive-row { font-style: italic; opacity: 0.38; background: url('../images/bg_line.png');filter: alpha(opacity = 38); }
-.form-suspended input[type="text"], .form-suspended input[type="checkbox"], .form-suspended .checkbox, .form-suspended select, .form-suspended textarea, .form-suspended .select { opacity: 0.38;filter: alpha(opacity = 38); }
-.form-suspended .do_action_toggle_suspend {opacity: 1; filter: alpha(opacity = 100);}
-
-
-/*
-.stats-block{
- background:#474338;
- padding:10px;
- width:600px;
- margin:0 auto 10px;
-}
-.stats-block-header{
- color:#fc0;
- font-size:12px;
- font-weight:bold;
- text-align:center;
-}
-.stats-block .stats-graph{
- display:block;
- margin:0 auto;
-}
-*/
-/* START: DEV!!
-.stats-subbar span{
- cursor: pointer;
- margin-left: 22px;
- color: #5D5D5D;
- border-bottom: 1px dotted #5D5D5D;
- font-size: 11px;
-}
-.stats-subbar .sub-active{
- font-weight: bold;
- color: #FF6766;
- border-bottom: 0;
-}
- END: DEV */
-
-
-/* stats
-- - - - - - - - - - - - - - - - - - - */
-.date-range-controls{
- float:left;
- margin-left:-220px;
- }
- .date-range-control{
- display:-moz-inline-stack;
- display: inline-block;
- zoom: 1;
- *display: inline;
- vertical-align:top;
-
- margin:0 0 0 20px;
- font-size:11px;
- line-height:15px;
- border-bottom:1px dotted #5D5D5D;
- cursor:pointer;
- }
- span.date-range-control:hover{
- color:#2ea8bd;
- border-bottom-color:#2ea8bd;
- }
- span.date-range-control:active{
- color:#fc0;
- border-bottom-color:#fc0;
- }
-
- .date-range-controls .active{
- border:none;
- font-weight:bold;
- color:#ff6766;
- }
- .date-range-controls .motive{
- text-transform: uppercase;
- color: #898989;
- line-height: 17px;
- }
-
-
-.stats-components{
- position:relative;
- /*top:3px;*/
- float:right;
- }
- .stats-components .stats-component{
- margin-left:7px;
- }
- .stats-components .cust-checkbox-title{
- line-height:13px;
- }
-
-.stats-period{
- width:620px;
- padding:30px 0 0;
- margin:0 auto 20px;
- font-size:11px;
- }
- .stats-period-title{
- padding:2px 40px 0 0;
- text-transform:uppercase;
- color:#bcbcbc;
- }
- .stats-period .dt-day,
- .stats-period .dt-time{
- font-size:12px;
- line-height:18px;
- font-weight:bold;
- }
- .stats-period .dt-day{
- color:#5f5e59;
- }
- .stats-period .dt-time{
- padding-left:10px;
- font-size:11px;
- color:#bab7ae;
- }
- .stats-period-devider{
- padding:0 25px;
- }
-
-.stats-block{
- width:600px;
- margin:0 auto 10px;
- padding:10px 10px 34px;
- background:#474338;
- }
- .stats-block-header{
- color:#fc0;
- font-size:12px;
- font-weight:bold;
- text-align:center;
- }
- .stats-block .stats-graph{
- display:block;
- margin:0 auto;
- }
-
-
diff --git a/web/css/main2.css b/web/css/main2.css
deleted file mode 100644
index e69de29b..00000000
diff --git a/web/css/popup.css b/web/css/popup.css
deleted file mode 100644
index 57afbbae..00000000
--- a/web/css/popup.css
+++ /dev/null
@@ -1,85 +0,0 @@
-/* Styles for popups */
-.d-popup{
- position:absolute;
- top:100px;
- left:0;
- z-index:100;
- background-color:#ccc;
- background:url(../images/info-popup-bg-2.png) repeat;
-
- width:250px;
-
- border-radius: 10px;
- -moz-border-radius: 10px;
- -webkit-border-radius: 10px;
-}
-.d-popup-inner{
- padding:20px;
- color:#fff;
-}
-.d-popup .close{
- position:absolute;
- top:10px;
- right:10px;
-
- display:block;
- width:14px;
- height:14px;
- background:url(../images/info-popup-sprite.png) no-repeat 0 -1px;
- cursor:pointer;
- font-size:0;
- line-height:0;
- text-indent:-9999px;
- }
- .d-popup span.close:hover{
- background-position:0 -17px;
- }
- .d-popup span.close:active{
- background-position:0 -33px;
- }
-.d-popup-title{
- font-size:11px;
- text-transform:uppercase;
- text-align:center;
- color:#fffaba;
- margin:5px 0 16px;
- letter-spacing: 2px;
-}
-.d-popup-items{
- font-size:12px;
- color:#fff;
-}
-.d-popup-items .item{
- margin:0 0 9px;
-}
-.d-popup-items a{
- color:#aaa;
- padding-right:5px;
-}
-.d-popup .prop-box{
- display:block;
-}
-.d-popup .prop-title{
- color:#bbb;
-}
-.d-popup .prop-value{
- color:#fff;
- margin-bottom: 5px;
-}
-.d-popup-content{
- color: #fff;
- font-size: 13px;
- line-height: 24px;
-}
-.d-popup-content li{
- margin-bottom: 5px;
- color: #fff;
- font-size: 12px;
-}
-.d-popup-content li strong{
- color: #BDB9AE;
- text-transfom: uppercese;
- font-weight: normal;
- font-size: 10px;
- margin-right: 7px;
-}
diff --git a/web/css/reset2.css b/web/css/reset2.css
deleted file mode 100644
index b2056d65..00000000
--- a/web/css/reset2.css
+++ /dev/null
@@ -1,45 +0,0 @@
-html, body, div, span, applet, object, iframe,
-h1, h2, h3, h4, h5, h6, p, blockquote, pre,
-a, abbr, acronym, address, big, cite, code,
-del, dfn, em, font, img, ins, kbd, q, s, samp,
-small, strike, strong, sub, sup, tt, var,
-b, u, i, center,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, caption, tbody, tfoot, thead, tr, th, td {
-margin: 0;
-padding: 0;
-border: 0;
-outline: 0;
-font-size: 100%;
-vertical-align: baseline;
-background: transparent;
-}
-body {
-line-height: 1;
-}
-ol, ul {
-list-style: none;
-}
-blockquote, q {
-quotes: none;
-}
-
-/* remember to define focus styles! */
-:focus {
-outline: 0;
-}
-
-/* remember to highlight inserts somehow! */
-ins {
-text-decoration: none;
-}
-del {
-text-decoration: line-through;
-}
-
-/* tables still need 'cellspacing="0"' in the markup */
-table {
-border-collapse: collapse;
-border-spacing: 0;
-}
\ No newline at end of file
diff --git a/web/css/vesta-login-form.css b/web/css/vesta-login-form.css
deleted file mode 100644
index 73e0e93e..00000000
--- a/web/css/vesta-login-form.css
+++ /dev/null
@@ -1,212 +0,0 @@
-/* Page specific styles */
-.page-auth{
- background:url(../images/auth/auth-bg.png) repeat;
-}
-.cc:after{
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
-}
-*html .cc{
- zoom:1;
-}
-+html .cc{
- zoom:1;
-}
-.page-auth .b-auth-form{}
-
-.page-auth .b-auth-form{
- width:525px;
- margin:7% auto 0;
- padding:20px 20px 0;
- background:url(../images/auth/form-bg.png) repeat;
-
- -webkit-border-radius:15px;
- -moz-border-radius:15px;
- border-radius:15px;
- behavior: url(js/PIE.htc);
- font-family:Arial, Helvetica, sans-serif;
-}
-.page-auth .b-auth-form-wrap{
- position:relative;
- padding-top:30px;
-}
-.page-auth .vesta-logo{
- position:absolute;
- top:0;
- left:0;
- display:block;
-}
-.page-auth .b-client-title{
- margin:0 0 45px;
- padding-left:130px;
- font-size:35px;
- background:url(../images/auth/planet-1.png) no-repeat 85px 27px;
- color:#fff;
- }
- .client-title-wrap{
- position:relative;
- text-transform: uppercase;
- font-size:24px;
- }
- .client-title-wrap .planets{
- display:block;
- width:91px;
- height:7px;
- position:absolute;
- top:40%;
- right:-121px;
- background:url(../images/auth/planet-2.png) no-repeat scroll 0 -1px;
- }
-.page-auth .form-row{
- margin:0 0 15px;
-}
-.page-auth .last-row{
- padding:27px 90px 0 133px;
-}
- .page-auth .field-label{
- float:left;
- width:101px;
- padding-left:15px;
- padding-right:17px;
- color:#e3d785;
- font-size:12px;
- font-weight:bold;
- line-height:34px;
- font-family:Arial, Helvetica, sans-serif;
- text-transform:uppercase;
- text-align:right;
- /*letter-spacing:-.5px;*/
- }
- .page-auth .field-text{
- width:290px;
- padding:4px 5px;
- font-size:20px;
- border:2px solid #0c6c9c;
- background:#2d2c28;
- color:#fff;
- }
- .page-auth .field-text:focus{
- -moz-box-shadow:0 0 8px rgba(76, 147, 189, 0.7);
- -webkit-box-shadow:0 0 8px rgba(76, 147, 189, 0.7);
- border-color:rgba(76, 147, 189, 0.85) !important;
- }
-
- .page-auth .b-remember{
- float:left;
- padding-top:5px;
- }
- .page-auth .remember-label{
- cursor:pointer;
- padding:2px 2px 2px 8px;
- color:#747975;
- font-size:12px;
- font-family:Arial, Helvetica, sans-serif;
- }
- span.ui-checkbox{
- display: block;
- float: left;
- width: 14px;
- height: 15px;
-/* background:url(icon_checkbox.png) 0 -40px no-repeat;*/
- background:url(../images/auth/checkboxes.png) no-repeat;
- }
- .ui-helper-hidden-accessible{
- display: none;
- }
- span.ui-checkbox-state-hover{
- background-position: 0 -15px;
- }
- span.ui-checkbox-state-checked,
- span.ui-checkbox-state-checked-hover{
- background-position: 0 -30px;
- }
-
- .page-auth .sumbit-btn{
- float:right;
- overflow:visible;
- height:30px;
- padding:0 40px;
- -webkit-border-radius:9px;
- -moz-border-radius:9px;
- border-radius:9px;
- behavior: url(js/PIE.htc);
-
- border:2px solid #2C2C10;
- background-color:#BBBF45;
- color:#ffffdf;
- font-size:13px;
- font-family:Arial, Helvetica, sans-serif;
- font-weight:bold;
- line-height:27px;
- text-transform:uppercase;
- cursor:pointer;
- }
- .page-auth .sumbit-btn:focus{
- position:relative;
- top:1px;
- }
- .page-auth .sumbit-btn:hover{
- background-color:#ffcc00;
- color:#483600;
- border-color:#000;
- }
- .page-auth .sumbit-btn:active{
- top:0;
- background-color:#96A332;
- color:#FFFFFF;
- border-color:#2C2C10;
- }
-
- .page-auth .forgot-pwd{
- padding:60px 0 10px 137px;
- font-size:13px;
- }
- .page-auth .forgot-pwd-url{
- color:#6f7571;
- }
- .page-auth a.forgot-pwd-url:hover{
- color:#849e54;
- }
- .page-auth a.forgot-pwd-url:active{
- color:#edca38;
- }
-
-.page-auth .error-box{
- border-top:1px dashed #f16d6b;
- padding:10px 0 21px 131px;
- font-size:14px;
- font-weight:bold;
- color:#f16d6b;
-}
-
-.page-auth .footnotes{
- margin:0 -20px;
- padding:15px 20px;
- font-size:14px;
- border-top:1px solid #34352f;
- color:#5a5e5d;
- }
- .page-auth .footnotes .additional-info{
- float:left;
- font-size:12px;
- font-family:Georgia, "Times New Roman", Times, serif;
- font-style:italic;
- }
- .page-auth .footnotes .questions-url{
- color:#5a5e5d;
- }
- .page-auth .footnotes a.questions-url:hover{
- color:#849e54;
- }
- .page-auth .footnotes a.questions-url:active{
- color:#edca38;
- }
- .page-auth .footnotes .imprint{
- float:right;
- font-style:normal;
- font-size:11px;
- padding-top:1px;
- }
diff --git a/web/dispatch.php b/web/dispatch.php
deleted file mode 100644
index 36788a21..00000000
--- a/web/dispatch.php
+++ /dev/null
@@ -1,8 +0,0 @@
-
diff --git a/web/images/Asteroid_Vesta.jpg b/web/images/Asteroid_Vesta.jpg
deleted file mode 100644
index 626b75d5..00000000
Binary files a/web/images/Asteroid_Vesta.jpg and /dev/null differ
diff --git a/web/images/_fav.ico b/web/images/_fav.ico
deleted file mode 100644
index eeda47d8..00000000
Binary files a/web/images/_fav.ico and /dev/null differ
diff --git a/web/images/add-entry-plus.gif b/web/images/add-entry-plus.gif
deleted file mode 100644
index f4d45b9b..00000000
Binary files a/web/images/add-entry-plus.gif and /dev/null differ
diff --git a/web/images/add.png b/web/images/add.png
new file mode 100644
index 00000000..ba782da1
Binary files /dev/null and b/web/images/add.png differ
diff --git a/web/images/asterisk2.png b/web/images/asterisk2.png
deleted file mode 100644
index 363ea7ad..00000000
Binary files a/web/images/asterisk2.png and /dev/null differ
diff --git a/web/images/auth-plus.png b/web/images/auth-plus.png
deleted file mode 100644
index f3f90e53..00000000
Binary files a/web/images/auth-plus.png and /dev/null differ
diff --git a/web/images/auth/auth-bg.png b/web/images/auth/auth-bg.png
deleted file mode 100644
index d605bba5..00000000
Binary files a/web/images/auth/auth-bg.png and /dev/null differ
diff --git a/web/images/auth/checkboxes.png b/web/images/auth/checkboxes.png
deleted file mode 100644
index 9700e1ac..00000000
Binary files a/web/images/auth/checkboxes.png and /dev/null differ
diff --git a/web/images/auth/form-bg.png b/web/images/auth/form-bg.png
deleted file mode 100644
index b08d533a..00000000
Binary files a/web/images/auth/form-bg.png and /dev/null differ
diff --git a/web/images/auth/logo.png b/web/images/auth/logo.png
deleted file mode 100644
index 4ce3235d..00000000
Binary files a/web/images/auth/logo.png and /dev/null differ
diff --git a/web/images/auth/planet-1.png b/web/images/auth/planet-1.png
deleted file mode 100644
index 37909486..00000000
Binary files a/web/images/auth/planet-1.png and /dev/null differ
diff --git a/web/images/auth/planet-2.png b/web/images/auth/planet-2.png
deleted file mode 100644
index 4e68279c..00000000
Binary files a/web/images/auth/planet-2.png and /dev/null differ
diff --git a/web/images/autocomplete-field-arrow.png b/web/images/autocomplete-field-arrow.png
deleted file mode 100644
index 7693cc74..00000000
Binary files a/web/images/autocomplete-field-arrow.png and /dev/null differ
diff --git a/web/images/autocomplete-field-arrows-sprite-2012-02-11.png b/web/images/autocomplete-field-arrows-sprite-2012-02-11.png
deleted file mode 100644
index 0bbb315d..00000000
Binary files a/web/images/autocomplete-field-arrows-sprite-2012-02-11.png and /dev/null differ
diff --git a/web/images/autocomplete-field-arrows-sprite.png b/web/images/autocomplete-field-arrows-sprite.png
deleted file mode 100644
index 355589fd..00000000
Binary files a/web/images/autocomplete-field-arrows-sprite.png and /dev/null differ
diff --git a/web/images/b.png b/web/images/b.png
new file mode 100644
index 00000000..fcf0ab0f
Binary files /dev/null and b/web/images/b.png differ
diff --git a/web/images/b1.png b/web/images/b1.png
new file mode 100644
index 00000000..8e0a38b0
Binary files /dev/null and b/web/images/b1.png differ
diff --git a/web/images/b2.png b/web/images/b2.png
new file mode 100644
index 00000000..5cc43dbe
Binary files /dev/null and b/web/images/b2.png differ
diff --git a/web/images/backup-checkbox-checked.png b/web/images/backup-checkbox-checked.png
deleted file mode 100644
index 80ce7f98..00000000
Binary files a/web/images/backup-checkbox-checked.png and /dev/null differ
diff --git a/web/images/backup-checkbox-unchecked.png b/web/images/backup-checkbox-unchecked.png
deleted file mode 100644
index d6757ce4..00000000
Binary files a/web/images/backup-checkbox-unchecked.png and /dev/null differ
diff --git a/web/images/backup-checkbox.png b/web/images/backup-checkbox.png
deleted file mode 100644
index 7a29e0cb..00000000
Binary files a/web/images/backup-checkbox.png and /dev/null differ
diff --git a/web/images/backup-checkboxes.png b/web/images/backup-checkboxes.png
deleted file mode 100644
index 792bc1c1..00000000
Binary files a/web/images/backup-checkboxes.png and /dev/null differ
diff --git a/web/images/backup-collapsed-ico.png b/web/images/backup-collapsed-ico.png
deleted file mode 100644
index 0b120fe4..00000000
Binary files a/web/images/backup-collapsed-ico.png and /dev/null differ
diff --git a/web/images/backup-expand-ico.png b/web/images/backup-expand-ico.png
deleted file mode 100644
index 50f68706..00000000
Binary files a/web/images/backup-expand-ico.png and /dev/null differ
diff --git a/web/images/backup-ico.png b/web/images/backup-ico.png
deleted file mode 100644
index b032ea21..00000000
Binary files a/web/images/backup-ico.png and /dev/null differ
diff --git a/web/images/backup-restore-ico.png b/web/images/backup-restore-ico.png
deleted file mode 100644
index 69619664..00000000
Binary files a/web/images/backup-restore-ico.png and /dev/null differ
diff --git a/web/images/bar-value-mark.png b/web/images/bar-value-mark.png
deleted file mode 100644
index c793daee..00000000
Binary files a/web/images/bar-value-mark.png and /dev/null differ
diff --git a/web/images/bg-left.gif b/web/images/bg-left.gif
deleted file mode 100644
index aaa82891..00000000
Binary files a/web/images/bg-left.gif and /dev/null differ
diff --git a/web/images/bg-right.gif b/web/images/bg-right.gif
deleted file mode 100644
index 13633741..00000000
Binary files a/web/images/bg-right.gif and /dev/null differ
diff --git a/web/images/bg_line.png b/web/images/bg_line.png
deleted file mode 100644
index d045b0eb..00000000
Binary files a/web/images/bg_line.png and /dev/null differ
diff --git a/web/images/check-row-sprite.png b/web/images/check-row-sprite.png
deleted file mode 100644
index ac264ee5..00000000
Binary files a/web/images/check-row-sprite.png and /dev/null differ
diff --git a/web/images/check-row-sprite_.png b/web/images/check-row-sprite_.png
deleted file mode 100644
index 385b0dd3..00000000
Binary files a/web/images/check-row-sprite_.png and /dev/null differ
diff --git a/web/images/checkbox-1.png b/web/images/checkbox-1.png
deleted file mode 100644
index f24061a4..00000000
Binary files a/web/images/checkbox-1.png and /dev/null differ
diff --git a/web/images/checkbox-selector-2012-01-29.png b/web/images/checkbox-selector-2012-01-29.png
deleted file mode 100644
index d5d708a5..00000000
Binary files a/web/images/checkbox-selector-2012-01-29.png and /dev/null differ
diff --git a/web/images/checkbox-selector-2012-01-31.png b/web/images/checkbox-selector-2012-01-31.png
deleted file mode 100644
index 0e0b31e3..00000000
Binary files a/web/images/checkbox-selector-2012-01-31.png and /dev/null differ
diff --git a/web/images/checkbox-selector.png b/web/images/checkbox-selector.png
deleted file mode 100644
index 698ac83b..00000000
Binary files a/web/images/checkbox-selector.png and /dev/null differ
diff --git a/web/images/checkbox.png b/web/images/checkbox.png
deleted file mode 100644
index cc805c8e..00000000
Binary files a/web/images/checkbox.png and /dev/null differ
diff --git a/web/images/checkboxes.png b/web/images/checkboxes.png
deleted file mode 100644
index b3704072..00000000
Binary files a/web/images/checkboxes.png and /dev/null differ
diff --git a/web/images/chekbox-selector.png b/web/images/chekbox-selector.png
deleted file mode 100644
index f2005fbf..00000000
Binary files a/web/images/chekbox-selector.png and /dev/null differ
diff --git a/web/images/chosen-sprite.png b/web/images/chosen-sprite.png
deleted file mode 100644
index d08e4b7e..00000000
Binary files a/web/images/chosen-sprite.png and /dev/null differ
diff --git a/web/images/console-bg.png b/web/images/console-bg.png
deleted file mode 100644
index 62139cce..00000000
Binary files a/web/images/console-bg.png and /dev/null differ
diff --git a/web/images/console-box-bg.png b/web/images/console-box-bg.png
deleted file mode 100644
index 2998ec1d..00000000
Binary files a/web/images/console-box-bg.png and /dev/null differ
diff --git a/web/images/content-separator.png b/web/images/content-separator.png
deleted file mode 100644
index 6c4e860d..00000000
Binary files a/web/images/content-separator.png and /dev/null differ
diff --git a/web/images/cust-option-bullets.png b/web/images/cust-option-bullets.png
deleted file mode 100644
index 074b8f84..00000000
Binary files a/web/images/cust-option-bullets.png and /dev/null differ
diff --git a/web/images/custom-arrow.png b/web/images/custom-arrow.png
deleted file mode 100644
index 86519025..00000000
Binary files a/web/images/custom-arrow.png and /dev/null differ
diff --git a/web/images/custom-checkbox.gif b/web/images/custom-checkbox.gif
deleted file mode 100644
index b733a174..00000000
Binary files a/web/images/custom-checkbox.gif and /dev/null differ
diff --git a/web/images/delete-ico-active.png b/web/images/delete-ico-active.png
deleted file mode 100644
index b7e334f3..00000000
Binary files a/web/images/delete-ico-active.png and /dev/null differ
diff --git a/web/images/delete-ico-off.png b/web/images/delete-ico-off.png
deleted file mode 100644
index 0b610965..00000000
Binary files a/web/images/delete-ico-off.png and /dev/null differ
diff --git a/web/images/delete-ico.png b/web/images/delete-ico.png
deleted file mode 100644
index 610913d8..00000000
Binary files a/web/images/delete-ico.png and /dev/null differ
diff --git a/web/images/delete.gif b/web/images/delete.gif
deleted file mode 100644
index ff82ef32..00000000
Binary files a/web/images/delete.gif and /dev/null differ
diff --git a/web/images/delete.png b/web/images/delete.png
new file mode 100644
index 00000000..a88a5cbf
Binary files /dev/null and b/web/images/delete.png differ
diff --git a/web/images/dotted.gif b/web/images/dotted.gif
deleted file mode 100644
index bcb6ab47..00000000
Binary files a/web/images/dotted.gif and /dev/null differ
diff --git a/web/images/download.png b/web/images/download.png
new file mode 100644
index 00000000..b9d2057c
Binary files /dev/null and b/web/images/download.png differ
diff --git a/web/images/edit.png b/web/images/edit.png
new file mode 100644
index 00000000..2ccfad8c
Binary files /dev/null and b/web/images/edit.png differ
diff --git a/web/images/enabled-ico-hover.png b/web/images/enabled-ico-hover.png
deleted file mode 100644
index 9396360e..00000000
Binary files a/web/images/enabled-ico-hover.png and /dev/null differ
diff --git a/web/images/enabled-ico.png b/web/images/enabled-ico.png
deleted file mode 100644
index 60c4ae59..00000000
Binary files a/web/images/enabled-ico.png and /dev/null differ
diff --git a/web/images/enabled-ico_.png b/web/images/enabled-ico_.png
deleted file mode 100644
index 76defa46..00000000
Binary files a/web/images/enabled-ico_.png and /dev/null differ
diff --git a/web/images/error-bullet.png b/web/images/error-bullet.png
deleted file mode 100644
index a114a2e6..00000000
Binary files a/web/images/error-bullet.png and /dev/null differ
diff --git a/web/images/fav.ico b/web/images/fav.ico
deleted file mode 100644
index a1ef0199..00000000
Binary files a/web/images/fav.ico and /dev/null differ
diff --git a/web/images/favicon.ico b/web/images/favicon.ico
new file mode 100644
index 00000000..7d65e5fc
Binary files /dev/null and b/web/images/favicon.ico differ
diff --git a/web/images/fone-tr.png b/web/images/fone-tr.png
deleted file mode 100644
index eb87b23b..00000000
Binary files a/web/images/fone-tr.png and /dev/null differ
diff --git a/web/images/footer-bg.gif b/web/images/footer-bg.gif
deleted file mode 100644
index 877d2e04..00000000
Binary files a/web/images/footer-bg.gif and /dev/null differ
diff --git a/web/images/form-bottom-bg.png b/web/images/form-bottom-bg.png
deleted file mode 100644
index eb9be903..00000000
Binary files a/web/images/form-bottom-bg.png and /dev/null differ
diff --git a/web/images/form-checkboxes.png b/web/images/form-checkboxes.png
deleted file mode 100644
index fadce3ea..00000000
Binary files a/web/images/form-checkboxes.png and /dev/null differ
diff --git a/web/images/form-group-collapsed.png b/web/images/form-group-collapsed.png
deleted file mode 100644
index 63bc551c..00000000
Binary files a/web/images/form-group-collapsed.png and /dev/null differ
diff --git a/web/images/form-group-collapsed.png.1 b/web/images/form-group-collapsed.png.1
deleted file mode 100644
index 63bc551c..00000000
Binary files a/web/images/form-group-collapsed.png.1 and /dev/null differ
diff --git a/web/images/form-group-collapsed_.png b/web/images/form-group-collapsed_.png
deleted file mode 100644
index f8ce963d..00000000
Binary files a/web/images/form-group-collapsed_.png and /dev/null differ
diff --git a/web/images/form-group-expanded.png b/web/images/form-group-expanded.png
deleted file mode 100644
index 6c9cd495..00000000
Binary files a/web/images/form-group-expanded.png and /dev/null differ
diff --git a/web/images/form-group-expanded.png.1 b/web/images/form-group-expanded.png.1
deleted file mode 100644
index 6c9cd495..00000000
Binary files a/web/images/form-group-expanded.png.1 and /dev/null differ
diff --git a/web/images/green-bracket-l-highlighted.png b/web/images/green-bracket-l-highlighted.png
deleted file mode 100644
index 7f37fae8..00000000
Binary files a/web/images/green-bracket-l-highlighted.png and /dev/null differ
diff --git a/web/images/green-bracket-l.png b/web/images/green-bracket-l.png
deleted file mode 100644
index 4702e9f6..00000000
Binary files a/web/images/green-bracket-l.png and /dev/null differ
diff --git a/web/images/green-bracket-r-highlighted.png b/web/images/green-bracket-r-highlighted.png
deleted file mode 100644
index ae8303f6..00000000
Binary files a/web/images/green-bracket-r-highlighted.png and /dev/null differ
diff --git a/web/images/green-bracket-r.png b/web/images/green-bracket-r.png
deleted file mode 100644
index df81a6de..00000000
Binary files a/web/images/green-bracket-r.png and /dev/null differ
diff --git a/web/images/group-value-bullet.png b/web/images/group-value-bullet.png
deleted file mode 100644
index 44ac08fa..00000000
Binary files a/web/images/group-value-bullet.png and /dev/null differ
diff --git a/web/images/group-values-collapsed.png b/web/images/group-values-collapsed.png
deleted file mode 100644
index fefb4963..00000000
Binary files a/web/images/group-values-collapsed.png and /dev/null differ
diff --git a/web/images/hide-records-ico.png b/web/images/hide-records-ico.png
deleted file mode 100644
index 92da814a..00000000
Binary files a/web/images/hide-records-ico.png and /dev/null differ
diff --git a/web/images/images.tar b/web/images/images.tar
deleted file mode 100644
index 4a0fd7d2..00000000
Binary files a/web/images/images.tar and /dev/null differ
diff --git a/web/images/info-popup-bg-1.png b/web/images/info-popup-bg-1.png
deleted file mode 100644
index cf1afa74..00000000
Binary files a/web/images/info-popup-bg-1.png and /dev/null differ
diff --git a/web/images/info-popup-bg-2.png b/web/images/info-popup-bg-2.png
deleted file mode 100644
index e625cb85..00000000
Binary files a/web/images/info-popup-bg-2.png and /dev/null differ
diff --git a/web/images/info-popup-bg.png b/web/images/info-popup-bg.png
deleted file mode 100644
index d6b44c2a..00000000
Binary files a/web/images/info-popup-bg.png and /dev/null differ
diff --git a/web/images/info-popup-sprite-2011-12-14.png b/web/images/info-popup-sprite-2011-12-14.png
deleted file mode 100644
index 9a754625..00000000
Binary files a/web/images/info-popup-sprite-2011-12-14.png and /dev/null differ
diff --git a/web/images/info-popup-sprite.png b/web/images/info-popup-sprite.png
deleted file mode 100644
index 9a754625..00000000
Binary files a/web/images/info-popup-sprite.png and /dev/null differ
diff --git a/web/images/loading.png b/web/images/loading.png
deleted file mode 100644
index 4ea2359b..00000000
Binary files a/web/images/loading.png and /dev/null differ
diff --git a/web/images/logging-status-sprite.png b/web/images/logging-status-sprite.png
deleted file mode 100644
index 4cc9c94a..00000000
Binary files a/web/images/logging-status-sprite.png and /dev/null differ
diff --git a/web/images/login-as.png b/web/images/login-as.png
new file mode 100644
index 00000000..b244ab17
Binary files /dev/null and b/web/images/login-as.png differ
diff --git a/web/images/logo.png b/web/images/logo.png
new file mode 100644
index 00000000..bbabeeed
Binary files /dev/null and b/web/images/logo.png differ
diff --git a/web/images/long-dotted-bg.gif b/web/images/long-dotted-bg.gif
deleted file mode 100644
index 2b274706..00000000
Binary files a/web/images/long-dotted-bg.gif and /dev/null differ
diff --git a/web/images/more-info-btn.png b/web/images/more-info-btn.png
deleted file mode 100644
index 790695b3..00000000
Binary files a/web/images/more-info-btn.png and /dev/null differ
diff --git a/web/images/more.png b/web/images/more.png
new file mode 100644
index 00000000..a2d6aa7c
Binary files /dev/null and b/web/images/more.png differ
diff --git a/web/images/nav-devider-2.png b/web/images/nav-devider-2.png
deleted file mode 100644
index a72f5d16..00000000
Binary files a/web/images/nav-devider-2.png and /dev/null differ
diff --git a/web/images/nav-devider.png b/web/images/nav-devider.png
deleted file mode 100644
index d61ed488..00000000
Binary files a/web/images/nav-devider.png and /dev/null differ
diff --git a/web/images/new_window.png b/web/images/new_window.png
new file mode 100644
index 00000000..4e190c59
Binary files /dev/null and b/web/images/new_window.png differ
diff --git a/web/images/old-add-entry-plus.gif b/web/images/old-add-entry-plus.gif
deleted file mode 100644
index 06f0cf98..00000000
Binary files a/web/images/old-add-entry-plus.gif and /dev/null differ
diff --git a/web/images/old-delete-ico-off.png b/web/images/old-delete-ico-off.png
deleted file mode 100644
index 3da07ee6..00000000
Binary files a/web/images/old-delete-ico-off.png and /dev/null differ
diff --git a/web/images/old-delete-ico.png b/web/images/old-delete-ico.png
deleted file mode 100644
index 1c7c666a..00000000
Binary files a/web/images/old-delete-ico.png and /dev/null differ
diff --git a/web/images/overrun-border.png b/web/images/overrun-border.png
deleted file mode 100644
index 171463f3..00000000
Binary files a/web/images/overrun-border.png and /dev/null differ
diff --git a/web/images/period.png b/web/images/period.png
new file mode 100644
index 00000000..e18cb9ee
Binary files /dev/null and b/web/images/period.png differ
diff --git a/web/images/plus-sprite.png b/web/images/plus-sprite.png
deleted file mode 100644
index b4bcacf2..00000000
Binary files a/web/images/plus-sprite.png and /dev/null differ
diff --git a/web/images/plus-sprite1.png b/web/images/plus-sprite1.png
deleted file mode 100644
index d2a6fa19..00000000
Binary files a/web/images/plus-sprite1.png and /dev/null differ
diff --git a/web/images/primary-plus_active.png b/web/images/plus.png
similarity index 91%
rename from web/images/primary-plus_active.png
rename to web/images/plus.png
index 5cded98e..71f5d06f 100644
Binary files a/web/images/primary-plus_active.png and b/web/images/plus.png differ
diff --git a/web/images/primarary-collapsed.gif b/web/images/primarary-collapsed.gif
deleted file mode 100644
index bf607fce..00000000
Binary files a/web/images/primarary-collapsed.gif and /dev/null differ
diff --git a/web/images/primary-plus.gif b/web/images/primary-plus.gif
deleted file mode 100644
index bf607fce..00000000
Binary files a/web/images/primary-plus.gif and /dev/null differ
diff --git a/web/images/restore.png b/web/images/restore.png
new file mode 100644
index 00000000..0f0016cb
Binary files /dev/null and b/web/images/restore.png differ
diff --git a/web/images/section-status-sprite-2.gif b/web/images/section-status-sprite-2.gif
deleted file mode 100644
index 52b1115c..00000000
Binary files a/web/images/section-status-sprite-2.gif and /dev/null differ
diff --git a/web/images/section-status-sprite-3.gif b/web/images/section-status-sprite-3.gif
deleted file mode 100644
index 1908eb2e..00000000
Binary files a/web/images/section-status-sprite-3.gif and /dev/null differ
diff --git a/web/images/section-status-sprite-4.gif b/web/images/section-status-sprite-4.gif
deleted file mode 100644
index 9d4b3bea..00000000
Binary files a/web/images/section-status-sprite-4.gif and /dev/null differ
diff --git a/web/images/section-status-sprite-5.gif b/web/images/section-status-sprite-5.gif
deleted file mode 100644
index c757b29f..00000000
Binary files a/web/images/section-status-sprite-5.gif and /dev/null differ
diff --git a/web/images/section-status-sprite-6.png b/web/images/section-status-sprite-6.png
deleted file mode 100644
index 9e0b81b6..00000000
Binary files a/web/images/section-status-sprite-6.png and /dev/null differ
diff --git a/web/images/section-status-sprite-7.png b/web/images/section-status-sprite-7.png
deleted file mode 100644
index f17efb73..00000000
Binary files a/web/images/section-status-sprite-7.png and /dev/null differ
diff --git a/web/images/section-status-sprite.gif b/web/images/section-status-sprite.gif
deleted file mode 100644
index f8ad1e77..00000000
Binary files a/web/images/section-status-sprite.gif and /dev/null differ
diff --git a/web/images/select-arrow.png b/web/images/select-arrow.png
deleted file mode 100644
index 17a96c99..00000000
Binary files a/web/images/select-arrow.png and /dev/null differ
diff --git a/web/images/show-records-ico.png b/web/images/show-records-ico.png
deleted file mode 100644
index a33a483b..00000000
Binary files a/web/images/show-records-ico.png and /dev/null differ
diff --git a/web/images/sprite.png b/web/images/sprite.png
deleted file mode 100644
index 90e64b13..00000000
Binary files a/web/images/sprite.png and /dev/null differ
diff --git a/web/images/stats-brace.png b/web/images/stats-brace.png
deleted file mode 100644
index 83839038..00000000
Binary files a/web/images/stats-brace.png and /dev/null differ
diff --git a/web/images/stats-curve-grey.png b/web/images/stats-curve-grey.png
deleted file mode 100644
index 0ca48f65..00000000
Binary files a/web/images/stats-curve-grey.png and /dev/null differ
diff --git a/web/images/stats-curve.png b/web/images/stats-curve.png
deleted file mode 100644
index 7ea06d8e..00000000
Binary files a/web/images/stats-curve.png and /dev/null differ
diff --git a/web/images/status-arrow.png b/web/images/status-arrow.png
deleted file mode 100644
index 91770f54..00000000
Binary files a/web/images/status-arrow.png and /dev/null differ
diff --git a/web/images/suspend.png b/web/images/suspend.png
new file mode 100644
index 00000000..0a119a7f
Binary files /dev/null and b/web/images/suspend.png differ
diff --git a/web/images/suspended-ico.png b/web/images/suspended-ico.png
deleted file mode 100644
index ed2842d6..00000000
Binary files a/web/images/suspended-ico.png and /dev/null differ
diff --git a/web/images/thin-grey-line-2.gif b/web/images/thin-grey-line-2.gif
deleted file mode 100644
index 0b8e7a58..00000000
Binary files a/web/images/thin-grey-line-2.gif and /dev/null differ
diff --git a/web/images/thin-grey-line-3.gif b/web/images/thin-grey-line-3.gif
deleted file mode 100644
index 107d0751..00000000
Binary files a/web/images/thin-grey-line-3.gif and /dev/null differ
diff --git a/web/images/thin-grey-line-4.gif b/web/images/thin-grey-line-4.gif
deleted file mode 100644
index f88848bf..00000000
Binary files a/web/images/thin-grey-line-4.gif and /dev/null differ
diff --git a/web/images/thin-grey-line.gif b/web/images/thin-grey-line.gif
deleted file mode 100644
index 958a7d7f..00000000
Binary files a/web/images/thin-grey-line.gif and /dev/null differ
diff --git a/web/images/transparent-image.png b/web/images/transparent-image.png
new file mode 100644
index 00000000..656eed3b
Binary files /dev/null and b/web/images/transparent-image.png differ
diff --git a/web/images/ui-bg_flat_0_aaaaaa_40x100.png b/web/images/ui-bg_flat_0_aaaaaa_40x100.png
new file mode 100644
index 00000000..5b5dab2a
Binary files /dev/null and b/web/images/ui-bg_flat_0_aaaaaa_40x100.png differ
diff --git a/web/images/ui-bg_flat_75_ffffff_40x100.png b/web/images/ui-bg_flat_75_ffffff_40x100.png
new file mode 100644
index 00000000..ac8b229a
Binary files /dev/null and b/web/images/ui-bg_flat_75_ffffff_40x100.png differ
diff --git a/web/images/ui-bg_glass_55_fbf9ee_1x400.png b/web/images/ui-bg_glass_55_fbf9ee_1x400.png
new file mode 100644
index 00000000..ad3d6346
Binary files /dev/null and b/web/images/ui-bg_glass_55_fbf9ee_1x400.png differ
diff --git a/web/images/ui-bg_glass_65_ffffff_1x400.png b/web/images/ui-bg_glass_65_ffffff_1x400.png
new file mode 100644
index 00000000..42ccba26
Binary files /dev/null and b/web/images/ui-bg_glass_65_ffffff_1x400.png differ
diff --git a/web/images/ui-bg_glass_75_dadada_1x400.png b/web/images/ui-bg_glass_75_dadada_1x400.png
new file mode 100644
index 00000000..5a46b47c
Binary files /dev/null and b/web/images/ui-bg_glass_75_dadada_1x400.png differ
diff --git a/web/images/ui-bg_glass_75_e6e6e6_1x400.png b/web/images/ui-bg_glass_75_e6e6e6_1x400.png
new file mode 100644
index 00000000..86c2baa6
Binary files /dev/null and b/web/images/ui-bg_glass_75_e6e6e6_1x400.png differ
diff --git a/web/images/ui-bg_glass_95_fef1ec_1x400.png b/web/images/ui-bg_glass_95_fef1ec_1x400.png
new file mode 100644
index 00000000..4443fdc1
Binary files /dev/null and b/web/images/ui-bg_glass_95_fef1ec_1x400.png differ
diff --git a/web/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/web/images/ui-bg_highlight-soft_75_cccccc_1x100.png
new file mode 100644
index 00000000..7c9fa6c6
Binary files /dev/null and b/web/images/ui-bg_highlight-soft_75_cccccc_1x100.png differ
diff --git a/web/images/ui-icons_222222_256x240.png b/web/images/ui-icons_222222_256x240.png
new file mode 100644
index 00000000..b273ff11
Binary files /dev/null and b/web/images/ui-icons_222222_256x240.png differ
diff --git a/web/images/ui-icons_2e83ff_256x240.png b/web/images/ui-icons_2e83ff_256x240.png
new file mode 100644
index 00000000..09d1cdc8
Binary files /dev/null and b/web/images/ui-icons_2e83ff_256x240.png differ
diff --git a/web/images/ui-icons_454545_256x240.png b/web/images/ui-icons_454545_256x240.png
new file mode 100644
index 00000000..59bd45b9
Binary files /dev/null and b/web/images/ui-icons_454545_256x240.png differ
diff --git a/web/images/ui-icons_888888_256x240.png b/web/images/ui-icons_888888_256x240.png
new file mode 100644
index 00000000..6d02426c
Binary files /dev/null and b/web/images/ui-icons_888888_256x240.png differ
diff --git a/web/images/ui-icons_cd0a0a_256x240.png b/web/images/ui-icons_cd0a0a_256x240.png
new file mode 100644
index 00000000..2ab019b7
Binary files /dev/null and b/web/images/ui-icons_cd0a0a_256x240.png differ
diff --git a/web/images/undo.png b/web/images/undo.png
new file mode 100644
index 00000000..316d412c
Binary files /dev/null and b/web/images/undo.png differ
diff --git a/web/images/vesta-italic-logo.png b/web/images/vesta-italic-logo.png
deleted file mode 100644
index 73df0925..00000000
Binary files a/web/images/vesta-italic-logo.png and /dev/null differ
diff --git a/web/images/vesta-logo-2011-11-16.png b/web/images/vesta-logo-2011-11-16.png
deleted file mode 100644
index 994e0091..00000000
Binary files a/web/images/vesta-logo-2011-11-16.png and /dev/null differ
diff --git a/web/images/vesta-logo-2011-11-25.png b/web/images/vesta-logo-2011-11-25.png
deleted file mode 100644
index de3c489d..00000000
Binary files a/web/images/vesta-logo-2011-11-25.png and /dev/null differ
diff --git a/web/images/vesta-logo-2011-12-14.png b/web/images/vesta-logo-2011-12-14.png
deleted file mode 100644
index e66fab8c..00000000
Binary files a/web/images/vesta-logo-2011-12-14.png and /dev/null differ
diff --git a/web/images/vesta-logo-old.png b/web/images/vesta-logo-old.png
deleted file mode 100644
index 994e0091..00000000
Binary files a/web/images/vesta-logo-old.png and /dev/null differ
diff --git a/web/images/vesta-logo.png b/web/images/vesta-logo.png
deleted file mode 100644
index 7ac7c4e8..00000000
Binary files a/web/images/vesta-logo.png and /dev/null differ
diff --git a/web/inc/main.php b/web/inc/main.php
new file mode 100644
index 00000000..686cf734
--- /dev/null
+++ b/web/inc/main.php
@@ -0,0 +1,97 @@
+ 0 ) {
+ header("Location: /error/");
+ }
+}
+
+function top_panel($user, $TAB) {
+ global $panel;
+ $command = VESTA_CMD."v_list_user '".$user."' 'json'";
+ exec ($command, $output, $return_var);
+ if ( $return_var > 0 ) {
+ header("Location: /error/");
+ }
+ $panel = json_decode(implode('', $output), true);
+ unset($output);
+ if ( $user == 'admin' ) {
+ include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/panel.html');
+ } else {
+ include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/panel.html');
+ }
+}
+
+function humanize_time($usage) {
+ if ( $usage > 60 ) {
+ $usage = $usage / 60;
+ $usage = number_format($usage, 2);
+ $usage = $usage." Hour.";
+ } else {
+ $usage = $usage." Min.";
+ }
+ return $usage;
+}
+
+function humanize_usage($usage) {
+ if ( $usage > 1000 ) {
+ $usage = $usage / 1000;
+ if ( $usage > 1000 ) {
+ $usage = $usage / 1000 ;
+ if ( $usage > 1000 ) {
+ $usage = $usage / 1000 ;
+ $usage = number_format($usage, 2);
+ $usage = $usage." PB";
+ } else {
+ $usage = number_format($usage, 2);
+ $usage = $usage." TB";
+ }
+ } else {
+ $usage = number_format($usage, 2);
+ $usage = $usage." GB";
+ }
+ } else {
+ $usage = $usage." MB";
+ }
+ return $usage;
+}
+
+function get_percentage($used,$total) {
+ if (!isset($total)) $total = 0;
+ if (!isset($used)) $used = 0;
+ if ( $total == 0 ) {
+ $percent = 0;
+ } else {
+ $percent = $used / $total;
+ $percent = $percent * 100;
+ $percent = number_format($percent, 0, '', '');
+ if ( $percent > 100 ) {
+ $percent = 100;
+ }
+ if ( $percent < 0 ) {
+ $percent = 0;
+ }
+
+ }
+ return $percent;
+}
+
+?>
diff --git a/web/index.html b/web/index.html
deleted file mode 100644
index 886f258c..00000000
--- a/web/index.html
+++ /dev/null
@@ -1,281 +0,0 @@
-
-
-
-
- Vesta Control Panel
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- User
-
-
- 0 users
- 0 suspended
-
-
-
-
-
-
-
-
-
-
- Web
-
-
- 0 web domains
- 0 suspended
-
-
-
-
-
-
-
-
-
- DNS
-
-
- 0 dns domain(s)
- 0 suspended
-
-
-
-
-
-
-
-
-
- Mail
-
-
- 0 mail domain(s)
-
-
-
-
-
-
-
-
-
- DB
-
-
- 0 databases
- 0 suspended
-
-
-
-
-
-
-
-
-
- Cron
-
-
- 0 cron job(s)
- 0 suspended
-
-
-
-
-
-
-
-
-
- IP
-
-
- 0 ip address(es)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
domain test.com have been added
-
-
-
cancel
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/web/index.php b/web/index.php
index f0f4e90e..35c889c9 100644
--- a/web/index.php
+++ b/web/index.php
@@ -1,18 +1,8 @@
Testing Vesta Control Panel\n";
-echo "\n";
-$cmd='/usr/bin/sudo /usr/local/vesta/bin/v_list_users json';
-echo "Command: $cmd\n\n";
-exec ($cmd,$output,$return);
-if ($return > 0) {
- echo "Error $return: something is wrong\n";
- foreach ($output as $row) {
- echo "$row\n";
- }
+session_start();
+if (isset($_SESSION['user'])) {
+ header("Location: /list/user");
} else {
- foreach ($output as $row) {
- echo "$row\n";
- }
+ header("Location: /login/");
}
-echo " \n";
?>
diff --git a/web/index_tests.html b/web/index_tests.html
deleted file mode 100644
index 044a4929..00000000
--- a/web/index_tests.html
+++ /dev/null
@@ -1,276 +0,0 @@
-
-
-
-
- Vesta Control Panel
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Tests:
-
-
-
-
Action
-
-
-
-
- Suspend
-
-
-
- Unsuspend
-
-
-
- Delete
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/web/js/__init__.js b/web/js/__init__.js
deleted file mode 100644
index 719c90ed..00000000
--- a/web/js/__init__.js
+++ /dev/null
@@ -1,44 +0,0 @@
-App.Ajax.request('MAIN.about', {}, function(reply) {
- if (reply) {
- App.Settings.VestaAbout.company_name = reply.data.company_name;
- App.Settings.VestaAbout.company_email = reply.data.company_email;
- App.Settings.VestaAbout.version = reply.data.version;
- App.Settings.VestaAbout.version_name = reply.data.version_name;
- }
-});
-
-
-$('document').ready(function() {
- try {
- App.Utils.detectBrowser();
- App.Ref.init();
-
- //App.Env.world = 'USER';
- // Disabled cookie tab restoring. Enable if needed
- if ('undefined' != typeof App.Tmp.loadTAB) {
- App.Env.world = App.Tmp.loadTAB;
- }
-
- if ('undefined' == typeof App.Tmp.loadTAB && cookieEnabled()) {
- var tab = getCookie('tab');
- if (null != tab && $.inArray(tab, App.Constants.TABS)) {
- App.Env.world = tab;
- }
- else {
- App.Env.world = App.Constants.TABS[0];
- }
- }
-
- App.Pages.init();
- App.Core.listen();
- App.Core.initMenu();
- App.Helpers.liveValidate();
- $(document).bind('submit', function(evt) {
- evt.preventDefault();
- });
- }
- catch(e) {
- fb.error(e);
- }
-});
-
diff --git a/web/js/_settings.js b/web/js/_settings.js
deleted file mode 100644
index 2c34671a..00000000
--- a/web/js/_settings.js
+++ /dev/null
@@ -1,102 +0,0 @@
-App.Env.lang = 'EN';
-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.WEB_DOMAIN_FORM_ID = 'web_domain-form';
-App.Constants.DB_FORM_ID = 'db-form';
-App.Constants.CRON_FORM_ID = 'cron-form';
-App.Constants.IP = 'IP';
-App.Constants.DNS = 'DNS';
-App.Constants.SUSPENDED_YES = 'yes';
-App.Constants.DNS_TEMPLATES = {'default': 'Default'};
-
-App.Constants.KEY = {};
-App.Constants.KEY.ESC = 27;
-App.Constants.KEY.ENTER = 13;
-App.Constants.KEY.SPACE = 32;
-App.Constants.KEY.BACKSPACE = 8;
-App.Constants.KEY.UP = 38;
-App.Constants.KEY.DOWN = 40;
-App.Constants.KEY.CODED_NAME = {'27':'ESC', '13':'ENTER','32':'SPACE','8':'BACKSPACE','38':'UP','40':'DOWN'};
-App.Constants.KEY.WDAYS = {'0':'Sunday', '1':'Monday','2':'Tuesday','3':'Wednesday','4':'Thursday','5':'Friday', '6': 'Saturday'};
-
-// Settings
-App.Settings.PSW_MIN_LEN = 6;
-App.Settings.FIELD_MAX_LEN = 32;
-App.Settings.DAY_MAX_LEN = 2;
-App.Settings.MONTH_MAX_LEN = 2;
-App.Settings.WDAY_MAX_LEN = 2;
-App.Settings.HOURS_MAX_LEN = 2;
-App.Settings.MINUTE_MAX_LEN = 2;
-App.Settings.USER_VISIBLE_NS = 2;
-App.Settings.USER_VISIBLE_WEB_TPL = 2;
-App.Settings.NS_MIN = 2;
-App.Settings.NS_MAX = 8;
-App.Settings.ajax_url = 1;
-App.Settings.uri = location.href.replace('index.html', '');
-App.Settings.popup_conf = { 'centered' : true, 'bgcolor' : '#FF0000', 'lightboxSpeed' : 'fast', 'destroyOnClose': true };
-
-App.Settings.PASSWORD_IMMUTE = '********';
-
-App.Settings.AJAX_SYNCRONOUS = ['MAIN.getInitial'];
-
-// Messages
-App.Messages.total_dns_records = {single: 'total record', plural: 'total records'};
-App.Messages.get = function(key, plural) {
- if ('undefined' != typeof App.Messages[key]) {
- return plural ? App.Messages[key].plural : App.Messages[key].single;
- }
-}
-
-// Imutable
-App.Settings.Imutable = {};
-App.Settings.Imutable.USER = ['LOGIN_NAME'];
-App.Settings.Imutable.WEB_DOMAIN = ['DOMAIN'];
-App.Settings.Imutable.DB = ['DB', 'TYPE', 'USER', 'CHARSET', 'HOST'];
-App.Settings.Imutable.DNS = ['DNS_DOMAIN'];
-App.Settings.Imutable.IP = ['IP_ADDRESS', 'NETMASK', 'INTERFACE'];
-
-
-// Empty
-App.Empty = {};
-App.Empty.USER = {'CONTACT':'', 'PASSWORD':'','LOGIN_NAME':'','LNAME':'', 'FNAME':'','NS1':'','NS2':'','NS3':'','NS4':'','NS5':'','NS6':'','NS7':'','NS8':''};
-App.Empty.WEB_DOMAIN = {'CONTACT':'', 'PASSWORD':'','LOGIN_NAME':'','NS':'', 'DOMAIN':'','SSL_CERT':'','SSL_KEY':'','SSL_HOME':'','STATS_PASSWORD':'','STATS_LOGIN':'','ALIAS':'', 'SSL_CA':'', 'SSL_CRT':'','NGINX_EXT':''};
-App.Empty.DB = {'DB':'', 'USER':'','FORM':'', 'PASSWORD': ''};
-
-App.Settings.getMethodName = function(action)
-{
- var type = '';
- var method = '';
- // TYPE NAME
- switch (App.Env.world)
- {
- case App.Constants.DNS:
- type = 'DNS'
- break;
- default:
- type = App.Env.world;
- break;
- }
- // METHOD NAME
- switch (action)
- {
- case 'update':
- method = 'change';
- break;
- default:
- method = action;
- break;
- }
-
- return type + '.' + method;
-}
diff --git a/web/js/actions.js b/web/js/actions.js
deleted file mode 100644
index c8f3cd72..00000000
--- a/web/js/actions.js
+++ /dev/null
@@ -1,767 +0,0 @@
-App.Actions.toggle_ssl_support = function(evt, elm)
-{
- if (!elm) {
- var elm = $(evt.target);
- }
-
- var ref = elm.hasClass('form') ? elm : elm.parents('.form');
- fb.log(ref);
- if (ref.find('.ssl_support').attr('checked')) {
- $('.ssl-crtfct-box', ref).removeClass('hidden');
- }
- else {
- $('.ssl-crtfct-box', ref).addClass('hidden');
- }
-}
-
-App.Actions.view_nginx_extensions = function(evt)
-{
- var elm = $(evt.target);
- var ref = elm.hasClass('row') ? elm : elm.parents('.row');
- var data = App.Helpers.evalJSON(ref.find('.source').val());
- var extensions = data['NGINX_EXT'] || '';
- var html = extensions.replace(/,/gi, ' ');
- App.Helpers.openInnerPopup(elm, html, 'Nginx extensions');
-}
-
-App.Actions.login_as = function(evt)
-{
- var elm = $(evt.target);
- var ref = elm.parents('.row');
- var source = App.Helpers.evalJSON($(ref).find('.source').val())
- App.Ajax.request('USER.loginAs', {'user': source.LOGIN_NAME}, function(reply) {
- if (reply.result) {
- location.href = "";
- }
- else {
- App.Helpers.alert('You cannot do this action. Please contact support');
- }
- });
-}
-
-App.Actions.toggle_suspend = function(evt)
-{
- var elm = $(evt.target);
- var ref = elm.parents('.form');
- ref.removeClass('form-suspended');
- fb.warn(ref);
- var ref_checkbox = ref.find('input[name="SUSPEND"]');
- ref_checkbox.val() == 'on' ? ref_checkbox.val('off') : ref_checkbox.val('on'); // switch state
- if (ref_checkbox.val() == 'on') { // set class on new state
- ref.addClass('form-suspended');
- fb.warn('SUSP');
- }
- else {
- ref.removeClass('form-suspended');
- fb.warn('UNSUSP');
- }
-}
-
-App.Actions.toggle_custom_select = function(evt)
-{
- var elm = $(evt.target);
- elm = elm.hasClass('complex-select') ? elm : elm.parents('.complex-select');
- var ref = elm.find('.complex-select-content');
- $('.s-c-highlighted').removeClass('s-c-highlighted');
- if (ref.hasClass('hidden')) {
- ref.removeClass('hidden');
- App.Tmp.focusedComplexSelect = elm;
- }
- else {
- ref.addClass('hidden');
- }
-}
-
-App.Actions.update_cs_value = function(evt)
-{
- var elm = $(evt.target);
- elm = elm.hasClass('cust-sel-option') ? elm : elm.parents('.cust-sel-option');
-
- var val = elm.find('.c-s-value').val();
- $('.complex-select-content').addClass('hidden');
-
- if (val.toLowerCase() == 'nothing') {
- App.Actions.mass_nothing();
- return;
- }
-
- if (App.Tmp[App.Env.world + '_selected_records'] > 0) {
- var confirm_message_key = App.Tmp[App.Env.world + '_selected_records'] == 1 ? 1 + ' record' : App.Tmp[App.Env.world + '_selected_records'] + ' records';
- var confirmed = confirm('This action will ' + val.toLowerCase() + ' ' + confirm_message_key + '. Do you want to proceed?');
- if (confirmed) {
- fb.log('mass_' + val);
- var func_name = val.toLowerCase();
- 'function' == typeof App.Actions['mass_' + func_name] ? App.Actions['mass_' + func_name]() : false;
- }
- }
-}
-
-App.Actions.mass_delete = function()
-{
- App.Actions.mass_action('massiveDelete');
- App.Actions.reset_batch();
-}
-
-App.Actions.mass_suspend = function()
-{
- App.Actions.mass_action('massiveSuspend');
- App.Actions.reset_batch();
-}
-
-App.Actions.mass_unsuspend = function()
-{
- App.Actions.mass_action('massiveUnsuspend');
- App.Actions.reset_batch();
-}
-
-App.Actions.mass_nothing = function()
-{
- $('.complex-select-content').addClass('hidden');
-}
-
-App.Actions.mass_action = function(method_name)
-{
- var rows = $('.checked-row');
- if (rows.length > 0) {
- var acc = [];
- rows.each(function(i, o) {
- acc[acc.length++] = App.Helpers.evalJSON($(o).find('.source').val());
- });
-
- App.Ajax.request(App.Env.world+'.'+method_name, {'entities': App.Helpers.toJSON(acc)}, function() {
- App.Pages.prepareHTML();
- });
- }
-}
-
-App.Actions.reset_batch = function()
-{
- $('#batch-processor .selector-title').html('NONE');
- $('.styled.do_action_toggle_batch_selector.style-applied').attr('checked', false);
- $('.checkbox.do_action_toggle_batch_selector').css('background-position', '0 0');
-}
-
-App.Actions.do_change_password = function()
-{
- var params = {
- login: $('#change-login').val(),
- captcha: $('#captcha').val()
- }
-
- App.Ajax.request('MAIN.requestPassword', params, function(reply){
- $('#captcha-img').attr('src', App.Helpers.generateUrl('captcha.php?')+Math.floor(Math.random() * 9999));
- $('#captcha').val('');
- if (reply.result) {
- $('#change-psw-error').html('');
- $('#change-psw-error').addClass('hidden');
- $('#change-psw-success').html('Reset link was sent to email box provided by you.');
- $('#change-psw-success').removeClass('hidden');
- $('.form-row').remove();
- }
- else {
- $('#change-psw-error').html(reply.message);
- $('#change-psw-error').removeClass('hidden');
- }
- });
-}
-
-App.Actions.back_to_login = function()
-{
- $('body').addClass('page-auth');
- var tpl = App.Templates.get('login', 'popup');
- tpl.set(':LOGO_URL', App.Helpers.generateUrl('images/vesta-logo-2011-12-14.png'));
- tpl.set(':YEAR', new Date().getFullYear());
- tpl.set(':EMAIL_REAL', App.Settings.VestaAbout.company_email);
- tpl.set(':EMAIL', App.Settings.VestaAbout.company_email);
- tpl.set(':PRODUCT_NAME', App.Settings.VestaAbout.company_name);
- tpl.set(':VERSION', App.Settings.VestaAbout.version_name + ' ' + App.Settings.VestaAbout.version);
- $('body').prepend(tpl.finalize());
- $('#change-psw-block').remove();
- $('.remember-me').checkBox();
-}
-
-App.Actions.change_password = function(evt)
-{
- evt.preventDefault();
-
- if ($('#change-psw-block').length > 0) {
- return $('#change-psw-block').show();
- }
-
- var tpl = App.Templates.get('change_psw', 'popup');
- tpl.set(':LOGO_URL', App.Helpers.generateUrl('images/vesta-logo-2011-12-14.png'));
- tpl.set(':YEAR', new Date().getFullYear());
- tpl.set(':CAPTCHA_URL', App.Helpers.generateUrl('captcha.php?')+Math.floor(Math.random() * 9999));
- tpl.set(':CAPTCHA_URL_2', App.Helpers.generateUrl('captcha.php'));
- tpl.set(':EMAIL_REAL', App.Settings.VestaAbout.company_email);
- tpl.set(':EMAIL', App.Settings.VestaAbout.company_email);
- tpl.set(':PRODUCT_NAME', App.Settings.VestaAbout.company_name);
- tpl.set(':VERSION', App.Settings.VestaAbout.version_name + ' ' + App.Settings.VestaAbout.version);
- $('#auth-block').remove();
- $('body').prepend(tpl.finalize());
- $('#change-psw-error').html('');
- $('#change-psw-error').addClass('hidden');
-}
-
-App.Actions.profile_exit = function(evt)
-{
- evt.preventDefault();
- if (App.Env.initialParams.real_user) { // exit "logged in as" state
- App.Ajax.request('USER.logoutAs', {}, function(reply) {
- if (reply.result) {
- location.href = "";
- }
- else {
- App.Helpers.alert('You cannot do this action. Please contact support');
- }
- });
- return;
- }
-
-
- App.Ajax.request('MAIN.logoff', {}, function(reply) {
- location.href = '';
- });
-}
-
-// show auth form
-App.Actions.authorize = function()
-{
- $('#change-psw-block').remove();
- if ($('#auth-block').length > 0) {
- return;
- }
- $('#page').addClass('hidden');
- $('body').addClass('page-auth');
- var tpl = App.Templates.get('login', 'popup');
- tpl.set(':LOGO_URL', App.Helpers.generateUrl('images/vesta-logo-2011-12-14.png'));
- tpl.set(':YEAR', new Date().getFullYear());
- tpl.set(':EMAIL_REAL', App.Settings.VestaAbout.company_email);
- tpl.set(':EMAIL', App.Settings.VestaAbout.company_email);
- tpl.set(':PRODUCT_NAME', App.Settings.VestaAbout.company_name);
- tpl.set(':VERSION', App.Settings.VestaAbout.version_name + ' ' + App.Settings.VestaAbout.version);
- $('body').prepend(tpl.finalize());
- $(document).ready(function(){
- $('.remember-me').checkBox();
- });
-}
-
-/**
-* Embeds new item form
-* if exits custom method (App.Pages[ENVIRONMENT_NAME].newForm)
-* custom method will be executes instead of default one
-*/
-App.Actions.new_entry = function() {
- if ('undefined' != typeof App.Pages[App.Env.world].new_entry) {fb.log(1);
- App.Pages[App.Env.world].new_entry();
- } else {
- 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);
- var box = $('').html(tpl);
-
- $(box).find('.suspended').addClass('hidden');
- App.Ref.CONTENT.prepend($(box).html());
-
- App.Helpers.updateScreen();
- }
- $('.cust-checkbox').checkBox();
-}
-
-// execute authorisation
-App.Actions.do_authorize = function()
-{
- $('#auth-error').text('');
- $('#auth-form-content').hide();
- App.Ajax.request('MAIN.signin', {'login':$('#authorize-login').val(), 'password':$('#authorize-password').val()}, function(reply)
- {
- if (reply.result == true) {
- location.href = '';
- }
- else {
- $('#auth-error').text(reply.data.error_msg);
- $('#auth-form-content').show();
- $('#auth-error').removeClass('hidden');
- }
- });
-}
-
-App.Actions.delete_entry = function(evt)
-{
- var confirmed = confirm(App.i18n.getMessage('confirm'));
- if (!confirmed) {
- return;
- }
- var elm = $(evt.target);
- var elm = elm.hasClass('form') ? elm : elm.parents('.form');
- App.Model.remove(App.Env.world, elm);
-}
-
-App.Actions.show_subform = function(evt)
-{
- var elm = $(evt.target);
- var ref = elm.hasClass('row') ? elm : elm.parents('.row');
- var ref_subform = ref.next('.subform');
- if (ref_subform.length > 0) {
- ref_subform.remove();
- }
-
- if ('undefined' != typeof App.Pages[App.Env.world].showSubform) {
- App.Pages[App.Env.world].showSubform(ref);
- }
- // TODO: probably general way to embed subforms
-}
-
-App.Actions.view_template_settings = function(evt)
-{
- var elm = $(evt.target);
- var ref = elm.hasClass('tpl-item') ? elm : elm.prev('.tpl-item');
- var tpl_name = $(ref).val() || $(ref).text();
- App.Helpers.openInnerPopup(elm, App.Env.initialParams.WEB_DOMAIN.TPL[tpl_name].DESCR || tpl_name, 'Template Settings');
-}
-
-App.Actions.view_dns_template_settings = function(evt)
-{
- var elm = $(evt.target);
- var ref = elm.hasClass('tpl-item') ? elm : elm.prev('.tpl-item');
- var tpl_name = $(ref).val() || $(ref).text();
- App.Helpers.openInnerPopup(elm, App.Env.initialParams.DNS.TPL[tpl_name].DESCR || tpl_name, 'Template Settings');
-}
-
-/*App.Actions.view_dns_template_settings = function(evt)
-{
- var elm = $(evt.target);
- var ref = elm.prev('.tpl-item');
- var tpl_name = $(ref).val() || $(ref).text();
-
- App.Helpers.openInnerPopup(elm, App.Env.initialParams.DNS.TPL[tpl_name].DESCR || tpl_name, '');
-}*/
-
-App.Actions.add_subrecord_dns = function(evt)
-{
- var elm = $(evt.target);
- var ref = elm.hasClass('subform') ? elm : elm.parents('.subform');
- if (ref.length > 0) {
- var tpl = App.HTML.Build.dns_subrecord({});
- ref.find('.add-box').after(tpl.finalize());
- App.Helpers.updateScreen();
- }
-}
-
-// do_action_save
-App.Actions.save_form = function(evt) {
- var elm = $(evt.target);
- elm = elm.parents('.b-new-entry');
-
- var elm_id = App.Env.world + '_FORM_ID';
- var build_method = App.Env.getWorldName() + '_entry';
-
- if (!App.Validate.form(App.Env.world, elm)) {
- return App.Validate.displayFormErrors(App.Env.world, elm);
- }
-
- if (elm.attr('id') == App.Constants[elm_id]) { // NEW ITEM
- if ($('.b-new-entry').length > 1) {
- var confirmed = confirm('You were editing other entries and those changes will be discarded. Click cancel if you want to save updated entries before adding new one.');
- if (!confirmed) {
- return true;
- }
- }
-
- var values = App.Helpers.getFormValues(elm);
- if(App.Validate.form(values, $('#'+elm_id))) {
- App.Model.add(values, source);
- var form_id = App.Constants[App.Env.world + '_FORM_ID'];
- $('#'+form_id).remove();
- }
- }
- else { // OLD ITEM, UPDATING IT
- var source = $(elm).find('.source').val();
- var values = App.Helpers.getFormValues(elm);
- if(App.Validate.form(values, $('#'+elm_id))) {
- App.Model.update(values, source, elm);
- }
- }
-}
-
-// do_action_edit
-App.Actions.edit = function(evt)
-{
-
- if ('undefined' != typeof App.Pages[App.Env.world].edit) {
- App.Pages[App.Env.world].edit(evt);
- }
- else {
- var elm = $(evt.target);
- elm = elm.hasClass('row') ? elm : elm.parents('.row');
-
- var options = elm.find('.source').val();
- var build_method = App.Env.getWorldName() + '_form';
- var tpl = App.HTML.Build[build_method](options);
- elm.replaceWith(tpl);
-
- App.Helpers.disableNotEditable();
- App.Helpers.updateScreen();
- }
- $('.cust-checkbox').checkBox();
-}
-
-// do_cancel_form
-App.Actions.cancel_form = function(evt, params) {
- var elm = $(evt.target);
- elm = elm.parents('.b-new-entry');
- var form_id = App.Constants[App.Env.world + '_FORM_ID'];
- if (elm.attr('id') == form_id) {
- $('#' + form_id).remove();
- }
- else {
- fb.warn(elm.find('.source').val());
- var options = App.Helpers.evalJSON(elm.find('.source').val());
- var entry_name = App.Env.world.toLowerCase() + '_entry';
- var tpl = App.HTML.Build[entry_name](options);
- elm.replaceWith(tpl);
- }
- App.Helpers.updateScreen();
-}
-
-App.Actions.suspend = function(evt)
-{
- var confirmed = confirm('Suspend?');
- if (!confirmed) {
- return ;
- }
- var elm = $(evt.target);
- var row = elm.parents('.row');
-
- var options = row.find('.source').val();
- App.Ajax.request(App.Env.world+'.suspend', {spell: options}, function(reply) {
- if (reply.result) {
- App.Pages.prepareHTML();
- App.Helpers.updateScreen();
- }
- else {
- return App.Helpers.alert('Failed to suspend');
- }
- });
-}
-
-App.Actions.unsuspend = function(evt)
-{
- var confirmed = confirm('Unsuspend?');
- if (!confirmed) {
- return ;
- }
-
- var elm = $(evt.target);
- var row = elm.parents('.row');
-
- var options = row.find('.source').val();
- App.Ajax.request(App.Env.world+'.unsuspend', {spell: options}, function(reply) {
- if (reply.result) {
- App.Pages.prepareHTML();
- App.Helpers.updateScreen();
- }
- else {
- return App.Helpers.alert('Failed to suspend');
- }
- });
-}
-
-// do_action_form_help
-App.Actions.showFormHelp = function(evt) {
- var tpl_name = App.Env.world + '_form';
- var tpl = App.Templates.get(tpl_name, 'help');
- App.View.popup(tpl.finalize());
-}
-
-// do_action_entry_help
-App.Actions.showEntryHelp = function(evt) {
- var tpl_name = App.Env.world + '_entry';
- var tpl = App.Templates.get(tpl_name, 'help');
- App.View.popup(tpl.finalize());
-}
-
-App.Actions.embedSubform = function(evt) {
- var tpl = App.Templates.get('subform', App.Env.getWorldName());
-}
-
-App.Actions.close_popup = function()
-{
- App.View.closePopup();
-}
-
-
-App.Actions.close_subform = function(evt, elm)
-{
- var elm = elm || $(evt.target);
- var ref = elm.hasClass('subform') ? elm : elm.parents('.subform');
- var parent_ref = ref.prev('.row');
- if (parent_ref.length > 0) {
- parent_ref.find('.show-records').removeClass('hidden');
- }
- ref.remove();
-}
-
-App.Actions.save_dns_subrecords = function(evt)
-{
- var elm = $(evt.target);
- var ref = elm.hasClass('subform') ? elm : elm.parents('.subform');
-
- var data = [];
- $('.subform').find('.subrow').each(function(i, o)
- {
- data[data.length++] = App.Helpers.getFormValues(o);
- });
-
- var parent_row = $(elm).parents('.subform').prev('.dns-details-row');
- var dns_json = $(parent_row).find('.source').val();
-
- App.Ajax.request('DNS.changeRecords', {spell: App.Helpers.toJSON(data), dns: dns_json}, function(reply)
- {
- if (reply.result) {
- var emphasize = $('.show-records', parent_row);
- App.Actions.close_subform(null, elm);
- $(emphasize).effect("highlight", {'color':'#B0D635'}, 3000);
-
- }
- else {
- App.Helpers.alert('Changes were not applied');
- }
- });
-}
-
-App.Actions.delete_subentry = function(evt)
-{
- var sure = confirm(App.i18n.getMessage('confirm'));
- if (!sure) {
- return;
- }
-
- var elm = $(evt.target);
- var ref = elm.hasClass('subrow') ? elm : elm.parents('.subrow');
- $(ref).remove();
-}
-
-App.Actions.generate_pass = function(evt)
-{
- var elm = $(evt.target);
- var ref = elm.parents('.form-row');
- $('.password', ref).val(App.Helpers.generatePassword());
-}
-
-App.Actions.toggle_section = function(evt)
-{
- var elm = $(evt.target);
- var ref = $(elm).parents('.form-options-group:first');
- fb.log(ref);
- if ($('.sub_section:first', ref).hasClass('hidden')) {
- $('.sub_section:first', ref).removeClass('hidden');
- $('.group-header:first', ref).removeClass('collapsed').addClass('expanded');
- }
- else {
- $('.sub_section:first', ref).addClass('hidden');
- $('.group-header:first', ref).removeClass('expanded').addClass('collapsed');
- }
-}
-
-App.Actions.close_inner_popup = function(evt)
-{
- App.Helpers.closeInnerPopup();
-}
-
-App.Actions.open_inner_popup = function(evt)
-{
- var elm = $(evt.target);
- App.Helpers.openInnerPopup(elm, $(elm).next('.inner-popup-html').val(), 'Details');
-}
-
-App.Actions.add_db_user = function(evt)
-{
- alert('TODO');
-}
-
-App.Actions.backup_db = function(evt)
-{
- alert('TODO');
-}
-
-App.Actions.add_form_ns = function(evt)
-{
- var elm = $(evt.target);
-
- form = elm.parents('.form:first');
- var total_nses = $(form).find('.ns-entry').length;
- if (total_nses == App.Settings.NS_MAX) {
- return App.Helpers.alert('Maximum number of NS cannot be more than ' + App.Settings.NS_MAX);
- }
-
- var tpl = App.Templates.get('NS_INPUT', 'user');
- tpl.set(':NAME', '');
- tpl.set(':NS_LABEL', 'Name Server');
- var ref = $(elm).hasClass('form-row') ? elm : $(elm).parents('.form-row');
- $(ref).before(tpl.finalize());
-
- if ((total_nses + 1) == App.Settings.NS_MAX ) { // added last NS
- $('.additional-ns-add', form).addClass('hidden');
- }
-
- $(form).find('.ns-entry').each(function(i, o)
- {
- $(o).find('label').text('Name Server #' + (i + 1));
- $(o).find('input').attr('name', 'NS' + (i + 1));
- });
-}
-
-App.Actions.delete_ns = function(evt)
-{
- var sure = confirm(App.i18n.getMessage('confirm'));
- if (!sure) {
- return;
- }
- var elm = $(evt.target);
-
- form = elm.parents('.form:first');
- var total_nses = $(form).find('.ns-entry').length;
- if (total_nses == App.Settings.NS_MIN) {
- return App.Helpers.alert('Minimum number of Name Servers is ' + App.Settings.NS_MIN);
- }
-
- var form = elm.parents('.form:first');
- $(elm).parents('.form:first').find('.additional-ns-add').removeClass('hidden');
- $(elm).parents('.ns-entry').remove();
-
- $(form).find('.ns-entry').each(function(i, o)
- {
- $(o).find('label').text('Name Server #' + (i + 1));
- $(o).find('input').attr('name', 'NS' + (i + 1));
- });
-}
-
-App.Actions.view_full_ns_list = function(evt)
-{
- var elm = $(evt.target);
- App.Helpers.openInnerPopup(elm, $(elm).parents('.prop-box').find('.ns-full-list:first').html(), 'Name Server list');
-}
-
-App.Actions.view_full_web_templates = function(evt)
-{
- var elm = $(evt.target);
- App.Helpers.openInnerPopup(elm, $(elm).parents('.prop-box').find('.ns-full-list:first').html(), 'Web Templates list');
-}
-
-App.Actions.view_template_info = function(evt)
-{
- var elm = $(evt.target);
- ref = elm.hasClass('row') ? elm : elm.parents('.row');
-
- var options = ref.find('.source').val();
- App.Ajax.request('DNS.getTemplateInfo', {spell: options}, function(reply) {
- if (reply.result) {
- var html = '';
- $.each(reply.data, function(key) {
- html += '
'+key+': '+reply.data[key]+'';
- });
- App.Helpers.openInnerPopup(elm, '
', 'Template Info');
- }
- });
-}
-
-App.Actions.toggle_stats_block = function(evt)
-{
- var elm = $(evt.target);
- if (!!elm.attr('checked')) {
- elm.parents('.stats-settings').find('.stats-block').removeClass('hidden');
- }
- else {
- elm.parents('.stats-settings').find('.stats-block').addClass('hidden');
- }
-}
-
-App.Actions.exec_v_console = function(evt)
-{
- evt.preventDefault();
- App.Helpers.openInnerPopup(evt.target, 'This functionality will be available in next releases', 'Details');
-}
-
-App.Actions.view_profile_settings = function(evt)
-{
- evt.preventDefault();
- App.Helpers.openInnerPopup(evt.target, 'This functionality will be available in next releases', 'Details');
-}
-
-App.Actions.select_all = function(evt)
-{
- $('.row').addClass('checked-row')
-}
-
-App.Actions.deselect_all = function(evt)
-{
- $('.row').removeClass('checked-row')
-}
-
-App.Actions.delete_selected = function(evt)
-{
- var selected = $('.checked-row');
- if (selected.length == 0) {
- return App.Helpers.alert('No entry selected. Please select at least one.');
- }
- var confirmed = confirm('You are about to delete ' + selected.length + ' entrie(s). Are you sure?');
- if (!confirmed) {
- return;
- }
-}
-
-App.Actions.loadStats = function(type)
-{
- var period = '';
- switch (type) {
- case 'month':
- period = 'monthly'
- break;
- case 'today':
- period = 'daily'
- break;
- case 'week':
- period = 'weekly'
- break;
- case 'year':
- period = 'yearly'
- break;
- default:
- period = 'daily';
- break;
- }
-
- $('#actions-toolbar .active').removeClass('active');
- $('#actions-toolbar .'+type).addClass('active');
-
- App.Ajax.request('STATS.getList', {period: period}, function(reply) {
- if (!reply.result) {
- App.Herlers.alert('Stats list failed to load. Please try again a bit later');
- }
-
- App.Ref.CONTENT.html(App.HTML.Build.stats_list(reply.data));
- App.Helpers.updateScreen();
- });
-}
-
-App.Actions.toggle_batch_selector = function()
-{
- if (App.Tmp[App.Env.world + '_selected_records'] == 0) { // Select all
- var rows = $('.row');
- rows.each(function(i, row) {
- $(row).addClass('checked-row');
- });
- App.Tmp[App.Env.world + '_selected_records'] = rows.length;
- $('#batch-processor .selector-title').html(rows.length + ' SELECTED');
- }
- else {
- var rows = $('.row');
- rows.each(function(i, row) {
- $(row).removeClass('checked-row');
- });
- App.Tmp[App.Env.world + '_selected_records'] = 0;
- $('#batch-processor .selector-title').html('NONE');
- }
-}
diff --git a/web/js/app.js b/web/js/app.js
deleted file mode 100644
index 7af8bc35..00000000
--- a/web/js/app.js
+++ /dev/null
@@ -1,255 +0,0 @@
-var _DEBUG = true;
-
-window.jsonParse=function(){var r="(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)",k='(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))';k='(?:"'+k+'*")';var s=new RegExp("(?:false|true|null|[\\{\\}\\[\\]]|"+r+"|"+k+")","g"),t=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),u={'"':'"',"/":"/","\\":"\\",b:"\u0008",f:"\u000c",n:"\n",r:"\r",t:"\t"};function v(h,j,e){return j?u[j]:String.fromCharCode(parseInt(e,16))}var w=new String(""),x=Object.hasOwnProperty;return function(h,
-j){h=h.match(s);var e,c=h[0],l=false;if("{"===c)e={};else if("["===c)e=[];else{e=[];l=true}for(var b,d=[e],m=1-l,y=h.length;m
=0;)delete f[i[g]]}return j.call(n,
-o,f)};e=p({"":e},"")}return e}}();
-(function($){$.toJSON=function(o)
-{if(typeof(JSON)=='object'&&JSON.stringify)
-return JSON.stringify(o);var type=typeof(o);if(o===null)
-return"null";if(type=="undefined")
-return undefined;if(type=="number"||type=="boolean")
-return o+"";if(type=="string")
-return $.quoteString(o);if(type=='object')
-{if(typeof o.toJSON=="function")
-return $.toJSON(o.toJSON());if(o.constructor===Date)
-{var month=o.getUTCMonth()+1;if(month<10)month='0'+month;var day=o.getUTCDate();if(day<10)day='0'+day;var year=o.getUTCFullYear();var hours=o.getUTCHours();if(hours<10)hours='0'+hours;var minutes=o.getUTCMinutes();if(minutes<10)minutes='0'+minutes;var seconds=o.getUTCSeconds();if(seconds<10)seconds='0'+seconds;var milli=o.getUTCMilliseconds();if(milli<100)milli='0'+milli;if(milli<10)milli='0'+milli;return'"'+year+'-'+month+'-'+day+'T'+
-hours+':'+minutes+':'+seconds+'.'+milli+'Z"';}
-if(o.constructor===Array)
-{var ret=[];for(var i=0;i= 0; i--) {
- if (/\S/.test(str.charAt(i))) {
- str = str.substring(0, i + 1);
- break;
- }
- }
- return str;
-}
-
-App.Ajax.request = function(jedi_method, data, callback)
-{
- if ($.inArray(jedi_method, App.Settings.AJAX_SYNCRONOUS) != -1) {
- if (App.Tmp.AJAX_SYNCRONOUS[jedi_method] == true) {
- return false;
- }
- else {
- App.Tmp.AJAX_SYNCRONOUS[jedi_method] = true;
- }
- }
- App.Helpers.beforeAjax(jedi_method);
- $.ajax({
- url: App.Helpers.getBackendUrl(),
- global: false,
- type: data.request_method || "POST",
- data: $.extend(data, {'jedi_method': jedi_method}),
- dataType: "text",
- async: true,
- success: function(reply)
- {
- if ($.inArray(jedi_method, App.Settings.AJAX_SYNCRONOUS) != -1) {
- App.Tmp.AJAX_SYNCRONOUS[jedi_method] = false;
- }
- reply = reply.replace(/\\'/gi, '');
- reply = reply.replace(/\'/gi, '');
-
- reply = jsonParse(reply);
-
- if (reply.result == 'NOT_AUTHORISED') {
- $('#content').html('Not Authorized ');
- App.Helpers.afterAjax();
- return App.Actions.authorize();
- }
-
- callback && callback(reply);
- App.Helpers.afterAjax();
- },
- error: function()
- {
- App.View.popup('error');
- }
- });
-}
-
-
-/**
- * Timer for profiling
- */
-var timer = {};
-timer.start = function()
-{
- timer.start_time = new Date();
-}
-
-timer.stop = function(msg)
-{
- timer.stop_time = new Date();
- timer.print(msg);
-}
-
-timer.print = function(msg)
-{
- var passed = timer.stop_time - timer.start_time;
- fb.info((msg || '') + ': ' + passed / 1000);
-}
-
-
-
-
-
diff --git a/web/js/bash.js b/web/js/bash.js
deleted file mode 100644
index 034013b8..00000000
--- a/web/js/bash.js
+++ /dev/null
@@ -1,4 +0,0 @@
-App.Bash.detectCommand = function(string){
-
-}
-
diff --git a/web/js/console.js b/web/js/console.js
deleted file mode 100644
index af2e0b0a..00000000
--- a/web/js/console.js
+++ /dev/null
@@ -1,7 +0,0 @@
-App.Console.init = function(){
-
- App.Refs.CONSOLE_INPUT.bind('keydown', function(evt){
- App.Console.Bash.detectCommand();
- });
-}
-
diff --git a/web/js/core.js b/web/js/core.js
deleted file mode 100644
index 97e787bd..00000000
--- a/web/js/core.js
+++ /dev/null
@@ -1,89 +0,0 @@
-//
-// CORE
-//
-App.Core.listen = function()
-{
- fb.log('start listening');
- $(document).bind('click', function(evt) {
- App.Helpers.handleItemsRegisteredInBackground(evt);
- var elm = $(evt.target);
- var action = $(elm).attr('class');
- if (!action) {
- return fb.log('No action passed');
- }
- action = action.split('do_action_');
- if (action.length < 2) {
- if (elm.hasClass('check-this')) {
- var ref = $(elm).parents('.row');
- if (ref.hasClass('checked-row')) {
- ref.removeClass('checked-row');
- App.Tmp[App.Env.world + '_selected_records'] -= 1;
- }
- else {
- ref.addClass('checked-row');
- App.Tmp[App.Env.world + '_selected_records'] += 1;
- }
-
- if (App.Tmp[App.Env.world + '_selected_records'] <= 0) {
- App.Tmp[App.Env.world + '_selected_records'] = 0; // if number is negative
- $('#batch-processor .selector-title').html('NONE');
- $('.styled.do_action_toggle_batch_selector.style-applied').attr('checked', false);
- $('.checkbox.do_action_toggle_batch_selector').css('background-position', '0 0');
- }
- else {
- $('#batch-processor .selector-title').html(App.Tmp[App.Env.world + '_selected_records'] + ' SELECTED');
- $('.styled.do_action_toggle_batch_selector.style-applied').attr('checked', true);
- $('.checkbox.do_action_toggle_batch_selector').css('background-position', '0 -50px');
- }
- }
- return; // no action found attached to the dom object
- }
- try {
- action_with_params = action[1].split(' ');// retrieve the action itself
- action = action_with_params[0];
- App.Core.__CALL__(evt, action);// Call the action
- }
- catch(e) {
- fb.error(e);
- }
- });
-
- $(document).bind('keyup', function(evt) {
- fb.log(evt.keyCode);
- if ('undefined' != typeof App.Constants.KEY.CODED_NAME[evt.keyCode]) {
- var method_name = 'keyboard_' + App.Constants.KEY.CODED_NAME[evt.keyCode];
- App.Helpers[method_name] && App.Helpers[method_name](evt);
- }
- });
-}
-
-/**
- * Action caller
- * if no action registered, execution will stop
- */
-App.Core.__CALL__ = function(evt, action)
-{
- if ('undefined' == typeof App.Actions[action]) {
- return alert('No action registered for: "'+action+'". Stop propagation');
- }
- else{
- return App.Actions[action](evt);
- }
-
-
-}
-
-App.Core.initMenu = function()
-{
- $('.section').bind('click', function(evt) {
- var elm = $(evt.target);
- !elm.hasClass('section') ? elm = elm.parents('.section') : -1;
- if (App.Env.world != elm.attr('id')) {
- App.Env.world = elm.attr('id');
- App.Pages.init();
- fb.warn('Switch page to: ' + App.Env.world);
- }
- });
-}
-
-
diff --git a/web/js/date_format.js b/web/js/date_format.js
deleted file mode 100644
index 55150099..00000000
--- a/web/js/date_format.js
+++ /dev/null
@@ -1,126 +0,0 @@
-/*
- * Date Format 1.2.3
- * (c) 2007-2009 Steven Levithan
- * MIT license
- *
- * Includes enhancements by Scott Trenda
- * and Kris Kowal
- *
- * Accepts a date, a mask, or a date and a mask.
- * Returns a formatted version of the given date.
- * The date defaults to the current date/time.
- * The mask defaults to dateFormat.masks.default.
- */
-
-var dateFormat = function () {
- var token = /d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,
- timezone = /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,
- timezoneClip = /[^-+\dA-Z]/g,
- pad = function (val, len) {
- val = String(val);
- len = len || 2;
- while (val.length < len) val = "0" + val;
- return val;
- };
-
- // Regexes and supporting functions are cached through closure
- return function (date, mask, utc) {
- var dF = dateFormat;
-
- // You can't provide utc if you skip other args (use the "UTC:" mask prefix)
- if (arguments.length == 1 && Object.prototype.toString.call(date) == "[object String]" && !/\d/.test(date)) {
- mask = date;
- date = undefined;
- }
-
- // Passing date through Date applies Date.parse, if necessary
- date = date ? new Date(date) : new Date;
- if (isNaN(date)) throw SyntaxError("invalid date");
-
- mask = String(dF.masks[mask] || mask || dF.masks["default"]);
-
- // Allow setting the utc argument via the mask
- if (mask.slice(0, 4) == "UTC:") {
- mask = mask.slice(4);
- utc = true;
- }
-
- var _ = utc ? "getUTC" : "get",
- d = date[_ + "Date"](),
- D = date[_ + "Day"](),
- m = date[_ + "Month"](),
- y = date[_ + "FullYear"](),
- H = date[_ + "Hours"](),
- M = date[_ + "Minutes"](),
- s = date[_ + "Seconds"](),
- L = date[_ + "Milliseconds"](),
- o = utc ? 0 : date.getTimezoneOffset(),
- flags = {
- d: d,
- dd: pad(d),
- ddd: dF.i18n.dayNames[D],
- dddd: dF.i18n.dayNames[D + 7],
- m: m + 1,
- mm: pad(m + 1),
- mmm: dF.i18n.monthNames[m],
- mmmm: dF.i18n.monthNames[m + 12],
- yy: String(y).slice(2),
- yyyy: y,
- h: H % 12 || 12,
- hh: pad(H % 12 || 12),
- H: H,
- HH: pad(H),
- M: M,
- MM: pad(M),
- s: s,
- ss: pad(s),
- l: pad(L, 3),
- L: pad(L > 99 ? Math.round(L / 10) : L),
- t: H < 12 ? "a" : "p",
- tt: H < 12 ? "am" : "pm",
- T: H < 12 ? "A" : "P",
- TT: H < 12 ? "AM" : "PM",
- Z: utc ? "UTC" : (String(date).match(timezone) || [""]).pop().replace(timezoneClip, ""),
- o: (o > 0 ? "-" : "+") + pad(Math.floor(Math.abs(o) / 60) * 100 + Math.abs(o) % 60, 4),
- S: ["th", "st", "nd", "rd"][d % 10 > 3 ? 0 : (d % 100 - d % 10 != 10) * d % 10]
- };
-
- return mask.replace(token, function ($0) {
- return $0 in flags ? flags[$0] : $0.slice(1, $0.length - 1);
- });
- };
-}();
-
-// Some common format strings
-dateFormat.masks = {
- "default": "ddd mmm dd yyyy HH:MM:ss",
- shortDate: "m/d/yy",
- mediumDate: "mmm d, yyyy",
- longDate: "mmmm d, yyyy",
- fullDate: "dddd, mmmm d, yyyy",
- shortTime: "h:MM TT",
- mediumTime: "h:MM:ss TT",
- longTime: "h:MM:ss TT Z",
- isoDate: "yyyy-mm-dd",
- isoTime: "HH:MM:ss",
- isoDateTime: "yyyy-mm-dd'T'HH:MM:ss",
- isoUtcDateTime: "UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"
-};
-
-// Internationalization strings
-dateFormat.i18n = {
- dayNames: [
- "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat",
- "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
- ],
- monthNames: [
- "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
- "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
- ]
-};
-
-// For convenience...
-Date.prototype.format = function (mask, utc) {
- return dateFormat(this, mask, utc);
-};
-
diff --git a/web/js/helpers.js b/web/js/helpers.js
deleted file mode 100644
index 167fb193..00000000
--- a/web/js/helpers.js
+++ /dev/null
@@ -1,443 +0,0 @@
-App.Helpers.formatNumber = function(number, no_commas){
- no_commas = no_commas || false;
- number = number.toString().replace(/,/g, '');
-
- var nStr = parseFloat(number).toFixed(2);
- fb.info(nStr);
- nStr = nStr.toString();
- nStr += '';
- x = nStr.split('.');
- x1 = x[0];
- x2 = x.length > 1 ? '.' + x[1] : '';
- if(!no_commas){
- var rgx = /(\d+)(\d{3})/;
- while (rgx.test(x1)) {
- x1 = x1.replace(rgx, '$1' + ',' + '$2');
- }
- }
- return x1 + x2;
-}
-
-App.Helpers.getHumanTabName = function()
-{
- if (App.Env.world == 'WEB_DOMAIN') {
- return 'WEB DOMAIN';
- }
- if (App.Env.world == 'MAIL') {
- return 'MAIL DOMAIN';
- }
- if (App.Env.world == 'DNS') {
- return 'DNS DOMAIN';
- }
- if (App.Env.world == 'IP') {
- return 'IP ADDRESS';
- }
- if (App.Env.world == 'CRON') {
- return 'CRON JOB';
- }
- if (App.Env.world == 'DB') {
- return 'DATABASE';
- }
- if (App.Env.world == 'BACKUPS') {
- return 'BACKUP';
- }
- if (App.Env.world == 'STATS') {
- return 'STATS';
- }
- return App.Env.world;
-}
-
-App.Helpers.scrollTo = function(elm)
-{
- var scroll_to = $(elm).offset().top;
- if (scroll_to > 1000) {
- var scroll_time = 300;
- }
- else {
- var scroll_time = 550;
- }
- $('html, body').animate({ 'scrollTop': scroll_to }, scroll_time);
-}
-
-App.Helpers.getMbHumanMeasure = function(val)
-{
- return App.Helpers.getMbHuman(val, true);
-}
-
-/**
- * Currently no bytes are used, minimal value is in MB
- * uncomment in case we will use bytes instead
- */
-App.Helpers.getMbHuman = function(val, only_measure)
-{
- var bytes = val * 1024 * 1024;
- var kilobyte = 1024;
- var megabyte = kilobyte * 1024;
- var gigabyte = megabyte * 1024;
- var terabyte = gigabyte * 1024;
- var precision = 0;
-
-
- return only_measure ? 'MB' : (bytes / megabyte).toFixed(precision);
- /*if ((bytes >= 0) && (bytes < kilobyte)) {
- return bytes + ' B';
-
- } else if ((bytes >= kilobyte) && (bytes < megabyte)) {
- return (bytes / kilobyte).toFixed(precision) + ' KB';
-
- } else */
- if ((bytes >= megabyte) && (bytes < gigabyte)) {
- return only_measure ? 'MB' : (bytes / megabyte).toFixed(precision);
-
- } else if ((bytes >= gigabyte) && (bytes < terabyte)) {
- return only_measure ? 'GB' : (bytes / gigabyte).toFixed(precision);
-
- } else if (bytes >= terabyte) {
- return only_measure ? 'TB' : (bytes / terabyte).toFixed(precision);
-
- } else {
- return only_measure ? 'MB' : bytes;
- }
-}
-
-App.Helpers.getFirst = function(obj)
-{
- var first = {};
- var key = App.Helpers.getFirstKey(obj);
- first[key] = obj[key];
- return first;
-}
-
-App.Helpers.getFirstKey = function(obj)
-{
- for (key in obj) break;
- return key;
-}
-
-App.Helpers.updateInitial = function()
-{
- $.each(App.Env.initialParams.totals, function(key) {
- var item = App.Env.initialParams.totals[key];
- var expr_id = '#'+key;
- if ('undefined' != typeof item.total) {
- var ref = $(expr_id).find('.num-total');
- if (ref.length > 0) {
- $(ref).html(item.total);
- }
- }
- if ('undefined' != typeof item.blocked) {
- var ref = $(expr_id).find('.num-blocked');
- if (ref.length > 0) {
- $(ref).html(item.blocked);
- }
- }
- });
- $('#user-name').html(App.Env.initialParams.PROFILE.uid);
- $('#page').removeClass('hidden');
-
- if (App.Env.initialParams.real_user) {
- var tpl = App.Templates.get('logged_as', 'general');
- tpl.set(':YOU_ARE', App.Env.initialParams.real_user);
- tpl.set(':USER', App.Env.initialParams.auth_user.uid.uid);
- $('body').prepend(tpl.finalize());
- }
-}
-
-App.Helpers.beforeAjax = function(jedi_method)
-{
- switch(jedi_method) {
- case 'DNS.getList':
- App.Helpers.showLoading();
- break;
- default:
- App.Helpers.showLoading();
- break;
- }
-}
-
-App.Helpers.afterAjax = function()
-{
- App.Helpers.removeLoading();
-}
-
-App.Helpers.removeLoading = function()
-{
- var ref = $('#loading');
- if (ref.length > 0) {
- ref.remove();
- }
-}
-
-App.Helpers.showLoading = function()
-{
- App.Helpers.removeLoading();
- var tpl = App.Templates.get('loading', 'general');
- $(document.body).append(tpl.finalize());
-}
-
-// todo: no iteration here
-App.Helpers.getFirstValue = function(obj)
-{
- var first = '';
- $.each(obj, function(key, i) {
- return first = obj[key];
- });
-
- return first;
-}
-
-App.Helpers.evalJSON = function(str)
-{
- return $.parseJSON(str);
-}
-
-App.Helpers.toJSON = function(object)
-{
- return ($.toJSON(object).replace(/\\'/gi, ''));
-}
-
-
-//
-// Hints
-//
-App.Helpers.showConsoleHint = function()
-{
- // TODO:
-}
-
-App.Helpers.markBrowserDetails = function()
-{
- var b = App.Env.BROWSER;
- var classes = [
- b.type.toLowerCase(),
- b.type.toLowerCase() + b.version,
- b.os.toLowerCase()
- ];
- $(document.body).addClass(classes.join(' '));
-}
-
-App.Utils.detectBrowser = function()
-{
- App.Env.BROWSER = {
- type: $.browser.browser(),
- version: $.browser.version.number(),
- os: $.browser.OS()
- };
-
- App.Helpers.markBrowserDetails();
-}
-
-App.Helpers.getFormValues = function(form)
-{
- var values = {};
- $(form).find('input, select, textarea').each(function(i, o) {
- if ($.inArray($(o).attr('class'), ['source', 'target'])) {
- values[$(o).attr('name')] = $(o).val();
- }
- });
-
- return values;
-}
-
-App.Helpers.getFormValuesFromElement = function(ref)
-{
- var values = {};
- $(ref).find('input, select, textarea').each(function(i, o) {
- if ($.inArray($(o).attr('class'), ['source', 'target'])) {
- values[$(o).attr('name')] = $(o).val();
- }
- });
-
- return values;
-}
-
-App.Helpers.updateScreen = function()
-{
-
- /*App.Ajax.request('MAIN.getInitial', {}, function(reply){
- App.Env.initialParams = reply.data;
- App.Helpers.updateInitial();
- });*/
- $('.first-row').removeClass('first-row');
- $('.row:first').addClass('first-row');
- Custom.init();
-}
-
-App.Helpers.alert = function(msg)
-{
- alert(msg);
-}
-
-App.Helpers.isEmpty = function(o)
-{
- return 'undefined' == typeof o ? true : jQuery.isEmptyObject(o);
-}
-
-App.Helpers.liveValidate = function()
-{
-
-}
-
-App.Helpers.generatePassword = function()
-{
- var length = 8;
- var chars = "aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ0123456789";
- var pass = "";
-
- for (x=0;x 1) {
- var tab = url_parts[url_parts.length - 1];
- if ($.inArray(tab, App.Constants.TABS) != -1) {
- App.Tmp.loadTAB = tab;
- }
- }
-
- var url_parts = location.href.split('?', 1);
- var url = url_parts[0];
- url_parts = url.split('/');
- if (url_parts[url_parts.length -1] == 'index.html') {
- url_parts[url_parts.length -1] = to_file;
- }
- else {
- url_parts.push(to_file);
- }
-
- return url_parts.join('/').replace('#', '');
-}
-
-App.Helpers.disableNotEditable = function()
-{
- if ('undefined' == typeof App.Settings.Imutable[App.Env.world]) {
- return false;
- }
-
- $('.form').each(function(i, form)
- {
- if ($(form).attr('id') == '') {
- $('input, select, textarea', form).each(function(i, elm) {
- if ($.inArray($(elm).attr('name'), App.Settings.Imutable[App.Env.world]) != -1) {
- $(elm).attr('disabled', true);
- }
- });
- }
- });
-}
-
-App.Helpers.handleItemsRegisteredInBackground = function(evt)
-{
- // complex selects
- if (!$(evt.target).hasClass('c-s-opt')) { // complex select option
- $('.complex-select-content').addClass('hidden');
- }
-}
-
-//
-// HELPERS
-//
-App.Helpers.keyboard_ESC = function()
-{
- $('.complex-select-content').addClass('hidden');
- App.Tmp.focusedComplexSelect = null;
-}
-
-App.Helpers.keyboard_ENTER = function()
-{
- if (null != App.Tmp.focusedComplexSelectInput) {
- var val = App.Tmp.focusedComplexSelectInput.find('.c-s-value').val();
- App.Tmp.focusedComplexSelect.find('.c-s-title').text(val);
- App.Tmp.focusedComplexSelect.find('.c-s-value-ref').val(val);
- $('.complex-select-content').addClass('hidden');
- }
-}
-
-App.Helpers.keyboard_DOWN = function(evt)
-{
- if (null != App.Tmp.focusedComplexSelect) {
- App.Tmp.focusedComplexSelect.find('.complex-select-content').removeClass('hidden');
- $('.s-c-highlighted').removeClass('s-c-highlighted');
- if (null == App.Tmp.focusedComplexSelectInput) {
- App.Tmp.focusedComplexSelectInput = App.Tmp.focusedComplexSelect.find('.cust-sel-option:first');
- App.Tmp.focusedComplexSelectInput.addClass('s-c-highlighted');
- }
- else {
- var ref = App.Tmp.focusedComplexSelectInput.next();
- App.Tmp.focusedComplexSelectInput = ref;
- if (ref.length == 1) {
- ref.addClass('s-c-highlighted');
- }
- else {
- App.Tmp.focusedComplexSelectInput = App.Tmp.focusedComplexSelect.find('.cust-sel-option:first');
- App.Tmp.focusedComplexSelectInput.addClass('s-c-highlighted');
- }
- }
- }
-}
-
-App.Helpers.keyboard_UP = function(evt)
-{
- if (null != App.Tmp.focusedComplexSelect) {
- App.Tmp.focusedComplexSelect.find('.complex-select-content').removeClass('hidden');
- $('.s-c-highlighted').removeClass('s-c-highlighted');
- if (null == App.Tmp.focusedComplexSelectInput) {
- App.Tmp.focusedComplexSelectInput = App.Tmp.focusedComplexSelect.find('.cust-sel-option:last');
- App.Tmp.focusedComplexSelectInput.addClass('s-c-highlighted');
- }
- else {
- var ref = App.Tmp.focusedComplexSelectInput.prev();
- App.Tmp.focusedComplexSelectInput = ref;
- if (ref.length == 1) {
- ref.addClass('s-c-highlighted');
- }
- else {
- App.Tmp.focusedComplexSelectInput = App.Tmp.focusedComplexSelect.find('.cust-sel-option:last');
- App.Tmp.focusedComplexSelectInput.addClass('s-c-highlighted');
- }
- }
- }
-}
-
diff --git a/web/js/html.js b/web/js/html.js
deleted file mode 100644
index 009f3939..00000000
--- a/web/js/html.js
+++ /dev/null
@@ -1,779 +0,0 @@
-App.HTML.setTplKeys = function (tpl, o, empty) {
- var empty = empty || '';
- fb.log(empty);
- tpl.set(':source', $.toJSON(o).replace(/'/gi, "\\'"))
- $(o).each(function (i, object) {
- $.each(o, function (key) {
- var val = o[key];
- if (empty == true) {
- tpl.set(':' + key, val || '');
- } else {
- tpl.set(':' + key, val || '');
- }
- });
- });
- return tpl;
-}
-
-//
-// BUILD FORMS
-//
-
-App.HTML.Build.dns_form = function (options, id) {
- if ('undefined' == typeof App.Env.initialParams) {
- return alert('Please wait a bit. Some background processes are not yet executed. Thank you for patience.');
- }
- var tpl = App.Templates.get('FORM', 'dns');
- tpl.set(':source', options);
- options = App.Helpers.evalJSON(options) || {};
- if (App.Helpers.isEmpty(options)) {
- tpl.set(':title', 'New dns domain');
- tpl.set(':save_button', 'ADD');
- tpl.set(':DELETE_ACTION', '');
- } else {
- tpl.set(':title', 'Edit dns domain');
- tpl.set(':save_button', 'SAVE');
- tpl.set(':DELETE_ACTION', App.Templates.get('DELETE_ACTION', 'general').finalize());
- }
- tpl.set(':id', id || '');
- tpl.set(':DNS_DOMAIN', options.DNS_DOMAIN || '');
- tpl.set(':IP', options.IP || '');
- tpl.set(':TTL', options.TTL || '');
- tpl.set(':SOA', options.SOA || '');
- tpl.set(':DATE', options.DATE || '');
- tpl = App.HTML.Build.dns_selects(tpl, options);
- tpl = App.HTML.toggle_suspended_form(tpl, options);
-
- return tpl.finalize();
-}
-
-App.HTML.Build.ip_form = function (options, id) {
- if ('undefined' == typeof App.Env.initialParams) {
- return alert('PLease wait a bit. Some background processes are not yet executed. Thank you for patience.');
- }
- var tpl = App.Templates.get('FORM', 'ip');
- tpl.set(':source', options);
- options = App.Helpers.evalJSON(options) || {};
- if (App.Helpers.isEmpty(options)) {
- tpl.set(':title', 'New ip address');
- tpl.set(':save_button', 'ADD');
- tpl.set(':DELETE_ACTION', '');
- } else {
- tpl.set(':title', 'Edit ip address');
- tpl.set(':save_button', 'SAVE');
- tpl.set(':DELETE_ACTION', App.Templates.get('DELETE_ACTION', 'general').finalize());
- }
- tpl.set(':id', id || '');
- tpl.set(':IP_ADDRESS', options.IP_ADDRESS || '');
- tpl.set(':NETMASK', options.NETMASK || '');
- tpl.set(':NAME', options.NAME || '');
- tpl = App.HTML.Build.ip_selects(tpl, options);
- tpl = App.HTML.toggle_suspended_form(tpl, options);
-
- return tpl.finalize();
-}
-
-App.HTML.Build.user_form = function (options, id) {
- var in_edit = false;
- if (!App.Helpers.isEmpty(options)) {
- in_edit = true;
- }
- if ('undefined' == typeof App.Env.initialParams) {
- return alert('Please wait a bit. Some background processes are not yet executed. Thank you for patience.');
- }
- var tpl = App.Templates.get('FORM', 'user');
- tpl.set(':source', options);
- tpl.set(':id', id || '');
- options = App.Helpers.evalJSON(options) || {};
- if (App.Helpers.isEmpty(options)) {
- tpl.set(':title', 'New user');
- tpl.set(':save_button', 'ADD');
- tpl.set(':DELETE_ACTION', '');
- } else {
- tpl.set(':title', 'Edit user');
- tpl.set(':save_button', 'SAVE');
- tpl.set(':DELETE_ACTION', App.Templates.get('DELETE_ACTION', 'general').finalize());
- }
- options = !App.Helpers.isEmpty(options) ? options : App.Empty.USER;
-
- if (in_edit == true) {
- options.PASSWORD = App.Settings.PASSWORD_IMMUTE;
- var ns = [];
- $([3, 4, 5, 6, 7, 8]).each(function (i, index) {
- if (options['NS' + index].trim() != '') {
- var tpl_ns = App.Templates.get('NS_INPUT', 'user');
- tpl_ns.set(':NS_LABEL', 'Name Server #' + (index));
- tpl_ns.set(':NAME', options['NS' + index]);
- ns[ns.length++] = tpl_ns.finalize();
- }
- });
- ns[ns.length++] = App.Templates.get('PLUS_ONE_NS', 'user').finalize();
- tpl.set(':NS', ns.done());
- } else {
- tpl.set(':NS', '');
- }
-
- tpl = App.HTML.setTplKeys(tpl, options, true);
- tpl = App.HTML.Build.user_selects(tpl, options);
- tpl = App.HTML.toggle_suspended_form(tpl, options);
- if (options.REPORTS_ENABLED == 'yes' || options.REPORTS_ENABLED == 'on') {
- tpl.set(':CHECKED', 'checked="checked"');
- } else {
- tpl.set(':CHECKED', '');
- }
- if (!in_edit) {
- tpl.set(':REPORTS_ENABLED_EDITABLE', 'hidden');
- }
-
- return tpl.finalize();
-}
-
-App.HTML.Build.web_domain_form = function (options, id) {
- if ('undefined' == typeof App.Env.initialParams) {
- return alert('PLease wait a bit. Some background processes are not yet executed. Thank you for patience.');
- }
- var in_edit = false;
- if (!App.Helpers.isEmpty(options)) {
- in_edit = true;
- }
- var tpl = App.Templates.get('FORM', 'web_domain');
- tpl.set(':source', options);
- tpl.set(':id', id || '');
- options = App.Helpers.evalJSON(options) || {};
- if (App.Helpers.isEmpty(options)) {
- tpl.set(':title', 'New WEB domain');
- tpl.set(':save_button', 'ADD');
- tpl.set(':DELETE_ACTION', '');
- } else {
- tpl.set(':title', 'Edit WEB domain');
- tpl.set(':save_button', 'SAVE');
- tpl.set(':DELETE_ACTION', App.Templates.get('DELETE_ACTION', 'general').finalize());
-
- if(options.SSL_CRT == '' || options.SSL_KEY == ''){
- options.SSL = '';
- options.SSL_HOME = '';
- options.SSL_CRT = '';
- options.SSL_KEY = '';
- options.SSL_CA = '';
- }
-
- if (options.SSL == 'on') {
- tpl.set(':ssl_checked', 'checked="checked"');
- }
- else {
- tpl.set(':ssl_checked', '');
- }
- if (options.SSL_HOME == 'on') {
- tpl.set(':ssl_home_checked', 'checked="checked"');
- }
- else{
- tpl.set(':ssl_home_checked', '');
- }
- }
-
- options = !App.Helpers.isEmpty(options) ? options : App.Empty.WEB_DOMAIN;
- if (in_edit == true) {
- options.STATS_PASSWORD = options.STATS_LOGIN.trim() != '' ? App.Settings.PASSWORD_IMMUTE : '';
- }
- tpl = App.HTML.setTplKeys(tpl, options, true);
- tpl = App.HTML.Build.web_domain_selects(tpl, options);
- tpl = App.HTML.toggle_suspended_form(tpl, options);
-
- if (options.CGI == 'yes' || options.CGI == 'on' || !in_edit) {
- tpl.set(':CHECKED_CGI', 'checked="checked"');
- }
-
-
- if (options.ELOG == 'yes' || options.ELOG == 'on') {
- tpl.set(':CHECKED_ELOG', 'checked="checked"');
- }
- if (options.STATS_LOGIN.trim() != '') {
- tpl.set(':STAT_AUTH', 'checked="checked"');
- tpl.set(':ACTIVE_LOGIN', '');
- tpl.set(':ACTIVE_PASSWORD', '');
- tpl.set(':stats_auth_checked', 'checked="checked"');
- } else {
- tpl.set(':ACTIVE_LOGIN', 'hidden');
- tpl.set(':ACTIVE_PASSWORD', 'hidden');
- tpl.set(':stats_auth_checked', '');
- }
-
- if (options.SSL == 'on') {
- tpl.set(':ssl_checked', 'checked="checked"');
- if (options.SSL_HOME == 'on') {
- tpl.set(':ssl_home_checked', 'checked="checked"');
- }
- else{
- tpl.set(':ssl_home_checked', '');
- }
- }
- else {
- tpl.set(':ssl_checked', '');
- tpl.set(':ssl_home_checked', '');
- tpl.set(':SSL_HOME', '');
- tpl.set(':SSL_CRT', '');
- tpl.set(':SSL_KEY', '');
- tpl.set(':SSL_CA', '');
- }
-
- tpl.set(':DNS_DOMAIN_ALSO', in_edit? 'hidden' : '');
-
- return tpl.finalize();
-}
-
-App.HTML.Build.db_form = function (options, id) {
- var in_edit = false;
- if (!App.Helpers.isEmpty(options)) {
- in_edit = true;
- }
- if ('undefined' == typeof App.Env.initialParams) {
- return alert('PLease wait a bit. Some background processes are not yet executed. Thank you for patience.');
- }
- var tpl = App.Templates.get('FORM', 'db');
- tpl.set(':source', options);
- tpl.set(':id', id || '');
- options = App.Helpers.evalJSON(options) || {};
- if (App.Helpers.isEmpty(options)) {
- tpl.set(':title', 'New database');
- tpl.set(':save_button', 'ADD');
- tpl.set(':DELETE_ACTION', '');
- } else {
- tpl.set(':title', 'Edit database "' + options.DB + '"');
- tpl.set(':save_button', 'SAVE');
- tpl.set(':DELETE_ACTION', App.Templates.get('DELETE_ACTION', 'general').finalize());
- }
- options = !App.Helpers.isEmpty(options) ? options : App.Empty.DB;
- if (in_edit == true) {
- options.PASSWORD = App.Settings.PASSWORD_IMMUTE;
- }
- tpl = App.HTML.setTplKeys(tpl, options, true);
- tpl = App.HTML.Build.db_selects(tpl, options);
- tpl = App.HTML.toggle_suspended_form(tpl, options);
-
- return tpl.finalize();
-}
-
-App.HTML.Build.cron_form = function (options, id) {
- if ('undefined' == typeof App.Env.initialParams) {
- return alert('PLease wait a bit. Some background processes are not yet executed. Thank you for patience.');
- }
- var tpl = App.Templates.get('FORM', 'cron');
- tpl.set(':source', options);
- tpl.set(':id', id || '');
- options = App.Helpers.evalJSON(options) || {};
- if (App.Helpers.isEmpty(options)) {
- tpl.set(':title', 'New cron job');
- tpl.set(':save_button', 'ADD');
- tpl.set(':DELETE_ACTION', '');
- } else {
- tpl.set(':title', 'Edit cron job');
- tpl.set(':save_button', 'SAVE');
- tpl.set(':DELETE_ACTION', App.Templates.get('DELETE_ACTION', 'general').finalize());
- }
- options = !App.Helpers.isEmpty(options) ? options : {
- DAY: '',
- MONTH: '',
- WDAY: '',
- HOUR: '',
- CMD: '',
- MIN: ''
- };
- tpl = App.HTML.setTplKeys(tpl, options);
- tpl = App.HTML.toggle_suspended_form(tpl, options);
-
- return tpl.finalize();
-}
-
-//
-// BUILD ENTRIES
-//
-
-
-App.HTML.Build.ip_entry = function (o) {
- var tpl = App.Templates.get('ENTRY', 'ip');
- tpl = App.HTML.setTplKeys(tpl, o);
- tpl = App.HTML.toggle_suspended_entry(tpl, o);
-
- return tpl.finalize();
-}
-App.HTML.Build.dns_entry = function (o) {
- var tpl = App.Templates.get('ENTRY', 'dns');
- tpl = App.HTML.setTplKeys(tpl, o);
- var ip = o.IP.split('.');
- tpl.set(':IP', ip.join('. '));
- tpl.set(':CHECKED', '');
- tpl.set(':TPL_VAL', o.TPL);
- tpl = App.HTML.toggle_suspended_entry(tpl, o);
-
- return tpl.finalize();
-}
-App.HTML.Build.user_entry = function (o, key) {
- var processed_data = {
- 'NICKNAME': key,
- 'U_DISK_PERCENTAGE': o.U_DISK > 0 ? parseFloat(o.U_DISK / o.DISK_QUOTA * 100).toFixed(2) : 1,
- 'U_BANDWIDTH_PERCENTAGE': o.U_BANDWIDTH > 0 ? parseFloat(o.U_BANDWIDTH / o.BANDWIDTH * 100).toFixed(2) : 1,
- 'U_DISK': o.U_DISK == 0 ? 1 : App.Helpers.formatNumber(o.U_DISK),
- 'U_BANDWIDTH': o.U_BANDWIDTH == 0 ? 1 : App.Helpers.formatNumber(o.U_BANDWIDTH),
- 'DISK_QUOTA_MEASURE': App.Helpers.getMbHumanMeasure(o.DISK_QUOTA),
- 'BANDWIDTH_MEASURE': App.Helpers.getMbHumanMeasure(o.BANDWIDTH),
- 'BANDWIDTH': App.Helpers.getMbHuman(o.BANDWIDTH),
- 'DISK_QUOTA': App.Helpers.getMbHuman(o.DISK_QUOTA)
- };
- var o = $.extend(o, processed_data);
- o.U_DISK_PERCENTAGE_2 = o.U_DISK_PERCENTAGE;
- o.U_DISK_PERCENTAGE_3 = o.U_DISK_PERCENTAGE;
- o.BANDWIDTH_MEASURE_2 = o.BANDWIDTH_MEASURE;
- o.DISK_QUOTA_MEASURE_2 = o.DISK_QUOTA_MEASURE;
- o.U_BANDWIDTH_PERCENTAGE_2 = o.U_BANDWIDTH_PERCENTAGE;
- o.U_BANDWIDTH_PERCENTAGE_3 = o.U_BANDWIDTH_PERCENTAGE;
- var tpl = App.Templates.get('ENTRY', 'user');
- tpl = App.HTML.setTplKeys(tpl, o);
- tpl = App.HTML.toggle_suspended_entry(tpl, o);
- var ns = [];
- var ns_full = [];
- $([1, 2, 3, 4, 5, 6, 7, 8]).each(function (i, index) {
- var key = 'NS' + index;
- if ('undefined' != typeof o[key]) {
- if (o[key].trim() != '') {
- var tpl_ns = App.Templates.get('NS_RECORD', 'user');
- tpl_ns.set(':NAME', o[key]);
- var tpl_finalized = tpl_ns.finalize();
- ns_full[ns_full.length++] = tpl_finalized;
- if (i < App.Settings.USER_VISIBLE_NS) {
- ns[ns.length++] = tpl_finalized;
- }
- }
- }
- });
- if (ns_full.length <= App.Settings.USER_VISIBLE_NS) {
- tpl.set(':NS', ns.done());
- }
- else {
- var ns_custom = App.Templates.get('NS_MINIMIZED', 'user');
- ns_custom.set(':NS_MINI', ns.done());
- ns_custom.set(':NS_FULL', ns_full.done());
- ns_custom.set(':MORE_NUMBER', Math.abs(App.Settings.USER_VISIBLE_NS - ns_full.length));
- tpl.set(':NS', ns_custom.finalize());
- }
- tpl = App.HTML.Build.user_web_tpl(tpl, o);
-
- tpl.set(':REPORTS_ENABLED', o.REPORTS_ENABLED == 'yes' || o.REPORTS_ENABLED == 'on' ? 'enabled' : 'DISABLED');
- if (o.U_DISK_PERCENTAGE > 100) {
- var tpl_over = App.Templates.get('over_bar', 'general');
- var difference = parseInt(o.U_DISK_PERCENTAGE, 10) - 100;
- tpl_over.set(':OVER_PERCENTS', difference);
- tpl_over.set(':OVER_PERCENTS_2', difference);
- tpl.set(':OVER_BAR', tpl_over.finalize());
- tpl.set(':U_DISK_PERCENTAGE_3', 100);
- tpl.set(':OVER_DRAFT_VALUE', 'overdraft');
- }
- else {
- tpl.set(':OVER_BAR', '');
- tpl.set(':OVER_DRAFT_VALUE', '');
- }
- if (o.U_BANDWIDTH_PERCENTAGE > 100) {
- var tpl_over = App.Templates.get('over_bar', 'general');
- var difference = parseInt(o.U_BANDWIDTH_PERCENTAGE, 10) - 100;
- tpl_over.set(':OVER_PERCENTS', difference);
- tpl_over.set(':OVER_PERCENTS_2', difference);
- tpl.set(':OVER_BAR_2', tpl_over.finalize());
- tpl.set(':U_BANDWIDTH_PERCENTAGE_3', 100);
- tpl.set(':OVER_DRAFT_VALUE_2', 'overdraft');
- }
- else {
- tpl.set(':OVER_BAR_2', '');
- tpl.set(':OVER_DRAFT_VALUE_2', '');
- }
- return tpl.finalize();
-}
-
-App.HTML.Build.web_domain_entry = function (o, key) {
- var processed_data = {
- DOMAIN: key,
- 'U_DISK_PERCENTAGE': o.U_DISK > 0 ? parseFloat(o.U_DISK / App.Env.initialParams.user_data.DISK_QUOTA * 100).toFixed(2) : 1,
- 'U_BANDWIDTH_PERCENTAGE': o.U_BANDWIDTH > 0 ? parseFloat(o.U_BANDWIDTH / App.Env.initialParams.user_data.BANDWIDTH * 100).toFixed(2) : 1,
- 'U_DISK': o.U_DISK == 0 ? 1 : App.Helpers.formatNumber(o.U_DISK),
- 'U_BANDWIDTH': o.U_BANDWIDTH == 0 ? 1 : App.Helpers.formatNumber(o.U_BANDWIDTH),
- 'DISK_QUOTA_MEASURE': App.Helpers.getMbHumanMeasure(App.Env.initialParams.user_data.DISK_QUOTA),
- 'BANDWIDTH_MEASURE': App.Helpers.getMbHumanMeasure(App.Env.initialParams.user_data.BANDWIDTH),
- 'BANDWIDTH': App.Helpers.getMbHuman(App.Env.initialParams.user_data.BANDWIDTH),
- 'DISK_QUOTA': App.Helpers.getMbHuman(App.Env.initialParams.user_data.DISK_QUOTA),
- 'SSL': (o.SSL_CRT == '' || o.SSL_KEY == '' || o.SSL != 'on') ? 'off' : 'on'
- };
-
-
- var o = $.extend(o, processed_data);
- o.U_DISK_PERCENTAGE_2 = o.U_DISK_PERCENTAGE;
- o.U_DISK_PERCENTAGE_3 = o.U_DISK_PERCENTAGE;
- o.BANDWIDTH_MEASURE_2 = o.BANDWIDTH_MEASURE;
- o.DISK_QUOTA_MEASURE_2 = o.DISK_QUOTA_MEASURE;
- o.U_BANDWIDTH_PERCENTAGE_2 = o.U_BANDWIDTH_PERCENTAGE;
- o.U_BANDWIDTH_PERCENTAGE_3 = o.U_BANDWIDTH_PERCENTAGE;
- var tpl = App.Templates.get('ENTRY', 'web_domain');
- tpl = App.HTML.setTplKeys(tpl, o);
- tpl = App.HTML.toggle_suspended_entry(tpl, o);
- if (o.STATS_LOGIN.trim() != '') {
- tpl.set(':STATS_AUTH', '+auth');
- }
- else {
- tpl.set(':STATS_AUTH', '');
- }
- tpl.set(':DISK', App.Env.initialParams.PROFILE.BANDWIDTH);
- tpl.set(':BANDWIDTH', App.Env.initialParams.PROFILE.DISK);
-
- tpl = App.HTML.toggle_suspended_entry(tpl, o);
-
- return tpl.finalize();
-}
-
-App.HTML.Build.mail_entry = function (o, key) {
- var processed_data = {
- DOMAIN: key
- };
- var o = $.extend(o, processed_data);
- var tpl = App.Templates.get('ENTRY', 'mail');
- tpl = App.HTML.setTplKeys(tpl, o);
- tpl = App.HTML.toggle_suspended_entry(tpl, o);
-
- return tpl.finalize();
-}
-App.HTML.Build.db_entry = function (o, key) {
- var user_list_html = [];
- $(o['USERS']).each(function (i, o) {
- var tpl = App.Templates.get('USER_ITEM', 'db');
- tpl.set(':NAME', o);
- user_list_html.push(tpl.finalize());
- });
- var wrapper = App.Templates.get('USER_ITEMS_WRAPPER', 'db');
- wrapper.set(':CONTENT', user_list_html.done());
- var processed_data = {
- 'USER_LIST': wrapper.finalize(),
- 'USERS': o['USERS'].length || 0,
- 'U_DISK_PERCENTAGE': o.U_DISK > 0 ? o.U_DISK / o.DISK * 100 : 0.01,
- 'DISK_MEASURE': App.Helpers.getMbHumanMeasure(o.DISK),
- 'DISK': App.Helpers.getMbHuman(o.DISK)
- };
- var o = $.extend(o, processed_data);
- var tpl = App.Templates.get('ENTRY', 'db');
- tpl = App.HTML.setTplKeys(tpl, o);
- tpl = App.HTML.toggle_suspended_entry(tpl, o);
-
- return tpl.finalize();
-}
-
-App.HTML.Build.cron_entry = function (o, key) {
- var processed_data = {
- DOMAIN: key
- };
- var o = $.extend(o, processed_data);
- var tpl = App.Templates.get('ENTRY', 'cron');
- tpl = App.HTML.setTplKeys(tpl, o);
- tpl = App.HTML.toggle_suspended_entry(tpl, o);
-
- return tpl.finalize();
-}
-
-//
-// GENERAL METHODS
-//
-
-App.HTML.Build.backup_list = function(backups)
-{
- if (!backups || backups.length == 0) {
- return 'Backups are not available ';
- }
-
- var acc = [];
- $.each(backups, function(key) {
- var bckp = backups[key];
- // generated time calc
- var generated_time = 1; //min
- bckp.RUNTIME > 60 ? generated_time = bckp.RUNTIME / 60 + ' h.' : generated_time += ' m.';
-
- var created_date = new Date(key);
- var tpl = App.Templates.get('ENTRY', 'backup');
- tpl.set(':CREATED_AT', key);
- tpl.set(':CREATED_AT_TIME', bckp.TIME);
- tpl.set(':GENERATION_TIME', generated_time);
- tpl.set(':OWNER', App.Env.initialParams.auth_user.uid.uid);
- tpl.set(':CREATED_AT_WDAY', App.Constants.KEY.WDAYS[created_date.getDay()]);
- tpl.set(':SIZE', App.Helpers.getMbHuman(bckp.SIZE) + ' ' + App.Helpers.getMbHuman(bckp.SIZE, true));
-// tpl.set(':DOWNLOAD_LINK', '/backup/' + App.Env.initialParams.auth_user.uid.uid + '.' + key + '.tar');
- tpl.set(':DOWNLOAD_LINK', '/dispatch.php?jedi_method=MAIN.downloadBackup&key=' + key);
-
-
- acc[acc.length++] = tpl.finalize()
- });
-
- var wrap = App.Templates.get('WRAPPER', 'backup');
- wrap.set(':CONTENT', acc.done());
-
- return wrap.finalize();
-}
-
-App.HTML.Build.stats_list = function(stats)
-{
- if (!stats || stats.length == 0) {
- return 'Stats are not available ';
- }
- var acc = [];
- $.each(stats, function(key) {
- var stat = stats[key];
-
- var tpl = App.Templates.get('ENTRY', 'stats');
- tpl.set(':HEADER', stat.TITLE);
- tpl.set(':IMG_SRC', stat.SRC);
- acc[acc.length++] = tpl.finalize()
- });
-
- var wrap = App.Templates.get('WRAPPER', 'stats');
-
- var period_start = new Date();
- var period_end = new Date();
- switch (stats[1]['PERIOD'])
- {
- case "daily": period_start.setDate(period_start.getDate()-1); break;
- case "weekly": period_start.setDate(period_start.getDate()-7); break;
- case "monthly": period_start.setMonth(period_start.getMonth()-1); break;
- case "yearly": period_start.setFullYear(period_start.getFullYear()-1); break;
- }
-
- var month = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
-
- var period_tpl = App.Templates.get('PERIOD', 'stats');
- period_tpl.set(':PERIOD_START_DATE', period_start.getDate() + ' ' + month[period_start.getMonth()] + ' ' + period_start.getFullYear());
- period_tpl.set(':PERIOD_START_TIME', (period_start.getHours() < 10 ? '0' + period_start.getHours() : period_start.getHours())
- + ':' + (period_start.getMinutes() < 10 ? '0' + period_start.getMinutes() : period_start.getMinutes()));
- period_tpl.set(':PERIOD_END_DATE', period_end.getDate() + ' ' + month[period_end.getMonth()] + ' ' + period_end.getFullYear());
- period_tpl.set(':PERIOD_END_TIME', (period_end.getHours() < 10 ? '0' + period_end.getHours() : period_end.getHours())
- + ':' + (period_end.getMinutes() < 10 ? '0' + period_end.getMinutes() : period_end.getMinutes()));
- var period = period_tpl.finalize();
-
- wrap.set(':CONTENT', acc.done());
- wrap.set(':PERIOD', period);
-
- return wrap.finalize();
-}
-
-//
-// HANDY METHODS
-//
-
-App.HTML.toggle_suspended_form = function(tpl, options)
-{
- if (App.Constants.SUSPENDED_YES == options.SUSPEND) {
- tpl.set(':SUSPENDED_CHECKED', 'checked="checked"');
- tpl.set(':FORM_SUSPENDED', 'form-suspended');
- tpl.set(':SUSPENDED_VALUE', 'on');
- } else {
- tpl.set(':SUSPENDED_CHECKED', '');
- tpl.set(':FORM_SUSPENDED', '');
- tpl.set(':SUSPENDED_VALUE', 'off');
- }
-
- return tpl;
-}
-
-App.HTML.toggle_suspended_entry = function(tpl, options)
-{
- if (App.Constants.SUSPENDED_YES == options.SUSPEND) {
- var sub_tpl = App.Templates.get('SUSPENDED_TPL_SUSPENDED', 'general');
- tpl.set(':SUSPENDED_CLASS', 'inactive-row');
-
- } else {
- var sub_tpl = App.Templates.get('SUSPENDED_TPL_NOT_SUSPENDED', 'general');
- tpl.set(':SUSPENDED_CLASS', '');
- }
- tpl.set(':SUSPENDED_TPL', sub_tpl.finalize());
-
- return tpl;
-}
-
-App.HTML.makeDatabases = function (databases) {
- var acc = [];
- $(databases).each(function (i, o) {
- var tpl = App.Templates.get('database', 'database');
- tpl.set(':name', o.Database);
- tpl.set(':db_name', o.Database);
- acc[acc.length++] = tpl.finalize();
- });
- return acc.done();
-}
-App.HTML.makeDbTableList = function (data) {
- var acc = [];
- $(data).each(function (i, o) {
- var name = App.Helpers.getFirstValue(o);
- var tpl = App.Templates.get('database_table', 'database');
- tpl.set(':name', name);
- tpl.set(':table_name', name);
- acc[acc.length++] = tpl.finalize();
- });
- return acc.done();
-}
-App.HTML.makeDbFieldsList = function (data) {
- var acc = [];
- $(data).each(function (i, o) {
- var details = [o['Type'], o['Null'], o['Key'], o['Default'], o['Extra']].join(' ');
- var tpl = App.Templates.get('database_field', 'database');
- tpl.set(':name', o.Field);
- tpl.set(':details', details);
- acc[acc.length++] = tpl.finalize();
- });
- return acc.done();
-}
-
-App.HTML.Build.options = function (initial, default_value) {
- var opts = [];
- $.each(initial, function (key) {
- var selected = key == default_value ? 'selected="selected"' : '';
- opts[opts.length++] = '' + initial[key] + '';
- });
- return opts.join('');
-}
-
-
-App.HTML.Build.dns_records = function (records) {
- var acc = [];
- $.each(records, function (i, record) {
- var record = records[i];
- var tpl = App.HTML.Build.dns_subrecord(record);
- acc[acc.length++] = tpl.finalize();
- });
- return acc.done();
-}
-App.HTML.Build.dns_subrecord = function (record) {
- var tpl = App.Templates.get('SUBENTRY', 'dns');
- tpl.set(':RECORD', record.RECORD || '');
- tpl.set(':RECORD_VALUE', record.RECORD_VALUE || '');
- tpl.set(':RECORD_ID', record.RECORD_ID || '');
- tpl.set(':RECORD_TYPE', App.HTML.Build.options(App.Env.initialParams.DNS.record.RECORD_TYPE, (record.RECORD_TYPE || -1)));
- return tpl;
-}
-App.HTML.Build.ssl_key_file = function () {
- return '';
-}
-App.HTML.Build.ssl_cert_file = function () {
- return '';
-}
-App.HTML.Build.ssl_ca_file = function () {
- return '';
-}
-App.HTML.Build.user_selects = function (tpl, options) {
- var acc = [];
- var pkg = App.Env.initialParams.USERS.PACKAGE;
- $.each(pkg, function (val) {
- var tpl = App.Templates.get('select_option', 'general');
- tpl.set(':VALUE', val);
- tpl.set(':TEXT', pkg[val]);
- tpl.set(':SELECTED', val == options.PACKAGE ? 'selected="selected"' : '');
- acc[acc.length++] = tpl.finalize();
- });
- tpl.set(':PACKAGE_OPTIONS', acc.done());
- acc = [];
- var shell = App.Env.initialParams.USERS.SHELL;
- $.each(shell, function (val) {
- var tpl = App.Templates.get('select_option', 'general');
- tpl.set(':VALUE', val);
- tpl.set(':TEXT', shell[val]);
- tpl.set(':SELECTED', val == options.SHELL ? 'selected="selected"' : '');
- acc[acc.length++] = tpl.finalize();
- });
- tpl.set(':SHELL_OPTIONS', acc.done());
- return tpl;
-}
-App.HTML.Build.db_selects = function (tpl, options) {
- var acc = [];
- var items = App.Env.initialParams.DB.TYPE;
- $.each(items, function (val) {
- var tpl = App.Templates.get('select_option', 'general');
- tpl.set(':VALUE', val);
- tpl.set(':TEXT', items[val]);
- tpl.set(':SELECTED', val == options.TYPE ? 'selected="selected"' : '');
- acc[acc.length++] = tpl.finalize();
- });
- tpl.set(':TYPE_OPTIONS', acc.done());
-
- var obj = App.Env.initialParams.DB.HOST;
- var opts = App.HTML.Build.options(obj, options.HOST);
- tpl.set(':HOST_OPTIONS', opts);
-
-
- var obj = App.Env.initialParams.DB.CHARSET;
- var opts = App.HTML.Build.options(obj, options.CHARSET);
- tpl.set(':CHARSET_OPTIONS', opts);
-
- return tpl;
-}
-App.HTML.Build.ip_selects = function (tpl, options) {
- var users = App.Env.initialParams.IP.OWNER;
- var opts = App.HTML.Build.options(users, options.OWNER);
- tpl.set(':owner_options', opts);
- var opts = App.HTML.Build.options(App.Env.initialParams.IP.STATUSES, options.STATUS);
- tpl.set(':status_options', opts);
- var opts = App.HTML.Build.options(App.Env.initialParams.IP.INTERFACES, options.INTERFACE);
- tpl.set(':interface_options', opts);
- return tpl;
-}
-App.HTML.Build.dns_selects = function (tpl, options) {
- try {
- var obj = {};
- $.each(App.Env.initialParams.DNS.TPL, function (key) {
- obj[key] = key;
- });
-
- var opts = App.HTML.Build.options(obj, options.TPL);
- tpl.set(':TPL', opts);
-// tpl.set(':TPL_DEFAULT_VALUE', options.TPL || App.Helpers.getFirstKey(obj));
-
- } catch (e) {
- return tpl;
- }
- return tpl;
-}
-App.HTML.Build.web_domain_selects = function (tpl, options) {
- try {
- var obj = App.Env.initialParams.WEB_DOMAIN.IP;
- var opts = App.HTML.Build.options(obj, options.IP);
- tpl.set(':IP_OPTIONS', opts);
- var obj = {};
- $.each(App.Env.initialParams.WEB_DOMAIN.TPL, function (key) {
- obj[key] = key;
- });
- var opts = App.HTML.Build.options(obj, options.TPL);
- tpl.set(':TPL_OPTIONS', opts);
- var obj = App.Env.initialParams.WEB_DOMAIN.STAT;
- var opts = App.HTML.Build.options(obj, options.STAT);
- tpl.set(':STAT_OPTIONS', opts);
- } catch (e) {
- return tpl;
- }
- return tpl;
-}
-App.HTML.Build.user_web_tpl = function (tpl, o) {
- var wt = [];
- var wt_full = [];
- var templates = o.WEB_TPL;
- templates = templates.split(',');
- if (templates.length == 0) {
- templates = templates.split(' ');
- }
- $(templates).each(function (i, web_tpl) {
- var tpl_wt = App.Templates.get('WEB_TPL', 'user');
- tpl_wt.set(':NAME', web_tpl);
- var tpl_finalized = tpl_wt.finalize();
- wt_full[wt_full.length++] = tpl_finalized;
- if (i < App.Settings.USER_VISIBLE_WEB_TPL) {
- wt[wt.length++] = tpl_finalized;
- }
- });
- if (templates.length <= App.Settings.USER_VISIBLE_NS) {
- tpl.set(':WEB_TPL', wt.done());
- } else {
- var wt_custom = App.Templates.get('WEB_TPL_MINIMIZED', 'user');
- wt_custom.set(':WEB_TPL_MINI', wt.done());
- wt_custom.set(':WEB_TPL_FULL', wt_full.done());
- wt_custom.set(':MORE_NUMBER', Math.abs(App.Settings.USER_VISIBLE_NS - wt_full.length));
- tpl.set(':WEB_TPL', wt_custom.finalize());
- }
- return tpl;
-}
diff --git a/web/js/jquery-1.7.2.min.js b/web/js/jquery-1.7.2.min.js
new file mode 100644
index 00000000..16ad06c5
--- /dev/null
+++ b/web/js/jquery-1.7.2.min.js
@@ -0,0 +1,4 @@
+/*! jQuery v1.7.2 jquery.com | jquery.org/license */
+(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),b.appendChild(ck);if(!cl||!ck.createElement)cl=(ck.contentWindow||ck.contentDocument).document,cl.write((f.support.boxModel?"":"")+""),cl.close();d=cl.createElement(a),cl.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ck)}cj[a]=e}return cj[a]}function ct(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function cs(){cq=b}function cr(){setTimeout(cs,0);return cq=f.now()}function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ch(){try{return new a.XMLHttpRequest}catch(b){}}function cb(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;e=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?+d:j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){if(typeof c!="string"||!c)return null;var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;ca ",d=p.getElementsByTagName("*"),e=p.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=p.getElementsByTagName("input")[0],b={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:p.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},f.boxModel=b.boxModel=c.compatMode==="CSS1Compat",i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete p.test}catch(r){b.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",function(){b.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),i.setAttribute("name","t"),p.appendChild(i),j=c.createDocumentFragment(),j.appendChild(p.lastChild),b.checkClone=j.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,j.removeChild(i),j.appendChild(p);if(p.attachEvent)for(n in{submit:1,change:1,focusin:1})m="on"+n,o=m in p,o||(p.setAttribute(m,"return;"),o=typeof p[m]=="function"),b[n+"Bubbles"]=o;j.removeChild(p),j=g=h=p=i=null,f(function(){var d,e,g,h,i,j,l,m,n,q,r,s,t,u=c.getElementsByTagName("body")[0];!u||(m=1,t="padding:0;margin:0;border:",r="position:absolute;top:0;left:0;width:1px;height:1px;",s=t+"0;visibility:hidden;",n="style='"+r+t+"5px solid #000;",q=""+"",d=c.createElement("div"),d.style.cssText=s+"width:0;height:0;position:static;top:0;margin-top:"+m+"px",u.insertBefore(d,u.firstChild),p=c.createElement("div"),d.appendChild(p),p.innerHTML="",k=p.getElementsByTagName("td"),o=k[0].offsetHeight===0,k[0].style.display="",k[1].style.display="none",b.reliableHiddenOffsets=o&&k[0].offsetHeight===0,a.getComputedStyle&&(p.innerHTML="",l=c.createElement("div"),l.style.width="0",l.style.marginRight="0",p.style.width="2px",p.appendChild(l),b.reliableMarginRight=(parseInt((a.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)===0),typeof p.style.zoom!="undefined"&&(p.innerHTML="",p.style.width=p.style.padding="1px",p.style.border=0,p.style.overflow="hidden",p.style.display="inline",p.style.zoom=1,b.inlineBlockNeedsLayout=p.offsetWidth===3,p.style.display="block",p.style.overflow="visible",p.innerHTML="
",b.shrinkWrapBlocks=p.offsetWidth!==3),p.style.cssText=r+s,p.innerHTML=q,e=p.firstChild,g=e.firstChild,i=e.nextSibling.firstChild.firstChild,j={doesNotAddBorder:g.offsetTop!==5,doesAddBorderForTableAndCells:i.offsetTop===5},g.style.position="fixed",g.style.top="20px",j.fixedPosition=g.offsetTop===20||g.offsetTop===15,g.style.position=g.style.top="",e.style.overflow="hidden",e.style.position="relative",j.subtractsBorderForOverflowNotVisible=g.offsetTop===-5,j.doesNotIncludeMarginInBodyOffset=u.offsetTop!==m,a.getComputedStyle&&(p.style.marginTop="1%",b.pixelMargin=(a.getComputedStyle(p,null)||{marginTop:0}).marginTop!=="1%"),typeof d.style.zoom!="undefined"&&(d.style.zoom=1),u.removeChild(d),l=p=d=null,f.extend(b,j))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e1,null,!1)},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){var d=2;typeof a!="string"&&(c=a,a="fx",d--);if(arguments.length1)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,f.prop,a,b,arguments.length>1)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.type]||f.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.type]||f.valHooks[g.nodeName.toLowerCase()];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h,i=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;i=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/(?:^|\s)hover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(
+a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler,g=p.selector),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&j.push({elem:this,matches:d.slice(e)});for(k=0;k0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));o.match.globalPOS=p;var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c ",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML=" ",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="
";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/ ]","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*",""],legend:[1,""," "],thead:[1,""],tr:[2,""],td:[3,""],col:[2,""],area:[1,""," "],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div","
"]),f.fn.extend({text:function(a){return f.access(this,function(a){return a===b?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f
+.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){return f.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>$2>");try{for(;d1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||f.isXMLDoc(a)||!bc.test("<"+a.nodeName+">")?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g,h,i,j=[];b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);for(var k=0,l;(l=a[k])!=null;k++){typeof l=="number"&&(l+="");if(!l)continue;if(typeof l=="string")if(!_.test(l))l=b.createTextNode(l);else{l=l.replace(Y,"<$1>$2>");var m=(Z.exec(l)||["",""])[1].toLowerCase(),n=bg[m]||bg._default,o=n[0],p=b.createElement("div"),q=bh.childNodes,r;b===c?bh.appendChild(p):U(b).appendChild(p),p.innerHTML=n[1]+l+n[2];while(o--)p=p.lastChild;if(!f.support.tbody){var s=$.test(l),t=m==="table"&&!s?p.firstChild&&p.firstChild.childNodes:n[1]===""&&!s?p.childNodes:[];for(i=t.length-1;i>=0;--i)f.nodeName(t[i],"tbody")&&!t[i].childNodes.length&&t[i].parentNode.removeChild(t[i])}!f.support.leadingWhitespace&&X.test(l)&&p.insertBefore(b.createTextNode(X.exec(l)[0]),p.firstChild),l=p.childNodes,p&&(p.parentNode.removeChild(p),q.length>0&&(r=q[q.length-1],r&&r.parentNode&&r.parentNode.removeChild(r)))}var u;if(!f.support.appendChecked)if(l[0]&&typeof (u=l.length)=="number")for(i=0;i1)},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=by(a,"opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bu.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(by)return by(a,c)},swap:function(a,b,c){var d={},e,f;for(f in b)d[f]=a.style[f],a.style[f]=b[f];e=c.call(a);for(f in b)a.style[f]=d[f];return e}}),f.curCSS=f.css,c.defaultView&&c.defaultView.getComputedStyle&&(bz=function(a,b){var c,d,e,g,h=a.style;b=b.replace(br,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b))),!f.support.pixelMargin&&e&&bv.test(b)&&bt.test(c)&&(g=h.width,h.width=c,c=e.width,h.width=g);return c}),c.documentElement.currentStyle&&(bA=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f==null&&g&&(e=g[b])&&(f=e),bt.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),by=bz||bA,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth!==0?bB(a,b,d):f.swap(a,bw,function(){return bB(a,b,d)})},set:function(a,b){return bs.test(b)?b+"px":b}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bq.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bp,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bp.test(g)?g.replace(bp,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){return f.swap(a,{display:"inline-block"},function(){return b?by(a,"margin-right"):a.style.marginRight})}})}),f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)}),f.each({margin:"",padding:"",border:"Width"},function(a,b){f.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bx[d]+b]=e[d]||e[d-2]||e[0];return f}}});var bC=/%20/g,bD=/\[\]$/,bE=/\r?\n/g,bF=/#.*$/,bG=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bH=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bI=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bJ=/^(?:GET|HEAD)$/,bK=/^\/\//,bL=/\?/,bM=/
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Users
-
-
-
- 386 users
- 7 blocked
-
-
-
-
-
-
-
-
-
- Web
-
-
-
- 580 domains
- 22 out of mem
- 3 waiting
-
-
-
-
-
-
-
-
-
- Mail
-
-
-
- 320 domains
- 1209 mailboxes
- 25 full
-
-
-
-
-
-
-
-
-
- DB
-
-
-
- 7 db
-
-
-
-
-
-
-
-
-
- Dns
-
-
-
- 289 records
-
-
-
-
-
-
-
-
-
- IP
-
-
-
- 7 templates
-
-
-
-
-
-
-
-
-
- Cron
-
-
-
- 15 records
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 15 Oct 2011
- 00:31
-
- Friday
-
-
- Generation time:
- 78 min
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 14 Oct 2011
- 00:17
-
- Thursday
-
-
- Generation time:
- 12 min
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 12 Oct 2011
- 00:23
-
- Sunday
-
-
- Generation time:
- 47 min
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Cancel
- Delete
-
-
-
-
-
-
- Restore process has been added to queue. It could take several hours.
-
-
-
-
-
-
- 12 Oct 2011
- 00:23
-
- Sunday
-
-
- Generation time:
- 47 min
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/web/static-templates/cron.html b/web/static-templates/cron.html
deleted file mode 100644
index 3e45b44f..00000000
--- a/web/static-templates/cron.html
+++ /dev/null
@@ -1,466 +0,0 @@
-
-
-
-
- Vesta | Cron
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Users
-
-
-
- 386 users
- 7 blocked
-
-
-
-
-
-
-
-
-
- Web Domain
-
-
-
- 580 domains
- 22 out of mem
- 3 waiting
-
-
-
-
-
-
-
-
-
- Mail
-
-
-
- 320 domains
- 1209 mailboxes
- 25 full
-
-
-
-
-
-
-
-
-
- DB
-
-
-
- 7 db
-
-
-
-
-
-
-
-
-
- Dns
-
-
-
- 289 records
-
-
-
-
-
-
-
-
-
- IP
-
-
-
- 7 templates
-
-
-
-
-
-
-
-
-
- Cron
-
-
-
- 15 records
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- min
- 0
-
-
- hour
- 0,6,9 — 15,18
-
-
- day of Month
- *
-
-
- Month
- Jan, Feb, Mar
-
-
- day of Week
- 1 — 5
-
-
-
- /usr/bin/top -n 1 -b -S
-
-
-
- reported to:
- naumov.socolov@gmail.com,
- vasysualiy.pupkin@gmail.com,
- na-derevniu-dedushke@dachniy-poselok-za-mkadom.com,
- vasysualiy.pupkin@gmail.com
-
-
-
-
-
-
-
-
-
-
-
-
- min
- 15
-
-
- hour
- 1,3,5 — 15,19,21,23
-
-
- day of Month
- 1,3,5,7,9,11,13,15,17,19
-
-
- Month
- *
-
-
- day of Week
- 2 — 7
-
-
-
- /home/myuser/bin/pinghosts.sh > /home/myuser/pinghosts.log
-
-
-
- reported to:
- billy@microsoft.com
-
-
-
-
-
-
-
-
-
-
-
-
- min
- *
-
-
- hour
- *
-
-
- day of Month
- *
-
-
- Month
- Jan, Mar, May, Jul, Sep, Nov
-
-
- day of Week
- 2 — 7
-
-
-
- /home/myuser/bin/pinghosts.sh > /home/myuser/home/myuser/home/myuser/pinghosts.log
-
-
-
- reported to:
- billy@microsoft.com
-
-
-
-
-
-
-
-
-
-
-
-
- min
- 15
-
-
- hour
- 1,3,5 — 15,19,21,23
-
-
- day of Month
- 1,3,5,7,9,11,13,15,17,19
-
-
- Month
- *
-
-
- day of Week
- 2 — 7
-
-
-
- /home/myuser/bin/pinghosts.sh > /home/myuser/pinghosts.log
-
-
-
- reported to:
- billy@microsoft.com
-
-
-
-
-
-
-
-
-
-
-
-
-
- command:
-
-
-
-
- report to:
-
-
-
-
- suspended:
-
-
-
-
-
- Cancel
- Delete
-
-
-
-
-
-
-
-
-
diff --git a/web/static-templates/css/ie.css b/web/static-templates/css/ie.css
deleted file mode 100644
index 2d48f876..00000000
--- a/web/static-templates/css/ie.css
+++ /dev/null
@@ -1,16 +0,0 @@
-#header,
-.item,
-.item .details,
-.memory dl,
-.change-params li{
- zoom:1;
-}
-.edit{
- margin:0;
-}
-.cc{
- display:inline-block;
-}
-*html .cc{
- height: 1%;
-}
\ No newline at end of file
diff --git a/web/static-templates/css/popup.css b/web/static-templates/css/popup.css
deleted file mode 100644
index f33952ff..00000000
--- a/web/static-templates/css/popup.css
+++ /dev/null
@@ -1,141 +0,0 @@
-/* Styles for popups */
-.d-popup{
- position:absolute;
- top:100px;
- left:0;
- z-index:100;
- background-color:#ccc;
- background:url(../i/info-popup-bg-2.png) repeat;
-
- width:250px;
-
- border-radius: 10px;
- -moz-border-radius: 10px;
- -webkit-border-radius: 10px;
-}
-.d-popup-inner{
- padding:20px;
- color:#fff;
-}
-.d-popup .close{
- position:absolute;
- top:10px;
- right:10px;
-
- display:block;
- width:14px;
- height:14px;
- /*background:url(../i/info-popup-sprite.png) no-repeat;*/
- background:url(../i/info-popup-sprite-2011-12-14.png) no-repeat 0 -1px;
- cursor:pointer;
- font-size:0;
- line-height:0;
- text-indent:-9999px;
- }
- .d-popup span.close:hover{
- background-position:0 -17px;
- }
- .d-popup span.close:active{
- background-position:0 -33px;
- }
-
-.d-popup-title{
- font-size:11px;
- text-transform:uppercase;
- text-align:center;
- color:#fffdd4;
- margin:0 0 9px;
-}
-.d-popup-items{
- font-size:12px;
- color:#fff;
-}
-.d-popup-items .item{
- margin:0 0 9px;
-}
-.d-popup-items a{
- color:#aaa;
- padding-right:5px;
-}
-.d-popup .prop-box{
- display:block;
-}
-.d-popup .prop-title{
- color:#bbb;
-}
-.d-popup .prop-value{
- color:#fff;
-}
-
-/* errors popup */
-.d-popup-errors{
- width:auto;
- background: url(../i/auth/form-bg.png) repeat;
- }
- .d-popup-errors .d-popup-inner{
- width:480px;
- padding:20px 40px 0;
- }
- .d-popup-errors .d-popup-title{
- position:relative;
- margin:0 0 27px;
- padding:0 105px 0 40px;
- font-size:21px;
- line-height:27px;
- font-weight:normal;
- text-transform:uppercase;
- color:#6536c4;
- text-align:left;
- background:url(../i/auth/planet-1.png) no-repeat 5px 13px;
- letter-spacing:-1px;
- }
- .d-popup-errors .planets{
- display:block;
- width:91px;
- height:7px;
- position:absolute;
- top:11px;
- right:0;
- background:url(../i/auth/planet-2.png) no-repeat;
- }
- .d-popup-errors .d-popup-main{
- padding-left:40px;
- min-height:250px;
- }
- .d-popup-errors .section-title{
- margin:0 0 38px;
- font-size:30px;
- font-weight:normal;
- color:#f0f042;
- }
- .d-popup-errors .d-popup-summary{
- padding:0 0 20px 0;
- font-size:15px;
- }
- .d-popup-errors .d-popup-summary li{
- padding-left:15px;
- background:url(../i/blue-bullet.png) no-repeat 0 50%;
- }
- .d-popup-errors .footnotes{
- margin: 0 -40px;
- padding:15px 20px;
- font-size:14px;
- line-height:18px;
- border-top:2px solid #34352f;
- color:#686c6d;
- }
-
- .d-popup-errors .questions-url{
- color:#686c6d;
- text-decoration:none;
- }
- .d-popup-errors .additional-info{
- float:left;
- white-space:nowrap;
- font-size:12px;
- }
- .d-popup-errors .report-case-url{
- float:right;
- display:block;
- color:#686c6d;
- }
diff --git a/web/static-templates/css/reset2.css b/web/static-templates/css/reset2.css
deleted file mode 100644
index b2056d65..00000000
--- a/web/static-templates/css/reset2.css
+++ /dev/null
@@ -1,45 +0,0 @@
-html, body, div, span, applet, object, iframe,
-h1, h2, h3, h4, h5, h6, p, blockquote, pre,
-a, abbr, acronym, address, big, cite, code,
-del, dfn, em, font, img, ins, kbd, q, s, samp,
-small, strike, strong, sub, sup, tt, var,
-b, u, i, center,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, caption, tbody, tfoot, thead, tr, th, td {
-margin: 0;
-padding: 0;
-border: 0;
-outline: 0;
-font-size: 100%;
-vertical-align: baseline;
-background: transparent;
-}
-body {
-line-height: 1;
-}
-ol, ul {
-list-style: none;
-}
-blockquote, q {
-quotes: none;
-}
-
-/* remember to define focus styles! */
-:focus {
-outline: 0;
-}
-
-/* remember to highlight inserts somehow! */
-ins {
-text-decoration: none;
-}
-del {
-text-decoration: line-through;
-}
-
-/* tables still need 'cellspacing="0"' in the markup */
-table {
-border-collapse: collapse;
-border-spacing: 0;
-}
\ No newline at end of file
diff --git a/web/static-templates/css/vesta-login-form.css b/web/static-templates/css/vesta-login-form.css
deleted file mode 100644
index 67cec49c..00000000
--- a/web/static-templates/css/vesta-login-form.css
+++ /dev/null
@@ -1,205 +0,0 @@
-/* Page specific styles */
-.page-auth{
- background:url(../i/auth/auth-bg.png) repeat;
-}
-.cc:after{
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
-}
-*html .cc{
- zoom:1;
-}
-+html .cc{
- zoom:1;
-}
-.page-auth .b-auth-form{}
-
-.page-auth .b-auth-form{
- width:525px;
- margin:7% auto 0;
- padding:20px 20px 0;
- background:url(../i/auth/form-bg.png) repeat;
-
- -webkit-border-radius:15px;
- -moz-border-radius:15px;
- border-radius:15px;
- behavior: url(js/PIE.htc);
- font-family:Arial, Helvetica, sans-serif;
-}
-.page-auth .b-auth-form-wrap{
- position:relative;
- padding-top:30px;
-}
-.page-auth .vesta-logo{
- position:absolute;
- top:0;
- left:0;
- display:block;
-}
-.page-auth .b-client-title{
- margin:0 0 45px;
- padding-left:130px;
- font-size:35px;
- background:url(../i/auth/planet-1.png) no-repeat 95px 17px;
- color:#fff;
- }
- .client-title-wrap{
- position:relative;
- }
- .client-title-wrap .planets{
- display:block;
- width:91px;
- height:7px;
- position:absolute;
- top:45%;
- right:-100px;
- background:url(../i/auth/planet-2.png) no-repeat;
- }
-.page-auth .form-row{
- margin:0 0 15px;
-}
-.page-auth .last-row{
- padding:27px 90px 0 133px;
-}
- .page-auth .field-label{
- float:left;
- width:87px;
- padding-left:45px;
- color:#e3d785;
- font-size:12px;
- line-height:34px;
- font-family:Arial, Helvetica, sans-serif;
- text-transform:uppercase;
- letter-spacing:-.5px;
- }
- .page-auth .field-text{
- width:290px;
- padding:4px 5px;
- font-size:20px;
- border:2px solid #0c6c9c;
- background:#2d2c28;
- color:#fff;
- }
- .page-auth .field-text:focus{
- -moz-box-shadow:0 0 8px rgba(76, 147, 189, 0.7);
- -webkit-box-shadow:0 0 8px rgba(76, 147, 189, 0.7);
- border-color:rgba(76, 147, 189, 0.85) !important;
- }
-
- .page-auth .b-remember{
- float:left;
- padding-top:5px;
- }
- .page-auth .remember-label{
- cursor:pointer;
- padding:2px 2px 2px 8px;
- color:#747975;
- font-size:12px;
- font-family:Arial, Helvetica, sans-serif;
- }
- span.ui-checkbox{
- display: block;
- float: left;
- width: 14px;
- height: 15px;
-/* background:url(icon_checkbox.png) 0 -40px no-repeat;*/
- background:url(../i/auth/checkboxes.png) no-repeat;
- }
- .ui-helper-hidden-accessible{
- display: none;
- }
- span.ui-checkbox-state-hover{
- background-position: 0 -15px;
- }
- span.ui-checkbox-state-checked,
- span.ui-checkbox-state-checked-hover{
- background-position: 0 -30px;
- }
-
- .page-auth .sumbit-btn{
- float:right;
- overflow:visible;
- height:30px;
- padding:0 40px;
- -webkit-border-radius:9px;
- -moz-border-radius:9px;
- border-radius:9px;
- behavior: url(js/PIE.htc);
-
- border:2px solid #292929;
- background-color:#b8be44;
- color:#ffffdf;
- font-size:13px;
- font-family:Arial, Helvetica, sans-serif;
- font-weight:bold;
- line-height:27px;
- text-transform:uppercase;
- cursor:pointer;
- }
- .page-auth .sumbit-btn:focus{
- position:relative;
- top:1px;
- }
- .page-auth .sumbit-btn:hover{
- background-color:#ffcc00;
- color:#483600;
- border-color:#000;
- }
- .page-auth .sumbit-btn:active{
- top:0;
- background-color:#483600;
- color:#ffcc00;
- border-color:#000;
- }
-
- .page-auth .forgot-pwd{
- padding:60px 0 10px 137px;
- font-size:13px;
- }
- .page-auth .forgot-pwd-url{
- color:#6f7571;
- }
- .page-auth a.forgot-pwd-url:hover{
- color:#849e54;
- }
- .page-auth a.forgot-pwd-url:active{
- color:#edca38;
- }
-
-.page-auth .error-box{
- border-top:1px dashed #f16d6b;
- padding:10px 0 0 131px;
- font-size:14px;
- font-weight:bold;
- color:#f16d6b;
-}
-
-.page-auth .footnotes{
- margin:0 -20px;
- padding:15px 20px;
- font-size:14px;
- border-top:2px solid #34352f;
- color:#5a5e5d;
- }
- .page-auth .footnotes .additional-info{
- float:left;
- font-size:12px;
- font-family:Georgia, "Times New Roman", Times, serif;
- font-style:italic;
- }
- .page-auth .footnotes .questions-url{
- color:#5a5e5d;
- }
- .page-auth .footnotes a.questions-url:hover{
- color:#849e54;
- }
- .page-auth .footnotes a.questions-url:active{
- color:#edca38;
- }
- .page-auth .footnotes .imprint{
- float:right;
- font-style:normal;
- }
\ No newline at end of file
diff --git a/web/static-templates/css/vesta-login-form_new.css b/web/static-templates/css/vesta-login-form_new.css
deleted file mode 100644
index 72dd3541..00000000
--- a/web/static-templates/css/vesta-login-form_new.css
+++ /dev/null
@@ -1,209 +0,0 @@
-/* Page specific styles */
-.page-auth{
- background:url(../images/auth/auth-bg.png) repeat;
-}
-.cc:after{
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
-}
-*html .cc{
- zoom:1;
-}
-+html .cc{
- zoom:1;
-}
-.page-auth .b-auth-form{}
-
-.page-auth .b-auth-form{
- width:525px;
- margin:7% auto 0;
- padding:20px 20px 0;
- background:url(../images/auth/form-bg.png) repeat;
-
- -webkit-border-radius:15px;
- -moz-border-radius:15px;
- border-radius:15px;
- behavior: url(js/PIE.htc);
- font-family:Arial, Helvetica, sans-serif;
-}
-.page-auth .b-auth-form-wrap{
- position:relative;
- padding-top:30px;
-}
-.page-auth .vesta-logo{
- position:absolute;
- top:0;
- left:0;
- display:block;
-}
-.page-auth .b-client-title{
- margin:0 0 45px;
- padding-left:130px;
- font-size:35px;
- background:url(../images/auth/planet-1.png) no-repeat 85px 27px;
- color:#fff;
- }
- .client-title-wrap{
- position:relative;
- text-transform: uppercase;
- font-size:24px;
- }
- .client-title-wrap .planets{
- display:block;
- width:91px;
- height:7px;
- position:absolute;
- top:40%;
- right:-121px;
- background:url(../images/auth/planet-2.png) no-repeat scroll 0 -1px;
- }
-.page-auth .form-row{
- margin:0 0 15px;
-}
-.page-auth .last-row{
- padding:27px 90px 0 133px;
-}
- .page-auth .field-label{
- float:left;
- width:87px;
- padding-left:45px;
- color:#e3d785;
- font-size:12px;
- line-height:34px;
- font-family:Arial, Helvetica, sans-serif;
- text-transform:uppercase;
- /*letter-spacing:-.5px;*/
- }
- .page-auth .field-text{
- width:290px;
- padding:4px 5px;
- font-size:20px;
- border:2px solid #0c6c9c;
- background:#2d2c28;
- color:#fff;
- }
- .page-auth .field-text:focus{
- -moz-box-shadow:0 0 8px rgba(76, 147, 189, 0.7);
- -webkit-box-shadow:0 0 8px rgba(76, 147, 189, 0.7);
- border-color:rgba(76, 147, 189, 0.85) !important;
- }
-
- .page-auth .b-remember{
- float:left;
- padding-top:5px;
- }
- .page-auth .remember-label{
- cursor:pointer;
- padding:2px 2px 2px 8px;
- color:#747975;
- font-size:12px;
- font-family:Arial, Helvetica, sans-serif;
- }
- span.ui-checkbox{
- display: block;
- float: left;
- width: 14px;
- height: 15px;
-/* background:url(icon_checkbox.png) 0 -40px no-repeat;*/
- background:url(../images/auth/checkboxes.png) no-repeat;
- }
- .ui-helper-hidden-accessible{
- display: none;
- }
- span.ui-checkbox-state-hover{
- background-position: 0 -15px;
- }
- span.ui-checkbox-state-checked,
- span.ui-checkbox-state-checked-hover{
- background-position: 0 -30px;
- }
-
- .page-auth .sumbit-btn{
- float:right;
- overflow:visible;
- height:30px;
- padding:0 40px;
- -webkit-border-radius:9px;
- -moz-border-radius:9px;
- border-radius:9px;
- behavior: url(js/PIE.htc);
-
- border:2px solid #2C2C10;
- background-color:#BBBF45;
- color:#ffffdf;
- font-size:13px;
- font-family:Arial, Helvetica, sans-serif;
- font-weight:bold;
- line-height:27px;
- text-transform:uppercase;
- cursor:pointer;
- }
- .page-auth .sumbit-btn:focus{
- position:relative;
- top:1px;
- }
- .page-auth .sumbit-btn:hover{
- background-color:#ffcc00;
- color:#483600;
- border-color:#000;
- }
- .page-auth .sumbit-btn:active{
- top:0;
- background-color:#96A332;
- color:#FFFFFF;
- border-color:#2C2C10;
- }
-
- .page-auth .forgot-pwd{
- padding:60px 0 10px 137px;
- font-size:13px;
- }
- .page-auth .forgot-pwd-url{
- color:#6f7571;
- }
- .page-auth a.forgot-pwd-url:hover{
- color:#849e54;
- }
- .page-auth a.forgot-pwd-url:active{
- color:#edca38;
- }
-
-.page-auth .error-box{
- border-top:1px dashed #f16d6b;
- padding:10px 0 21px 131px;
- font-size:14px;
- font-weight:bold;
- color:#f16d6b;
-}
-
-.page-auth .footnotes{
- margin:0 -20px;
- padding:15px 20px;
- font-size:14px;
- border-top:2px solid #34352f;
- color:#5a5e5d;
- }
- .page-auth .footnotes .additional-info{
- float:left;
- font-size:12px;
- font-family:Georgia, "Times New Roman", Times, serif;
- font-style:italic;
- }
- .page-auth .footnotes .questions-url{
- color:#5a5e5d;
- }
- .page-auth .footnotes a.questions-url:hover{
- color:#849e54;
- }
- .page-auth .footnotes a.questions-url:active{
- color:#edca38;
- }
- .page-auth .footnotes .imprint{
- float:right;
- font-style:normal;
- font-size:11px;
- padding-top:1px;
- }
diff --git a/web/static-templates/css/vesta.css b/web/static-templates/css/vesta.css
deleted file mode 100644
index 878969a5..00000000
--- a/web/static-templates/css/vesta.css
+++ /dev/null
@@ -1,3177 +0,0 @@
-/*- - - - - - - - - - - - - - - - - - -
-Title : Vesta
-Author : Eugen Lobicov, eugen.lobicov@gmail.com
-
-created : November 27, 2009
-last updated : November 16, 2011
-- - - - - - - - - - - - - - - - - - */
-
-html{
- font-size:100.01%; /* prevent IE's extreme font-resizing bug*/
-}
-
-body{
- position:relative;
- font:normal 62.5%/1.5 Helvetica, Arial, sans-serif;
- background:#B2AD9C url(../i/thin-grey-line-4.gif) repeat-x;
- color:#333;
-}
-#page{
- width:965px;
- width:955px;
- margin:3px auto 0;
- border:1px solid red;
- border:solid #807D70;
- border-width:0 1px;
-}
-.outer{
- padding-bottom:58px;
- background:#fff url(../i/footer-bg.gif) repeat-x 0 100%;
-}
-#header{
- padding:0 1px 0 10px;
- height:26px;
- border-bottom:2px solid #333527;
- background-color:#484439;
-}
-.logo-box{
- float:left;
-}
-.logo,
-.logo a,
-.logo a span{
- display:block;
- width:80px;
- height:26px;
-}
-.logo a{
- position:relative;
- overflow:hidden;
- font-size:1.2em; /*12px */
- text-decoration:none;
- color:#fff;
- display:block;
- text-indent:-9999px;
-}
-.logo a span{
- position:absolute;
- top:1px;
- left:0;
- z-index:1;
- width:72px;
- height:24px;
- background:url(../i/vesta-logo-2011-12-14.png) no-repeat;
-}
-.settings{
- float:right;
-}
-.settings .settings-item,
-.extra-services .service-item{
- float:left;
- display:block;
- padding:0 10px;
- font-size:9px;
- line-height:26px;
-
- text-transform:uppercase;
- letter-spacing:1px;
-}
-.settings .item-title,
-.extra-services .item-title{
- font-family:Arial, Helvetica, san-serif;
- font-size:9px;
- color:#C0BD00;
- text-decoration:none;
- border-bottom:1px dotted #68684B;
-}
-.settings a.item-title:hover{
- color:#fefda0;
- text-decoration:none;
-}
-.settings a.item-title:active{
- color:#E16734;
- text-decoration:none;
-}
-.settings .logged-as{
- margin:0;
-}
-.settings .logged-as{
- position:relative;
- top:1px;
- padding-right:5px;
- font-size:16px;
- line-height:20px;
- font-family:Georgia, Cambria, "Times New Roman", Times, serif;
- font-weight:bold;
- font-style:italic;
- color:#fff;
- text-transform:none;
- border:none;
- letter-spacing:normal;
-}
-.settings .logout{
- float:left;
- display:block;
- text-transform:uppercase;
- letter-spacing:1px;
- line-height:26px;
- }
- .settings .logout .item-title{
- display:block;
- padding:0 10px;
- font-size:9px;
- line-height:26px;
- border:none;
- }
- .settings .logout .item-title-inner{
- border-bottom:1px dotted #68684B;
- }
- .logout a.item-title:hover{
- background-color:#a3b82d;
- color:#ffffc5;
- }
- .logout a.item-title:hover .item-title-inner{
- border:none;
- }
-
- .logout a.item-title:active{
- background-color:#ffff66;
- color:#272700;
- }
-
-
-.extra-services{
- float:right;
- margin-right:59px;
-}
-.extra-services .service-item{
- position:relative;
- padding:0 13px;
- line-height:26px;
- letter-spacing:normal;
-}
-.extra-services .item-devider{
- position:absolute;
- top:-3px;
- left:0;
- width:100%;
- height:3px;
-}
-.extra-services .item-title{
- font-family:Arial, Helvetica, san-serif;
- font-size:10px;
- font-weight:bold;
- color:#C0E1F3;
- border-bottom:1px dotted #7D939F;
-}
-.extra-services .active{
- cursor:default;
- background:#333;
- font-weight:bold;
- }
- .extra-services .service-item:hover{
- cursor:pointer;
- }
- .extra-services .service-item:hover .item-title{
- color:#fffa96;
- border-bottom-color:#fffa96;
- }
- .extra-services .service-item:active{
- background:#333;
- }
- .extra-services .service-item:active .item-title{
- color:#fff;
- border:none;
- }
- .extra-services .active .item-title{
- color:#fff997;
- border:none;
- }
- .extra-services .active .item-devider{
- background:#ff6766;
- }
-
-/*Remove button padding in FF*/
-input::-moz-focus-inner{
- border: 0;
- padding: 0;
-}
-.cc:after{
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
-}
-.hidden{
- display:none !important;
-}
-
-/* Navigation
-- - - - - - - - - - - - - - - - - - - - */
-#primary-nav-box{
- clear:both;
- height:115px;
- background-color:#ecf3d2;
-}
-.primary-nav{}
-
-.primary-nav .section{
- position:relative;
- float:left;
- display:block;
- padding-right:1px;
- background:url(../i/nav-devider-2.png) no-repeat 100% 50%;
-}
-.primary-nav .last-section{
- background:none;
- padding:0;
-}
-.section .section-inner{
- width:130px;
- min-height:100px;
- height:auto !important;
- height:100px;
- padding:15px 0 3px 6px;
- padding:15px 0 0 6px;
- }
-.primary-nav .last-section .section-inner{
- width:133px;
- width:127px;
-}
-.section .section-title{
- position:absolute;
- left:7px;
- bottom:9px;
- font-family:Arial, Helvetica, sans-serif;
- font-size:15px;
- line-height:1.2;
- font-weight:bold;
- text-transform:uppercase;
- color:#393939;
- color:#33342e;
- }
- .section .section-title .to-section{
- float:left;
- margin-right:4px;
- }
- .section .section-title .add-entry{
- position:relative;
- top:2px;
- float:left;
- display:block;
- width:14px;
- height:14px;
- background:url(../i/plus-sprite1.png) no-repeat;
- font-size:0;
- line-height:0;
- }
- .section .section-title .add-entry:hover{
- background-position:-14px 0;
- cursor:pointer;
- }
-
-.section .section-devider{
- position:absolute;
- left:0;
- bottom:0;
- z-index:10;
- /*background:url(../i/section-status-sprite-5.gif) no-repeat -420px 115px; */
- display:block;
- width:100%;
- height:3px;
- background:url(../i/section-status-sprite-6.png) no-repeat -420px 100%;
-}
-
-.dnstpl-nav-item .section-title{
- background-position:100% 85%;
-}
-.section .def{
- display:block;
- font-family:Arial, Helvetica, sans-serif;
- font-size:12px;
- color:#8c9c91;
-}
-.section:hover .section-inner{
- background-color:#F1F7D6;
- color:#000;
- cursor:pointer;
- }
- .section:hover .section-devider{
- background-position:0 100%;
- }
- .section:hover .section-title{
- color:#000;
- }
-.primary-nav .active .section-inner{
- cursor:default;
- }
- .primary-nav .active .section-devider{
- background-position:-140px 100%;
- height:5px;
- bottom:-2px;
- }
- .primary-nav .active .def{
- color:#8c9c91;
- }
- .primary-nav .active .section-title{
- color:#393939;
- }
-
-#console{
- position:relative;
- clear:both;
- height:70px;
- background-color:#a09d98;
- background:#535049 url(../i/console-box-bg.png) repeat-x;
- border-bottom:1px solid #7a7967;
- z-index:1;
-}
-
-.b-console{
- position:absolute;
- left:50%;
-}
-
-.b-console-wrap{
- position:relative;
- right:50%;
- width:655px;
- padding:10px 15px 16px 25px;
- background:url(../i/console-bg.png) repeat;
-
- border-radius: 0 0 5px 5px;
- -moz-border-radius: 0 0 5px 5px;
- -webkit-border-top-right-radius: 0;
- -webkit-border-top-left-radius: 0;
- -webkit-border-bottom-right-radius: 5px;
- -webkit-border-bottom-left-radius: 5px;
-}
- .b-console-form{}
-
- .b-console-field{
- float:left;
- width:548px;
- margin-right:15px;
- padding:5px 10px;
- border:2px solid #42647f;
- font-family:Arial, Helvetica, sans-serif;
- font-size:18px;
- font-style:italic;
- font-weight:bold;
- color:#aaa;
- }
- .b-console-field:focus{
- -moz-box-shadow:0 0 8px rgba(82, 168, 236, 0.5);
- -webkit-box-shadow:0 0 8px rgba(82, 168, 236, 0.5);
- border-color:rgba(82, 168, 236, 0.75) !important;
- color:#333;
- }
- .b-console-btn{
- float:left;
- overflow:visible;
- height:30px;
- margin:4px 0 0;
- padding:0 20px;
- -webkit-border-radius:4px;
- -moz-border-radius:4px;
- border-radius:4px;
- border:0 none;
- background-color:#fdcd00;
- color:#4b3600;
-
- font-size:13px;
- font-family:Arial, Helvetica, sans-serif;
- font-weight:bold;
- line-height:30px;
- text-transform:uppercase;
- cursor:pointer;
-
- /* a little animation effect on hover for -webkit- */
- -webkit-transition-property: background;
- -webkit-transition-duration: 150ms;
- -webkit-transition-timing-function: ease-in-out;
- }
- .b-console-btn:focus{
- position:relative;
- top:1px;
- }
- .b-console-btn:hover{
- background-color:#ffe84c;
- color:#39351c;
- }
- .b-console-btn:active{
- background-color:#333;
- color:#fff;
- }
-
-.b-console-statuses{
- margin-top:15px;
-}
-
- .b-console-status{
- position:relative;
- padding:5px 80px 5px 10px;
- border:2px dashed #999;
- background-color:#feff99;
- color:#666;
- font-size:12px;
- }
- .b-console-status-message{
- float:left;
- color:#666;
- }
- .b-console-status-action{
- float:right;
- margin-right:-36px;
- text-decoration:underline;
- }
- .b-console-status-message b{
- font-weight:bold;
- color:#333;
- }
- .b-console-status-arrow{
- position:absolute;
- top:10px;
- right:12px;
- display:block;
- width:14px;
- height:8px;
- background:url(../i/status-arrow.png) no-repeat;
- }
-
-
-
-#actions-toolbar{
- clear:both;
- position:relative;
- /*padding:15px 20px 15px 280px;*/
- padding:15px 20px 15px 250px;
- background-color:#f3f3d9;
- border-bottom:1px solid #c9cbc8;
-}
-.add-domain,
-.add-btn{
- position:relative;
- top:2px;
- float:left;
- /*margin:0 0 0 -260px;*/
- margin:0 0 0 -230px;
- border-bottom:1px solid #b5c968;
- font-family:Georgia, "Times New Roman", Times, serif;
- font-size:16px;
- line-height:1;
- text-transform:uppercase;
- color:#66685d;
- text-decoration:none;
-}
-.add-domain .icon,
-.add-btn-icon{
- float:left;
- display:block;
- width:11px;
- height:11px;
- margin:4px 5px 0 0;
- background:url(../i/add-entry-plus.gif) no-repeat;
- font-size:0;
- line-height:0;
- }
- .add-btn:hover{
- color:#000;
- border-bottom-color:#b85152;
- }
- .add-btn:active{
- color:#b85152;
- border-bottom-color:#000;
- }
-
-/*
-.select-all{
- padding:0 40px 0 0;
- font-size:13px;
- color:#7f7e6c;
- text-decoration:underline;
- cursor:pointer;
- }
- .select-all:hover{
- text-decoration:none;
- }
-.clear-selected{
- font-size:11px;
- line-height:10px;
- text-transform:uppercase;
- color:#bcb6a6;
- cursor:pointer;
- letter-spacing:0.2px;
- border-bottom:1px solid #bcb6a6;
- }
- .clear-selected:hover{
- color:#000;
- border-bottom-color:#b85152;
- }
- .clear-selected:active{
- color:#b85152;
- border-bottom-color:#000;
- }
-*/
-.db-manager{
- float:right;
- margin:5px 0 0 25px;
- font-size:11px;
- line-height:1.273; /*14px*/
- text-transform:uppercase;
- letter-spacing:0.2px;
- border-bottom:1px solid #bcb6a6;
- text-decoration:none;
- color:#9b9b8f;
- }
- .db-manager .highlighted{
- font-style:normal;
- font-weight:bold;
- color:#4097b3;
- }
- .db-manager:hover{
- color:#4097b3;
- border-bottom-color:#b85152;
- }
- .db-manager:active{
- color:#b85152;
- border-bottom-color:#4097b3;
- }
- .db-manager:active .highlighted{
- color:#b85152;
- }
-
-/* Row filters */
-
-.row-filters{}
-
- .b-row-selector{
- float:left;
- width:240px;
- }
-
- .b-row-selector .checkbox-selector{
- position:relative;
- top:4px;
- margin-right:20px;
- }
- .b-row-selector .b-cust-sel{
- width:100px;
- }
-
-.checkbox-selector,
-.context-actions{
- display:-moz-inline-stack;
- display: inline-block;
- zoom: 1;
- *display: inline;
- vertical-align:top;
- }
- .checkbox-selector .checkbox{
- display:block;
- float:left;
- width:11px;
- height:11px;
- margin:2px 5px 0 0;
- background:url(../i/chekbox-selector.png) no-repeat;
- cursor:pointer;
- }
- .checkbox-selector .selector-title{
- float:left;
- font-size:11px;
- line-height:15px;
- text-transform:uppercase;
- color:#5d5d5d;
- cursor:pointer;
- white-space:nowrap;
- }
- .checkbox-selector:hover .checkbox{
- background-position:0 -90px;
- }
- .checkbox-selector .selector-title:hover{
- color:#2ea8bd;
- }
- .checkbox-selector .selector-title:active{
- color:#fc0;
- }
-
-/* Custom select */
-.b-cust-sel{
- position: relative;
- font-size: 12px;
-
- background-color: #fff;
-/* background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eeeeee), color-stop(0.5, white));
- background-image: -webkit-linear-gradient(center bottom, #eeeeee 0%, white 50%);
- background-image: -moz-linear-gradient(center bottom, #eeeeee 0%, white 50%);
- background-image: -o-linear-gradient(top, #eeeeee 0%,#ffffff 50%);
- background-image: -ms-linear-gradient(top, #eeeeee 0%,#ffffff 50%);
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=0 );
- background-image: linear-gradient(top, #eeeeee 0%,#ffffff 50%);
-
- -moz-background-clip : padding;
- -webkit-background-clip: padding-box;
- background-clip : padding-box;
-*/
-
- box-shadow: inset 1px 1px 4px 0px rgba(0, 0, 0, 0.10);
- -moz-box-shadow: inset 1px 1px 4px 0px rgba(0, 0, 0, 0.10);
- -webkit-box-shadow: inset 1px 1px 4px 0px rgba(0, 0, 0, 0.10);
-
- border: 1px solid #c5c4bf;
- display: block;
- white-space: nowrap;
- position: relative;
- height: 20px;
- line-height: 20px;
- padding: 0 0 0 8px;
- color: #616161;
-
-}
-.b-cust-sel .title{
- margin-right: 26px;
- display: block;
- overflow: hidden;
- white-space: nowrap;
- -o-text-overflow: ellipsis;
- -ms-text-overflow: ellipsis;
- text-overflow: ellipsis;
-}
-.cust-sel-arrow{
- -moz-background-clip : padding;
- -webkit-background-clip: padding-box;
- background-clip : padding-box;
- background: #ccc;
-
-/* background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
- background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
- background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
- background-image: -o-linear-gradient(bottom, #ccc 0%, #eee 60%);
- background-image: -ms-linear-gradient(top, #cccccc 0%,#eeeeee 60%);
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#eeeeee',GradientType=0 );
- background-image: linear-gradient(top, #cccccc 0%,#eeeeee 60%);
-*/
-
- background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(0.6, #f5f4ef));
- background-image: -webkit-linear-gradient(center bottom, #fff 0%, #f5f4ef 60%);
- background-image: -moz-linear-gradient(center bottom, #fff 0%, #f5f4ef 60%);
- background-image: -o-linear-gradient(bottom, #fff 0%, #f5f4ef 60%);
- background-image: -ms-linear-gradient(top, #cccccc 0%,#f5f4ef 60%);
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#f5f4ef',GradientType=0 );
- background-image: linear-gradient(top, #cccccc 0%,#f5f4ef 60%);
-
- border-left: 1px solid #c5c4bf;
- position: absolute;
- right: 0;
- top: 0;
- display: block;
- height: 100%;
- width: 21px;
-}
-.cust-sel-arrow i{
- display: block;
- width: 100%;
- height: 100%;
- background:url(../i/custom-arrow.png) no-repeat 50% 50%;
-}
-.b-cust-sel .cust-sel-options{
- position:absolute;
- top:21px;
- left:-1px;
- width:100%;
- padding:5px 0 2px;
- border:solid #C5C4BF;
- border-width:0 1px 1px;
- background:#fff;
- z-index:100;
- }
- .b-cust-sel .cust-sel-option{
- padding:0 0 4px 18px;
- background:url(../i/cust-option-bullets.png) no-repeat 5px 7px;
- color:#828282;
- cursor:pointer;
- }
- .b-cust-sel .cust-sel-option:hover{
- color:#333;
- }
- .b-cust-sel .ico_gray{
- background-position:5px 7px;
- }
- .b-cust-sel .ico_green{
- background-position:5px -35px;
- }
- .b-cust-sel .ico_red{
- background-position:5px -79px;
- }
-
-.b-cust-sel_inactive{
- background:#f3f3d9;
- box-shadow: none;
- -moz-box-shadow: none;
- -webkit-box-shadow: none;
- }
- .b-cust-sel_inactive .cust-sel-arrow{
- background:#f3f3d9;
- }
- .b-cust-sel_inactive .cust-sel-options{
- display:none;
- }
-
-.domain-groups-selector{
- float:left;
- width:270px;
- padding-top:2px;
- font-size:11px;
- line-height:15px;
- }
- .domain-groups-selector .selector-wrap{
- display:-moz-inline-stack;
- display: inline-block;
- zoom: 1;
- *display: inline;
- vertical-align:top;
- padding-right:15px;
- border-bottom:1px solid #d5d6c4;
- background:url(../i/custom-arrow.png) no-repeat 100% 6px;
- }
- .domain-groups-selector .selector-title{
- padding-right:5px;
- font-weight:normal;
- text-transform:uppercase;
- color:#8b8b8b;
- }
- .domain-groups-selector .selected-groups{
- color:#5d5d5d;
- }
-
-#content{
- padding:8px 0 50px;
- background:#fff url(../i/content-separator.png) repeat-x;
-}
-.b-ext-info-wrap{
- position:relative;
- min-height:40px;
- }
- .b-ext-info{
- margin:0 0 6px;
- padding:10px 25px 15px;
- background:#ddd;
- font-size:12px;
- color:#000;
- text-shadow: 0px 1px 1px #fff;
- }
- .b-ext-info-btn{
- position:relative;
- left:-1px;
- width:102px;
- height:15px;
- margin-left:-50px;
- margin:-6px auto 0;
- background-color:#fff;
- cursor:pointer;
- }
- .b-ext-info-wrap_collapsed .b-ext-info-btn{
- background:url(../i/more-info-btn.png) no-repeat;
- }
-.content-inner{
- background-color:#fff;
- padding:0 15px 15px;
-}
-/*
-.domains{
- border-bottom:1px solid #333;
- background-color:#fff;
-}
-.domains .item{
- position:relative;
- padding:0 20px;
- background:url(../i/long-dotted-bg.gif) repeat-x;
-}
-.domains .first{
- margin:0;
- background:none;
-}
-.item .view{
- padding:15px 0 10px;
-}
-.item .ip-box{
- float:left;
- width:150px;
- padding-top:12px;
-}
-.ip-box .ip{
- font-size:1.1em; /*11px*
- line-height:21px;
- font-weight:normal;
- letter-spacing:.175em;
-}
-.ip-box .owner{
- display:block;
- font-size:1.2em;
- color:#999;
-}
-.details .names .primary{
- font-size:20px;
- font-family:Georgia, "Times New Roman", Times, serif;
- font-weight:normal;
- font-style:normal;
- color:#000; /* radikal'no cherniy, da! *
-}
-.names .divider{
- font-size:12px;
- line-height:2;
- text-transform:uppercase;
- color:#999;
-}
-.names .domain-name{
- padding:0 10px;
- font-size:12px;
- line-height:2;
- font-style:italic;
- color:#999;
- white-space:nowrap;
-}
-.item .details{
- margin-left:150px;
-}
-.item .details .status{
- float:right;
- width:60%;
- margin:5px 20px 0 0;
- color:#999;
-}
-.details .status .logging{
- float:left;
-}
-.logging .err-log,
-.logging .log,
-.logging .stats{
- float:left;
- display:inline;
- margin:0 20px 0 0;
- padding-right:25px;
- background:url(../i/logging-status-sprite.png) no-repeat -100% -100%;
-}
-.logging .off{
- background-position:100% 0;
-}
-.logging .on{
- background-position:100% 100%;
-}
-.logging .stats{
- margin-right:10px;
-}
-.logging .stat-auth{
- float:left;
- display:inline;
- margin:0 10px 0 0;
- border-bottom:1px solid #9bcad0;
- color:#999;
- cursor:pointer;
-}
-.details .status .params{
- float:right;
-}
-.params .memory,
-.params .t,
-.params .max-weight,
-.params .upload-weight{
- float:left;
- display:inline;
- margin-right:25px;
-}
-.memory{}
-
-.memory dl{
- overflow:hidden;
- margin-bottom:2px;
-}
-
-.memory dt{
- float:left;
- width:15px;
-}
-.memory dd{
- float:left;
-}
-.memory .usage{}
-
-.memory .usage .value{
- float:left;
- width:30px;
-}
-.memory .usage .divider{
- padding-right:2px;
-}
-.memory .usage .max{
- font-weight:bold;
- border-bottom:1px solid #9bcad0;
- cursor:pointer;
-}
-.memory .graph{
- clear:both;
- position:relative;
- border:1px solid #ccc;
- font-size:0;
- line-height:0;
-}
-.memory .graph .bar{
- position:relative;
- display:block;
- height:2px;
-}
-.critical .bar{
- background-color:#f00;
-}
-.middle .bar{
- background-color:#ff9934;
-}
-.low .bar{
- background-color:#acd45a;
-}
-.params .upload-weight{
- margin:0;
-}
-.t .value,
-.max-weight .value,
-.upload-weight .value{
- border-bottom:1px solid #9bcad0;
- cursor:pointer;
-}
-.item .close{
- position:absolute;
- top:30px;
- right:20px;
- display:block;
- width:16px;
- height:16px;
- background:url(../i/sprite.png) no-repeat;
- cursor:pointer;
-}
-.item .close:hover{
- background-position:-16px 0;
-}
-*/
-/* row hover effect
-- - - - - - - - - - - - - - - - - - - */
-/*
-.domains .item:hover{
- background-color:#ffffcb;
-}
-.item:hover .names .primary{
- cursor:pointer;
- border-bottom:1px dotted #ccc;
-}
-.item:hover .logging .err-log,
-.item:hover .logging .log,
-.item:hover .logging .stats,
-.item:hover .memory dt,
-.item:hover .memory .divider,
-.item:hover .params .title{
- color:#98bc65;
-}
-.item:hover .logging .stat-auth,
-.item:hover .memory .max,
-.item:hover .t .value,
-.item:hover .max-weight .value,
-.item:hover .upload-weight .value{
- color:#333;
-}
-*/
-/* Edit
-- - - - - - - - - - - - - - - - - - - */
-/*
-.edit{
- position:relative;
- clear:both;
- margin:0 -20px;
- padding:15px 20px 10px;
- border-top:2px solid #999;
- background-color:#ffffcb;
-}
-.change-ip-box{
- margin:0 0 20px;
-}
-.edit .ip-details{
- float:left;
- margin-right:20px;
-}
-.change-ip{
- width:140px;
- padding:3px 5px;
- border:2px solid #9bcad0;
- font-size:16px;
-}
-.ip-details .created{
- display:block;
- margin:5px 0 0;
- font-size:12px;
-}
-.change-domain-name{
- width:360px;
- padding:3px 5px;
- border:2px solid #9bcad0;
- font-size:16px;
- font-weight:bold;
-}
-.edit .domain-name{
- font-size:20px;
- font-family:Georgia, "Times New Roman", Times, serif;
- font-weight:normal;
- font-style:normal;
- color:#000; /* radikal'no cherniy, da! *
- white-space:nowrap;
- line-height:2;
-}
-.change-logs-box{
- float:left;
- width:170px;
- margin-right:50px;
- padding-left:180px;
-}
-.ownership{
- display:inline;
- float:left;
- width:160px;
- margin:0 0 0 -180px;
- font-size:12px;
-}
-.ownership .owner{
- display:block;
- font-size:16px;
- font-weight:bold;
- font-style:italic;
-}
-.change-logs{
- padding-top:5px;
-}
-.change-logs label{
- display:block;
- margin:0 0 9px;
-}
-.change-logs .last{
- margin:0;
-}
-.change-logs .title{
- display:block;
- float:left;
- width:70px;
- font-size:14px;
-}
-.change-logs .title b{
- font-weight:bold;
-}
-.change-logs .checkbox{
- margin:3px 0 0;
- border:2px solid #9bcad0;
-}
-.change-logs .stat-auth{
- position:relative;
- top:-3px;
- left:10px;
- border-bottom:1px solid #9BCAD0;
- cursor:pointer;
-}
-.change-memory{
- float:left;
- width:150px;
- padding-top:5px;
- font-size:14px;
-}
-.change-memory dl{
- margin-bottom:13px;
-}
-.change-memory .value{
- padding:0 5px;
- font-style:italic;
- font-weight:bold;
- color:#6b930f;
-}
-.change-memory .amount{
- margin-top:7px;
-}
-.change-memory .amount .max{
- width:50px;
- margin-left:10px;
- padding:2px 5px;
- border:2px solid #9bcad0;
- text-align:right;
-}
-.change-memory .graph{
- clear:both;
- position:relative;
- border:1px solid #9c9c82;
- font-size:0;
- line-height:0;
-}
-.change-memory .graph .bar{
- position:relative;
- display:block;
- height:2px;
-}
-.change-params{
- float:right;
- font-size:14px;
-}
-.change-params li{
- margin-top:5px;
- overflow:hidden;
-}
-.change-params .title{
- float:left;
- width:165px;
-}
-.change-params .param-value{
- width:30px;
- margin-right:5px;
- padding:1px 5px;
- border:2px solid #9bcad0;
- text-align:right;
-
-}
-.aliases{
- position:relative;
- padding-top:20px;
- margin-bottom:20px;
-}
-.aliases .title{
- float:left;
- display:block;
- margin-right:20px;
- padding-top:3px;
- font-size:17px;
-}
-.aliases .hint{
- position:absolute;
- top:-15px;
- left:78px;
- font-style:italic;
- color:#999;
-}
-.aliases-list{
- width:90%;
- padding:3px 5px;
- border:2px solid #9bcad0;
- font-size:16px;
-}
-.buttons{}
-
-.buttons .apply{
- width:auto;
- overflow:visible;
- padding:4px 20px 3px 17px;
- background-color:#feff99;
- border:1px solid #728b25;
-
- font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
- font-size:120%;
- font-weight:bold;
- text-transform:uppercase;
-
- line-height:130%;
- color:#6b9e05;
- cursor:pointer;
-
- float:right;
-}
-.buttons .devider{
- text-transform:uppercase;
- float:right;
- display:block;
- line-height:24px;
- margin:0 10px;
-}
-.buttons .cancel{
- float:right;
- width:auto;
- height:20px;
- padding:0;
- border:0 none;
- background:none;
- color:#e09462;
- text-decoration:underline;
- cursor:pointer;
-}
-.hidden{
- display:none;
-}
-.edit .iSelected{ /* descendant selector for more specific style context *
- border-color:#59B4FF; /* blue border on focused input *
- font-weight:bold;
-}
-.edit .not-valid{ /* descendant selector for more specific style context *
- border-color:#f00; /* RED border on error field *
-}
-
-.edit .edit-help{
- padding-bottom:1px;
- font-family:Arial, Helvetica, sans-serif;
- font-size:14px;
- color:#a0a094;
- text-decoration:none;
- text-transform:uppercase;
- border-bottom:1px solid #b5b59b;
-}
-.edit .delete{
- position:absolute;
- top:15px;
- right:25px;
- padding:3px 25px 3px 2px;
- font-family:Arial, Helvetica, sans-serif;
- font-size:14px;
- color:#a0a094;
- text-transform:uppercase;
- background:url(../i/delete.gif) no-repeat 100% 50%;
- cursor:pointer;
-}
-.edit .delete .title{
- padding-bottom:1px;
- border-bottom:1px solid #b5b59b;
-}
-*/
-
-/* IP list
-- - - - - - - - - - - - - - - - - - - - */
-#content{
- padding-bottom:0;
-}
-.ip-list{}
-
- .row{
- padding:6px 10px 26px 10px;
-/* min-height:125px;
- min-height:110px;*/
- background:url(../i/long-dotted-bg.gif) repeat-x;
- }
- .first-row{
- padding-top:11px;
- background-image:none;
- }
- .row-meta{
- float:left;
- width:150px;
- }
- .row-details{
- margin-left:150px;
-/* background:#e0e0e0;*/
- }
- .row-actions-box{}
-
- .row-actions-box .check-this,
- .row-actions-box .check-control{
- float:left;
- width:10px;
- height:10px;
- margin-top:4px;
-/* background:url(../i/logging-status-sprite.png) no-repeat;
- background:url(../i/check-row-sprite.png) no-repeat;*/
- background:url(../i/check-row-sprite_.png) no-repeat;
- }
- .row-actions-box .check-control:hover{
- cursor:pointer;
- background-position:0 -89px;
- }
- .row-actions-box .row-operations{
- float:right;
- }
- .ip-status-info{
- position:relative;
- display:block;
- float:left;
- /*margin-right:25px;*/
- padding-right:15px;
- font-size:12px;
- }
- .ip-status-info .ip-status-text{
- visibility:hidden;
- }
- .row .ip-suspended-status{
- margin:0;
- background:url(../i/suspended-ico.png) no-repeat 100% 65%;
- }
- .row .ip-suspended-status .ip-status-text{
- text-transform:uppercase;
- color:#333;
- font-size:10px;
- visibility:visible;
- }
- .delete-entry{
- position:relative;
- top:2px;
- display:block;
- float:left;
- padding-right:15px;
- font-size:11px;
- text-transform:uppercase;
- }
- .delete-entry .delete-entry-text{
- visibility:hidden;
- }
- .entry-created{
- padding-top:7px;
- font-size:11px;
- color:#6f6f6f;
- }
- .props-main{
- float:left;
- width:425px;
-/* background:#eee;*/
- }
- .props-main .prop-box{
- margin-bottom:15px;
- }
-
- .props-additional{
- float:left;
- width:200px;
- padding:5px 10px 0 0;
-/* background:#ccc;*/
- }
- .props-ext{
- float:right;
- width:120px;
- padding-top:5px;
-/* background:#d5d5d5;*/
- }
- .ip-adr-box,
- .user-wrap{
- margin:0 0 5px;
- }
- .ip-adr{
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- font-size:22px;
- line-height:1;
- font-weight:normal;
- letter-spacing:0.5px;
- }
- .ip-adr:active,
- .ip-adr:focus{
- color:#9fb749;
- }
- .ip-adr .dot{
- padding:0 3px;
- }
- .ip-list .ip-adr{
- border-bottom:1px solid #fff;
- }
- .username-box .user{
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- margin-right:10px;
- }
- .username-box .nickname{
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
- margin-right:5px;
-
- font-size:20px;
- line-height:25px;
- font-family:Arial, Helvetica, sans-serif;
- color:#000;
-
- }
- .username-box .role{
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- position:relative;
- top:2px;
-
- font-size:12px;
- line-height:25px;
- color:#777;
- }
-
- .prop-box{
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- min-width:40%;
-/* width:auto !important;
- width:40%;*/
- margin:0 0 3px;
- font-size:10px;
- }
- .prop-title{
- text-transform:uppercase;
- color:#9c9c9c;
- font-size:9px;
- line-height:15px;
- }
- .prop-value{
- padding-left:3px;
- font-size:12px;
- color:#777;
- }
- .prop-value-collapsed-childs{
- padding-right:15px;
- background:url(../i/group-values-collapsed.png) no-repeat 100% 5px;
- cursor:pointer;
- }
- .show-records{
- display:inline-block;
- padding-right:15px;
- border-bottom:1px solid #c9cabc;
- background:url(../i/show-records-ico.png) no-repeat 100% 50%;
- text-transform:uppercase;
- line-height:13px;
- cursor:pointer;
- }
- .hide-records{
- display:inline-block;
- padding-right:15px;
- border-bottom:1px solid #c9cabc;
- background:url(../i/hide-records-ico.png) no-repeat 100% 50%;
- text-transform:uppercase;
- line-height:13px;
- cursor:pointer;
- }
-
- .prop-box_group-values{
- display:block;
- }
- .prop-box_group-values .prop-title{
- float: left;
- margin:2px 0 0;
- }
- .prop-box_group-values .group-values{
- float:left;
- margin-left:3px;
- }
- .group-values .prop-value{
- display:block;
- }
- .group-values__bullet .prop-value{
- padding-left:15px;
- background:url(../i/group-value-bullet.png) no-repeat 5px 8px;
- }
- .group-values .group-switcher{
- padding-right:15px;
- background:url(../i/group-values-collapsed.png) no-repeat 100% 4px;
- }
- .group-values .group-values-count{
- font-size:12px;
- font-style:italic;
- color:#cdcdcd;
- border-bottom:1px solid #c9cac4;
- cursor:pointer;
- }
-
- .props-additional .owner-box{
- padding-left:45px;
- }
- .props-additional .owner-box .prop-title{
- float:left;
- display:inline;
- margin:2px 0 0 -45px;
- }
- .props-additional .owner-box .prop-value{
- padding:0;
- }
-
- .ip-list .row{
- padding-bottom:24px;
- }
- .ip-list .row-details{
- padding-top:9px;
- }
- .ip-list .entry-created{
- padding-top:16px;
- }
- .ip-list .ip-name-box{
- margin:0;
- }
-
-
-/* Entry adding form
-- - - - - - - - - - - - - - - - - - - */
-.b-new-entry{
- margin-top:25px;
- border-style:solid;
- border-width:2px 1px 1px;
- border-color:#999 #ccc #ccc #ccc;
-
- background-color:#ffffcb;
- }
- .b-new-entry .entry-header{
- margin:0 0 10px;
- padding:8px 15px 9px;
- border-bottom:1px solid #dcdbab;
- font-size:16px;
- font-family:Georgia, "Times New Roman", Times, serif;
- text-transform:uppercase;
- color:#747668;
- }
- .b-new-entry .form-row{
- position:relative;
- padding:10px 15px;
- }
- .b-new-entry .field-label,
- .b-new-entry .row-header{
- float:left;
- width:180px;
- font-size:15px;
- line-height:2;
- color:#3d504a;
- }
- .b-new-entry .text-field{
- float:left;
- width:265px;
- margin:0 15px 0 0;
- padding:6px 7px;
- border:2px solid #b8c2c3;
- background:#fff;
- color:#555;
- font-family:Arial, Helvetica, sans-serif;
- font-size:14px;
- font-weight:bold;
- }
- /* for highlighting required fields */
- .b-new-entry .rule-required{
- }
- /* for highlighting disabled fields */
- .b-new-entry .disabled{
- border-color:#FFFFCB;
- background:#FFFFCB;
- }
- .b-new-entry .mandatory{
- padding-right:5px;
- background:url(../i/asterisk2.png) no-repeat 100% 2px;
- }
-
- .b-new-entry .field-label .remark{
- position:relative;
- top:-14px;
- display:block;
- font-style:italic;
- font-size:14px;
- color:#a3a590;
- }
-
- .b-new-entry .custom-select{}
-
- .b-new-entry .textarea{
- width:685px;
- height:100px;
- padding:6px 7px;
- border:2px solid #b8c2c3;
- background:#fff;
- color:#555;
- font-family:Arial, Helvetica, sans-serif;
- font-size:14px;
- font-weight:bold;
- }
- .b-new-entry .text-field:focus,
- .b-new-entry .textarea:focus{
- -moz-box-shadow:0 0 8px rgba(82, 168, 236, 0.5);
- -webkit-box-shadow:0 0 8px rgba(82, 168, 236, 0.5);
- border-color:rgba(82, 168, 236, 0.75) !important;
- color:#333;
- }
-
- .b-new-entry .ssl-crtfct-box .textarea{
- margin:10px 0 0;
- }
- .b-new-entry .select{
- position: absolute;
- top:auto;
- left:195px;
- width: 195px;
- height: 28px;
- padding: 0 24px 0 8px;
- color: #333;
- font:bold 14px/28px arial,sans-serif;
- background:#fff url(../i/select-arrow-2011-12-18.png) no-repeat 100% 50%;
- overflow: hidden;
- border:2px solid #b8c2c3;
- }
- .b-new-entry select.styled{
- top:10px;
- }
- .b-new-entry option{
- font:14px arial,sans-serif;
- }
- .b-new-entry .form-options-group{}
-
- .b-new-entry .group-header{
- margin:12px 25px 12px 15px;
- text-transform:uppercase;
- color:#9c9c9c;
- font-size:11px;
- line-height:15px;
- height:16px;
- background:url(../i/dotted.gif) repeat-x 0 50%;
- }
- .b-new-entry .group-title-outer{
- display:inline-block;
- width:165px;
- padding:0 15px 0 0;
- line-height:16px;
- text-align:right;
- background:#ffffcb;
- }
- .b-new-entry .group-title-inner{
- padding:2px 13px 2px 0;
- }
- .b-new-entry .group-title{
- border-bottom:1px solid #FFFFCB;
- }
- .b-new-entry .expanded .group-title-inner{
- background:#ffffcb url(../i/form-group-expanded.png) no-repeat 100% 50%;
- }
- .b-new-entry .collapsed .group-title-inner{
- background:#ffffcb url(../i/form-group-collapsed.png) no-repeat 100% 50%;
- }
- .b-new-entry .group-header:hover{
- cursor:pointer;
- }
- .b-new-entry .group-header:hover .group-title,
- .b-new-entry .group-header .group-title:hover{
- color:#000;
- border-bottom-color:#9fb35a;
- }
- .b-new-entry .group-header .group-title:active{
- color:#4B9427;
- }
-
- .b-new-entry .mail-options-group{
- margin-bottom:27px;
- }
- .b-new-entry .mail-options-group .form-row{
- padding-bottom:0;
- }
-
- .b-new-entry .delete-record{
- display: block;
- position:relative;
- top:11px;
- float: left;
- width: 11px;
- height: 11px;
- background: url(../i/delete-ico-off.png) no-repeat;
- }
- .b-new-entry .delete-record:hover{
- cursor:pointer;
- background-image:url(../i/delete-ico.png);
- }
- .b-new-entry .delete-record:active{
- cursor:pointer;
- background-image:url(../i/delete-ico-active.png);
- }
-
-
- .b-new-entry .checkbox{
- display:block;
- float:left;
- width:18px;
- height:18px;
- margin:6px 0 0;
- /*background:url(../i/checkbox-1.png) no-repeat;*/
- background:url(../i/form-checkboxes.png) no-repeat;
- }
- .b-new-entry .checkbox:hover{
- background-position:0 -100px;
- }
- .b-new-entry .stats-settings{
- padding-left:40px;
- }
- .b-new-entry .db-credentials .field-label{
- text-indent:40px;
- }
- /*.b-new-entry .pwd-box .text-field{
- float:left;
- margin:0 15px 0 0;
- }*/
- .b-new-entry_user .lastname-box{
- margin-bottom:30px;
- }
- .b-new-entry_dns .dns-template-box .styled{
- float:left;
- margin:0 40px 0 0;
- margin:0 20px 0 0;
- width:230px;
- cursor:pointer;
- }
- .b-new-entry_dns .ttl-field{
- width:75px;
- }
- .generate-pwd,
- .context-settings{
- position:relative;
- top:10px;
- float:left;
- display:block;
- color:#5ea2a1;
- border-bottom:1px solid #cdcea6;
- text-transform:uppercase;
- cursor:pointer;
-
- font-size:11px;
- line-height:1;
- letter-spacing:0.5px;
- }
- .generate-pwd:hover,
- .context-settings:hover{
- color:#575757;
- border-bottom-color:#b4c775;
- }
- .generate-pwd:active,
- .context-settings:active{
- color:#b4c775;
- }
-
- .b-new-entry .add-ns{
- display:-moz-inline-stack;
- display: inline-block;
- zoom: 1;
- *display: inline;
-
- margin:0 0 7px 180px;
- font-family:Georgia, "Times New Roman", Times, serif;
- font-size:14px;
- line-height:1;
- text-transform:uppercase;
- color:#66685d;
- text-decoration:none;
- }
- .add-ns .icon{
- float:left;
- display:block;
- width:11px;
- height:11px;
- margin:2px 5px 0 0;
- background:url(../i/add-entry-plus.gif) no-repeat;
- font-size:0;
- line-height:0;
- }
- .add-ns .btn-title{
- display:inline-block;
- border-bottom:1px solid #b5c968;
- }
- .add-ns .btn-title:hover{
- color:#000;
- border-bottom-color:#b85152;
- }
- .add-ns .btn-title:active{
- color:#b85152;
- border-bottom-color:#000;
- }
-
-
- .b-new-entry .buttons-row{
- position:relative;
- margin-top:13px;
- padding:8px 15px 8px 195px;
- border-top:1px solid #dcdbad;
- background:url(../i/form-bottom-bg.png) repeat-x;
- }
-/* .b-new-entry .help-btn{
- position:absolute;
- top:13px;
- right:20px;
- font-size:11px;
- line-height:12px;
- color:#b4b39f;
- text-transform:uppercase;
- cursor:pointer;
- border-bottom:1px solid #b4b39f;
- text-decoration:none;
- }
- .b-new-entry .help-btn:hover{
- color:#000;
- border-bottom-color:#9fb35a;
- }
- .b-new-entry .help-btn:active{
- color:#4B9427;
- }
-*/
-
- .b-new-entry .cancel-btn{
-
- display:-moz-inline-stack;
- display: inline-block;
- zoom: 1;
- *display: inline;
-
- margin-left:30px;
- font-size:12px;
- line-height:1;
- font-weight:bold;
-
- text-transform:uppercase;
- color:#2ca9bd;
- cursor:pointer;
- border-bottom:1px solid #2ca9bd;
- }
- .b-new-entry .cancel-btn:hover{
- color:#999;
- border-bottom-color:#999;
- }
- .b-new-entry .cancel-btn:active{
- color:#fc0;
- border-bottom-color:#fc0;
- }
-
- .b-new-entry .delete-btn{
- position:absolute;
- top:15px;
- right:16px;
-
- font-size:12px;
- line-height:14px;
- text-transform:uppercase;
- color:#333;
- letter-spacing:2px;
- cursor:pointer;
- border-bottom:1px solid #ff6766;
- }
- .b-new-entry .delete-btn:hover{
- color:#ff6766;
- }
- .b-new-entry .delete-btn:active{
- color:#fc0;
- border-bottom-color:#fc0;
- }
-
-
- .b-new-entry .add-entry-btn{
- overflow:visible;
- height:28px;
- padding:0 50px;
- -webkit-border-radius:9px;
- -moz-border-radius:9px;
- border-radius:9px;
- border:2px solid #c8c09c;
- background-color:#feff99;
- color:#444428;
- font-size:14px;
- font-family:Arial, Helvetica, sans-serif;
- font-weight:bold;
- line-height:25px;
- text-transform:uppercase;
- cursor:pointer;
- }
- .b-new-entry .add-entry-btn:focus{
- position:relative;
- top:1px;
- }
- .b-new-entry .add-entry-btn:hover{
- background-color:#feff77;
- color:#464322;
- border-color:#9e977b;
- }
- .b-new-entry .add-entry-btn:active{
- background-color:#928d7a;
- color:#fefe9e;
- border-color:#87826e;
- }
- .b-new-entry .autocomplete-box{
- position:relative;
- float:left;
- padding-right:35px;
- background:#fff;
- }
- .b-new-entry .autocomplete-box .text-field{
- width:213px;
- margin:0;
- }
- .b-new-entry .autocomplete-box .arrow{
- position:absolute;
- top:0;
- right:0;
- display:block;
- width:32px;
- height:32px;
- font-size:0;
- line-height:0;
-/* background:#fff url(../i/select-arrow.png) no-repeat 100% 50%;*/
- background:#fff url(../i/autocomplete-field-arrows-sprite.png) no-repeat;
- cursor:pointer;
- }
- .b-new-entry .autocomplete-box .arrow:hover,
- .b-new-entry .autocomplete-box .arrow:active,
- .b-new-entry .autocomplete-box .arrow:focus{
- background-position:0 -32px;
- }
- .b-new-entry .disabled-box,
- .b-new-entry .disabled-box .text-field{
- background:#FFFFCB;
- border-color:#FFFFCB;
- }
- .b-new-entry .disabled-box .arrow{
- display:none;
- }
-
- .b-new-entry .form-error{
- position:relative;
- margin:-5px 5px 5px;
- padding:8px 15px;
- border:1px solid #dcdbad;
- background:url(../i/form-bottom-bg.png) repeat-x;
- }
- .form-error .error-box{
- padding-left:18px;
- background:url(../i/error-bullet.png) no-repeat 0 50%;
- }
- .form-error .error-box .error-message{
- color:#9a32ff;
- font-size:16px;
- line-height:22px;
- }
- .form-error .error-box .help-tip-url{
- position:relative;
- top:-1px;
- font-size:12px;
- line-height:15px;
- color:#b4b39f;
- text-transform:uppercase;
- text-decoration:none;
- cursor:pointer;
- border-bottom:1px solid #b4b39f;
- }
- .b-new-entry .help-tip-url:hover{
- color:#000;
- border-bottom-color:#9fb35a;
- }
-
- .b-new-entry_cron{}
-
- .b-new-entry_cron .form-row{
- padding-top:7px;
- padding-bottom:5px;
- }
- .b-new-entry_cron .run-at-box{
- padding-bottom:7px;
- }
- .b-new-entry_cron .run-at-box .row-header{
- margin-top:35px;
- }
- .b-new-entry_cron .form-row-line .field-box{
- margin-right:14px;
- }
- .b-new-entry_cron .form-row-line .cron-week-box{
- margin:0;
- }
- .b-new-entry_cron .form-row-line .field-label{
- display:block;
- float:none;
- width:auto;
- line-height:1;
- padding:0 0 8px;
- color:#7d7d7d;
-
- font-size:13px;
- }
- .b-new-entry_cron .form-row-line .text-field{
- width:112px;
- margin:0;
- }
- .b-new-entry_cron .form-row-line .cron-week-box .text-field{
- width:109px;
- margin:0;
- }
- .b-new-entry_cron .textarea{
- height:60px;
- }
-
-
- .b-new-detailed-restore{}
-
- .b-new-detailed-restore .add-entry-btn{
- padding:0 30px;
- }
-/*
- .b-new-detailed-restore .cancel-btn{
- left:auto;
- right:16px;
- }
-*/
-
-/* Show/edit dns records form
-- - - - - - - - - - - - - - - - - - - */
-.b-records-list{
- margin-left:160px;
- }
- .b-records-list .entry-header{
- padding-top:6px;
- padding-bottom:11px;
- }
- .b-records-list .hide-records{
- font-size:10px;
- font-family:Arial, Helvetica, sans-serif;
- line-height:13px;
- }
- .b-records-list .add-btn{
- margin:0;
- float:none;
- }
- .b-records-list .form-row{
- padding-top:5px;
- padding-bottom:5px;
- }
- .b-records-list .add-box{
- padding-bottom:15px;
- }
- .b-records-list .buttons-row{
- margin-top:20px;
- }
- .form-row-line{
- position:relative;
- }
- .form-row-line .field-box{
- float:left;
- }
- .form-row-line .field-devider{
- float:left;
- display:block;
- min-height:30px;
- margin:0 15px;
- font-size:15px;
- line-height:2;
- }
- .b-records-list .form-row-line .field-label{
- float:none;
- display:block;
- width:auto;
- line-height:20px;
- }
- .b-records-list .dns-record-box .text-field{
- width:147px;
- float:left;
- margin:0;
- }
- .b-records-list .dns-type-box{
- margin-right:15px;
- }
- .b-records-list .dns-type-box .select{
- width:51px;
- left:221px;
- }
- .b-records-list .dns-type-box select.styled{
- width:87px;
- cursor:pointer;
- }
- .b-records-list .dns-value-box .text-field{
- float:none;
- width:390px;
- margin:0;
- }
- .b-records-list .delete-record{
- position:absolute;
- top: auto;
- bottom:15px;
- right:11px;
- display:block;
- float:left;
- width:11px;
- height:11px;
- background:url(../i/delete-ico-off.png) no-repeat;
- }
-
-
-/* Web-domains list
-- - - - - - - - - - - - - - - - - - - */
-.domains-list{}
-
- .domains-list .entry-created{
- padding-top:9px;
- }
- .names{
- margin:0 0 6px;
- color:#acacac;
- }
- .names .alias-title{
- position:relative;
- top:-1px;
- padding-right:3px;
- padding:0 3px 0 25px;
- font-size:11px;
- line-height:18px;
- text-transform:uppercase;
- }
- .names .domain-name{
- position:relative;
- top:-1px;
- padding:0 3px 0 0;
- font-size:12px;
- line-height:1.5;
- color:#acacac;
- white-space:nowrap;
- }
- .row-details .names .primary{
- top:0;
-/* padding:0 25px 0 0;*/
- font-size:20px;
- font-family:Arial, Helvetica, sans-serif;
- font-weight:normal;
- font-style:normal;
- color:#000; /* radikal'no cherniy, da! */
- }
- .names .primary:active{
- color:#9fb749;
- }
- .domains-list .names .primary,
- .dns-list .names .primary{
- border-bottom:1px solid #fff;
- }
-
- .domains-list .props-main{
- width:345px;
- }
- .domains-list .ip-adr{
- font-size:16px;
- color:#888;
- }
- .domains-list .ip-adr-box .prop-box{
- margin-left:20px;
- }
-
- .domains-list .props-additional{
- width:230px;
- padding-top:0;
-/* background:#bbb;*/
- }
- .domains-list .props-ext{
- width:170px;
- padding-top:0;
-/* background:#ddd;*/
- }
-
-.b-usage-box{
- display:block;
-}
-
- .b-usage-box .prop-title{
- float:left;
- margin:2px 15px 0 0;
- }
- .b-usage-box .usage-box{
- float:left;
- width:136px;
- }
- .b-usage-box .usage-box{
-
- }
- .b-usage-box .value-box{
- float:left;
- width:75px;
- }
- .b-usage-box .max-size{
- float:right;
- }
- .b-usage-box .value{
- display:block;
- font-size:11px;
- line-height:1;
- color:#999;
- }
- .b-usage-box .max-size{
- position:relative;
- top:2px;
- font-size:14px;
- line-height:1;
- color:#ababab;
- }
- .b-usage-box .max-size .units{
- font-size:12px;
- color:#797979;
- }
- .graph{
- position:relative;
- border:1px solid #b7b7b9;
- font-size:0;
- line-height:0;
- }
- .graph .bar{
- position:relative;
- display:block;
- height:2px;
- }
- .critical .bar{
- background-color:#f00;
- }
- .middle .bar{
- background-color:#ff9934;
- }
- .low .bar{
- background-color:#9fec00;
- }
-
-/* New graphs */
-.b-stats-box{
- position:relative;
- margin-left:-25px;
- padding-left:25px;
- background:url(../i/stats-brace.png) no-repeat 0 50%;
- }
- .stats-box-title{
- position:absolute;
- top:50%;
- left:-65px;
- margin-top:-10px;
- padding-right:25px;
- text-transform:uppercase;
- font-size:9px;
- line-height:12px;
- background:url(../i/stats-curve.png) no-repeat 100% 50%;
- color:#acacac;
- /*border-bottom:1px solid #acacac;*/
- }
-.b-usage-box2{
- display:block;
- margin:0 0 22px;
- position:relative;
- }
- .b-usage-box2 .prop-title{
- float:left;
- margin:2px 15px 0 0;
- }
- .b-usage-box2 .usage-box{
- float:left;
- }
- .b-usage-box2 .value-box{
- padding-top:11px;
- float:left;
- width:85px;
- }
- .b-usage-box2 .max-size{
- position:relative;
- top:11px;
- float:right;
- padding:7px 0 0 3px;
- border-left:1px solid #B7B7B9;
- font-size:10px;
- line-height:1;
- color:#acacac;
- }
- .b-usage-box2 .max-size .units{
- font-size:10px;
- color:#acacac;
- }
- .b-usage-box2 .graph{
- position:relative;
- border:solid #b7b7b9;
- border-width:1px 0 1px 1px;
- font-size:0;
- line-height:0;
- }
- .b-usage-box2 .value{
- position:absolute;
- top:-15px;
- left:0;
- z-index:10;
- display:block;
- white-space:nowrap;
- padding:0 0 7px 3px;
- font-size:11px;
- line-height:1;
- background:url(../i/bar-value-mark.png) no-repeat 0 100%;
- color:#797979;
- }
- .b-usage-box2 .value-size{
- padding-left:3px;
- }
- .b-usage-box2 .graph .bar{
- position:relative;
- display:block;
- height:2px;
- background-color:#9fec00;
- }
-
- /* Overdraft */
- .b-usage-box2 .overdraft{}
-
- .b-usage-box2 .overdraft .value{
- margin-left:-1px;
- color:#F00;
- }
-
- .b-usage-box2 .bar_overdraft{
- position:absolute;
- top:-1px;
- z-index:5;
- display:block;
- height:2px;
- border:solid #b7b7b9;
- border-width:1px 0;
- background:#ff9934 url(../i/overrun-border.png) no-repeat 100% 0;
- }
-
-
-.domains-list .disk-usage{
- margin:0 0 6px;
-}
-.domains-list .props-additional .prop-box,
-.domains-list .props-ext .prop-box{
- display:block;
- margin:0;
- }
- .stats-box{}
-
- .stats-box .stats-auth{
- position:relative;
- top:3px;
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- margin:0 0 0 5px;
- padding:0 0 0 10px;
- font-size:12px;
- line-height:1.5;
- color:#777;
- cursor:pointer;
- }
- .stats-box .stats-auth-on{
- background:url(../i/auth-plus.png) no-repeat 0 60%;
- }
- .stats-box .stats-auth-text{
- display:block;
- line-height:11px;
- border-bottom:1px solid #cacbbd;
- }
-
- .nginx-box{}
-
- .nginx-box .nginx-ext-list{
- position:relative;
- top:3px;
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- margin:0 0 0 5px;
- border-bottom:1px solid #cacbbd;
- font-size:12px;
- line-height:1;
- color:#777;
- cursor:pointer;
- }
- .template-box{}
-
- .template-box .prop-value{
- padding:0;
- cursor:pointer;
- border-bottom:1px solid #cbcbbf;
- }
-
-/* DNS list
-- - - - - - - - - - - - - - - - - - - */
-.dns-list{}
-
- .dns-list .row-details{
- padding-bottom:2px;
- }
- .dns-list .entry-created{
- padding-top:9px;
- }
- .dns-list .props-main{
- width:295px;
- }
- .dns-list .props-additional{
- width:200px;
- }
- .dns-list .props-ext{
- width:250px;
- }
-.dns-list .props-additional .prop-box,
-.dns-list .props-ext .prop-box{
- display:block;
- margin:0;
- }
-.dns-list .ip-adr-box{
- margin:0;
- }
- .dns-list .ip-adr{
- font-size:12px;
- line-height:1.5;
- color:#777;
- }
-
-/* Cron list
-- - - - - - - - - - - - - - - - - - - */
-.cron-list{}
-
- .cron-list .row{
- padding-bottom:24px;
- }
-
- .cron-list .entry-created{
- padding-top:8px;
- }
- .cron-list .cron-meta{
- margin:-9px 0 9px;
- }
- .cron-meta .prop-box{
- min-width:0;
- }
- .cron-meta .prop-title{
- display:block;
- text-transform:none;
- font-size:10px;
- }
- .cron-meta .prop-value{
- padding:0;
- font-size:16px;
- color:#7c7c7c;
- }
- .cron-meta .cron-min,
- .cron-meta .cron-hour,
- .cron-meta .cron-day,
- .cron-meta .cron-week,
- .cron-meta .cron-month{
- min-width:45px;
- padding-right:20px;
- }
-
- .cron-command-box{
- margin:0 0 5px;
- }
- .cron-command-line{
- position:relative;
- padding:0 3px 0 0;
- font-family:Arial, Helvetica, sans-serif;
- font-size:20px;
- line-height:1.5;
- font-weight:normal;
- font-style:normal;
- color:#000;
-
- }
- .cron-command-line:active{
- color:#9fb749;
- }
- .cron-list .cron-command-line{
- border-bottom:1px solid #fff;
- }
-
- .cron-reported-to{}
-
- .cron-reported-to .prop-box{
- margin:0;
- }
- .cron-reported-to .prop-title{
- padding-right:3px;
- }
- .cron-reported-to .prop-value{
- padding:0 3px 0 0;
- }
-
-/* Users list
-- - - - - - - - - - - - - - - - - - - */
-.users-list{}
-
- .users-list .row{
- padding-bottom:17px;
- }
- .users-list .row-details{
- padding-top:3px;
- }
- .users-list .entry-created{
- padding-top:10px;
- }
- .users-list .user-wrap{
- margin:0 0 19px;
- }
- .users-list .props-main{
- width:345px;
- width:330px;
- }
- .users-list .username-box{
- padding-top:6px;
- margin:0 0 15px;
- }
- .users-list .username-box .user{
- position:relative;
- top:-6px;
- }
- .users-list .username-box .nickname{
- border-bottom:1px solid #fff;
- }
-
- .user-backups-box{
- margin-top:5px;
- }
- .user-backups-box .prop-title{
- border-bottom:1px solid #CBCBBF;
- font-size:12px;
- text-transform:capitalize;
- cursor:pointer;
- color:#777;
- }
-
- .users-list .props-additional{
- width:200px;
- width:225px;
- }
- .users-list .props-additional .prop-box,
- .users-list .props-ext .prop-box{
- display:block;
- }
- .users-list .props-additional .ns1-box,
- .users-list .props-additional .ns2-box{
- padding-left:27px;
- }
- .users-list .webtpl-box .group-switcher,
- .users-list .ns-list-box .group-switcher{
- padding-left:15px;
- }
- .users-list .props-additional .ns1-box .prop-title,
- .users-list .props-additional .ns2-box .prop-title{
- display: inline;
- float: left;
- margin: 2px 0 0 -27px;
- }
- .users-list .props-additional .ns1-box .prop-value,
- .users-list .props-additional .ns2-box .prop-value{
- padding:0;
- }
-
- .users-list .props-ext{
- width:190px;
- }
-
- .users-list .db-box,
- .users-list .dnsdomains-box{
- margin-top:24px;
- }
- .users-list .backups-box{
- margin:0;
- }
-
- .username-box .prop-box{
- position:relative;
- margin:0;
- }
- .user-details{
- font-size:12px;
- }
- .user-details .user-email{
- color:#777;
- padding-right:5px;
- }
- .user-details .user-reports{
- color:#9c9c9c;
- }
- .user-details-box .prop-box{
- margin:0 0 5px;
- }
- .user-details-box .user-name .prop-value,
- .user-details-box .user-email{
- font-style:italic;
- color:#706f6b;
- }
-
-/* DB list
-- - - - - - - - - - - - - - - - - - - */
-.db-list{
- padding-top:6px;
-}
-
- .db-list .first-row{
- padding-top:5px;
- }
- .db-list .row-details{
- padding-top:3px;
- padding-bottom:2px;
- }
- .db-list .db-devider{
- margin-top:15px;
- position:relative;
- display:block;
- border-bottom:1px solid #e0e0e0;
- }
- .db-list .db-devider-title{
- display:block;
- position:absolute;
- top:-8px;
- left:-50%;
- width:200%;
- }
- .db-list .db-devider-outer{
- display:block;
- position:absolute;
- left:50%;
- }
- .db-list .db-devider-inner{
- background:#fff;
- position:relative;
- left:-50%;
- padding:0 10px;
-
- font-size:11px;
- font-weight:bold;
- text-transform:uppercase;
- color:#4097B3;
- }
-
- .db-list .props-main{
- width:210px;
- padding-right:10px;
- }
- .db-list .props-additional{
- width:340px;
- padding-top:6px;
- }
- .db-list .props-ext{
- width:185px;
- padding-top:6px;
- }
- .db-name{
- position:relative;
- margin:0 0 6px;
- padding:0 3px 0 0;
- }
- .db-name-box .db-name{
- font-size:20px;
- font-family:Arial, Helvetica, sans-serif;
- font-weight:normal;
- font-style:normal;
- line-height:27px;
- }
- .db-name:active{
- color:#9fb749;
- }
- .db-list .db-name{
- border-bottom:1px solid #fff;
- }
-
- .db-list .ownership .prop-box{
- margin:9px 0 0;
- }
- .db-list .ownership .prop-value{
- padding:0;
- font-size:11px;
- font-style:italic;
- }
- .db-list .entry-created{
- padding:0;
- }
- .db-user-box{
- margin:0 0 10px;
- }
- .db-user-box .db-user{
- position:relative;
- display:block;
- float:left;
- margin-right:25px;
- padding-right:20px;
-
- font-size:12px;
- line-height:1.25; /*15px*/
- font-style:italic;
- color:#999;
- }
- .db-user-box .db-user:hover{
- color:#f00;
- }
- .db-user-box .change-pwd{
- position:relative;
- top:1px;
- display:inline-block;
- border-bottom:1px solid #c9cabc;
- text-transform:uppercase;
- line-height:13px;
- cursor:pointer;
- visibility:hidden;
- }
- .add-db-user{
- border-bottom:1px solid #c9cabc;
- text-transform:uppercase;
- line-height:13px;
- padding-left:10px;
- background:url(../i/auth-plus.png) no-repeat 0 50%;
- color:#555;
- cursor:pointer;
- }
- .backup-db{
- float:left;
- position:relative;
- top:2px;
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- border-bottom:1px solid #cacbbd;
- font-size:12px;
- line-height:13px;
- color:#777;
- cursor:pointer;
- }
- .db-list .b-usage-box{
- float:right;
- position:relative;
- top:1px;
- }
- .db-list .b-usage-box .usage-box{
- width:auto;
- }
- .db-list .b-usage-box .value,
- .db-list .b-usage-box .max-size{
- color:#797979;
- }
- .db-list .b-usage-box .value-box{
- width:60px;
- margin-right:5px;
- }
- .db-list .b-usage-box .max-size{
- float:left;
- }
- .db-list .b-usage-box .max-size .units{
- color:#ABABAB;
- }
-
-/* Backups list
-- - - - - - - - - - - - - - - - - - - */
-.backups-list{}
-
- .backups-list .row{
- padding:25px 10px 15px;
- }
- .backups-list .ownership{
- padding:5px 0 0;
- }
- .backups-list .props-main{
- padding-top:5px;
- }
- .backups-list .props-main .prop-box{
- margin:0;
- }
- .backups-list .props-additional{
- width:165px;
- padding:4px 0 0;
- }
- .backups-list .props-ext{
- width:165px;
- padding:0;
- }
- .backups-list .entry-created{
- width:185px;
- padding:0;
- }
- .backups-list .backup-date,
- .backups-list .backup-weekday{
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
- }
- .backups-list .backup-date .backup-day{
- display:block;
- width:105px;
- font-size:14px;
- font-family:Arial,Helvetica,sans-serif;
- font-weight:bold;
- line-height:20px;
- color:#47443f;
- }
- .backups-list .backup-weekday{
- padding-top:4px;
- color:#408abb;
- }
- .backups-list .backup-time,
- .backups-list .generation-time .prop-value{
- font-size:10px;
- color:#999;
- }
- .backups-list .generation-time .prop-value{
- color:#9C9C9C;
- }
-
- .backups-list .generation-time{
- padding-top:4px;
- }
- .backups-list .backup-size{
- display:-moz-inline-stack;
- display:inline-block;
- padding-right:12px;
-
- font-size:10px;
- line-height:24px;
-
- background:url(../i/green-bracket-l.png) no-repeat 0 50%;
- color:#595959;
- }
- .backups-list .backup-size-inner{
- display:-moz-inline-stack;
- display:inline-block;
-
- padding:0 10px;
- background:url(../i/green-bracket-r.png) no-repeat 100% 50%;
- }
- .backups-list .backup-url,
- .backups-list .backup-actions{
- font-size:13px;
- color:#999;
- }
- .backups-list .backup-actions{
- background:#ccc;
- }
- .backups-list .backup-actions-url{
- float:right;
- display:-moz-inline-stack;
- display:inline-block;
- vertical-align:top;
-
- -webkit-border-radius:9px;
- -moz-border-radius:9px;
- border-radius:9px;
-
- border:2px solid #fff;
- color:#999;
- line-height:26px;
- }
- .backups-list .row a.backup-actions-url:hover{
- padding:0 12px;
-
- border-color:#c8c09c;
- background-color:#feff99;
- color:#444428;
- font-size:14px;
- font-family:Arial, Helvetica, sans-serif;
- font-weight:bold;
- cursor:pointer;
- text-decoration:none;
- text-transform:uppercase;
- }
-
- .backups-list .detailed-restore-ext{
- display:none;
- }
-
- .backups-list a.detailed-restore-url:hover .detailed-restore-title{
- text-transform:none;
- }
- .backups-list a.detailed-restore-url:hover .detailed-restore-ext{
- display:inline-block;
- }
-
- .backups-list .restore-url{
- margin-left:10px;
- color:#93b749;
- }
-
- .backup-tree{
- padding-left:130px;
- }
-
- .backup-tree .backup-tree-item{
- padding:0 0 7px 25px;
- background:url(../i/backup-checkbox.png) no-repeat 0 .5em;
- }
- .backup-tree .unchecked{
- background:url(../i/backup-checkbox-unchecked.png) no-repeat 0 .5em;
- }
- .backup-tree .checked{
- background:url(../i/backup-checkbox-checked.png) no-repeat 0 .5em;
- }
-
- .backup-tree .backup-sections,
- .backup-tree .backup-sections .sub-tree{
- padding:10px 0 0 25px;
- }
-
- .backup-tree .node-item{
- font-size:13px;
- font-weight:bold;
- padding-left:15px;
- background:url(../i/backup-collapsed-ico.png) no-repeat 0 .3em;
- border-bottom:1px dashed #cfd19f;
- color:#5a6962;
- cursor:pointer;
- }
- .backup-tree .node-item:hover{
- color:#ffcf0b;
- }
-
- .backup-tree .expanded{
- background:url(../i/backup-expand-ico.png) no-repeat 0 .45em;
- }
- .backup-tree .backup-sections .sub-tree .node-item{
- font-style:italic;
- color:#abad85;
- padding:0;
- background:none;
- border:none;
- }
- .backup-tree .backup-sections .sub-tree .node-item:hover{
- color:#abad85;
- }
-
- .backup-tree .backup-sections .sub-tree .checked .node-item{
- color:#5a6962;
- font-style:normal;
- }
-
-/* Highlighted backup row */
-.backup-details-row_highlighted,
-.backups-list .backup-details-row_highlighted:hover{
- background:#666;
- }
- .backup-details-row_highlighted .notes-wrap{
- font-size:14px;
- line-height:25px;
- font-weight:bold;
- text-transform:uppercase;
- color:#bad23e;
- text-align:center;
- padding:0 0 10px;
- }
- .backup-details-row_highlighted .restore-ico{
- padding:4px 0 4px 30px;
- line-height:25px;
- background:url(../i/backup-restore-ico.png) no-repeat;
- }
- .backup-details-row_highlighted .backup-time{
- color:#fff;
- }
- .backup-details-row_highlighted .ownership .prop-value{
- color:#c8c8c8;
- }
- .backups-list .backup-details-row_highlighted .backup-day{
- color:#fff;
- }
- .backups-list .backup-details-row_highlighted .backup-size{
- color:#ccc;
- }
- .backups-list .backup-details-row_highlighted .backup-actions{
- display:none;
- }
-
-/* row hover effect
-- - - - - - - - - - - - - - - - - - - */
-.row:hover{
- background-color:#ffffcb;
-}
-.ip-list .row:hover .ip-adr,
-.domains-list .row:hover .names .primary,
-.dns-list .row:hover .names .primary,
-.cron-list .row:hover .cron-command-line,
-.users-list .row:hover .username-box .nickname,
-.db-list .row:hover .db-name{
- border-bottom-style:dashed;
- border-bottom-color:#e5e5e5;
- border-bottom-color:#bbb;
-}
-.ip-list .row:hover .ip-adr:hover,
-.domains-list .row:hover .names .primary:hover,
-.dns-list .row:hover .names .primary:hover,
-.cron-list .row:hover .cron-command-line:hover,
-.users-list .row:hover .username-box .nickname:hover,
-.db-list .row:hover .db-name:hover{
- cursor:pointer;
- border-bottom-style:solid;
- border-bottom-color:#b4c775;
-}
-.ip-list .ip-details-suspended:hover .ip-adr,
-.ip-list .ip-details-suspended:hover .ip-adr:hover{
- border:none;
- cursor:default;
-}
-.backups-list .row:hover .backup-actions-url{
- border-color:#ffffcb;
-}
-
-.row:hover .ip-status-info{
- background:url(../i/enabled-ico_.png) no-repeat 100% 50%;
-}
-.row:hover .delete-entry,
-.row:hover .db-user-box .db-user{
- background:url(../i/delete-ico-off.png) no-repeat 100% 4px;
-}
-.row:hover .ip-suspended-status{
- background:url(../i/suspended-ico.png) no-repeat 100% 65%;
-}
-.ip-status-info:hover .ip-status-text,
-.delete-entry:hover .delete-entry-text,
-.row:hover .db-user-box .change-pwd{
- visibility:visible;
-}
-.row .ip-status-info:hover{
- background-image:url(../i/enabled-ico-hover.png);
-}
-.row .ip-suspended-status:hover{
- background-image:url(../i/suspended-ico.png);
-}
-.row .delete-entry:hover,
-.row .db-user-box .db-user:hover{
- background-image:url(../i/delete-ico.png);
- cursor:pointer;
-}
-.row .delete-entry:active{
- background-image:url(../i/delete-ico-active.png);
- cursor:pointer;
-}
-.delete-entry:hover .delete-entry-text{
- color:#333;
-}
-.delete-entry .delete-entry-text:hover{
- cursor:pointer;
-}
-.delete-entry .delete-entry-text:active{
- color:#f00;
-}
-.row:hover .show-records,
-.row:hover .hide-records,
-.row:hover .template-box .prop-value,
-.domains-list .row:hover .stats-box .stats-auth-text,
-.domains-list .row:hover .nginx-box .nginx-ext-list,
-.row:hover .db-user-box .change-pwd,
-.row:hover .add-db-user,
-.row:hover .backup-db,
-.row:hover .user-backups-box .prop-title{
- color:#6aa0ac;
- border-bottom-color:#cacbbd;
-}
-.row:hover .template-box .prop-value:hover,
-.row:hover .show-records:hover,
-.hide-records:hover,
-.domains-list .row:hover .stats-box .stats-auth-text:hover,
-.domains-list .row:hover .nginx-box .nginx-ext-list:hover,
-.row .db-user-box .change-pwd:hover,
-.row .add-db-user:hover,
-.row .backup-db:hover,
-.row .user-backups-box:hover .prop-title{
- color:#575757;
- border-bottom-color:#b4c775;
-}
-.row .template-box .prop-value:active,
-.row .show-records:active,
-.hide-records:active,
-.domains-list .row:hover .stats-box .stats-auth-text:active,
-.domains-list .row:hover .nginx-box .nginx-ext-list:active,
-.domains-list .row:hover .template-box .prop-value:active,
-.users-list .username-box .nickname:active,
-.users-list .user-backups-box .prop-title:active,
-.row .db-user-box .change-pwd:active,
-.row .add-db-user:active,
-.row .backup-db:active,
-.row .user-backups-box .prop-title:active{
- color:#b4c775;
-}
-
-/* Checked row
-- - - - - - - - - - - - - - - - - - - */
-.checked-row{
- background-color:#e4f7bf;
-}
- .checked-row .row-actions-box .check-control{
- background-position:0 -30px;
- }
-
- .domains-list .checked-row .names .primary,
- .dns-list .checked-row .names .primary,
- .cron-list .checked-row .cron-command-line,
- .users-list .checked-row .username-box .nickname,
- .db-list .checked-row .db-name{
- border-bottom:1px solid #e4f7bf;
- }
-
-/* Suspended row
-- - - - - - - - - - - - - - - - - - - */
-.ip-details-suspended,
-.suspended-row{}
-
-.ip-details-suspended:hover,
-.suspended-row:hover{
- background-color:#fff;
-}
- .ip-details-suspended .entry-created,
- .suspended-row .entry-created,
- .suspended-row .username-box .role{
- color:#ccc;
- }
- .ip-details-suspended .ip-adr,
- .suspended-row .ip-adr,
- .suspended-row .cron-command-line,
- .suspended-row .username-box,
- .suspended-row .username-box .nickname,
- .suspended-row .user-name .prop-value,
- .suspended-row .user-backups-box .prop-title,
- .suspended-row .user-details .user-email,
- .suspended-row .user-details .user-reports,
- .suspended-row .template-box .prop-value,
- .suspended-row .stats-box-title,
- .suspended-row .stats-box .stats-auth,
- .suspended-row .nginx-box .nginx-ext-list{
- color:#ccc;
- border:none;
- }
- .ip-details-suspended:hover .ip-adr,
- .suspended-row:hover .ip-adr,
- .suspended-row:hover .names .primary,
- .domains-list .suspended-row:hover .names .primary,
- .dns-list .suspended-row:hover .names .primary,
- .cron-list .suspended-row:hover .cron-command-line,
- .users-list .suspended-row:hover .username-box .nickname,
- .users-list .suspended-row:hover .user-backups-box .prop-title,
- .suspended-row .stats-box .stats-auth-text{
- border:none;
- }
- .ip-details-suspended:hover .ip-adr:hover,
- .suspended-row:hover .ip-adr:hover,
- .cron-list .suspended-row:hover .cron-command-line:hover,
- .users-list .suspended-row:hover .username-box .nickname:hover,
- .users-list .suspended-row:hover .user-backups-box .prop-title:hover,
- .cron-list .suspended-row:hover .cron-command-line{
- border:none;
- cursor:default;
- }
- .users-list .suspended-row .username-box .nickname:active,
- .users-list .suspended-row .user-backups-box .prop-title:active{
- color:#ccc;
- }
-
-.ip-details-suspended .prop-title,
-.ip-details-suspended .prop-value,
-.suspended-row .prop-title,
-.suspended-row .prop-value,
-.suspended-row .b-usage-box .value,
-.suspended-row .b-usage-box .max-size,
-.suspended-row .b-usage-box .max-size .units,
-.suspended-row .b-usage-box2 .value,
-.suspended-row .b-usage-box2 .max-size,
-.suspended-row .names .primary{
- color:#ccc;
-}
-.suspended-row .b-usage-box .bar,
-.suspended-row .b-usage-box2 .graph .bar {
- background-color:#ccc;
-}
-.suspended-row:hover .show-records,
-.suspended-row:hover .hide-records,
-.suspended-row:hover .template-box .prop-value,
-.domains-list .suspended-row:hover .stats-box .stats-auth-text,
-.domains-list .suspended-row:hover .nginx-box .nginx-ext-list,
-.suspended-row:hover .user-backups-box .prop-title,
-.suspended-row:hover .template-box .prop-value:hover,
-.suspended-row:hover .show-records:hover,
-.suspended-row .hide-records:hover,
-.domains-list .suspended-row:hover .stats-box .stats-auth-text:hover,
-.domains-list .suspended-row:hover .nginx-box .nginx-ext-list:hover,
-.domains-list .suspended-row:hover .names .primary:hover,
-.dns-list .suspended-row:hover .names .primary:hover{
- color:#ccc;
- border:none;
- cursor:default;
-}
-.suspended-row:hover .template-box .prop-value:active,
-.suspended-row:hover .show-records:active,
-.suspended-row .hide-records:active,
-.domains-list .suspended-row:hover .stats-box .stats-auth-text:active,
-.domains-list .suspended-row:hover .nginx-box .nginx-ext-list:active,
-.users-list .suspended-row .username-box .nickname:active,
-.users-list .suspended-row .user-backups-box .prop-title:active{
- color:#ccc;
-}
-.suspended-row .stats-box-title{
- background-image:url(../i/stats-curve-grey.png);
-}
\ No newline at end of file
diff --git a/web/static-templates/db.html b/web/static-templates/db.html
deleted file mode 100644
index 321e7247..00000000
--- a/web/static-templates/db.html
+++ /dev/null
@@ -1,700 +0,0 @@
-
-
-
-
- Vesta | Databases
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Users
-
-
-
- 386 users
- 7 blocked
-
-
-
-
-
-
-
-
-
- Web Domain
-
-
-
- 580 domains
- 22 out of mem
- 3 waiting
-
-
-
-
-
-
-
-
-
- Mail
-
-
-
- 320 domains
- 1209 mailboxes
- 25 full
-
-
-
-
-
-
-
-
-
- DB
-
-
-
- 7 db
-
-
-
-
-
-
-
-
-
- Dns
-
-
-
- 289 records
-
-
-
-
-
-
-
-
-
- IP
-
-
-
- 7 templates
-
-
-
-
-
-
-
-
-
- Cron
-
-
-
- 15 records
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MySQL
-
-
-
-
-
-
-
-
-
-
- Clinton Brazeal Super DB
-
-
-
-
-
- naumov-socolov
-
- change password
-
-
-
- socialmediaexaminer (read only)
-
- change password
-
-
Add user
-
-
-
-
-
-
-
-
-
-
-
-
- Example database name
-
-
-
-
-
- Lance Lafata
-
- change password
-
-
-
- Tania Maietta (read only)
-
- change password
-
-
-
- Tyrone Diangelo
-
- change password
-
-
-
- Elinor Boissonneault (read only)
-
- change password
-
-
Add user
-
-
-
-
-
-
-
-
-
-
-
-
- Twitter User Object
-
-
-
-
-
- Evan Williams
-
- change password
-
-
-
- Jack Dorsey
-
- change password
-
-
-
- Biz Stone
-
- change password
-
-
-
- Abdur Chowdhury
-
- change password
-
-
-
- Jason Goldman
-
- change password
-
-
-
- Sean Garrett
-
- change password
-
-
-
- Greg Pass (read only)
-
- change password
-
-
Add user
-
-
-
-
-
-
-
-
- Postgres
-
-
-
-
-
-
-
-
-
-
-
-
-
- Pat Condon
-
- change password
-
-
-
- Graham Weston (read only)
-
- change password
-
-
-
- Mark Roenigk
-
- change password
-
-
-
- Bruce Knooihuizen (read only)
-
- change password
-
-
-
- John Engates
-
- change password
-
-
-
- Lanham Napier
-
- change password
-
-
Add user
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Jim Whitehurst
-
- change password
-
-
-
- Naren Gupta (read only)
-
- change password
-
-
-
- Jeff Clarke
-
- change password
-
-
-
- Micheline Chau (read only)
-
- change password
-
-
-
- Jeff Clarke
-
- change password
-
-
Add user
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Jason Fried
-
- change password
-
-
-
- David Heinemeier Hansson
-
- change password
-
-
-
- Stephen Campbell
-
- change password
-
-
Add user
-
-
-
-
-
-
-
-
-
-
- db type:
-
- MySQL
- Postgres
-
-
-
- db name:
-
-
-
-
- db host:
-
- user
- smashingmagazine.com
-
-
-
-
- suspended:
-
-
-
-
-
- Cancel
- Delete
-
-
-
-
-
-
-
-
-
diff --git a/web/static-templates/dns.html b/web/static-templates/dns.html
deleted file mode 100644
index fe21c334..00000000
--- a/web/static-templates/dns.html
+++ /dev/null
@@ -1,504 +0,0 @@
-
-
-
-
- Vesta | DNS
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Users
-
-
-
- 386 users
- 7 blocked
-
-
-
-
-
-
-
-
-
- Web Domain
-
-
-
- 580 domains
- 22 out of mem
- 3 waiting
-
-
-
-
-
-
-
-
-
- Mail
-
-
-
- 320 domains
- 1209 mailboxes
- 25 full
-
-
-
-
-
-
-
-
-
- DB
-
-
-
- 7 db
-
-
-
-
-
-
-
-
-
- Dns
-
-
-
- 289 records
-
-
-
-
-
-
-
-
-
- IP
-
-
-
- 7 templates
-
-
-
-
-
-
-
-
-
- Cron
-
-
-
- 15 records
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- naumov-socolov.co.uk
-
-
Show records
-
-
-
- 192. 52. 107. 26
-
- template:
- default
-
-
-
-
-
- ttl:
- 7200
-
-
- soa:
- n1.readwriteweb.com
-
-
-
-
-
-
-
-
-
-
-
-
- naumov-socolov.co.uk
-
-
Show records
-
-
-
- 192. 52. 107. 26
-
- template:
- default
-
-
-
-
-
- ttl:
- 7200
-
-
- soa:
- n1.readwriteweb.com
-
-
-
-
-
-
-
-
-
-
-
-
- naumov-socolov.co.uk
-
-
Show records
-
-
-
- 192. 52. 107. 26
-
- template:
- default
-
-
-
-
-
- ttl:
- 7200
-
-
- soa:
- n1.readwriteweb.com
-
-
-
-
-
-
-
-
-
-
-
-
- naumov-socolov.co.uk
-
-
Show records
-
-
-
- 192. 52. 107. 26
-
- template:
- default
-
-
-
-
-
- ttl:
- 7200
-
-
- soa:
- n1.readwriteweb.com
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Cancel
- Delete
-
-
-
-
-
-
-
-
- domain:
-
-
-
-
- template:
-
- default
- custom
- advanced
-
- View template settings
-
-
- ttl:
-
-
-
- soa:
-
-
-
-
- suspended:
-
-
-
-
-
- Cancel
- Delete
-
-
-
-
-
-
-
-
-
diff --git a/web/static-templates/i/Thumbs.db b/web/static-templates/i/Thumbs.db
deleted file mode 100644
index 100fe4f9..00000000
Binary files a/web/static-templates/i/Thumbs.db and /dev/null differ
diff --git a/web/static-templates/i/_asterisk.gif b/web/static-templates/i/_asterisk.gif
deleted file mode 100644
index 1cdb3d56..00000000
Binary files a/web/static-templates/i/_asterisk.gif and /dev/null differ
diff --git a/web/static-templates/i/add-entry-plus.gif b/web/static-templates/i/add-entry-plus.gif
deleted file mode 100644
index f4d45b9b..00000000
Binary files a/web/static-templates/i/add-entry-plus.gif and /dev/null differ
diff --git a/web/static-templates/i/asterisk1.png b/web/static-templates/i/asterisk1.png
deleted file mode 100644
index a3fb831f..00000000
Binary files a/web/static-templates/i/asterisk1.png and /dev/null differ
diff --git a/web/static-templates/i/asterisk2.png b/web/static-templates/i/asterisk2.png
deleted file mode 100644
index 363ea7ad..00000000
Binary files a/web/static-templates/i/asterisk2.png and /dev/null differ
diff --git a/web/static-templates/i/auth-plus.png b/web/static-templates/i/auth-plus.png
deleted file mode 100644
index f3f90e53..00000000
Binary files a/web/static-templates/i/auth-plus.png and /dev/null differ
diff --git a/web/static-templates/i/auth/auth-bg.png b/web/static-templates/i/auth/auth-bg.png
deleted file mode 100644
index d605bba5..00000000
Binary files a/web/static-templates/i/auth/auth-bg.png and /dev/null differ
diff --git a/web/static-templates/i/auth/checkboxes.png b/web/static-templates/i/auth/checkboxes.png
deleted file mode 100644
index 9700e1ac..00000000
Binary files a/web/static-templates/i/auth/checkboxes.png and /dev/null differ
diff --git a/web/static-templates/i/auth/form-bg.png b/web/static-templates/i/auth/form-bg.png
deleted file mode 100644
index b08d533a..00000000
Binary files a/web/static-templates/i/auth/form-bg.png and /dev/null differ
diff --git a/web/static-templates/i/auth/logo.png b/web/static-templates/i/auth/logo.png
deleted file mode 100644
index 4ce3235d..00000000
Binary files a/web/static-templates/i/auth/logo.png and /dev/null differ
diff --git a/web/static-templates/i/auth/planet-1.png b/web/static-templates/i/auth/planet-1.png
deleted file mode 100644
index 37909486..00000000
Binary files a/web/static-templates/i/auth/planet-1.png and /dev/null differ
diff --git a/web/static-templates/i/auth/planet-2.png b/web/static-templates/i/auth/planet-2.png
deleted file mode 100644
index 4e68279c..00000000
Binary files a/web/static-templates/i/auth/planet-2.png and /dev/null differ
diff --git a/web/static-templates/i/autocomplete-field-arrow.png b/web/static-templates/i/autocomplete-field-arrow.png
deleted file mode 100644
index 7693cc74..00000000
Binary files a/web/static-templates/i/autocomplete-field-arrow.png and /dev/null differ
diff --git a/web/static-templates/i/autocomplete-field-arrows-sprite.png b/web/static-templates/i/autocomplete-field-arrows-sprite.png
deleted file mode 100644
index 355589fd..00000000
Binary files a/web/static-templates/i/autocomplete-field-arrows-sprite.png and /dev/null differ
diff --git a/web/static-templates/i/backup-checkbox-checked.png b/web/static-templates/i/backup-checkbox-checked.png
deleted file mode 100644
index 80ce7f98..00000000
Binary files a/web/static-templates/i/backup-checkbox-checked.png and /dev/null differ
diff --git a/web/static-templates/i/backup-checkbox-unchecked.png b/web/static-templates/i/backup-checkbox-unchecked.png
deleted file mode 100644
index d6757ce4..00000000
Binary files a/web/static-templates/i/backup-checkbox-unchecked.png and /dev/null differ
diff --git a/web/static-templates/i/backup-checkbox.png b/web/static-templates/i/backup-checkbox.png
deleted file mode 100644
index 7a29e0cb..00000000
Binary files a/web/static-templates/i/backup-checkbox.png and /dev/null differ
diff --git a/web/static-templates/i/backup-checkboxes.png b/web/static-templates/i/backup-checkboxes.png
deleted file mode 100644
index 792bc1c1..00000000
Binary files a/web/static-templates/i/backup-checkboxes.png and /dev/null differ
diff --git a/web/static-templates/i/backup-collapsed-ico.png b/web/static-templates/i/backup-collapsed-ico.png
deleted file mode 100644
index 0b120fe4..00000000
Binary files a/web/static-templates/i/backup-collapsed-ico.png and /dev/null differ
diff --git a/web/static-templates/i/backup-expand-ico.png b/web/static-templates/i/backup-expand-ico.png
deleted file mode 100644
index 50f68706..00000000
Binary files a/web/static-templates/i/backup-expand-ico.png and /dev/null differ
diff --git a/web/static-templates/i/backup-ico.png b/web/static-templates/i/backup-ico.png
deleted file mode 100644
index b032ea21..00000000
Binary files a/web/static-templates/i/backup-ico.png and /dev/null differ
diff --git a/web/static-templates/i/backup-restore-ico.png b/web/static-templates/i/backup-restore-ico.png
deleted file mode 100644
index 69619664..00000000
Binary files a/web/static-templates/i/backup-restore-ico.png and /dev/null differ
diff --git a/web/static-templates/i/bar-value-mark.png b/web/static-templates/i/bar-value-mark.png
deleted file mode 100644
index c793daee..00000000
Binary files a/web/static-templates/i/bar-value-mark.png and /dev/null differ
diff --git a/web/static-templates/i/bg-left.gif b/web/static-templates/i/bg-left.gif
deleted file mode 100644
index aaa82891..00000000
Binary files a/web/static-templates/i/bg-left.gif and /dev/null differ
diff --git a/web/static-templates/i/bg-right.gif b/web/static-templates/i/bg-right.gif
deleted file mode 100644
index 13633741..00000000
Binary files a/web/static-templates/i/bg-right.gif and /dev/null differ
diff --git a/web/static-templates/i/check-row-sprite-2011-12-18.png b/web/static-templates/i/check-row-sprite-2011-12-18.png
deleted file mode 100644
index 385b0dd3..00000000
Binary files a/web/static-templates/i/check-row-sprite-2011-12-18.png and /dev/null differ
diff --git a/web/static-templates/i/check-row-sprite.png b/web/static-templates/i/check-row-sprite.png
deleted file mode 100644
index ac264ee5..00000000
Binary files a/web/static-templates/i/check-row-sprite.png and /dev/null differ
diff --git a/web/static-templates/i/check-row-sprite_.png b/web/static-templates/i/check-row-sprite_.png
deleted file mode 100644
index 385b0dd3..00000000
Binary files a/web/static-templates/i/check-row-sprite_.png and /dev/null differ
diff --git a/web/static-templates/i/checkbox-1.png b/web/static-templates/i/checkbox-1.png
deleted file mode 100644
index f24061a4..00000000
Binary files a/web/static-templates/i/checkbox-1.png and /dev/null differ
diff --git a/web/static-templates/i/checkbox.png b/web/static-templates/i/checkbox.png
deleted file mode 100644
index cc805c8e..00000000
Binary files a/web/static-templates/i/checkbox.png and /dev/null differ
diff --git a/web/static-templates/i/checkboxes-2011-12-18.png b/web/static-templates/i/checkboxes-2011-12-18.png
deleted file mode 100644
index 43ca35db..00000000
Binary files a/web/static-templates/i/checkboxes-2011-12-18.png and /dev/null differ
diff --git a/web/static-templates/i/chekbox-selector.png b/web/static-templates/i/chekbox-selector.png
deleted file mode 100644
index 698ac83b..00000000
Binary files a/web/static-templates/i/chekbox-selector.png and /dev/null differ
diff --git a/web/static-templates/i/chosen-sprite.png b/web/static-templates/i/chosen-sprite.png
deleted file mode 100644
index d08e4b7e..00000000
Binary files a/web/static-templates/i/chosen-sprite.png and /dev/null differ
diff --git a/web/static-templates/i/console-bg.png b/web/static-templates/i/console-bg.png
deleted file mode 100644
index 62139cce..00000000
Binary files a/web/static-templates/i/console-bg.png and /dev/null differ
diff --git a/web/static-templates/i/console-box-bg.png b/web/static-templates/i/console-box-bg.png
deleted file mode 100644
index 2998ec1d..00000000
Binary files a/web/static-templates/i/console-box-bg.png and /dev/null differ
diff --git a/web/static-templates/i/content-separator.png b/web/static-templates/i/content-separator.png
deleted file mode 100644
index 6c4e860d..00000000
Binary files a/web/static-templates/i/content-separator.png and /dev/null differ
diff --git a/web/static-templates/i/cust-option-bullets.png b/web/static-templates/i/cust-option-bullets.png
deleted file mode 100644
index 074b8f84..00000000
Binary files a/web/static-templates/i/cust-option-bullets.png and /dev/null differ
diff --git a/web/static-templates/i/custom-arrow.png b/web/static-templates/i/custom-arrow.png
deleted file mode 100644
index 86519025..00000000
Binary files a/web/static-templates/i/custom-arrow.png and /dev/null differ
diff --git a/web/static-templates/i/custom-checkbox.gif b/web/static-templates/i/custom-checkbox.gif
deleted file mode 100644
index b733a174..00000000
Binary files a/web/static-templates/i/custom-checkbox.gif and /dev/null differ
diff --git a/web/static-templates/i/delete-ico-active.png b/web/static-templates/i/delete-ico-active.png
deleted file mode 100644
index b7e334f3..00000000
Binary files a/web/static-templates/i/delete-ico-active.png and /dev/null differ
diff --git a/web/static-templates/i/delete-ico-off.png b/web/static-templates/i/delete-ico-off.png
deleted file mode 100644
index 0b610965..00000000
Binary files a/web/static-templates/i/delete-ico-off.png and /dev/null differ
diff --git a/web/static-templates/i/delete-ico.png b/web/static-templates/i/delete-ico.png
deleted file mode 100644
index 610913d8..00000000
Binary files a/web/static-templates/i/delete-ico.png and /dev/null differ
diff --git a/web/static-templates/i/delete.gif b/web/static-templates/i/delete.gif
deleted file mode 100644
index ff82ef32..00000000
Binary files a/web/static-templates/i/delete.gif and /dev/null differ
diff --git a/web/static-templates/i/dotted.gif b/web/static-templates/i/dotted.gif
deleted file mode 100644
index bcb6ab47..00000000
Binary files a/web/static-templates/i/dotted.gif and /dev/null differ
diff --git a/web/static-templates/i/enabled-ico-hover.png b/web/static-templates/i/enabled-ico-hover.png
deleted file mode 100644
index 9396360e..00000000
Binary files a/web/static-templates/i/enabled-ico-hover.png and /dev/null differ
diff --git a/web/static-templates/i/enabled-ico.png b/web/static-templates/i/enabled-ico.png
deleted file mode 100644
index 60c4ae59..00000000
Binary files a/web/static-templates/i/enabled-ico.png and /dev/null differ
diff --git a/web/static-templates/i/enabled-ico_.png b/web/static-templates/i/enabled-ico_.png
deleted file mode 100644
index 76defa46..00000000
Binary files a/web/static-templates/i/enabled-ico_.png and /dev/null differ
diff --git a/web/static-templates/i/error-bullet.png b/web/static-templates/i/error-bullet.png
deleted file mode 100644
index a114a2e6..00000000
Binary files a/web/static-templates/i/error-bullet.png and /dev/null differ
diff --git a/web/static-templates/i/fav.ico b/web/static-templates/i/fav.ico
deleted file mode 100644
index 7c26ae9d..00000000
Binary files a/web/static-templates/i/fav.ico and /dev/null differ
diff --git a/web/static-templates/i/fone-tr.png b/web/static-templates/i/fone-tr.png
deleted file mode 100644
index eb87b23b..00000000
Binary files a/web/static-templates/i/fone-tr.png and /dev/null differ
diff --git a/web/static-templates/i/footer-bg.gif b/web/static-templates/i/footer-bg.gif
deleted file mode 100644
index 877d2e04..00000000
Binary files a/web/static-templates/i/footer-bg.gif and /dev/null differ
diff --git a/web/static-templates/i/form-bottom-bg.png b/web/static-templates/i/form-bottom-bg.png
deleted file mode 100644
index eb9be903..00000000
Binary files a/web/static-templates/i/form-bottom-bg.png and /dev/null differ
diff --git a/web/static-templates/i/form-checkboxes.png b/web/static-templates/i/form-checkboxes.png
deleted file mode 100644
index fadce3ea..00000000
Binary files a/web/static-templates/i/form-checkboxes.png and /dev/null differ
diff --git a/web/static-templates/i/form-group-collapsed.png b/web/static-templates/i/form-group-collapsed.png
deleted file mode 100644
index 63bc551c..00000000
Binary files a/web/static-templates/i/form-group-collapsed.png and /dev/null differ
diff --git a/web/static-templates/i/form-group-collapsed_.png b/web/static-templates/i/form-group-collapsed_.png
deleted file mode 100644
index f8ce963d..00000000
Binary files a/web/static-templates/i/form-group-collapsed_.png and /dev/null differ
diff --git a/web/static-templates/i/form-group-expanded.png b/web/static-templates/i/form-group-expanded.png
deleted file mode 100644
index 6c9cd495..00000000
Binary files a/web/static-templates/i/form-group-expanded.png and /dev/null differ
diff --git a/web/static-templates/i/green-bracket-l-highlighted.png b/web/static-templates/i/green-bracket-l-highlighted.png
deleted file mode 100644
index 7f37fae8..00000000
Binary files a/web/static-templates/i/green-bracket-l-highlighted.png and /dev/null differ
diff --git a/web/static-templates/i/green-bracket-l.png b/web/static-templates/i/green-bracket-l.png
deleted file mode 100644
index 4702e9f6..00000000
Binary files a/web/static-templates/i/green-bracket-l.png and /dev/null differ
diff --git a/web/static-templates/i/green-bracket-r-highlighted.png b/web/static-templates/i/green-bracket-r-highlighted.png
deleted file mode 100644
index ae8303f6..00000000
Binary files a/web/static-templates/i/green-bracket-r-highlighted.png and /dev/null differ
diff --git a/web/static-templates/i/green-bracket-r.png b/web/static-templates/i/green-bracket-r.png
deleted file mode 100644
index df81a6de..00000000
Binary files a/web/static-templates/i/green-bracket-r.png and /dev/null differ
diff --git a/web/static-templates/i/group-value-bullet.png b/web/static-templates/i/group-value-bullet.png
deleted file mode 100644
index 44ac08fa..00000000
Binary files a/web/static-templates/i/group-value-bullet.png and /dev/null differ
diff --git a/web/static-templates/i/group-values-collapsed.png b/web/static-templates/i/group-values-collapsed.png
deleted file mode 100644
index fefb4963..00000000
Binary files a/web/static-templates/i/group-values-collapsed.png and /dev/null differ
diff --git a/web/static-templates/i/hide-records-ico.png b/web/static-templates/i/hide-records-ico.png
deleted file mode 100644
index 92da814a..00000000
Binary files a/web/static-templates/i/hide-records-ico.png and /dev/null differ
diff --git a/web/static-templates/i/info-popup-bg-1.png b/web/static-templates/i/info-popup-bg-1.png
deleted file mode 100644
index cf1afa74..00000000
Binary files a/web/static-templates/i/info-popup-bg-1.png and /dev/null differ
diff --git a/web/static-templates/i/info-popup-bg-2.png b/web/static-templates/i/info-popup-bg-2.png
deleted file mode 100644
index e625cb85..00000000
Binary files a/web/static-templates/i/info-popup-bg-2.png and /dev/null differ
diff --git a/web/static-templates/i/info-popup-bg.png b/web/static-templates/i/info-popup-bg.png
deleted file mode 100644
index d6b44c2a..00000000
Binary files a/web/static-templates/i/info-popup-bg.png and /dev/null differ
diff --git a/web/static-templates/i/info-popup-sprite-2011-12-14.png b/web/static-templates/i/info-popup-sprite-2011-12-14.png
deleted file mode 100644
index 9a754625..00000000
Binary files a/web/static-templates/i/info-popup-sprite-2011-12-14.png and /dev/null differ
diff --git a/web/static-templates/i/info-popup-sprite.png b/web/static-templates/i/info-popup-sprite.png
deleted file mode 100644
index 95fecff3..00000000
Binary files a/web/static-templates/i/info-popup-sprite.png and /dev/null differ
diff --git a/web/static-templates/i/logging-status-sprite.png b/web/static-templates/i/logging-status-sprite.png
deleted file mode 100644
index 4cc9c94a..00000000
Binary files a/web/static-templates/i/logging-status-sprite.png and /dev/null differ
diff --git a/web/static-templates/i/long-dotted-bg.gif b/web/static-templates/i/long-dotted-bg.gif
deleted file mode 100644
index 2b274706..00000000
Binary files a/web/static-templates/i/long-dotted-bg.gif and /dev/null differ
diff --git a/web/static-templates/i/more-info-btn.png b/web/static-templates/i/more-info-btn.png
deleted file mode 100644
index 790695b3..00000000
Binary files a/web/static-templates/i/more-info-btn.png and /dev/null differ
diff --git a/web/static-templates/i/nav-devider-2.png b/web/static-templates/i/nav-devider-2.png
deleted file mode 100644
index a72f5d16..00000000
Binary files a/web/static-templates/i/nav-devider-2.png and /dev/null differ
diff --git a/web/static-templates/i/nav-devider.png b/web/static-templates/i/nav-devider.png
deleted file mode 100644
index d61ed488..00000000
Binary files a/web/static-templates/i/nav-devider.png and /dev/null differ
diff --git a/web/static-templates/i/old-add-entry-plus.gif b/web/static-templates/i/old-add-entry-plus.gif
deleted file mode 100644
index 06f0cf98..00000000
Binary files a/web/static-templates/i/old-add-entry-plus.gif and /dev/null differ
diff --git a/web/static-templates/i/old-delete-ico-off.png b/web/static-templates/i/old-delete-ico-off.png
deleted file mode 100644
index 3da07ee6..00000000
Binary files a/web/static-templates/i/old-delete-ico-off.png and /dev/null differ
diff --git a/web/static-templates/i/old-delete-ico.png b/web/static-templates/i/old-delete-ico.png
deleted file mode 100644
index 1c7c666a..00000000
Binary files a/web/static-templates/i/old-delete-ico.png and /dev/null differ
diff --git a/web/static-templates/i/overrun-border.png b/web/static-templates/i/overrun-border.png
deleted file mode 100644
index 171463f3..00000000
Binary files a/web/static-templates/i/overrun-border.png and /dev/null differ
diff --git a/web/static-templates/i/plus-sprite.png b/web/static-templates/i/plus-sprite.png
deleted file mode 100644
index b4bcacf2..00000000
Binary files a/web/static-templates/i/plus-sprite.png and /dev/null differ
diff --git a/web/static-templates/i/plus-sprite1.png b/web/static-templates/i/plus-sprite1.png
deleted file mode 100644
index d2a6fa19..00000000
Binary files a/web/static-templates/i/plus-sprite1.png and /dev/null differ
diff --git a/web/static-templates/i/primarary-collapsed.gif b/web/static-templates/i/primarary-collapsed.gif
deleted file mode 100644
index bf607fce..00000000
Binary files a/web/static-templates/i/primarary-collapsed.gif and /dev/null differ
diff --git a/web/static-templates/i/primary-plus.gif b/web/static-templates/i/primary-plus.gif
deleted file mode 100644
index bf607fce..00000000
Binary files a/web/static-templates/i/primary-plus.gif and /dev/null differ
diff --git a/web/static-templates/i/primary-plus_active.png b/web/static-templates/i/primary-plus_active.png
deleted file mode 100644
index 5cded98e..00000000
Binary files a/web/static-templates/i/primary-plus_active.png and /dev/null differ
diff --git a/web/static-templates/i/section-status-sprite-2.gif b/web/static-templates/i/section-status-sprite-2.gif
deleted file mode 100644
index 52b1115c..00000000
Binary files a/web/static-templates/i/section-status-sprite-2.gif and /dev/null differ
diff --git a/web/static-templates/i/section-status-sprite-3.gif b/web/static-templates/i/section-status-sprite-3.gif
deleted file mode 100644
index 1908eb2e..00000000
Binary files a/web/static-templates/i/section-status-sprite-3.gif and /dev/null differ
diff --git a/web/static-templates/i/section-status-sprite-4.gif b/web/static-templates/i/section-status-sprite-4.gif
deleted file mode 100644
index 9d4b3bea..00000000
Binary files a/web/static-templates/i/section-status-sprite-4.gif and /dev/null differ
diff --git a/web/static-templates/i/section-status-sprite-5.gif b/web/static-templates/i/section-status-sprite-5.gif
deleted file mode 100644
index c757b29f..00000000
Binary files a/web/static-templates/i/section-status-sprite-5.gif and /dev/null differ
diff --git a/web/static-templates/i/section-status-sprite-6.png b/web/static-templates/i/section-status-sprite-6.png
deleted file mode 100644
index ad22619e..00000000
Binary files a/web/static-templates/i/section-status-sprite-6.png and /dev/null differ
diff --git a/web/static-templates/i/section-status-sprite.gif b/web/static-templates/i/section-status-sprite.gif
deleted file mode 100644
index f8ad1e77..00000000
Binary files a/web/static-templates/i/section-status-sprite.gif and /dev/null differ
diff --git a/web/static-templates/i/select-arrow-2011-12-18.png b/web/static-templates/i/select-arrow-2011-12-18.png
deleted file mode 100644
index 79c34f0d..00000000
Binary files a/web/static-templates/i/select-arrow-2011-12-18.png and /dev/null differ
diff --git a/web/static-templates/i/select-arrow.png b/web/static-templates/i/select-arrow.png
deleted file mode 100644
index 17a96c99..00000000
Binary files a/web/static-templates/i/select-arrow.png and /dev/null differ
diff --git a/web/static-templates/i/show-records-ico.png b/web/static-templates/i/show-records-ico.png
deleted file mode 100644
index a33a483b..00000000
Binary files a/web/static-templates/i/show-records-ico.png and /dev/null differ
diff --git a/web/static-templates/i/sprite.png b/web/static-templates/i/sprite.png
deleted file mode 100644
index 90e64b13..00000000
Binary files a/web/static-templates/i/sprite.png and /dev/null differ
diff --git a/web/static-templates/i/stats-brace.png b/web/static-templates/i/stats-brace.png
deleted file mode 100644
index 83839038..00000000
Binary files a/web/static-templates/i/stats-brace.png and /dev/null differ
diff --git a/web/static-templates/i/stats-curve-grey.png b/web/static-templates/i/stats-curve-grey.png
deleted file mode 100644
index 0ca48f65..00000000
Binary files a/web/static-templates/i/stats-curve-grey.png and /dev/null differ
diff --git a/web/static-templates/i/stats-curve.png b/web/static-templates/i/stats-curve.png
deleted file mode 100644
index 7ea06d8e..00000000
Binary files a/web/static-templates/i/stats-curve.png and /dev/null differ
diff --git a/web/static-templates/i/status-arrow.png b/web/static-templates/i/status-arrow.png
deleted file mode 100644
index 91770f54..00000000
Binary files a/web/static-templates/i/status-arrow.png and /dev/null differ
diff --git a/web/static-templates/i/suspended-ico.png b/web/static-templates/i/suspended-ico.png
deleted file mode 100644
index ed2842d6..00000000
Binary files a/web/static-templates/i/suspended-ico.png and /dev/null differ
diff --git a/web/static-templates/i/thin-grey-line-2.gif b/web/static-templates/i/thin-grey-line-2.gif
deleted file mode 100644
index 0b8e7a58..00000000
Binary files a/web/static-templates/i/thin-grey-line-2.gif and /dev/null differ
diff --git a/web/static-templates/i/thin-grey-line-3.gif b/web/static-templates/i/thin-grey-line-3.gif
deleted file mode 100644
index 107d0751..00000000
Binary files a/web/static-templates/i/thin-grey-line-3.gif and /dev/null differ
diff --git a/web/static-templates/i/thin-grey-line-4.gif b/web/static-templates/i/thin-grey-line-4.gif
deleted file mode 100644
index f88848bf..00000000
Binary files a/web/static-templates/i/thin-grey-line-4.gif and /dev/null differ
diff --git a/web/static-templates/i/thin-grey-line.gif b/web/static-templates/i/thin-grey-line.gif
deleted file mode 100644
index 958a7d7f..00000000
Binary files a/web/static-templates/i/thin-grey-line.gif and /dev/null differ
diff --git a/web/static-templates/i/vesta-italic-logo.png b/web/static-templates/i/vesta-italic-logo.png
deleted file mode 100644
index 73df0925..00000000
Binary files a/web/static-templates/i/vesta-italic-logo.png and /dev/null differ
diff --git a/web/static-templates/i/vesta-logo-2011-11-16.png b/web/static-templates/i/vesta-logo-2011-11-16.png
deleted file mode 100644
index 994e0091..00000000
Binary files a/web/static-templates/i/vesta-logo-2011-11-16.png and /dev/null differ
diff --git a/web/static-templates/i/vesta-logo-2011-11-25.png b/web/static-templates/i/vesta-logo-2011-11-25.png
deleted file mode 100644
index de3c489d..00000000
Binary files a/web/static-templates/i/vesta-logo-2011-11-25.png and /dev/null differ
diff --git a/web/static-templates/i/vesta-logo-2011-12-14.png b/web/static-templates/i/vesta-logo-2011-12-14.png
deleted file mode 100644
index e66fab8c..00000000
Binary files a/web/static-templates/i/vesta-logo-2011-12-14.png and /dev/null differ
diff --git a/web/static-templates/i/vesta-logo.png b/web/static-templates/i/vesta-logo.png
deleted file mode 100644
index 7ac7c4e8..00000000
Binary files a/web/static-templates/i/vesta-logo.png and /dev/null differ
diff --git a/web/static-templates/ip.html b/web/static-templates/ip.html
deleted file mode 100644
index 69a4e0ae..00000000
--- a/web/static-templates/ip.html
+++ /dev/null
@@ -1,472 +0,0 @@
-
-
-
-
- Vesta | IP
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Users
-
-
-
- 386 users
- 7 blocked
-
-
-
-
-
-
-
-
-
- Web Domain
-
-
-
- 580 domains
- 22 out of mem
- 3 waiting
-
-
-
-
-
-
-
-
-
- Mail
-
-
-
- 320 domains
- 1209 mailboxes
- 25 full
-
-
-
-
-
-
-
-
-
- DB
-
-
-
- 7 db
-
-
-
-
-
-
-
-
-
- Dns
-
-
-
- 289 records
-
-
-
-
-
-
-
-
-
- IP
-
-
-
- 7 templates
-
-
-
-
-
-
-
-
-
- Cron
-
-
-
- 15 records
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 192. 52. 107. 26
-
-
- netmask:
- 255.255.255.0
-
-
- interface:
- eth1
-
-
- name:
- shared1.hosting-with-very-long-name.co.uk
-
-
-
-
- owner:
- shared1.hosting-with-very-long-name.co.uk
-
-
- status:
- shared
-
-
-
-
- sys users:
- 9 999
-
-
- web domains:
- 2 346
-
-
-
-
-
-
-
-
-
-
-
-
- 192. 52. 107. 26
-
-
- netmask:
- 255.255.255.0
-
-
- interface:
- eth1
-
-
- name:
- shared1.hosting-with-very-long-name.co.uk
-
-
-
-
- owner:
- shared1.hosting-with-very-long-name.co.uk
-
-
- status:
- shared
-
-
-
-
- sys users:
- 9 999
-
-
- web domains:
- 2 346
-
-
-
-
-
-
-
-
-
-
-
-
- 192. 52. 107. 26
-
-
- netmask:
- 255.255.255.0
-
-
- interface:
- eth1
-
-
- name:
- shared1.hosting-with-very-long-name.co.uk
-
-
-
-
- owner:
- shared1.hosting-with-very-long-name.co.uk
-
-
- status:
- shared
-
-
-
-
- sys users:
- 9 999
-
-
- web domains:
- 2 346
-
-
-
-
-
-
-
-
-
-
-
-
- 192. 52. 107. 26
-
-
- netmask:
- 255.255.255.0
-
-
- interface:
- eth1
-
-
- name:
- shared1.hosting-with-very-long-name.co.uk
-
-
-
-
- owner:
- shared1.hosting-with-very-long-name.co.uk
-
-
- status:
- shared
-
-
-
-
- sys users:
- 9 999
-
-
- web domains:
- 2 346
-
-
-
-
-
-
-
-
-
-
- ip address:
-
-
-
- owner:
-
- vesta
- new mexico
- land of magic
-
-
-
- status:
-
- shared
- suspended
- other
-
-
-
- name:
-
-
-
- interface:
-
- eth1
- eth2
- eth3
-
-
-
-
-
- Cancel
- Delete
-
-
-
-
-
-
-
-
-
diff --git a/web/static-templates/js/PIE.htc b/web/static-templates/js/PIE.htc
deleted file mode 100644
index b39af01a..00000000
--- a/web/static-templates/js/PIE.htc
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/web/static-templates/js/backups-control.js b/web/static-templates/js/backups-control.js
deleted file mode 100644
index dde9d22c..00000000
--- a/web/static-templates/js/backups-control.js
+++ /dev/null
@@ -1,13 +0,0 @@
-$(document).ready(function(){
-
-var area = $('.backups-list .detailed-restore-url');
-
-
-area.hover(
- function() {
- $(this).prev().hide();
- },
- function() {
- $(this).prev().show();
- });
-});
\ No newline at end of file
diff --git a/web/static-templates/js/common.js b/web/static-templates/js/common.js
deleted file mode 100644
index f502ca23..00000000
--- a/web/static-templates/js/common.js
+++ /dev/null
@@ -1,3 +0,0 @@
-$(document).ready(function(){
- $('.remember-me').checkBox();
-});
\ No newline at end of file
diff --git a/web/static-templates/js/custom-form-elements.js b/web/static-templates/js/custom-form-elements.js
deleted file mode 100644
index 3c55a343..00000000
--- a/web/static-templates/js/custom-form-elements.js
+++ /dev/null
@@ -1,144 +0,0 @@
-/*
-
-CUSTOM FORM ELEMENTS
-
-Created by Ryan Fait
-www.ryanfait.com
-
-The only things you may need to change in this file are the following
-variables: checkboxHeight, radioHeight and selectWidth (lines 24, 25, 26)
-
-The numbers you set for checkboxHeight and radioHeight should be one quarter
-of the total height of the image want to use for checkboxes and radio
-buttons. Both images should contain the four stages of both inputs stacked
-on top of each other in this order: unchecked, unchecked-clicked, checked,
-checked-clicked.
-
-You may need to adjust your images a bit if there is a slight vertical
-movement during the different stages of the button activation.
-
-The value of selectWidth should be the width of your select list image.
-
-Visit http://ryanfait.com/ for more information.
-
-*/
-
-var checkboxHeight = "25";
-var radioHeight = "25";
-var selectWidth = "210";
-
-
-/* No need to change anything after this */
-
-
-document.write('');
-
-var Custom = {
- init: function() {
- var inputs = document.getElementsByTagName("input"), span = Array(), textnode, option, active;
- for(a = 0; a < inputs.length; a++) {
- if((inputs[a].type == "checkbox" || inputs[a].type == "radio") && inputs[a].className == "styled") {
- span[a] = document.createElement("span");
- span[a].className = inputs[a].type;
-
- if(inputs[a].checked == true) {
- if(inputs[a].type == "checkbox") {
- position = "0 -" + (checkboxHeight*2) + "px";
- span[a].style.backgroundPosition = position;
- } else {
- position = "0 -" + (radioHeight*2) + "px";
- span[a].style.backgroundPosition = position;
- }
- }
- inputs[a].parentNode.insertBefore(span[a], inputs[a]);
- inputs[a].onchange = Custom.clear;
- if(!inputs[a].getAttribute("disabled")) {
- span[a].onmousedown = Custom.pushed;
- span[a].onmouseup = Custom.check;
- } else {
- span[a].className = span[a].className += " disabled";
- }
- }
- }
- inputs = document.getElementsByTagName("select");
- for(a = 0; a < inputs.length; a++) {
- if(inputs[a].className == "styled") {
- option = inputs[a].getElementsByTagName("option");
- active = option[0].childNodes[0].nodeValue;
- textnode = document.createTextNode(active);
- for(b = 0; b < option.length; b++) {
- if(option[b].selected == true) {
- textnode = document.createTextNode(option[b].childNodes[0].nodeValue);
- }
- }
- span[a] = document.createElement("span");
- span[a].className = "select";
- span[a].id = "select" + inputs[a].name;
- span[a].appendChild(textnode);
- inputs[a].parentNode.insertBefore(span[a], inputs[a]);
- if(!inputs[a].getAttribute("disabled")) {
- inputs[a].onchange = Custom.choose;
- } else {
- inputs[a].previousSibling.className = inputs[a].previousSibling.className += " disabled";
- }
- }
- }
- document.onmouseup = Custom.clear;
- },
- pushed: function() {
- element = this.nextSibling;
- if(element.checked == true && element.type == "checkbox") {
- this.style.backgroundPosition = "0 -" + checkboxHeight*3 + "px";
- } else if(element.checked == true && element.type == "radio") {
- this.style.backgroundPosition = "0 -" + radioHeight*3 + "px";
- } else if(element.checked != true && element.type == "checkbox") {
- this.style.backgroundPosition = "0 -" + checkboxHeight + "px";
- } else {
- this.style.backgroundPosition = "0 -" + radioHeight + "px";
- }
- },
- check: function() {
- element = this.nextSibling;
- if(element.checked == true && element.type == "checkbox") {
- this.style.backgroundPosition = "0 0";
- element.checked = false;
- } else {
- if(element.type == "checkbox") {
- this.style.backgroundPosition = "0 -" + checkboxHeight*2 + "px";
- } else {
- this.style.backgroundPosition = "0 -" + radioHeight*2 + "px";
- group = this.nextSibling.name;
- inputs = document.getElementsByTagName("input");
- for(a = 0; a < inputs.length; a++) {
- if(inputs[a].name == group && inputs[a] != this.nextSibling) {
- inputs[a].previousSibling.style.backgroundPosition = "0 0";
- }
- }
- }
- element.checked = true;
- }
- },
- clear: function() {
- inputs = document.getElementsByTagName("input");
- for(var b = 0; b < inputs.length; b++) {
- if(inputs[b].type == "checkbox" && inputs[b].checked == true && inputs[b].className == "styled") {
- inputs[b].previousSibling.style.backgroundPosition = "0 -" + checkboxHeight*2 + "px";
- } else if(inputs[b].type == "checkbox" && inputs[b].className == "styled") {
- inputs[b].previousSibling.style.backgroundPosition = "0 0";
- } else if(inputs[b].type == "radio" && inputs[b].checked == true && inputs[b].className == "styled") {
- inputs[b].previousSibling.style.backgroundPosition = "0 -" + radioHeight*2 + "px";
- } else if(inputs[b].type == "radio" && inputs[b].className == "styled") {
- inputs[b].previousSibling.style.backgroundPosition = "0 0";
- }
- }
- },
- choose: function() {
- option = this.getElementsByTagName("option");
- for(d = 0; d < option.length; d++) {
- if(option[d].selected == true) {
- document.getElementById("select" + this.name).childNodes[0].nodeValue = option[d].childNodes[0].nodeValue;
- }
- }
- }
-}
-window.onload = Custom.init;
\ No newline at end of file
diff --git a/web/static-templates/js/form.css b/web/static-templates/js/form.css
deleted file mode 100644
index 2746c2d0..00000000
--- a/web/static-templates/js/form.css
+++ /dev/null
@@ -1,26 +0,0 @@
-body {
- font: 0.8em/21px arial,sans-serif;
-}
-
-.checkbox, .radio {
- width: 19px;
- height: 25px;
- padding: 0 5px 0 0;
- background: url(checkbox.gif) no-repeat;
- display: block;
- clear: left;
- float: left;
-}
-.radio {
- background: url(radio.gif) no-repeat;
-}
-.select {
- position: absolute;
- width: 158px; /* With the padding included, the width is 190 pixels: the actual width of the image. */
- height: 21px;
- padding: 0 24px 0 8px;
- color: #fff;
- font: 12px/21px arial,sans-serif;
- background: url(select.gif) no-repeat;
- overflow: hidden;
-}
diff --git a/web/static-templates/js/jquery-1.4.2.js b/web/static-templates/js/jquery-1.4.2.js
deleted file mode 100644
index fff67764..00000000
--- a/web/static-templates/js/jquery-1.4.2.js
+++ /dev/null
@@ -1,6240 +0,0 @@
-/*!
- * jQuery JavaScript Library v1.4.2
- * http://jquery.com/
- *
- * Copyright 2010, John Resig
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * http://jquery.org/license
- *
- * Includes Sizzle.js
- * http://sizzlejs.com/
- * Copyright 2010, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- *
- * Date: Sat Feb 13 22:33:48 2010 -0500
- */
-(function( window, undefined ) {
-
-// Define a local copy of jQuery
-var jQuery = function( selector, context ) {
- // The jQuery object is actually just the init constructor 'enhanced'
- return new jQuery.fn.init( selector, context );
- },
-
- // Map over jQuery in case of overwrite
- _jQuery = window.jQuery,
-
- // Map over the $ in case of overwrite
- _$ = window.$,
-
- // Use the correct document accordingly with window argument (sandbox)
- document = window.document,
-
- // A central reference to the root jQuery(document)
- rootjQuery,
-
- // A simple way to check for HTML strings or ID strings
- // (both of which we optimize for)
- quickExpr = /^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,
-
- // Is it a simple selector
- isSimple = /^.[^:#\[\.,]*$/,
-
- // Check if a string has a non-whitespace character in it
- rnotwhite = /\S/,
-
- // Used for trimming whitespace
- rtrim = /^(\s|\u00A0)+|(\s|\u00A0)+$/g,
-
- // Match a standalone tag
- rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/,
-
- // Keep a UserAgent string for use with jQuery.browser
- userAgent = navigator.userAgent,
-
- // For matching the engine and version of the browser
- browserMatch,
-
- // Has the ready events already been bound?
- readyBound = false,
-
- // The functions to execute on DOM ready
- readyList = [],
-
- // The ready event handler
- DOMContentLoaded,
-
- // Save a reference to some core methods
- toString = Object.prototype.toString,
- hasOwnProperty = Object.prototype.hasOwnProperty,
- push = Array.prototype.push,
- slice = Array.prototype.slice,
- indexOf = Array.prototype.indexOf;
-
-jQuery.fn = jQuery.prototype = {
- init: function( selector, context ) {
- var match, elem, ret, doc;
-
- // Handle $(""), $(null), or $(undefined)
- if ( !selector ) {
- return this;
- }
-
- // Handle $(DOMElement)
- if ( selector.nodeType ) {
- this.context = this[0] = selector;
- this.length = 1;
- return this;
- }
-
- // The body element only exists once, optimize finding it
- if ( selector === "body" && !context ) {
- this.context = document;
- this[0] = document.body;
- this.selector = "body";
- this.length = 1;
- return this;
- }
-
- // Handle HTML strings
- if ( typeof selector === "string" ) {
- // Are we dealing with HTML string or an ID?
- match = quickExpr.exec( selector );
-
- // Verify a match, and that no context was specified for #id
- if ( match && (match[1] || !context) ) {
-
- // HANDLE: $(html) -> $(array)
- if ( match[1] ) {
- doc = (context ? context.ownerDocument || context : document);
-
- // If a single string is passed in and it's a single tag
- // just do a createElement and skip the rest
- ret = rsingleTag.exec( selector );
-
- if ( ret ) {
- if ( jQuery.isPlainObject( context ) ) {
- selector = [ document.createElement( ret[1] ) ];
- jQuery.fn.attr.call( selector, context, true );
-
- } else {
- selector = [ doc.createElement( ret[1] ) ];
- }
-
- } else {
- ret = buildFragment( [ match[1] ], [ doc ] );
- selector = (ret.cacheable ? ret.fragment.cloneNode(true) : ret.fragment).childNodes;
- }
-
- return jQuery.merge( this, selector );
-
- // HANDLE: $("#id")
- } else {
- elem = document.getElementById( match[2] );
-
- if ( elem ) {
- // Handle the case where IE and Opera return items
- // by name instead of ID
- if ( elem.id !== match[2] ) {
- return rootjQuery.find( selector );
- }
-
- // Otherwise, we inject the element directly into the jQuery object
- this.length = 1;
- this[0] = elem;
- }
-
- this.context = document;
- this.selector = selector;
- return this;
- }
-
- // HANDLE: $("TAG")
- } else if ( !context && /^\w+$/.test( selector ) ) {
- this.selector = selector;
- this.context = document;
- selector = document.getElementsByTagName( selector );
- return jQuery.merge( this, selector );
-
- // HANDLE: $(expr, $(...))
- } else if ( !context || context.jquery ) {
- return (context || rootjQuery).find( selector );
-
- // HANDLE: $(expr, context)
- // (which is just equivalent to: $(context).find(expr)
- } else {
- return jQuery( context ).find( selector );
- }
-
- // HANDLE: $(function)
- // Shortcut for document ready
- } else if ( jQuery.isFunction( selector ) ) {
- return rootjQuery.ready( selector );
- }
-
- if (selector.selector !== undefined) {
- this.selector = selector.selector;
- this.context = selector.context;
- }
-
- return jQuery.makeArray( selector, this );
- },
-
- // Start with an empty selector
- selector: "",
-
- // The current version of jQuery being used
- jquery: "1.4.2",
-
- // The default length of a jQuery object is 0
- length: 0,
-
- // The number of elements contained in the matched element set
- size: function() {
- return this.length;
- },
-
- toArray: function() {
- return slice.call( this, 0 );
- },
-
- // Get the Nth element in the matched element set OR
- // Get the whole matched element set as a clean array
- get: function( num ) {
- return num == null ?
-
- // Return a 'clean' array
- this.toArray() :
-
- // Return just the object
- ( num < 0 ? this.slice(num)[ 0 ] : this[ num ] );
- },
-
- // Take an array of elements and push it onto the stack
- // (returning the new matched element set)
- pushStack: function( elems, name, selector ) {
- // Build a new jQuery matched element set
- var ret = jQuery();
-
- if ( jQuery.isArray( elems ) ) {
- push.apply( ret, elems );
-
- } else {
- jQuery.merge( ret, elems );
- }
-
- // Add the old object onto the stack (as a reference)
- ret.prevObject = this;
-
- ret.context = this.context;
-
- if ( name === "find" ) {
- ret.selector = this.selector + (this.selector ? " " : "") + selector;
- } else if ( name ) {
- ret.selector = this.selector + "." + name + "(" + selector + ")";
- }
-
- // Return the newly-formed element set
- return ret;
- },
-
- // Execute a callback for every element in the matched set.
- // (You can seed the arguments with an array of args, but this is
- // only used internally.)
- each: function( callback, args ) {
- return jQuery.each( this, callback, args );
- },
-
- ready: function( fn ) {
- // Attach the listeners
- jQuery.bindReady();
-
- // If the DOM is already ready
- if ( jQuery.isReady ) {
- // Execute the function immediately
- fn.call( document, jQuery );
-
- // Otherwise, remember the function for later
- } else if ( readyList ) {
- // Add the function to the wait list
- readyList.push( fn );
- }
-
- return this;
- },
-
- eq: function( i ) {
- return i === -1 ?
- this.slice( i ) :
- this.slice( i, +i + 1 );
- },
-
- first: function() {
- return this.eq( 0 );
- },
-
- last: function() {
- return this.eq( -1 );
- },
-
- slice: function() {
- return this.pushStack( slice.apply( this, arguments ),
- "slice", slice.call(arguments).join(",") );
- },
-
- map: function( callback ) {
- return this.pushStack( jQuery.map(this, function( elem, i ) {
- return callback.call( elem, i, elem );
- }));
- },
-
- end: function() {
- return this.prevObject || jQuery(null);
- },
-
- // For internal use only.
- // Behaves like an Array's method, not like a jQuery method.
- push: push,
- sort: [].sort,
- splice: [].splice
-};
-
-// Give the init function the jQuery prototype for later instantiation
-jQuery.fn.init.prototype = jQuery.fn;
-
-jQuery.extend = jQuery.fn.extend = function() {
- // copy reference to target object
- var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options, name, src, copy;
-
- // Handle a deep copy situation
- if ( typeof target === "boolean" ) {
- deep = target;
- target = arguments[1] || {};
- // skip the boolean and the target
- i = 2;
- }
-
- // Handle case when target is a string or something (possible in deep copy)
- if ( typeof target !== "object" && !jQuery.isFunction(target) ) {
- target = {};
- }
-
- // extend jQuery itself if only one argument is passed
- if ( length === i ) {
- target = this;
- --i;
- }
-
- for ( ; i < length; i++ ) {
- // Only deal with non-null/undefined values
- if ( (options = arguments[ i ]) != null ) {
- // Extend the base object
- for ( name in options ) {
- src = target[ name ];
- copy = options[ name ];
-
- // Prevent never-ending loop
- if ( target === copy ) {
- continue;
- }
-
- // Recurse if we're merging object literal values or arrays
- if ( deep && copy && ( jQuery.isPlainObject(copy) || jQuery.isArray(copy) ) ) {
- var clone = src && ( jQuery.isPlainObject(src) || jQuery.isArray(src) ) ? src
- : jQuery.isArray(copy) ? [] : {};
-
- // Never move original objects, clone them
- target[ name ] = jQuery.extend( deep, clone, copy );
-
- // Don't bring in undefined values
- } else if ( copy !== undefined ) {
- target[ name ] = copy;
- }
- }
- }
- }
-
- // Return the modified object
- return target;
-};
-
-jQuery.extend({
- noConflict: function( deep ) {
- window.$ = _$;
-
- if ( deep ) {
- window.jQuery = _jQuery;
- }
-
- return jQuery;
- },
-
- // Is the DOM ready to be used? Set to true once it occurs.
- isReady: false,
-
- // Handle when the DOM is ready
- ready: function() {
- // Make sure that the DOM is not already loaded
- if ( !jQuery.isReady ) {
- // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
- if ( !document.body ) {
- return setTimeout( jQuery.ready, 13 );
- }
-
- // Remember that the DOM is ready
- jQuery.isReady = true;
-
- // If there are functions bound, to execute
- if ( readyList ) {
- // Execute all of them
- var fn, i = 0;
- while ( (fn = readyList[ i++ ]) ) {
- fn.call( document, jQuery );
- }
-
- // Reset the list of functions
- readyList = null;
- }
-
- // Trigger any bound ready events
- if ( jQuery.fn.triggerHandler ) {
- jQuery( document ).triggerHandler( "ready" );
- }
- }
- },
-
- bindReady: function() {
- if ( readyBound ) {
- return;
- }
-
- readyBound = true;
-
- // Catch cases where $(document).ready() is called after the
- // browser event has already occurred.
- if ( document.readyState === "complete" ) {
- return jQuery.ready();
- }
-
- // Mozilla, Opera and webkit nightlies currently support this event
- if ( document.addEventListener ) {
- // Use the handy event callback
- document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false );
-
- // A fallback to window.onload, that will always work
- window.addEventListener( "load", jQuery.ready, false );
-
- // If IE event model is used
- } else if ( document.attachEvent ) {
- // ensure firing before onload,
- // maybe late but safe also for iframes
- document.attachEvent("onreadystatechange", DOMContentLoaded);
-
- // A fallback to window.onload, that will always work
- window.attachEvent( "onload", jQuery.ready );
-
- // If IE and not a frame
- // continually check to see if the document is ready
- var toplevel = false;
-
- try {
- toplevel = window.frameElement == null;
- } catch(e) {}
-
- if ( document.documentElement.doScroll && toplevel ) {
- doScrollCheck();
- }
- }
- },
-
- // See test/unit/core.js for details concerning isFunction.
- // Since version 1.3, DOM methods and functions like alert
- // aren't supported. They return false on IE (#2968).
- isFunction: function( obj ) {
- return toString.call(obj) === "[object Function]";
- },
-
- isArray: function( obj ) {
- return toString.call(obj) === "[object Array]";
- },
-
- isPlainObject: function( obj ) {
- // Must be an Object.
- // Because of IE, we also have to check the presence of the constructor property.
- // Make sure that DOM nodes and window objects don't pass through, as well
- if ( !obj || toString.call(obj) !== "[object Object]" || obj.nodeType || obj.setInterval ) {
- return false;
- }
-
- // Not own constructor property must be Object
- if ( obj.constructor
- && !hasOwnProperty.call(obj, "constructor")
- && !hasOwnProperty.call(obj.constructor.prototype, "isPrototypeOf") ) {
- return false;
- }
-
- // Own properties are enumerated firstly, so to speed up,
- // if last one is own, then all properties are own.
-
- var key;
- for ( key in obj ) {}
-
- return key === undefined || hasOwnProperty.call( obj, key );
- },
-
- isEmptyObject: function( obj ) {
- for ( var name in obj ) {
- return false;
- }
- return true;
- },
-
- error: function( msg ) {
- throw msg;
- },
-
- parseJSON: function( data ) {
- if ( typeof data !== "string" || !data ) {
- return null;
- }
-
- // Make sure leading/trailing whitespace is removed (IE can't handle it)
- data = jQuery.trim( data );
-
- // Make sure the incoming data is actual JSON
- // Logic borrowed from http://json.org/json2.js
- if ( /^[\],:{}\s]*$/.test(data.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, "@")
- .replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, "]")
- .replace(/(?:^|:|,)(?:\s*\[)+/g, "")) ) {
-
- // Try to use the native JSON parser first
- return window.JSON && window.JSON.parse ?
- window.JSON.parse( data ) :
- (new Function("return " + data))();
-
- } else {
- jQuery.error( "Invalid JSON: " + data );
- }
- },
-
- noop: function() {},
-
- // Evalulates a script in a global context
- globalEval: function( data ) {
- if ( data && rnotwhite.test(data) ) {
- // Inspired by code by Andrea Giammarchi
- // http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html
- var head = document.getElementsByTagName("head")[0] || document.documentElement,
- script = document.createElement("script");
-
- script.type = "text/javascript";
-
- if ( jQuery.support.scriptEval ) {
- script.appendChild( document.createTextNode( data ) );
- } else {
- script.text = data;
- }
-
- // Use insertBefore instead of appendChild to circumvent an IE6 bug.
- // This arises when a base node is used (#2709).
- head.insertBefore( script, head.firstChild );
- head.removeChild( script );
- }
- },
-
- nodeName: function( elem, name ) {
- return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase();
- },
-
- // args is for internal usage only
- each: function( object, callback, args ) {
- var name, i = 0,
- length = object.length,
- isObj = length === undefined || jQuery.isFunction(object);
-
- if ( args ) {
- if ( isObj ) {
- for ( name in object ) {
- if ( callback.apply( object[ name ], args ) === false ) {
- break;
- }
- }
- } else {
- for ( ; i < length; ) {
- if ( callback.apply( object[ i++ ], args ) === false ) {
- break;
- }
- }
- }
-
- // A special, fast, case for the most common use of each
- } else {
- if ( isObj ) {
- for ( name in object ) {
- if ( callback.call( object[ name ], name, object[ name ] ) === false ) {
- break;
- }
- }
- } else {
- for ( var value = object[0];
- i < length && callback.call( value, i, value ) !== false; value = object[++i] ) {}
- }
- }
-
- return object;
- },
-
- trim: function( text ) {
- return (text || "").replace( rtrim, "" );
- },
-
- // results is for internal usage only
- makeArray: function( array, results ) {
- var ret = results || [];
-
- if ( array != null ) {
- // The window, strings (and functions) also have 'length'
- // The extra typeof function check is to prevent crashes
- // in Safari 2 (See: #3039)
- if ( array.length == null || typeof array === "string" || jQuery.isFunction(array) || (typeof array !== "function" && array.setInterval) ) {
- push.call( ret, array );
- } else {
- jQuery.merge( ret, array );
- }
- }
-
- return ret;
- },
-
- inArray: function( elem, array ) {
- if ( array.indexOf ) {
- return array.indexOf( elem );
- }
-
- for ( var i = 0, length = array.length; i < length; i++ ) {
- if ( array[ i ] === elem ) {
- return i;
- }
- }
-
- return -1;
- },
-
- merge: function( first, second ) {
- var i = first.length, j = 0;
-
- if ( typeof second.length === "number" ) {
- for ( var l = second.length; j < l; j++ ) {
- first[ i++ ] = second[ j ];
- }
-
- } else {
- while ( second[j] !== undefined ) {
- first[ i++ ] = second[ j++ ];
- }
- }
-
- first.length = i;
-
- return first;
- },
-
- grep: function( elems, callback, inv ) {
- var ret = [];
-
- // Go through the array, only saving the items
- // that pass the validator function
- for ( var i = 0, length = elems.length; i < length; i++ ) {
- if ( !inv !== !callback( elems[ i ], i ) ) {
- ret.push( elems[ i ] );
- }
- }
-
- return ret;
- },
-
- // arg is for internal usage only
- map: function( elems, callback, arg ) {
- var ret = [], value;
-
- // Go through the array, translating each of the items to their
- // new value (or values).
- for ( var i = 0, length = elems.length; i < length; i++ ) {
- value = callback( elems[ i ], i, arg );
-
- if ( value != null ) {
- ret[ ret.length ] = value;
- }
- }
-
- return ret.concat.apply( [], ret );
- },
-
- // A global GUID counter for objects
- guid: 1,
-
- proxy: function( fn, proxy, thisObject ) {
- if ( arguments.length === 2 ) {
- if ( typeof proxy === "string" ) {
- thisObject = fn;
- fn = thisObject[ proxy ];
- proxy = undefined;
-
- } else if ( proxy && !jQuery.isFunction( proxy ) ) {
- thisObject = proxy;
- proxy = undefined;
- }
- }
-
- if ( !proxy && fn ) {
- proxy = function() {
- return fn.apply( thisObject || this, arguments );
- };
- }
-
- // Set the guid of unique handler to the same of original handler, so it can be removed
- if ( fn ) {
- proxy.guid = fn.guid = fn.guid || proxy.guid || jQuery.guid++;
- }
-
- // So proxy can be declared as an argument
- return proxy;
- },
-
- // Use of jQuery.browser is frowned upon.
- // More details: http://docs.jquery.com/Utilities/jQuery.browser
- uaMatch: function( ua ) {
- ua = ua.toLowerCase();
-
- var match = /(webkit)[ \/]([\w.]+)/.exec( ua ) ||
- /(opera)(?:.*version)?[ \/]([\w.]+)/.exec( ua ) ||
- /(msie) ([\w.]+)/.exec( ua ) ||
- !/compatible/.test( ua ) && /(mozilla)(?:.*? rv:([\w.]+))?/.exec( ua ) ||
- [];
-
- return { browser: match[1] || "", version: match[2] || "0" };
- },
-
- browser: {}
-});
-
-browserMatch = jQuery.uaMatch( userAgent );
-if ( browserMatch.browser ) {
- jQuery.browser[ browserMatch.browser ] = true;
- jQuery.browser.version = browserMatch.version;
-}
-
-// Deprecated, use jQuery.browser.webkit instead
-if ( jQuery.browser.webkit ) {
- jQuery.browser.safari = true;
-}
-
-if ( indexOf ) {
- jQuery.inArray = function( elem, array ) {
- return indexOf.call( array, elem );
- };
-}
-
-// All jQuery objects should point back to these
-rootjQuery = jQuery(document);
-
-// Cleanup functions for the document ready method
-if ( document.addEventListener ) {
- DOMContentLoaded = function() {
- document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false );
- jQuery.ready();
- };
-
-} else if ( document.attachEvent ) {
- DOMContentLoaded = function() {
- // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
- if ( document.readyState === "complete" ) {
- document.detachEvent( "onreadystatechange", DOMContentLoaded );
- jQuery.ready();
- }
- };
-}
-
-// The DOM ready check for Internet Explorer
-function doScrollCheck() {
- if ( jQuery.isReady ) {
- return;
- }
-
- try {
- // If IE is used, use the trick by Diego Perini
- // http://javascript.nwbox.com/IEContentLoaded/
- document.documentElement.doScroll("left");
- } catch( error ) {
- setTimeout( doScrollCheck, 1 );
- return;
- }
-
- // and execute any waiting functions
- jQuery.ready();
-}
-
-function evalScript( i, elem ) {
- if ( elem.src ) {
- jQuery.ajax({
- url: elem.src,
- async: false,
- dataType: "script"
- });
- } else {
- jQuery.globalEval( elem.text || elem.textContent || elem.innerHTML || "" );
- }
-
- if ( elem.parentNode ) {
- elem.parentNode.removeChild( elem );
- }
-}
-
-// Mutifunctional method to get and set values to a collection
-// The value/s can be optionally by executed if its a function
-function access( elems, key, value, exec, fn, pass ) {
- var length = elems.length;
-
- // Setting many attributes
- if ( typeof key === "object" ) {
- for ( var k in key ) {
- access( elems, k, key[k], exec, fn, value );
- }
- return elems;
- }
-
- // Setting one attribute
- if ( value !== undefined ) {
- // Optionally, function values get executed if exec is true
- exec = !pass && exec && jQuery.isFunction(value);
-
- for ( var i = 0; i < length; i++ ) {
- fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass );
- }
-
- return elems;
- }
-
- // Getting an attribute
- return length ? fn( elems[0], key ) : undefined;
-}
-
-function now() {
- return (new Date).getTime();
-}
-(function() {
-
- jQuery.support = {};
-
- var root = document.documentElement,
- script = document.createElement("script"),
- div = document.createElement("div"),
- id = "script" + now();
-
- div.style.display = "none";
- div.innerHTML = " a ";
-
- var all = div.getElementsByTagName("*"),
- a = div.getElementsByTagName("a")[0];
-
- // Can't get basic test support
- if ( !all || !all.length || !a ) {
- return;
- }
-
- jQuery.support = {
- // IE strips leading whitespace when .innerHTML is used
- leadingWhitespace: div.firstChild.nodeType === 3,
-
- // Make sure that tbody elements aren't automatically inserted
- // IE will insert them into empty tables
- tbody: !div.getElementsByTagName("tbody").length,
-
- // Make sure that link elements get serialized correctly by innerHTML
- // This requires a wrapper element in IE
- htmlSerialize: !!div.getElementsByTagName("link").length,
-
- // Get the style information from getAttribute
- // (IE uses .cssText insted)
- style: /red/.test( a.getAttribute("style") ),
-
- // Make sure that URLs aren't manipulated
- // (IE normalizes it by default)
- hrefNormalized: a.getAttribute("href") === "/a",
-
- // Make sure that element opacity exists
- // (IE uses filter instead)
- // Use a regex to work around a WebKit issue. See #5145
- opacity: /^0.55$/.test( a.style.opacity ),
-
- // Verify style float existence
- // (IE uses styleFloat instead of cssFloat)
- cssFloat: !!a.style.cssFloat,
-
- // Make sure that if no value is specified for a checkbox
- // that it defaults to "on".
- // (WebKit defaults to "" instead)
- checkOn: div.getElementsByTagName("input")[0].value === "on",
-
- // Make sure that a selected-by-default option has a working selected property.
- // (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
- optSelected: document.createElement("select").appendChild( document.createElement("option") ).selected,
-
- parentNode: div.removeChild( div.appendChild( document.createElement("div") ) ).parentNode === null,
-
- // Will be defined later
- deleteExpando: true,
- checkClone: false,
- scriptEval: false,
- noCloneEvent: true,
- boxModel: null
- };
-
- script.type = "text/javascript";
- try {
- script.appendChild( document.createTextNode( "window." + id + "=1;" ) );
- } catch(e) {}
-
- root.insertBefore( script, root.firstChild );
-
- // Make sure that the execution of code works by injecting a script
- // tag with appendChild/createTextNode
- // (IE doesn't support this, fails, and uses .text instead)
- if ( window[ id ] ) {
- jQuery.support.scriptEval = true;
- delete window[ id ];
- }
-
- // Test to see if it's possible to delete an expando from an element
- // Fails in Internet Explorer
- try {
- delete script.test;
-
- } catch(e) {
- jQuery.support.deleteExpando = false;
- }
-
- root.removeChild( script );
-
- if ( div.attachEvent && div.fireEvent ) {
- div.attachEvent("onclick", function click() {
- // Cloning a node shouldn't copy over any
- // bound event handlers (IE does this)
- jQuery.support.noCloneEvent = false;
- div.detachEvent("onclick", click);
- });
- div.cloneNode(true).fireEvent("onclick");
- }
-
- div = document.createElement("div");
- div.innerHTML = " ";
-
- var fragment = document.createDocumentFragment();
- fragment.appendChild( div.firstChild );
-
- // WebKit doesn't clone checked state correctly in fragments
- jQuery.support.checkClone = fragment.cloneNode(true).cloneNode(true).lastChild.checked;
-
- // Figure out if the W3C box model works as expected
- // document.body must exist before we can do this
- jQuery(function() {
- var div = document.createElement("div");
- div.style.width = div.style.paddingLeft = "1px";
-
- document.body.appendChild( div );
- jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2;
- document.body.removeChild( div ).style.display = 'none';
-
- div = null;
- });
-
- // Technique from Juriy Zaytsev
- // http://thinkweb2.com/projects/prototype/detecting-event-support-without-browser-sniffing/
- var eventSupported = function( eventName ) {
- var el = document.createElement("div");
- eventName = "on" + eventName;
-
- var isSupported = (eventName in el);
- if ( !isSupported ) {
- el.setAttribute(eventName, "return;");
- isSupported = typeof el[eventName] === "function";
- }
- el = null;
-
- return isSupported;
- };
-
- jQuery.support.submitBubbles = eventSupported("submit");
- jQuery.support.changeBubbles = eventSupported("change");
-
- // release memory in IE
- root = script = div = all = a = null;
-})();
-
-jQuery.props = {
- "for": "htmlFor",
- "class": "className",
- readonly: "readOnly",
- maxlength: "maxLength",
- cellspacing: "cellSpacing",
- rowspan: "rowSpan",
- colspan: "colSpan",
- tabindex: "tabIndex",
- usemap: "useMap",
- frameborder: "frameBorder"
-};
-var expando = "jQuery" + now(), uuid = 0, windowData = {};
-
-jQuery.extend({
- cache: {},
-
- expando:expando,
-
- // The following elements throw uncatchable exceptions if you
- // attempt to add expando properties to them.
- noData: {
- "embed": true,
- "object": true,
- "applet": true
- },
-
- data: function( elem, name, data ) {
- if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) {
- return;
- }
-
- elem = elem == window ?
- windowData :
- elem;
-
- var id = elem[ expando ], cache = jQuery.cache, thisCache;
-
- if ( !id && typeof name === "string" && data === undefined ) {
- return null;
- }
-
- // Compute a unique ID for the element
- if ( !id ) {
- id = ++uuid;
- }
-
- // Avoid generating a new cache unless none exists and we
- // want to manipulate it.
- if ( typeof name === "object" ) {
- elem[ expando ] = id;
- thisCache = cache[ id ] = jQuery.extend(true, {}, name);
-
- } else if ( !cache[ id ] ) {
- elem[ expando ] = id;
- cache[ id ] = {};
- }
-
- thisCache = cache[ id ];
-
- // Prevent overriding the named cache with undefined values
- if ( data !== undefined ) {
- thisCache[ name ] = data;
- }
-
- return typeof name === "string" ? thisCache[ name ] : thisCache;
- },
-
- removeData: function( elem, name ) {
- if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) {
- return;
- }
-
- elem = elem == window ?
- windowData :
- elem;
-
- var id = elem[ expando ], cache = jQuery.cache, thisCache = cache[ id ];
-
- // If we want to remove a specific section of the element's data
- if ( name ) {
- if ( thisCache ) {
- // Remove the section of cache data
- delete thisCache[ name ];
-
- // If we've removed all the data, remove the element's cache
- if ( jQuery.isEmptyObject(thisCache) ) {
- jQuery.removeData( elem );
- }
- }
-
- // Otherwise, we want to remove all of the element's data
- } else {
- if ( jQuery.support.deleteExpando ) {
- delete elem[ jQuery.expando ];
-
- } else if ( elem.removeAttribute ) {
- elem.removeAttribute( jQuery.expando );
- }
-
- // Completely remove the data cache
- delete cache[ id ];
- }
- }
-});
-
-jQuery.fn.extend({
- data: function( key, value ) {
- if ( typeof key === "undefined" && this.length ) {
- return jQuery.data( this[0] );
-
- } else if ( typeof key === "object" ) {
- return this.each(function() {
- jQuery.data( this, key );
- });
- }
-
- var parts = key.split(".");
- parts[1] = parts[1] ? "." + parts[1] : "";
-
- if ( value === undefined ) {
- var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]);
-
- if ( data === undefined && this.length ) {
- data = jQuery.data( this[0], key );
- }
- return data === undefined && parts[1] ?
- this.data( parts[0] ) :
- data;
- } else {
- return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function() {
- jQuery.data( this, key, value );
- });
- }
- },
-
- removeData: function( key ) {
- return this.each(function() {
- jQuery.removeData( this, key );
- });
- }
-});
-jQuery.extend({
- queue: function( elem, type, data ) {
- if ( !elem ) {
- return;
- }
-
- type = (type || "fx") + "queue";
- var q = jQuery.data( elem, type );
-
- // Speed up dequeue by getting out quickly if this is just a lookup
- if ( !data ) {
- return q || [];
- }
-
- if ( !q || jQuery.isArray(data) ) {
- q = jQuery.data( elem, type, jQuery.makeArray(data) );
-
- } else {
- q.push( data );
- }
-
- return q;
- },
-
- dequeue: function( elem, type ) {
- type = type || "fx";
-
- var queue = jQuery.queue( elem, type ), fn = queue.shift();
-
- // If the fx queue is dequeued, always remove the progress sentinel
- if ( fn === "inprogress" ) {
- fn = queue.shift();
- }
-
- if ( fn ) {
- // Add a progress sentinel to prevent the fx queue from being
- // automatically dequeued
- if ( type === "fx" ) {
- queue.unshift("inprogress");
- }
-
- fn.call(elem, function() {
- jQuery.dequeue(elem, type);
- });
- }
- }
-});
-
-jQuery.fn.extend({
- queue: function( type, data ) {
- if ( typeof type !== "string" ) {
- data = type;
- type = "fx";
- }
-
- if ( data === undefined ) {
- return jQuery.queue( this[0], type );
- }
- return this.each(function( i, elem ) {
- var queue = jQuery.queue( this, type, data );
-
- if ( type === "fx" && queue[0] !== "inprogress" ) {
- jQuery.dequeue( this, type );
- }
- });
- },
- dequeue: function( type ) {
- return this.each(function() {
- jQuery.dequeue( this, type );
- });
- },
-
- // Based off of the plugin by Clint Helfers, with permission.
- // http://blindsignals.com/index.php/2009/07/jquery-delay/
- delay: function( time, type ) {
- time = jQuery.fx ? jQuery.fx.speeds[time] || time : time;
- type = type || "fx";
-
- return this.queue( type, function() {
- var elem = this;
- setTimeout(function() {
- jQuery.dequeue( elem, type );
- }, time );
- });
- },
-
- clearQueue: function( type ) {
- return this.queue( type || "fx", [] );
- }
-});
-var rclass = /[\n\t]/g,
- rspace = /\s+/,
- rreturn = /\r/g,
- rspecialurl = /href|src|style/,
- rtype = /(button|input)/i,
- rfocusable = /(button|input|object|select|textarea)/i,
- rclickable = /^(a|area)$/i,
- rradiocheck = /radio|checkbox/;
-
-jQuery.fn.extend({
- attr: function( name, value ) {
- return access( this, name, value, true, jQuery.attr );
- },
-
- removeAttr: function( name, fn ) {
- return this.each(function(){
- jQuery.attr( this, name, "" );
- if ( this.nodeType === 1 ) {
- this.removeAttribute( name );
- }
- });
- },
-
- addClass: function( value ) {
- if ( jQuery.isFunction(value) ) {
- return this.each(function(i) {
- var self = jQuery(this);
- self.addClass( value.call(this, i, self.attr("class")) );
- });
- }
-
- if ( value && typeof value === "string" ) {
- var classNames = (value || "").split( rspace );
-
- for ( var i = 0, l = this.length; i < l; i++ ) {
- var elem = this[i];
-
- if ( elem.nodeType === 1 ) {
- if ( !elem.className ) {
- elem.className = value;
-
- } else {
- var className = " " + elem.className + " ", setClass = elem.className;
- for ( var c = 0, cl = classNames.length; c < cl; c++ ) {
- if ( className.indexOf( " " + classNames[c] + " " ) < 0 ) {
- setClass += " " + classNames[c];
- }
- }
- elem.className = jQuery.trim( setClass );
- }
- }
- }
- }
-
- return this;
- },
-
- removeClass: function( value ) {
- if ( jQuery.isFunction(value) ) {
- return this.each(function(i) {
- var self = jQuery(this);
- self.removeClass( value.call(this, i, self.attr("class")) );
- });
- }
-
- if ( (value && typeof value === "string") || value === undefined ) {
- var classNames = (value || "").split(rspace);
-
- for ( var i = 0, l = this.length; i < l; i++ ) {
- var elem = this[i];
-
- if ( elem.nodeType === 1 && elem.className ) {
- if ( value ) {
- var className = (" " + elem.className + " ").replace(rclass, " ");
- for ( var c = 0, cl = classNames.length; c < cl; c++ ) {
- className = className.replace(" " + classNames[c] + " ", " ");
- }
- elem.className = jQuery.trim( className );
-
- } else {
- elem.className = "";
- }
- }
- }
- }
-
- return this;
- },
-
- toggleClass: function( value, stateVal ) {
- var type = typeof value, isBool = typeof stateVal === "boolean";
-
- if ( jQuery.isFunction( value ) ) {
- return this.each(function(i) {
- var self = jQuery(this);
- self.toggleClass( value.call(this, i, self.attr("class"), stateVal), stateVal );
- });
- }
-
- return this.each(function() {
- if ( type === "string" ) {
- // toggle individual class names
- var className, i = 0, self = jQuery(this),
- state = stateVal,
- classNames = value.split( rspace );
-
- while ( (className = classNames[ i++ ]) ) {
- // check each className given, space seperated list
- state = isBool ? state : !self.hasClass( className );
- self[ state ? "addClass" : "removeClass" ]( className );
- }
-
- } else if ( type === "undefined" || type === "boolean" ) {
- if ( this.className ) {
- // store className if set
- jQuery.data( this, "__className__", this.className );
- }
-
- // toggle whole className
- this.className = this.className || value === false ? "" : jQuery.data( this, "__className__" ) || "";
- }
- });
- },
-
- hasClass: function( selector ) {
- var className = " " + selector + " ";
- for ( var i = 0, l = this.length; i < l; i++ ) {
- if ( (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) > -1 ) {
- return true;
- }
- }
-
- return false;
- },
-
- val: function( value ) {
- if ( value === undefined ) {
- var elem = this[0];
-
- if ( elem ) {
- if ( jQuery.nodeName( elem, "option" ) ) {
- return (elem.attributes.value || {}).specified ? elem.value : elem.text;
- }
-
- // We need to handle select boxes special
- if ( jQuery.nodeName( elem, "select" ) ) {
- var index = elem.selectedIndex,
- values = [],
- options = elem.options,
- one = elem.type === "select-one";
-
- // Nothing was selected
- if ( index < 0 ) {
- return null;
- }
-
- // Loop through all the selected options
- for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) {
- var option = options[ i ];
-
- if ( option.selected ) {
- // Get the specifc value for the option
- value = jQuery(option).val();
-
- // We don't need an array for one selects
- if ( one ) {
- return value;
- }
-
- // Multi-Selects return an array
- values.push( value );
- }
- }
-
- return values;
- }
-
- // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified
- if ( rradiocheck.test( elem.type ) && !jQuery.support.checkOn ) {
- return elem.getAttribute("value") === null ? "on" : elem.value;
- }
-
-
- // Everything else, we just grab the value
- return (elem.value || "").replace(rreturn, "");
-
- }
-
- return undefined;
- }
-
- var isFunction = jQuery.isFunction(value);
-
- return this.each(function(i) {
- var self = jQuery(this), val = value;
-
- if ( this.nodeType !== 1 ) {
- return;
- }
-
- if ( isFunction ) {
- val = value.call(this, i, self.val());
- }
-
- // Typecast each time if the value is a Function and the appended
- // value is therefore different each time.
- if ( typeof val === "number" ) {
- val += "";
- }
-
- if ( jQuery.isArray(val) && rradiocheck.test( this.type ) ) {
- this.checked = jQuery.inArray( self.val(), val ) >= 0;
-
- } else if ( jQuery.nodeName( this, "select" ) ) {
- var values = jQuery.makeArray(val);
-
- jQuery( "option", this ).each(function() {
- this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0;
- });
-
- if ( !values.length ) {
- this.selectedIndex = -1;
- }
-
- } else {
- this.value = val;
- }
- });
- }
-});
-
-jQuery.extend({
- attrFn: {
- val: true,
- css: true,
- html: true,
- text: true,
- data: true,
- width: true,
- height: true,
- offset: true
- },
-
- attr: function( elem, name, value, pass ) {
- // don't set attributes on text and comment nodes
- if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) {
- return undefined;
- }
-
- if ( pass && name in jQuery.attrFn ) {
- return jQuery(elem)[name](value);
- }
-
- var notxml = elem.nodeType !== 1 || !jQuery.isXMLDoc( elem ),
- // Whether we are setting (or getting)
- set = value !== undefined;
-
- // Try to normalize/fix the name
- name = notxml && jQuery.props[ name ] || name;
-
- // Only do all the following if this is a node (faster for style)
- if ( elem.nodeType === 1 ) {
- // These attributes require special treatment
- var special = rspecialurl.test( name );
-
- // Safari mis-reports the default selected property of an option
- // Accessing the parent's selectedIndex property fixes it
- if ( name === "selected" && !jQuery.support.optSelected ) {
- var parent = elem.parentNode;
- if ( parent ) {
- parent.selectedIndex;
-
- // Make sure that it also works with optgroups, see #5701
- if ( parent.parentNode ) {
- parent.parentNode.selectedIndex;
- }
- }
- }
-
- // If applicable, access the attribute via the DOM 0 way
- if ( name in elem && notxml && !special ) {
- if ( set ) {
- // We can't allow the type property to be changed (since it causes problems in IE)
- if ( name === "type" && rtype.test( elem.nodeName ) && elem.parentNode ) {
- jQuery.error( "type property can't be changed" );
- }
-
- elem[ name ] = value;
- }
-
- // browsers index elements by id/name on forms, give priority to attributes.
- if ( jQuery.nodeName( elem, "form" ) && elem.getAttributeNode(name) ) {
- return elem.getAttributeNode( name ).nodeValue;
- }
-
- // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set
- // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
- if ( name === "tabIndex" ) {
- var attributeNode = elem.getAttributeNode( "tabIndex" );
-
- return attributeNode && attributeNode.specified ?
- attributeNode.value :
- rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ?
- 0 :
- undefined;
- }
-
- return elem[ name ];
- }
-
- if ( !jQuery.support.style && notxml && name === "style" ) {
- if ( set ) {
- elem.style.cssText = "" + value;
- }
-
- return elem.style.cssText;
- }
-
- if ( set ) {
- // convert the value to a string (all browsers do this but IE) see #1070
- elem.setAttribute( name, "" + value );
- }
-
- var attr = !jQuery.support.hrefNormalized && notxml && special ?
- // Some attributes require a special call on IE
- elem.getAttribute( name, 2 ) :
- elem.getAttribute( name );
-
- // Non-existent attributes return null, we normalize to undefined
- return attr === null ? undefined : attr;
- }
-
- // elem is actually elem.style ... set the style
- // Using attr for specific style information is now deprecated. Use style instead.
- return jQuery.style( elem, name, value );
- }
-});
-var rnamespaces = /\.(.*)$/,
- fcleanup = function( nm ) {
- return nm.replace(/[^\w\s\.\|`]/g, function( ch ) {
- return "\\" + ch;
- });
- };
-
-/*
- * A number of helper functions used for managing events.
- * Many of the ideas behind this code originated from
- * Dean Edwards' addEvent library.
- */
-jQuery.event = {
-
- // Bind an event to an element
- // Original by Dean Edwards
- add: function( elem, types, handler, data ) {
- if ( elem.nodeType === 3 || elem.nodeType === 8 ) {
- return;
- }
-
- // For whatever reason, IE has trouble passing the window object
- // around, causing it to be cloned in the process
- if ( elem.setInterval && ( elem !== window && !elem.frameElement ) ) {
- elem = window;
- }
-
- var handleObjIn, handleObj;
-
- if ( handler.handler ) {
- handleObjIn = handler;
- handler = handleObjIn.handler;
- }
-
- // Make sure that the function being executed has a unique ID
- if ( !handler.guid ) {
- handler.guid = jQuery.guid++;
- }
-
- // Init the element's event structure
- var elemData = jQuery.data( elem );
-
- // If no elemData is found then we must be trying to bind to one of the
- // banned noData elements
- if ( !elemData ) {
- return;
- }
-
- var events = elemData.events = elemData.events || {},
- eventHandle = elemData.handle, eventHandle;
-
- if ( !eventHandle ) {
- elemData.handle = eventHandle = function() {
- // Handle the second event of a trigger and when
- // an event is called after a page has unloaded
- return typeof jQuery !== "undefined" && !jQuery.event.triggered ?
- jQuery.event.handle.apply( eventHandle.elem, arguments ) :
- undefined;
- };
- }
-
- // Add elem as a property of the handle function
- // This is to prevent a memory leak with non-native events in IE.
- eventHandle.elem = elem;
-
- // Handle multiple events separated by a space
- // jQuery(...).bind("mouseover mouseout", fn);
- types = types.split(" ");
-
- var type, i = 0, namespaces;
-
- while ( (type = types[ i++ ]) ) {
- handleObj = handleObjIn ?
- jQuery.extend({}, handleObjIn) :
- { handler: handler, data: data };
-
- // Namespaced event handlers
- if ( type.indexOf(".") > -1 ) {
- namespaces = type.split(".");
- type = namespaces.shift();
- handleObj.namespace = namespaces.slice(0).sort().join(".");
-
- } else {
- namespaces = [];
- handleObj.namespace = "";
- }
-
- handleObj.type = type;
- handleObj.guid = handler.guid;
-
- // Get the current list of functions bound to this event
- var handlers = events[ type ],
- special = jQuery.event.special[ type ] || {};
-
- // Init the event handler queue
- if ( !handlers ) {
- handlers = events[ type ] = [];
-
- // Check for a special event handler
- // Only use addEventListener/attachEvent if the special
- // events handler returns false
- if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {
- // Bind the global event handler to the element
- if ( elem.addEventListener ) {
- elem.addEventListener( type, eventHandle, false );
-
- } else if ( elem.attachEvent ) {
- elem.attachEvent( "on" + type, eventHandle );
- }
- }
- }
-
- if ( special.add ) {
- special.add.call( elem, handleObj );
-
- if ( !handleObj.handler.guid ) {
- handleObj.handler.guid = handler.guid;
- }
- }
-
- // Add the function to the element's handler list
- handlers.push( handleObj );
-
- // Keep track of which events have been used, for global triggering
- jQuery.event.global[ type ] = true;
- }
-
- // Nullify elem to prevent memory leaks in IE
- elem = null;
- },
-
- global: {},
-
- // Detach an event or set of events from an element
- remove: function( elem, types, handler, pos ) {
- // don't do events on text and comment nodes
- if ( elem.nodeType === 3 || elem.nodeType === 8 ) {
- return;
- }
-
- var ret, type, fn, i = 0, all, namespaces, namespace, special, eventType, handleObj, origType,
- elemData = jQuery.data( elem ),
- events = elemData && elemData.events;
-
- if ( !elemData || !events ) {
- return;
- }
-
- // types is actually an event object here
- if ( types && types.type ) {
- handler = types.handler;
- types = types.type;
- }
-
- // Unbind all events for the element
- if ( !types || typeof types === "string" && types.charAt(0) === "." ) {
- types = types || "";
-
- for ( type in events ) {
- jQuery.event.remove( elem, type + types );
- }
-
- return;
- }
-
- // Handle multiple events separated by a space
- // jQuery(...).unbind("mouseover mouseout", fn);
- types = types.split(" ");
-
- while ( (type = types[ i++ ]) ) {
- origType = type;
- handleObj = null;
- all = type.indexOf(".") < 0;
- namespaces = [];
-
- if ( !all ) {
- // Namespaced event handlers
- namespaces = type.split(".");
- type = namespaces.shift();
-
- namespace = new RegExp("(^|\\.)" +
- jQuery.map( namespaces.slice(0).sort(), fcleanup ).join("\\.(?:.*\\.)?") + "(\\.|$)")
- }
-
- eventType = events[ type ];
-
- if ( !eventType ) {
- continue;
- }
-
- if ( !handler ) {
- for ( var j = 0; j < eventType.length; j++ ) {
- handleObj = eventType[ j ];
-
- if ( all || namespace.test( handleObj.namespace ) ) {
- jQuery.event.remove( elem, origType, handleObj.handler, j );
- eventType.splice( j--, 1 );
- }
- }
-
- continue;
- }
-
- special = jQuery.event.special[ type ] || {};
-
- for ( var j = pos || 0; j < eventType.length; j++ ) {
- handleObj = eventType[ j ];
-
- if ( handler.guid === handleObj.guid ) {
- // remove the given handler for the given type
- if ( all || namespace.test( handleObj.namespace ) ) {
- if ( pos == null ) {
- eventType.splice( j--, 1 );
- }
-
- if ( special.remove ) {
- special.remove.call( elem, handleObj );
- }
- }
-
- if ( pos != null ) {
- break;
- }
- }
- }
-
- // remove generic event handler if no more handlers exist
- if ( eventType.length === 0 || pos != null && eventType.length === 1 ) {
- if ( !special.teardown || special.teardown.call( elem, namespaces ) === false ) {
- removeEvent( elem, type, elemData.handle );
- }
-
- ret = null;
- delete events[ type ];
- }
- }
-
- // Remove the expando if it's no longer used
- if ( jQuery.isEmptyObject( events ) ) {
- var handle = elemData.handle;
- if ( handle ) {
- handle.elem = null;
- }
-
- delete elemData.events;
- delete elemData.handle;
-
- if ( jQuery.isEmptyObject( elemData ) ) {
- jQuery.removeData( elem );
- }
- }
- },
-
- // bubbling is internal
- trigger: function( event, data, elem /*, bubbling */ ) {
- // Event object or event type
- var type = event.type || event,
- bubbling = arguments[3];
-
- if ( !bubbling ) {
- event = typeof event === "object" ?
- // jQuery.Event object
- event[expando] ? event :
- // Object literal
- jQuery.extend( jQuery.Event(type), event ) :
- // Just the event type (string)
- jQuery.Event(type);
-
- if ( type.indexOf("!") >= 0 ) {
- event.type = type = type.slice(0, -1);
- event.exclusive = true;
- }
-
- // Handle a global trigger
- if ( !elem ) {
- // Don't bubble custom events when global (to avoid too much overhead)
- event.stopPropagation();
-
- // Only trigger if we've ever bound an event for it
- if ( jQuery.event.global[ type ] ) {
- jQuery.each( jQuery.cache, function() {
- if ( this.events && this.events[type] ) {
- jQuery.event.trigger( event, data, this.handle.elem );
- }
- });
- }
- }
-
- // Handle triggering a single element
-
- // don't do events on text and comment nodes
- if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 ) {
- return undefined;
- }
-
- // Clean up in case it is reused
- event.result = undefined;
- event.target = elem;
-
- // Clone the incoming data, if any
- data = jQuery.makeArray( data );
- data.unshift( event );
- }
-
- event.currentTarget = elem;
-
- // Trigger the event, it is assumed that "handle" is a function
- var handle = jQuery.data( elem, "handle" );
- if ( handle ) {
- handle.apply( elem, data );
- }
-
- var parent = elem.parentNode || elem.ownerDocument;
-
- // Trigger an inline bound script
- try {
- if ( !(elem && elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()]) ) {
- if ( elem[ "on" + type ] && elem[ "on" + type ].apply( elem, data ) === false ) {
- event.result = false;
- }
- }
-
- // prevent IE from throwing an error for some elements with some event types, see #3533
- } catch (e) {}
-
- if ( !event.isPropagationStopped() && parent ) {
- jQuery.event.trigger( event, data, parent, true );
-
- } else if ( !event.isDefaultPrevented() ) {
- var target = event.target, old,
- isClick = jQuery.nodeName(target, "a") && type === "click",
- special = jQuery.event.special[ type ] || {};
-
- if ( (!special._default || special._default.call( elem, event ) === false) &&
- !isClick && !(target && target.nodeName && jQuery.noData[target.nodeName.toLowerCase()]) ) {
-
- try {
- if ( target[ type ] ) {
- // Make sure that we don't accidentally re-trigger the onFOO events
- old = target[ "on" + type ];
-
- if ( old ) {
- target[ "on" + type ] = null;
- }
-
- jQuery.event.triggered = true;
- target[ type ]();
- }
-
- // prevent IE from throwing an error for some elements with some event types, see #3533
- } catch (e) {}
-
- if ( old ) {
- target[ "on" + type ] = old;
- }
-
- jQuery.event.triggered = false;
- }
- }
- },
-
- handle: function( event ) {
- var all, handlers, namespaces, namespace, events;
-
- event = arguments[0] = jQuery.event.fix( event || window.event );
- event.currentTarget = this;
-
- // Namespaced event handlers
- all = event.type.indexOf(".") < 0 && !event.exclusive;
-
- if ( !all ) {
- namespaces = event.type.split(".");
- event.type = namespaces.shift();
- namespace = new RegExp("(^|\\.)" + namespaces.slice(0).sort().join("\\.(?:.*\\.)?") + "(\\.|$)");
- }
-
- var events = jQuery.data(this, "events"), handlers = events[ event.type ];
-
- if ( events && handlers ) {
- // Clone the handlers to prevent manipulation
- handlers = handlers.slice(0);
-
- for ( var j = 0, l = handlers.length; j < l; j++ ) {
- var handleObj = handlers[ j ];
-
- // Filter the functions by class
- if ( all || namespace.test( handleObj.namespace ) ) {
- // Pass in a reference to the handler function itself
- // So that we can later remove it
- event.handler = handleObj.handler;
- event.data = handleObj.data;
- event.handleObj = handleObj;
-
- var ret = handleObj.handler.apply( this, arguments );
-
- if ( ret !== undefined ) {
- event.result = ret;
- if ( ret === false ) {
- event.preventDefault();
- event.stopPropagation();
- }
- }
-
- if ( event.isImmediatePropagationStopped() ) {
- break;
- }
- }
- }
- }
-
- return event.result;
- },
-
- props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
-
- fix: function( event ) {
- if ( event[ expando ] ) {
- return event;
- }
-
- // store a copy of the original event object
- // and "clone" to set read-only properties
- var originalEvent = event;
- event = jQuery.Event( originalEvent );
-
- for ( var i = this.props.length, prop; i; ) {
- prop = this.props[ --i ];
- event[ prop ] = originalEvent[ prop ];
- }
-
- // Fix target property, if necessary
- if ( !event.target ) {
- event.target = event.srcElement || document; // Fixes #1925 where srcElement might not be defined either
- }
-
- // check if target is a textnode (safari)
- if ( event.target.nodeType === 3 ) {
- event.target = event.target.parentNode;
- }
-
- // Add relatedTarget, if necessary
- if ( !event.relatedTarget && event.fromElement ) {
- event.relatedTarget = event.fromElement === event.target ? event.toElement : event.fromElement;
- }
-
- // Calculate pageX/Y if missing and clientX/Y available
- if ( event.pageX == null && event.clientX != null ) {
- var doc = document.documentElement, body = document.body;
- event.pageX = event.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc && doc.clientLeft || body && body.clientLeft || 0);
- event.pageY = event.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc && doc.clientTop || body && body.clientTop || 0);
- }
-
- // Add which for key events
- if ( !event.which && ((event.charCode || event.charCode === 0) ? event.charCode : event.keyCode) ) {
- event.which = event.charCode || event.keyCode;
- }
-
- // Add metaKey to non-Mac browsers (use ctrl for PC's and Meta for Macs)
- if ( !event.metaKey && event.ctrlKey ) {
- event.metaKey = event.ctrlKey;
- }
-
- // Add which for click: 1 === left; 2 === middle; 3 === right
- // Note: button is not normalized, so don't use it
- if ( !event.which && event.button !== undefined ) {
- event.which = (event.button & 1 ? 1 : ( event.button & 2 ? 3 : ( event.button & 4 ? 2 : 0 ) ));
- }
-
- return event;
- },
-
- // Deprecated, use jQuery.guid instead
- guid: 1E8,
-
- // Deprecated, use jQuery.proxy instead
- proxy: jQuery.proxy,
-
- special: {
- ready: {
- // Make sure the ready event is setup
- setup: jQuery.bindReady,
- teardown: jQuery.noop
- },
-
- live: {
- add: function( handleObj ) {
- jQuery.event.add( this, handleObj.origType, jQuery.extend({}, handleObj, {handler: liveHandler}) );
- },
-
- remove: function( handleObj ) {
- var remove = true,
- type = handleObj.origType.replace(rnamespaces, "");
-
- jQuery.each( jQuery.data(this, "events").live || [], function() {
- if ( type === this.origType.replace(rnamespaces, "") ) {
- remove = false;
- return false;
- }
- });
-
- if ( remove ) {
- jQuery.event.remove( this, handleObj.origType, liveHandler );
- }
- }
-
- },
-
- beforeunload: {
- setup: function( data, namespaces, eventHandle ) {
- // We only want to do this special case on windows
- if ( this.setInterval ) {
- this.onbeforeunload = eventHandle;
- }
-
- return false;
- },
- teardown: function( namespaces, eventHandle ) {
- if ( this.onbeforeunload === eventHandle ) {
- this.onbeforeunload = null;
- }
- }
- }
- }
-};
-
-var removeEvent = document.removeEventListener ?
- function( elem, type, handle ) {
- elem.removeEventListener( type, handle, false );
- } :
- function( elem, type, handle ) {
- elem.detachEvent( "on" + type, handle );
- };
-
-jQuery.Event = function( src ) {
- // Allow instantiation without the 'new' keyword
- if ( !this.preventDefault ) {
- return new jQuery.Event( src );
- }
-
- // Event object
- if ( src && src.type ) {
- this.originalEvent = src;
- this.type = src.type;
- // Event type
- } else {
- this.type = src;
- }
-
- // timeStamp is buggy for some events on Firefox(#3843)
- // So we won't rely on the native value
- this.timeStamp = now();
-
- // Mark it as fixed
- this[ expando ] = true;
-};
-
-function returnFalse() {
- return false;
-}
-function returnTrue() {
- return true;
-}
-
-// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
-// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
-jQuery.Event.prototype = {
- preventDefault: function() {
- this.isDefaultPrevented = returnTrue;
-
- var e = this.originalEvent;
- if ( !e ) {
- return;
- }
-
- // if preventDefault exists run it on the original event
- if ( e.preventDefault ) {
- e.preventDefault();
- }
- // otherwise set the returnValue property of the original event to false (IE)
- e.returnValue = false;
- },
- stopPropagation: function() {
- this.isPropagationStopped = returnTrue;
-
- var e = this.originalEvent;
- if ( !e ) {
- return;
- }
- // if stopPropagation exists run it on the original event
- if ( e.stopPropagation ) {
- e.stopPropagation();
- }
- // otherwise set the cancelBubble property of the original event to true (IE)
- e.cancelBubble = true;
- },
- stopImmediatePropagation: function() {
- this.isImmediatePropagationStopped = returnTrue;
- this.stopPropagation();
- },
- isDefaultPrevented: returnFalse,
- isPropagationStopped: returnFalse,
- isImmediatePropagationStopped: returnFalse
-};
-
-// Checks if an event happened on an element within another element
-// Used in jQuery.event.special.mouseenter and mouseleave handlers
-var withinElement = function( event ) {
- // Check if mouse(over|out) are still within the same parent element
- var parent = event.relatedTarget;
-
- // Firefox sometimes assigns relatedTarget a XUL element
- // which we cannot access the parentNode property of
- try {
- // Traverse up the tree
- while ( parent && parent !== this ) {
- parent = parent.parentNode;
- }
-
- if ( parent !== this ) {
- // set the correct event type
- event.type = event.data;
-
- // handle event if we actually just moused on to a non sub-element
- jQuery.event.handle.apply( this, arguments );
- }
-
- // assuming we've left the element since we most likely mousedover a xul element
- } catch(e) { }
-},
-
-// In case of event delegation, we only need to rename the event.type,
-// liveHandler will take care of the rest.
-delegate = function( event ) {
- event.type = event.data;
- jQuery.event.handle.apply( this, arguments );
-};
-
-// Create mouseenter and mouseleave events
-jQuery.each({
- mouseenter: "mouseover",
- mouseleave: "mouseout"
-}, function( orig, fix ) {
- jQuery.event.special[ orig ] = {
- setup: function( data ) {
- jQuery.event.add( this, fix, data && data.selector ? delegate : withinElement, orig );
- },
- teardown: function( data ) {
- jQuery.event.remove( this, fix, data && data.selector ? delegate : withinElement );
- }
- };
-});
-
-// submit delegation
-if ( !jQuery.support.submitBubbles ) {
-
- jQuery.event.special.submit = {
- setup: function( data, namespaces ) {
- if ( this.nodeName.toLowerCase() !== "form" ) {
- jQuery.event.add(this, "click.specialSubmit", function( e ) {
- var elem = e.target, type = elem.type;
-
- if ( (type === "submit" || type === "image") && jQuery( elem ).closest("form").length ) {
- return trigger( "submit", this, arguments );
- }
- });
-
- jQuery.event.add(this, "keypress.specialSubmit", function( e ) {
- var elem = e.target, type = elem.type;
-
- if ( (type === "text" || type === "password") && jQuery( elem ).closest("form").length && e.keyCode === 13 ) {
- return trigger( "submit", this, arguments );
- }
- });
-
- } else {
- return false;
- }
- },
-
- teardown: function( namespaces ) {
- jQuery.event.remove( this, ".specialSubmit" );
- }
- };
-
-}
-
-// change delegation, happens here so we have bind.
-if ( !jQuery.support.changeBubbles ) {
-
- var formElems = /textarea|input|select/i,
-
- changeFilters,
-
- getVal = function( elem ) {
- var type = elem.type, val = elem.value;
-
- if ( type === "radio" || type === "checkbox" ) {
- val = elem.checked;
-
- } else if ( type === "select-multiple" ) {
- val = elem.selectedIndex > -1 ?
- jQuery.map( elem.options, function( elem ) {
- return elem.selected;
- }).join("-") :
- "";
-
- } else if ( elem.nodeName.toLowerCase() === "select" ) {
- val = elem.selectedIndex;
- }
-
- return val;
- },
-
- testChange = function testChange( e ) {
- var elem = e.target, data, val;
-
- if ( !formElems.test( elem.nodeName ) || elem.readOnly ) {
- return;
- }
-
- data = jQuery.data( elem, "_change_data" );
- val = getVal(elem);
-
- // the current data will be also retrieved by beforeactivate
- if ( e.type !== "focusout" || elem.type !== "radio" ) {
- jQuery.data( elem, "_change_data", val );
- }
-
- if ( data === undefined || val === data ) {
- return;
- }
-
- if ( data != null || val ) {
- e.type = "change";
- return jQuery.event.trigger( e, arguments[1], elem );
- }
- };
-
- jQuery.event.special.change = {
- filters: {
- focusout: testChange,
-
- click: function( e ) {
- var elem = e.target, type = elem.type;
-
- if ( type === "radio" || type === "checkbox" || elem.nodeName.toLowerCase() === "select" ) {
- return testChange.call( this, e );
- }
- },
-
- // Change has to be called before submit
- // Keydown will be called before keypress, which is used in submit-event delegation
- keydown: function( e ) {
- var elem = e.target, type = elem.type;
-
- if ( (e.keyCode === 13 && elem.nodeName.toLowerCase() !== "textarea") ||
- (e.keyCode === 32 && (type === "checkbox" || type === "radio")) ||
- type === "select-multiple" ) {
- return testChange.call( this, e );
- }
- },
-
- // Beforeactivate happens also before the previous element is blurred
- // with this event you can't trigger a change event, but you can store
- // information/focus[in] is not needed anymore
- beforeactivate: function( e ) {
- var elem = e.target;
- jQuery.data( elem, "_change_data", getVal(elem) );
- }
- },
-
- setup: function( data, namespaces ) {
- if ( this.type === "file" ) {
- return false;
- }
-
- for ( var type in changeFilters ) {
- jQuery.event.add( this, type + ".specialChange", changeFilters[type] );
- }
-
- return formElems.test( this.nodeName );
- },
-
- teardown: function( namespaces ) {
- jQuery.event.remove( this, ".specialChange" );
-
- return formElems.test( this.nodeName );
- }
- };
-
- changeFilters = jQuery.event.special.change.filters;
-}
-
-function trigger( type, elem, args ) {
- args[0].type = type;
- return jQuery.event.handle.apply( elem, args );
-}
-
-// Create "bubbling" focus and blur events
-if ( document.addEventListener ) {
- jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) {
- jQuery.event.special[ fix ] = {
- setup: function() {
- this.addEventListener( orig, handler, true );
- },
- teardown: function() {
- this.removeEventListener( orig, handler, true );
- }
- };
-
- function handler( e ) {
- e = jQuery.event.fix( e );
- e.type = fix;
- return jQuery.event.handle.call( this, e );
- }
- });
-}
-
-jQuery.each(["bind", "one"], function( i, name ) {
- jQuery.fn[ name ] = function( type, data, fn ) {
- // Handle object literals
- if ( typeof type === "object" ) {
- for ( var key in type ) {
- this[ name ](key, data, type[key], fn);
- }
- return this;
- }
-
- if ( jQuery.isFunction( data ) ) {
- fn = data;
- data = undefined;
- }
-
- var handler = name === "one" ? jQuery.proxy( fn, function( event ) {
- jQuery( this ).unbind( event, handler );
- return fn.apply( this, arguments );
- }) : fn;
-
- if ( type === "unload" && name !== "one" ) {
- this.one( type, data, fn );
-
- } else {
- for ( var i = 0, l = this.length; i < l; i++ ) {
- jQuery.event.add( this[i], type, handler, data );
- }
- }
-
- return this;
- };
-});
-
-jQuery.fn.extend({
- unbind: function( type, fn ) {
- // Handle object literals
- if ( typeof type === "object" && !type.preventDefault ) {
- for ( var key in type ) {
- this.unbind(key, type[key]);
- }
-
- } else {
- for ( var i = 0, l = this.length; i < l; i++ ) {
- jQuery.event.remove( this[i], type, fn );
- }
- }
-
- return this;
- },
-
- delegate: function( selector, types, data, fn ) {
- return this.live( types, data, fn, selector );
- },
-
- undelegate: function( selector, types, fn ) {
- if ( arguments.length === 0 ) {
- return this.unbind( "live" );
-
- } else {
- return this.die( types, null, fn, selector );
- }
- },
-
- trigger: function( type, data ) {
- return this.each(function() {
- jQuery.event.trigger( type, data, this );
- });
- },
-
- triggerHandler: function( type, data ) {
- if ( this[0] ) {
- var event = jQuery.Event( type );
- event.preventDefault();
- event.stopPropagation();
- jQuery.event.trigger( event, data, this[0] );
- return event.result;
- }
- },
-
- toggle: function( fn ) {
- // Save reference to arguments for access in closure
- var args = arguments, i = 1;
-
- // link all the functions, so any of them can unbind this click handler
- while ( i < args.length ) {
- jQuery.proxy( fn, args[ i++ ] );
- }
-
- return this.click( jQuery.proxy( fn, function( event ) {
- // Figure out which function to execute
- var lastToggle = ( jQuery.data( this, "lastToggle" + fn.guid ) || 0 ) % i;
- jQuery.data( this, "lastToggle" + fn.guid, lastToggle + 1 );
-
- // Make sure that clicks stop
- event.preventDefault();
-
- // and execute the function
- return args[ lastToggle ].apply( this, arguments ) || false;
- }));
- },
-
- hover: function( fnOver, fnOut ) {
- return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );
- }
-});
-
-var liveMap = {
- focus: "focusin",
- blur: "focusout",
- mouseenter: "mouseover",
- mouseleave: "mouseout"
-};
-
-jQuery.each(["live", "die"], function( i, name ) {
- jQuery.fn[ name ] = function( types, data, fn, origSelector /* Internal Use Only */ ) {
- var type, i = 0, match, namespaces, preType,
- selector = origSelector || this.selector,
- context = origSelector ? this : jQuery( this.context );
-
- if ( jQuery.isFunction( data ) ) {
- fn = data;
- data = undefined;
- }
-
- types = (types || "").split(" ");
-
- while ( (type = types[ i++ ]) != null ) {
- match = rnamespaces.exec( type );
- namespaces = "";
-
- if ( match ) {
- namespaces = match[0];
- type = type.replace( rnamespaces, "" );
- }
-
- if ( type === "hover" ) {
- types.push( "mouseenter" + namespaces, "mouseleave" + namespaces );
- continue;
- }
-
- preType = type;
-
- if ( type === "focus" || type === "blur" ) {
- types.push( liveMap[ type ] + namespaces );
- type = type + namespaces;
-
- } else {
- type = (liveMap[ type ] || type) + namespaces;
- }
-
- if ( name === "live" ) {
- // bind live handler
- context.each(function(){
- jQuery.event.add( this, liveConvert( type, selector ),
- { data: data, selector: selector, handler: fn, origType: type, origHandler: fn, preType: preType } );
- });
-
- } else {
- // unbind live handler
- context.unbind( liveConvert( type, selector ), fn );
- }
- }
-
- return this;
- }
-});
-
-function liveHandler( event ) {
- var stop, elems = [], selectors = [], args = arguments,
- related, match, handleObj, elem, j, i, l, data,
- events = jQuery.data( this, "events" );
-
- // Make sure we avoid non-left-click bubbling in Firefox (#3861)
- if ( event.liveFired === this || !events || !events.live || event.button && event.type === "click" ) {
- return;
- }
-
- event.liveFired = this;
-
- var live = events.live.slice(0);
-
- for ( j = 0; j < live.length; j++ ) {
- handleObj = live[j];
-
- if ( handleObj.origType.replace( rnamespaces, "" ) === event.type ) {
- selectors.push( handleObj.selector );
-
- } else {
- live.splice( j--, 1 );
- }
- }
-
- match = jQuery( event.target ).closest( selectors, event.currentTarget );
-
- for ( i = 0, l = match.length; i < l; i++ ) {
- for ( j = 0; j < live.length; j++ ) {
- handleObj = live[j];
-
- if ( match[i].selector === handleObj.selector ) {
- elem = match[i].elem;
- related = null;
-
- // Those two events require additional checking
- if ( handleObj.preType === "mouseenter" || handleObj.preType === "mouseleave" ) {
- related = jQuery( event.relatedTarget ).closest( handleObj.selector )[0];
- }
-
- if ( !related || related !== elem ) {
- elems.push({ elem: elem, handleObj: handleObj });
- }
- }
- }
- }
-
- for ( i = 0, l = elems.length; i < l; i++ ) {
- match = elems[i];
- event.currentTarget = match.elem;
- event.data = match.handleObj.data;
- event.handleObj = match.handleObj;
-
- if ( match.handleObj.origHandler.apply( match.elem, args ) === false ) {
- stop = false;
- break;
- }
- }
-
- return stop;
-}
-
-function liveConvert( type, selector ) {
- return "live." + (type && type !== "*" ? type + "." : "") + selector.replace(/\./g, "`").replace(/ /g, "&");
-}
-
-jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " +
- "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
- "change select submit keydown keypress keyup error").split(" "), function( i, name ) {
-
- // Handle event binding
- jQuery.fn[ name ] = function( fn ) {
- return fn ? this.bind( name, fn ) : this.trigger( name );
- };
-
- if ( jQuery.attrFn ) {
- jQuery.attrFn[ name ] = true;
- }
-});
-
-// Prevent memory leaks in IE
-// Window isn't included so as not to unbind existing unload events
-// More info:
-// - http://isaacschlueter.com/2006/10/msie-memory-leaks/
-if ( window.attachEvent && !window.addEventListener ) {
- window.attachEvent("onunload", function() {
- for ( var id in jQuery.cache ) {
- if ( jQuery.cache[ id ].handle ) {
- // Try/Catch is to handle iframes being unloaded, see #4280
- try {
- jQuery.event.remove( jQuery.cache[ id ].handle.elem );
- } catch(e) {}
- }
- }
- });
-}
-/*!
- * Sizzle CSS Selector Engine - v1.0
- * Copyright 2009, The Dojo Foundation
- * Released under the MIT, BSD, and GPL Licenses.
- * More information: http://sizzlejs.com/
- */
-(function(){
-
-var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
- done = 0,
- toString = Object.prototype.toString,
- hasDuplicate = false,
- baseHasDuplicate = true;
-
-// Here we check if the JavaScript engine is using some sort of
-// optimization where it does not always call our comparision
-// function. If that is the case, discard the hasDuplicate value.
-// Thus far that includes Google Chrome.
-[0, 0].sort(function(){
- baseHasDuplicate = false;
- return 0;
-});
-
-var Sizzle = function(selector, context, results, seed) {
- results = results || [];
- var origContext = context = context || document;
-
- if ( context.nodeType !== 1 && context.nodeType !== 9 ) {
- return [];
- }
-
- if ( !selector || typeof selector !== "string" ) {
- return results;
- }
-
- var parts = [], m, set, checkSet, extra, prune = true, contextXML = isXML(context),
- soFar = selector;
-
- // Reset the position of the chunker regexp (start from head)
- while ( (chunker.exec(""), m = chunker.exec(soFar)) !== null ) {
- soFar = m[3];
-
- parts.push( m[1] );
-
- if ( m[2] ) {
- extra = m[3];
- break;
- }
- }
-
- if ( parts.length > 1 && origPOS.exec( selector ) ) {
- if ( parts.length === 2 && Expr.relative[ parts[0] ] ) {
- set = posProcess( parts[0] + parts[1], context );
- } else {
- set = Expr.relative[ parts[0] ] ?
- [ context ] :
- Sizzle( parts.shift(), context );
-
- while ( parts.length ) {
- selector = parts.shift();
-
- if ( Expr.relative[ selector ] ) {
- selector += parts.shift();
- }
-
- set = posProcess( selector, set );
- }
- }
- } else {
- // Take a shortcut and set the context if the root selector is an ID
- // (but not if it'll be faster if the inner selector is an ID)
- if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML &&
- Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) {
- var ret = Sizzle.find( parts.shift(), context, contextXML );
- context = ret.expr ? Sizzle.filter( ret.expr, ret.set )[0] : ret.set[0];
- }
-
- if ( context ) {
- var ret = seed ?
- { expr: parts.pop(), set: makeArray(seed) } :
- Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML );
- set = ret.expr ? Sizzle.filter( ret.expr, ret.set ) : ret.set;
-
- if ( parts.length > 0 ) {
- checkSet = makeArray(set);
- } else {
- prune = false;
- }
-
- while ( parts.length ) {
- var cur = parts.pop(), pop = cur;
-
- if ( !Expr.relative[ cur ] ) {
- cur = "";
- } else {
- pop = parts.pop();
- }
-
- if ( pop == null ) {
- pop = context;
- }
-
- Expr.relative[ cur ]( checkSet, pop, contextXML );
- }
- } else {
- checkSet = parts = [];
- }
- }
-
- if ( !checkSet ) {
- checkSet = set;
- }
-
- if ( !checkSet ) {
- Sizzle.error( cur || selector );
- }
-
- if ( toString.call(checkSet) === "[object Array]" ) {
- if ( !prune ) {
- results.push.apply( results, checkSet );
- } else if ( context && context.nodeType === 1 ) {
- for ( var i = 0; checkSet[i] != null; i++ ) {
- if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && contains(context, checkSet[i])) ) {
- results.push( set[i] );
- }
- }
- } else {
- for ( var i = 0; checkSet[i] != null; i++ ) {
- if ( checkSet[i] && checkSet[i].nodeType === 1 ) {
- results.push( set[i] );
- }
- }
- }
- } else {
- makeArray( checkSet, results );
- }
-
- if ( extra ) {
- Sizzle( extra, origContext, results, seed );
- Sizzle.uniqueSort( results );
- }
-
- return results;
-};
-
-Sizzle.uniqueSort = function(results){
- if ( sortOrder ) {
- hasDuplicate = baseHasDuplicate;
- results.sort(sortOrder);
-
- if ( hasDuplicate ) {
- for ( var i = 1; i < results.length; i++ ) {
- if ( results[i] === results[i-1] ) {
- results.splice(i--, 1);
- }
- }
- }
- }
-
- return results;
-};
-
-Sizzle.matches = function(expr, set){
- return Sizzle(expr, null, null, set);
-};
-
-Sizzle.find = function(expr, context, isXML){
- var set, match;
-
- if ( !expr ) {
- return [];
- }
-
- for ( var i = 0, l = Expr.order.length; i < l; i++ ) {
- var type = Expr.order[i], match;
-
- if ( (match = Expr.leftMatch[ type ].exec( expr )) ) {
- var left = match[1];
- match.splice(1,1);
-
- if ( left.substr( left.length - 1 ) !== "\\" ) {
- match[1] = (match[1] || "").replace(/\\/g, "");
- set = Expr.find[ type ]( match, context, isXML );
- if ( set != null ) {
- expr = expr.replace( Expr.match[ type ], "" );
- break;
- }
- }
- }
- }
-
- if ( !set ) {
- set = context.getElementsByTagName("*");
- }
-
- return {set: set, expr: expr};
-};
-
-Sizzle.filter = function(expr, set, inplace, not){
- var old = expr, result = [], curLoop = set, match, anyFound,
- isXMLFilter = set && set[0] && isXML(set[0]);
-
- while ( expr && set.length ) {
- for ( var type in Expr.filter ) {
- if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) {
- var filter = Expr.filter[ type ], found, item, left = match[1];
- anyFound = false;
-
- match.splice(1,1);
-
- if ( left.substr( left.length - 1 ) === "\\" ) {
- continue;
- }
-
- if ( curLoop === result ) {
- result = [];
- }
-
- if ( Expr.preFilter[ type ] ) {
- match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter );
-
- if ( !match ) {
- anyFound = found = true;
- } else if ( match === true ) {
- continue;
- }
- }
-
- if ( match ) {
- for ( var i = 0; (item = curLoop[i]) != null; i++ ) {
- if ( item ) {
- found = filter( item, match, i, curLoop );
- var pass = not ^ !!found;
-
- if ( inplace && found != null ) {
- if ( pass ) {
- anyFound = true;
- } else {
- curLoop[i] = false;
- }
- } else if ( pass ) {
- result.push( item );
- anyFound = true;
- }
- }
- }
- }
-
- if ( found !== undefined ) {
- if ( !inplace ) {
- curLoop = result;
- }
-
- expr = expr.replace( Expr.match[ type ], "" );
-
- if ( !anyFound ) {
- return [];
- }
-
- break;
- }
- }
- }
-
- // Improper expression
- if ( expr === old ) {
- if ( anyFound == null ) {
- Sizzle.error( expr );
- } else {
- break;
- }
- }
-
- old = expr;
- }
-
- return curLoop;
-};
-
-Sizzle.error = function( msg ) {
- throw "Syntax error, unrecognized expression: " + msg;
-};
-
-var Expr = Sizzle.selectors = {
- order: [ "ID", "NAME", "TAG" ],
- match: {
- ID: /#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,
- CLASS: /\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,
- NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,
- ATTR: /\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,
- TAG: /^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,
- CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,
- POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,
- PSEUDO: /:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/
- },
- leftMatch: {},
- attrMap: {
- "class": "className",
- "for": "htmlFor"
- },
- attrHandle: {
- href: function(elem){
- return elem.getAttribute("href");
- }
- },
- relative: {
- "+": function(checkSet, part){
- var isPartStr = typeof part === "string",
- isTag = isPartStr && !/\W/.test(part),
- isPartStrNotTag = isPartStr && !isTag;
-
- if ( isTag ) {
- part = part.toLowerCase();
- }
-
- for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) {
- if ( (elem = checkSet[i]) ) {
- while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {}
-
- checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ?
- elem || false :
- elem === part;
- }
- }
-
- if ( isPartStrNotTag ) {
- Sizzle.filter( part, checkSet, true );
- }
- },
- ">": function(checkSet, part){
- var isPartStr = typeof part === "string";
-
- if ( isPartStr && !/\W/.test(part) ) {
- part = part.toLowerCase();
-
- for ( var i = 0, l = checkSet.length; i < l; i++ ) {
- var elem = checkSet[i];
- if ( elem ) {
- var parent = elem.parentNode;
- checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false;
- }
- }
- } else {
- for ( var i = 0, l = checkSet.length; i < l; i++ ) {
- var elem = checkSet[i];
- if ( elem ) {
- checkSet[i] = isPartStr ?
- elem.parentNode :
- elem.parentNode === part;
- }
- }
-
- if ( isPartStr ) {
- Sizzle.filter( part, checkSet, true );
- }
- }
- },
- "": function(checkSet, part, isXML){
- var doneName = done++, checkFn = dirCheck;
-
- if ( typeof part === "string" && !/\W/.test(part) ) {
- var nodeCheck = part = part.toLowerCase();
- checkFn = dirNodeCheck;
- }
-
- checkFn("parentNode", part, doneName, checkSet, nodeCheck, isXML);
- },
- "~": function(checkSet, part, isXML){
- var doneName = done++, checkFn = dirCheck;
-
- if ( typeof part === "string" && !/\W/.test(part) ) {
- var nodeCheck = part = part.toLowerCase();
- checkFn = dirNodeCheck;
- }
-
- checkFn("previousSibling", part, doneName, checkSet, nodeCheck, isXML);
- }
- },
- find: {
- ID: function(match, context, isXML){
- if ( typeof context.getElementById !== "undefined" && !isXML ) {
- var m = context.getElementById(match[1]);
- return m ? [m] : [];
- }
- },
- NAME: function(match, context){
- if ( typeof context.getElementsByName !== "undefined" ) {
- var ret = [], results = context.getElementsByName(match[1]);
-
- for ( var i = 0, l = results.length; i < l; i++ ) {
- if ( results[i].getAttribute("name") === match[1] ) {
- ret.push( results[i] );
- }
- }
-
- return ret.length === 0 ? null : ret;
- }
- },
- TAG: function(match, context){
- return context.getElementsByTagName(match[1]);
- }
- },
- preFilter: {
- CLASS: function(match, curLoop, inplace, result, not, isXML){
- match = " " + match[1].replace(/\\/g, "") + " ";
-
- if ( isXML ) {
- return match;
- }
-
- for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) {
- if ( elem ) {
- if ( not ^ (elem.className && (" " + elem.className + " ").replace(/[\t\n]/g, " ").indexOf(match) >= 0) ) {
- if ( !inplace ) {
- result.push( elem );
- }
- } else if ( inplace ) {
- curLoop[i] = false;
- }
- }
- }
-
- return false;
- },
- ID: function(match){
- return match[1].replace(/\\/g, "");
- },
- TAG: function(match, curLoop){
- return match[1].toLowerCase();
- },
- CHILD: function(match){
- if ( match[1] === "nth" ) {
- // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'
- var test = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(
- match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" ||
- !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]);
-
- // calculate the numbers (first)n+(last) including if they are negative
- match[2] = (test[1] + (test[2] || 1)) - 0;
- match[3] = test[3] - 0;
- }
-
- // TODO: Move to normal caching system
- match[0] = done++;
-
- return match;
- },
- ATTR: function(match, curLoop, inplace, result, not, isXML){
- var name = match[1].replace(/\\/g, "");
-
- if ( !isXML && Expr.attrMap[name] ) {
- match[1] = Expr.attrMap[name];
- }
-
- if ( match[2] === "~=" ) {
- match[4] = " " + match[4] + " ";
- }
-
- return match;
- },
- PSEUDO: function(match, curLoop, inplace, result, not){
- if ( match[1] === "not" ) {
- // If we're dealing with a complex expression, or a simple one
- if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) {
- match[3] = Sizzle(match[3], null, null, curLoop);
- } else {
- var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not);
- if ( !inplace ) {
- result.push.apply( result, ret );
- }
- return false;
- }
- } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) {
- return true;
- }
-
- return match;
- },
- POS: function(match){
- match.unshift( true );
- return match;
- }
- },
- filters: {
- enabled: function(elem){
- return elem.disabled === false && elem.type !== "hidden";
- },
- disabled: function(elem){
- return elem.disabled === true;
- },
- checked: function(elem){
- return elem.checked === true;
- },
- selected: function(elem){
- // Accessing this property makes selected-by-default
- // options in Safari work properly
- elem.parentNode.selectedIndex;
- return elem.selected === true;
- },
- parent: function(elem){
- return !!elem.firstChild;
- },
- empty: function(elem){
- return !elem.firstChild;
- },
- has: function(elem, i, match){
- return !!Sizzle( match[3], elem ).length;
- },
- header: function(elem){
- return /h\d/i.test( elem.nodeName );
- },
- text: function(elem){
- return "text" === elem.type;
- },
- radio: function(elem){
- return "radio" === elem.type;
- },
- checkbox: function(elem){
- return "checkbox" === elem.type;
- },
- file: function(elem){
- return "file" === elem.type;
- },
- password: function(elem){
- return "password" === elem.type;
- },
- submit: function(elem){
- return "submit" === elem.type;
- },
- image: function(elem){
- return "image" === elem.type;
- },
- reset: function(elem){
- return "reset" === elem.type;
- },
- button: function(elem){
- return "button" === elem.type || elem.nodeName.toLowerCase() === "button";
- },
- input: function(elem){
- return /input|select|textarea|button/i.test(elem.nodeName);
- }
- },
- setFilters: {
- first: function(elem, i){
- return i === 0;
- },
- last: function(elem, i, match, array){
- return i === array.length - 1;
- },
- even: function(elem, i){
- return i % 2 === 0;
- },
- odd: function(elem, i){
- return i % 2 === 1;
- },
- lt: function(elem, i, match){
- return i < match[3] - 0;
- },
- gt: function(elem, i, match){
- return i > match[3] - 0;
- },
- nth: function(elem, i, match){
- return match[3] - 0 === i;
- },
- eq: function(elem, i, match){
- return match[3] - 0 === i;
- }
- },
- filter: {
- PSEUDO: function(elem, match, i, array){
- var name = match[1], filter = Expr.filters[ name ];
-
- if ( filter ) {
- return filter( elem, i, match, array );
- } else if ( name === "contains" ) {
- return (elem.textContent || elem.innerText || getText([ elem ]) || "").indexOf(match[3]) >= 0;
- } else if ( name === "not" ) {
- var not = match[3];
-
- for ( var i = 0, l = not.length; i < l; i++ ) {
- if ( not[i] === elem ) {
- return false;
- }
- }
-
- return true;
- } else {
- Sizzle.error( "Syntax error, unrecognized expression: " + name );
- }
- },
- CHILD: function(elem, match){
- var type = match[1], node = elem;
- switch (type) {
- case 'only':
- case 'first':
- while ( (node = node.previousSibling) ) {
- if ( node.nodeType === 1 ) {
- return false;
- }
- }
- if ( type === "first" ) {
- return true;
- }
- node = elem;
- case 'last':
- while ( (node = node.nextSibling) ) {
- if ( node.nodeType === 1 ) {
- return false;
- }
- }
- return true;
- case 'nth':
- var first = match[2], last = match[3];
-
- if ( first === 1 && last === 0 ) {
- return true;
- }
-
- var doneName = match[0],
- parent = elem.parentNode;
-
- if ( parent && (parent.sizcache !== doneName || !elem.nodeIndex) ) {
- var count = 0;
- for ( node = parent.firstChild; node; node = node.nextSibling ) {
- if ( node.nodeType === 1 ) {
- node.nodeIndex = ++count;
- }
- }
- parent.sizcache = doneName;
- }
-
- var diff = elem.nodeIndex - last;
- if ( first === 0 ) {
- return diff === 0;
- } else {
- return ( diff % first === 0 && diff / first >= 0 );
- }
- }
- },
- ID: function(elem, match){
- return elem.nodeType === 1 && elem.getAttribute("id") === match;
- },
- TAG: function(elem, match){
- return (match === "*" && elem.nodeType === 1) || elem.nodeName.toLowerCase() === match;
- },
- CLASS: function(elem, match){
- return (" " + (elem.className || elem.getAttribute("class")) + " ")
- .indexOf( match ) > -1;
- },
- ATTR: function(elem, match){
- var name = match[1],
- result = Expr.attrHandle[ name ] ?
- Expr.attrHandle[ name ]( elem ) :
- elem[ name ] != null ?
- elem[ name ] :
- elem.getAttribute( name ),
- value = result + "",
- type = match[2],
- check = match[4];
-
- return result == null ?
- type === "!=" :
- type === "=" ?
- value === check :
- type === "*=" ?
- value.indexOf(check) >= 0 :
- type === "~=" ?
- (" " + value + " ").indexOf(check) >= 0 :
- !check ?
- value && result !== false :
- type === "!=" ?
- value !== check :
- type === "^=" ?
- value.indexOf(check) === 0 :
- type === "$=" ?
- value.substr(value.length - check.length) === check :
- type === "|=" ?
- value === check || value.substr(0, check.length + 1) === check + "-" :
- false;
- },
- POS: function(elem, match, i, array){
- var name = match[2], filter = Expr.setFilters[ name ];
-
- if ( filter ) {
- return filter( elem, i, match, array );
- }
- }
- }
-};
-
-var origPOS = Expr.match.POS;
-
-for ( var type in Expr.match ) {
- Expr.match[ type ] = new RegExp( Expr.match[ type ].source + /(?![^\[]*\])(?![^\(]*\))/.source );
- Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, function(all, num){
- return "\\" + (num - 0 + 1);
- }));
-}
-
-var makeArray = function(array, results) {
- array = Array.prototype.slice.call( array, 0 );
-
- if ( results ) {
- results.push.apply( results, array );
- return results;
- }
-
- return array;
-};
-
-// Perform a simple check to determine if the browser is capable of
-// converting a NodeList to an array using builtin methods.
-// Also verifies that the returned array holds DOM nodes
-// (which is not the case in the Blackberry browser)
-try {
- Array.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType;
-
-// Provide a fallback method if it does not work
-} catch(e){
- makeArray = function(array, results) {
- var ret = results || [];
-
- if ( toString.call(array) === "[object Array]" ) {
- Array.prototype.push.apply( ret, array );
- } else {
- if ( typeof array.length === "number" ) {
- for ( var i = 0, l = array.length; i < l; i++ ) {
- ret.push( array[i] );
- }
- } else {
- for ( var i = 0; array[i]; i++ ) {
- ret.push( array[i] );
- }
- }
- }
-
- return ret;
- };
-}
-
-var sortOrder;
-
-if ( document.documentElement.compareDocumentPosition ) {
- sortOrder = function( a, b ) {
- if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) {
- if ( a == b ) {
- hasDuplicate = true;
- }
- return a.compareDocumentPosition ? -1 : 1;
- }
-
- var ret = a.compareDocumentPosition(b) & 4 ? -1 : a === b ? 0 : 1;
- if ( ret === 0 ) {
- hasDuplicate = true;
- }
- return ret;
- };
-} else if ( "sourceIndex" in document.documentElement ) {
- sortOrder = function( a, b ) {
- if ( !a.sourceIndex || !b.sourceIndex ) {
- if ( a == b ) {
- hasDuplicate = true;
- }
- return a.sourceIndex ? -1 : 1;
- }
-
- var ret = a.sourceIndex - b.sourceIndex;
- if ( ret === 0 ) {
- hasDuplicate = true;
- }
- return ret;
- };
-} else if ( document.createRange ) {
- sortOrder = function( a, b ) {
- if ( !a.ownerDocument || !b.ownerDocument ) {
- if ( a == b ) {
- hasDuplicate = true;
- }
- return a.ownerDocument ? -1 : 1;
- }
-
- var aRange = a.ownerDocument.createRange(), bRange = b.ownerDocument.createRange();
- aRange.setStart(a, 0);
- aRange.setEnd(a, 0);
- bRange.setStart(b, 0);
- bRange.setEnd(b, 0);
- var ret = aRange.compareBoundaryPoints(Range.START_TO_END, bRange);
- if ( ret === 0 ) {
- hasDuplicate = true;
- }
- return ret;
- };
-}
-
-// Utility function for retreiving the text value of an array of DOM nodes
-function getText( elems ) {
- var ret = "", elem;
-
- for ( var i = 0; elems[i]; i++ ) {
- elem = elems[i];
-
- // Get the text from text nodes and CDATA nodes
- if ( elem.nodeType === 3 || elem.nodeType === 4 ) {
- ret += elem.nodeValue;
-
- // Traverse everything else, except comment nodes
- } else if ( elem.nodeType !== 8 ) {
- ret += getText( elem.childNodes );
- }
- }
-
- return ret;
-}
-
-// Check to see if the browser returns elements by name when
-// querying by getElementById (and provide a workaround)
-(function(){
- // We're going to inject a fake input element with a specified name
- var form = document.createElement("div"),
- id = "script" + (new Date).getTime();
- form.innerHTML = " ";
-
- // Inject it into the root element, check its status, and remove it quickly
- var root = document.documentElement;
- root.insertBefore( form, root.firstChild );
-
- // The workaround has to do additional checks after a getElementById
- // Which slows things down for other browsers (hence the branching)
- if ( document.getElementById( id ) ) {
- Expr.find.ID = function(match, context, isXML){
- if ( typeof context.getElementById !== "undefined" && !isXML ) {
- var m = context.getElementById(match[1]);
- return m ? m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ? [m] : undefined : [];
- }
- };
-
- Expr.filter.ID = function(elem, match){
- var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id");
- return elem.nodeType === 1 && node && node.nodeValue === match;
- };
- }
-
- root.removeChild( form );
- root = form = null; // release memory in IE
-})();
-
-(function(){
- // Check to see if the browser returns only elements
- // when doing getElementsByTagName("*")
-
- // Create a fake element
- var div = document.createElement("div");
- div.appendChild( document.createComment("") );
-
- // Make sure no comments are found
- if ( div.getElementsByTagName("*").length > 0 ) {
- Expr.find.TAG = function(match, context){
- var results = context.getElementsByTagName(match[1]);
-
- // Filter out possible comments
- if ( match[1] === "*" ) {
- var tmp = [];
-
- for ( var i = 0; results[i]; i++ ) {
- if ( results[i].nodeType === 1 ) {
- tmp.push( results[i] );
- }
- }
-
- results = tmp;
- }
-
- return results;
- };
- }
-
- // Check to see if an attribute returns normalized href attributes
- div.innerHTML = " ";
- if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" &&
- div.firstChild.getAttribute("href") !== "#" ) {
- Expr.attrHandle.href = function(elem){
- return elem.getAttribute("href", 2);
- };
- }
-
- div = null; // release memory in IE
-})();
-
-if ( document.querySelectorAll ) {
- (function(){
- var oldSizzle = Sizzle, div = document.createElement("div");
- div.innerHTML = "
";
-
- // Safari can't handle uppercase or unicode characters when
- // in quirks mode.
- if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) {
- return;
- }
-
- Sizzle = function(query, context, extra, seed){
- context = context || document;
-
- // Only use querySelectorAll on non-XML documents
- // (ID selectors don't work in non-HTML documents)
- if ( !seed && context.nodeType === 9 && !isXML(context) ) {
- try {
- return makeArray( context.querySelectorAll(query), extra );
- } catch(e){}
- }
-
- return oldSizzle(query, context, extra, seed);
- };
-
- for ( var prop in oldSizzle ) {
- Sizzle[ prop ] = oldSizzle[ prop ];
- }
-
- div = null; // release memory in IE
- })();
-}
-
-(function(){
- var div = document.createElement("div");
-
- div.innerHTML = "
";
-
- // Opera can't find a second classname (in 9.6)
- // Also, make sure that getElementsByClassName actually exists
- if ( !div.getElementsByClassName || div.getElementsByClassName("e").length === 0 ) {
- return;
- }
-
- // Safari caches class attributes, doesn't catch changes (in 3.2)
- div.lastChild.className = "e";
-
- if ( div.getElementsByClassName("e").length === 1 ) {
- return;
- }
-
- Expr.order.splice(1, 0, "CLASS");
- Expr.find.CLASS = function(match, context, isXML) {
- if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) {
- return context.getElementsByClassName(match[1]);
- }
- };
-
- div = null; // release memory in IE
-})();
-
-function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
- for ( var i = 0, l = checkSet.length; i < l; i++ ) {
- var elem = checkSet[i];
- if ( elem ) {
- elem = elem[dir];
- var match = false;
-
- while ( elem ) {
- if ( elem.sizcache === doneName ) {
- match = checkSet[elem.sizset];
- break;
- }
-
- if ( elem.nodeType === 1 && !isXML ){
- elem.sizcache = doneName;
- elem.sizset = i;
- }
-
- if ( elem.nodeName.toLowerCase() === cur ) {
- match = elem;
- break;
- }
-
- elem = elem[dir];
- }
-
- checkSet[i] = match;
- }
- }
-}
-
-function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
- for ( var i = 0, l = checkSet.length; i < l; i++ ) {
- var elem = checkSet[i];
- if ( elem ) {
- elem = elem[dir];
- var match = false;
-
- while ( elem ) {
- if ( elem.sizcache === doneName ) {
- match = checkSet[elem.sizset];
- break;
- }
-
- if ( elem.nodeType === 1 ) {
- if ( !isXML ) {
- elem.sizcache = doneName;
- elem.sizset = i;
- }
- if ( typeof cur !== "string" ) {
- if ( elem === cur ) {
- match = true;
- break;
- }
-
- } else if ( Sizzle.filter( cur, [elem] ).length > 0 ) {
- match = elem;
- break;
- }
- }
-
- elem = elem[dir];
- }
-
- checkSet[i] = match;
- }
- }
-}
-
-var contains = document.compareDocumentPosition ? function(a, b){
- return !!(a.compareDocumentPosition(b) & 16);
-} : function(a, b){
- return a !== b && (a.contains ? a.contains(b) : true);
-};
-
-var isXML = function(elem){
- // documentElement is verified for cases where it doesn't yet exist
- // (such as loading iframes in IE - #4833)
- var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement;
- return documentElement ? documentElement.nodeName !== "HTML" : false;
-};
-
-var posProcess = function(selector, context){
- var tmpSet = [], later = "", match,
- root = context.nodeType ? [context] : context;
-
- // Position selectors must be done after the filter
- // And so must :not(positional) so we move all PSEUDOs to the end
- while ( (match = Expr.match.PSEUDO.exec( selector )) ) {
- later += match[0];
- selector = selector.replace( Expr.match.PSEUDO, "" );
- }
-
- selector = Expr.relative[selector] ? selector + "*" : selector;
-
- for ( var i = 0, l = root.length; i < l; i++ ) {
- Sizzle( selector, root[i], tmpSet );
- }
-
- return Sizzle.filter( later, tmpSet );
-};
-
-// EXPOSE
-jQuery.find = Sizzle;
-jQuery.expr = Sizzle.selectors;
-jQuery.expr[":"] = jQuery.expr.filters;
-jQuery.unique = Sizzle.uniqueSort;
-jQuery.text = getText;
-jQuery.isXMLDoc = isXML;
-jQuery.contains = contains;
-
-return;
-
-window.Sizzle = Sizzle;
-
-})();
-var runtil = /Until$/,
- rparentsprev = /^(?:parents|prevUntil|prevAll)/,
- // Note: This RegExp should be improved, or likely pulled from Sizzle
- rmultiselector = /,/,
- slice = Array.prototype.slice;
-
-// Implement the identical functionality for filter and not
-var winnow = function( elements, qualifier, keep ) {
- if ( jQuery.isFunction( qualifier ) ) {
- return jQuery.grep(elements, function( elem, i ) {
- return !!qualifier.call( elem, i, elem ) === keep;
- });
-
- } else if ( qualifier.nodeType ) {
- return jQuery.grep(elements, function( elem, i ) {
- return (elem === qualifier) === keep;
- });
-
- } else if ( typeof qualifier === "string" ) {
- var filtered = jQuery.grep(elements, function( elem ) {
- return elem.nodeType === 1;
- });
-
- if ( isSimple.test( qualifier ) ) {
- return jQuery.filter(qualifier, filtered, !keep);
- } else {
- qualifier = jQuery.filter( qualifier, filtered );
- }
- }
-
- return jQuery.grep(elements, function( elem, i ) {
- return (jQuery.inArray( elem, qualifier ) >= 0) === keep;
- });
-};
-
-jQuery.fn.extend({
- find: function( selector ) {
- var ret = this.pushStack( "", "find", selector ), length = 0;
-
- for ( var i = 0, l = this.length; i < l; i++ ) {
- length = ret.length;
- jQuery.find( selector, this[i], ret );
-
- if ( i > 0 ) {
- // Make sure that the results are unique
- for ( var n = length; n < ret.length; n++ ) {
- for ( var r = 0; r < length; r++ ) {
- if ( ret[r] === ret[n] ) {
- ret.splice(n--, 1);
- break;
- }
- }
- }
- }
- }
-
- return ret;
- },
-
- has: function( target ) {
- var targets = jQuery( target );
- return this.filter(function() {
- for ( var i = 0, l = targets.length; i < l; i++ ) {
- if ( jQuery.contains( this, targets[i] ) ) {
- return true;
- }
- }
- });
- },
-
- not: function( selector ) {
- return this.pushStack( winnow(this, selector, false), "not", selector);
- },
-
- filter: function( selector ) {
- return this.pushStack( winnow(this, selector, true), "filter", selector );
- },
-
- is: function( selector ) {
- return !!selector && jQuery.filter( selector, this ).length > 0;
- },
-
- closest: function( selectors, context ) {
- if ( jQuery.isArray( selectors ) ) {
- var ret = [], cur = this[0], match, matches = {}, selector;
-
- if ( cur && selectors.length ) {
- for ( var i = 0, l = selectors.length; i < l; i++ ) {
- selector = selectors[i];
-
- if ( !matches[selector] ) {
- matches[selector] = jQuery.expr.match.POS.test( selector ) ?
- jQuery( selector, context || this.context ) :
- selector;
- }
- }
-
- while ( cur && cur.ownerDocument && cur !== context ) {
- for ( selector in matches ) {
- match = matches[selector];
-
- if ( match.jquery ? match.index(cur) > -1 : jQuery(cur).is(match) ) {
- ret.push({ selector: selector, elem: cur });
- delete matches[selector];
- }
- }
- cur = cur.parentNode;
- }
- }
-
- return ret;
- }
-
- var pos = jQuery.expr.match.POS.test( selectors ) ?
- jQuery( selectors, context || this.context ) : null;
-
- return this.map(function( i, cur ) {
- while ( cur && cur.ownerDocument && cur !== context ) {
- if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selectors) ) {
- return cur;
- }
- cur = cur.parentNode;
- }
- return null;
- });
- },
-
- // Determine the position of an element within
- // the matched set of elements
- index: function( elem ) {
- if ( !elem || typeof elem === "string" ) {
- return jQuery.inArray( this[0],
- // If it receives a string, the selector is used
- // If it receives nothing, the siblings are used
- elem ? jQuery( elem ) : this.parent().children() );
- }
- // Locate the position of the desired element
- return jQuery.inArray(
- // If it receives a jQuery object, the first element is used
- elem.jquery ? elem[0] : elem, this );
- },
-
- add: function( selector, context ) {
- var set = typeof selector === "string" ?
- jQuery( selector, context || this.context ) :
- jQuery.makeArray( selector ),
- all = jQuery.merge( this.get(), set );
-
- return this.pushStack( isDisconnected( set[0] ) || isDisconnected( all[0] ) ?
- all :
- jQuery.unique( all ) );
- },
-
- andSelf: function() {
- return this.add( this.prevObject );
- }
-});
-
-// A painfully simple check to see if an element is disconnected
-// from a document (should be improved, where feasible).
-function isDisconnected( node ) {
- return !node || !node.parentNode || node.parentNode.nodeType === 11;
-}
-
-jQuery.each({
- parent: function( elem ) {
- var parent = elem.parentNode;
- return parent && parent.nodeType !== 11 ? parent : null;
- },
- parents: function( elem ) {
- return jQuery.dir( elem, "parentNode" );
- },
- parentsUntil: function( elem, i, until ) {
- return jQuery.dir( elem, "parentNode", until );
- },
- next: function( elem ) {
- return jQuery.nth( elem, 2, "nextSibling" );
- },
- prev: function( elem ) {
- return jQuery.nth( elem, 2, "previousSibling" );
- },
- nextAll: function( elem ) {
- return jQuery.dir( elem, "nextSibling" );
- },
- prevAll: function( elem ) {
- return jQuery.dir( elem, "previousSibling" );
- },
- nextUntil: function( elem, i, until ) {
- return jQuery.dir( elem, "nextSibling", until );
- },
- prevUntil: function( elem, i, until ) {
- return jQuery.dir( elem, "previousSibling", until );
- },
- siblings: function( elem ) {
- return jQuery.sibling( elem.parentNode.firstChild, elem );
- },
- children: function( elem ) {
- return jQuery.sibling( elem.firstChild );
- },
- contents: function( elem ) {
- return jQuery.nodeName( elem, "iframe" ) ?
- elem.contentDocument || elem.contentWindow.document :
- jQuery.makeArray( elem.childNodes );
- }
-}, function( name, fn ) {
- jQuery.fn[ name ] = function( until, selector ) {
- var ret = jQuery.map( this, fn, until );
-
- if ( !runtil.test( name ) ) {
- selector = until;
- }
-
- if ( selector && typeof selector === "string" ) {
- ret = jQuery.filter( selector, ret );
- }
-
- ret = this.length > 1 ? jQuery.unique( ret ) : ret;
-
- if ( (this.length > 1 || rmultiselector.test( selector )) && rparentsprev.test( name ) ) {
- ret = ret.reverse();
- }
-
- return this.pushStack( ret, name, slice.call(arguments).join(",") );
- };
-});
-
-jQuery.extend({
- filter: function( expr, elems, not ) {
- if ( not ) {
- expr = ":not(" + expr + ")";
- }
-
- return jQuery.find.matches(expr, elems);
- },
-
- dir: function( elem, dir, until ) {
- var matched = [], cur = elem[dir];
- while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) {
- if ( cur.nodeType === 1 ) {
- matched.push( cur );
- }
- cur = cur[dir];
- }
- return matched;
- },
-
- nth: function( cur, result, dir, elem ) {
- result = result || 1;
- var num = 0;
-
- for ( ; cur; cur = cur[dir] ) {
- if ( cur.nodeType === 1 && ++num === result ) {
- break;
- }
- }
-
- return cur;
- },
-
- sibling: function( n, elem ) {
- var r = [];
-
- for ( ; n; n = n.nextSibling ) {
- if ( n.nodeType === 1 && n !== elem ) {
- r.push( n );
- }
- }
-
- return r;
- }
-});
-var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
- rleadingWhitespace = /^\s+/,
- rxhtmlTag = /(<([\w:]+)[^>]*?)\/>/g,
- rselfClosing = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,
- rtagName = /<([\w:]+)/,
- rtbody = /" + tag + ">";
- },
- wrapMap = {
- option: [ 1, "", " " ],
- legend: [ 1, "", " " ],
- thead: [ 1, "" ],
- tr: [ 2, "" ],
- td: [ 3, "" ],
- col: [ 2, "" ],
- area: [ 1, "", " " ],
- _default: [ 0, "", "" ]
- };
-
-wrapMap.optgroup = wrapMap.option;
-wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
-wrapMap.th = wrapMap.td;
-
-// IE can't serialize and
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/web/static-templates/users-2-form.html b/web/static-templates/users-2-form.html
deleted file mode 100644
index 9f99a009..00000000
--- a/web/static-templates/users-2-form.html
+++ /dev/null
@@ -1,1045 +0,0 @@
-
-
-
-
- Vesta | Users
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Users
-
-
-
- 386 users
- 7 blocked
-
-
-
-
-
-
-
-
-
- Web Domain
-
-
-
- 580 domains
- 22 out of mem
- 3 waiting
-
-
-
-
-
-
-
-
-
- Mail
-
-
-
- 320 domains
- 1209 mailboxes
- 25 full
-
-
-
-
-
-
-
-
-
- DB
-
-
-
- 7 db
-
-
-
-
-
-
-
-
-
- Dns
-
-
-
- 289 records
-
-
-
-
-
-
-
-
-
- IP
-
-
-
- 7 templates
-
-
-
-
-
-
-
-
-
- Cron
-
-
-
- 15 records
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- enabled
- delete
-
-
-
-
-
-
-
-
- han_solo
- (user)
-
-
- package:
- default
-
-
-
-
-
- name:
- Clayton Musselwhite
-
-
-
- email:
-
- han_solo@han_solohan_solo.com
- (reports enabled)
-
-
- childs:
- 2 (30)
-
-
-
-
-
-
-
stats
-
-
-
-
-
bandwidth:
-
-
-
- 135% (2572 Gb)
-
-
-
-
-
800 Mb
-
-
-
-
-
-
-
- web domains:
- 1 (5)
-
-
- web ssl:
- 0 (5)
-
-
- web alias:
- (7) per domain
-
-
- web templates:
-
- default
- phpcgi
- unlim
-
- 6 more
-
-
-
-
- databases:
- 1 (5)
-
-
- shell:
- bash
-
-
- backups:
- retention 3
-
-
-
-
- mailboxes:
- ? (30)
-
-
- mail forwarders:
- ? (30)
-
-
- mail domains:
- 0 (?)
-
-
- dns domains:
- 0 (5)
-
-
- ns list:
-
- n1.readwriteweb.com
- n2.readwriteweb.com
- n3.readwriteweb.com
-
- 6 more
-
-
-
-
-
-
-
-
-
-
-
-
- enabled
- delete
-
-
-
-
-
-
-
-
- loraine_pledger
- (user)
-
-
- package:
- default
-
-
-
-
- name:
- Louisa Brockwell
-
-
- email:
-
- louisa.brockwell@han_solo_loraine_pledger.com
- (reports enabled)
-
-
-
-
-
-
-
-
- web domains:
- 1 (5)
-
-
- web ssl:
- 0 (5)
-
-
- web alias:
- (7) per domain
-
-
- web templates:
-
- default
- phpcgi
- unlim
-
-
-
- databases:
- 1 (5)
-
-
- shell:
- bash
-
-
- backups:
- retention 3
-
-
-
-
- mailboxes:
- ? (30)
-
-
- mail forwarders:
- ? (30)
-
-
- mail domains:
- 0 (?)
-
-
- dns domains:
- 0 (5)
-
-
- ns list:
-
- n1.readwriteweb.com
- n2.readwriteweb.com
- n3.readwriteweb.com
-
- 6 more
-
-
-
-
-
-
-
-
-
-
-
-
- enabled
- delete
-
-
-
-
-
-
-
-
- Clayton.Musselwhite
- (user)
-
-
- package:
- default
-
-
-
-
- name:
- Clayton Musselwhite
-
-
- email:
-
- Clayton.Musselwhite@clayton-musselwhite.com
- (reports enabled)
-
-
-
-
-
-
-
-
- web domains:
- 1 (5)
-
-
- web ssl:
- 0 (5)
-
-
- web alias:
- (7) per domain
-
-
- web templates:
-
- default
- phpcgi
- unlim
-
-
-
- databases:
- 1 (5)
-
-
- shell:
- bash
-
-
- backups:
- retention 3
-
-
-
-
- mailboxes:
- ? (30)
-
-
- mail forwarders:
- ? (30)
-
-
- mail domains:
- 0 (?)
-
-
- dns domains:
- 0 (5)
-
-
- ns list:
-
- n1.readwriteweb.com
- n2.readwriteweb.com
- n3.readwriteweb.com
-
- 6 more
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Althea-Switalski
- (user)
-
-
- package:
- default
-
-
-
-
- name:
- Althea Switalski
-
-
- email:
-
- Althea.Switalski@han_solo_musselwhite.com
- (reports enabled)
-
-
-
-
-
-
-
-
- web domains:
- 1 (5)
-
-
- web ssl:
- 0 (5)
-
-
- web alias:
- (7) per domain
-
-
- web templates:
-
- default
- phpcgi
- unlim
-
-
-
- databases:
- 1 (5)
-
-
- shell:
- bash
-
-
- backups:
- retention 3
-
-
-
-
- mailboxes:
- ? (30)
-
-
- mail forwarders:
- ? (30)
-
-
- mail domains:
- 0 (?)
-
-
- dns domains:
- 0 (5)
-
-
- ns list:
-
- n1.readwriteweb.com
- n2.readwriteweb.com
- n3.readwriteweb.com
-
- 6 more
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/web/static-templates/users-2.html b/web/static-templates/users-2.html
deleted file mode 100644
index abf4b9cc..00000000
--- a/web/static-templates/users-2.html
+++ /dev/null
@@ -1,1060 +0,0 @@
-
-
-
-
- Vesta | Users
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Users
-
-
-
- 386 users
- 7 blocked
-
-
-
-
-
-
-
-
-
- Web Domain
-
-
-
- 580 domains
- 22 out of mem
- 3 waiting
-
-
-
-
-
-
-
-
-
- Mail
-
-
-
- 320 domains
- 1209 mailboxes
- 25 full
-
-
-
-
-
-
-
-
-
- DB
-
-
-
- 7 db
-
-
-
-
-
-
-
-
-
- Dns
-
-
-
- 289 records
-
-
-
-
-
-
-
-
-
- IP
-
-
-
- 7 templates
-
-
-
-
-
-
-
-
-
- Cron
-
-
-
- 15 records
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- han_solo
- (user)
-
-
- package:
- default
-
-
-
-
-
- name:
- Clayton Musselwhite
-
-
-
- email:
-
- han_solo@han_solohan_solo.com
- (reports enabled)
-
-
- childs:
- 2 (30)
-
-
-
-
-
-
-
stats
-
-
-
-
-
bandwidth:
-
-
-
- 135% (2572 Gb)
-
-
-
-
-
800 Mb
-
-
-
-
-
-
-
- web domains:
- 1 (5)
-
-
- web ssl:
- 0 (5)
-
-
- web alias:
- (7) per domain
-
-
- web templates:
-
- default
- phpcgi
- unlim
-
- 6 more
-
-
-
-
- databases:
- 1 (5)
-
-
- shell:
- bash
-
-
- backups:
- retention 3
-
-
-
-
- mailboxes:
- ? (30)
-
-
- mail forwarders:
- ? (30)
-
-
- mail domains:
- 0 (?)
-
-
- dns domains:
- 0 (5)
-
-
- ns list:
-
- n1.readwriteweb.com
- n2.readwriteweb.com
- n3.readwriteweb.com
-
- 6 more
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- loraine_pledger
- (user)
-
-
- package:
- default
-
-
-
-
- name:
- Louisa Brockwell
-
-
- email:
-
- louisa.brockwell@han_solo_loraine_pledger.com
- (reports enabled)
-
-
-
-
-
-
-
-
- web domains:
- 1 (5)
-
-
- web ssl:
- 0 (5)
-
-
- web alias:
- (7) per domain
-
-
- web templates:
-
- default
- phpcgi
- unlim
-
-
-
- databases:
- 1 (5)
-
-
- shell:
- bash
-
-
- backups:
- retention 3
-
-
-
-
- mailboxes:
- ? (30)
-
-
- mail forwarders:
- ? (30)
-
-
- mail domains:
- 0 (?)
-
-
- dns domains:
- 0 (5)
-
-
- ns list:
-
- n1.readwriteweb.com
- n2.readwriteweb.com
- n3.readwriteweb.com
-
- 6 more
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Clayton.Musselwhite
- (user)
-
-
- package:
- default
-
-
-
-
- name:
- Clayton Musselwhite
-
-
- email:
-
- Clayton.Musselwhite@clayton-musselwhite.com
- (reports enabled)
-
-
-
-
-
-
-
-
- web domains:
- 1 (5)
-
-
- web ssl:
- 0 (5)
-
-
- web alias:
- (7) per domain
-
-
- web templates:
-
- default
- phpcgi
- unlim
-
-
-
- databases:
- 1 (5)
-
-
- shell:
- bash
-
-
- backups:
- retention 3
-
-
-
-
- mailboxes:
- ? (30)
-
-
- mail forwarders:
- ? (30)
-
-
- mail domains:
- 0 (?)
-
-
- dns domains:
- 0 (5)
-
-
- ns list:
-
- n1.readwriteweb.com
- n2.readwriteweb.com
- n3.readwriteweb.com
-
- 6 more
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Althea-Switalski
- (user)
-
-
- package:
- default
-
-
-
-
- name:
- Althea Switalski
-
-
- email:
-
- Althea.Switalski@han_solo_musselwhite.com
- (reports enabled)
-
-
-
-
-
-
-
-
- web domains:
- 1 (5)
-
-
- web ssl:
- 0 (5)
-
-
- web alias:
- (7) per domain
-
-
- web templates:
-
- default
- phpcgi
- unlim
-
-
-
- databases:
- 1 (5)
-
-
- shell:
- bash
-
-
- backups:
- retention 3
-
-
-
-
- mailboxes:
- ? (30)
-
-
- mail forwarders:
- ? (30)
-
-
- mail domains:
- 0 (?)
-
-
- dns domains:
- 0 (5)
-
-
- ns list:
-
- n1.readwriteweb.com
- n2.readwriteweb.com
- n3.readwriteweb.com
-
- 6 more
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/web/static-templates/web-domain.html b/web/static-templates/web-domain.html
deleted file mode 100644
index 38b69b72..00000000
--- a/web/static-templates/web-domain.html
+++ /dev/null
@@ -1,694 +0,0 @@
-
-
-
-
- Vesta | Web domain
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Users
-
-
-
- 386 users
- 7 blocked
-
-
-
-
-
-
-
-
-
- Web
-
-
-
- 580 domains
- 22 out of mem
- 3 waiting
-
-
-
-
-
-
-
-
-
- Mail
-
-
-
- 320 domains
- 1209 mailboxes
- 25 full
-
-
-
-
-
-
-
-
-
- DB
-
-
-
- 7 db
-
-
-
-
-
-
-
-
-
- Dns
-
-
-
- 289 records
-
-
-
-
-
-
-
-
-
- IP
-
-
-
- 7 templates
-
-
-
-
-
-
-
-
-
- Cron
-
-
-
- 15 records
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- naumov-socolov.co.uk
- Alias:
- naumov-socolov.org.ua,
- naumov-socolov.org.md,
- naumov-socolov.to
-
-
-
- 192. 52. 107. 26
-
- template:
- default
-
-
-
-
-
-
-
-
-
- php:
- cgi
-
-
- cgi:
- yes
-
-
- elog:
- no
-
-
- stats:
- yes
-
- auth
-
-
-
-
-
- ssl:
- yes
-
-
- nginx:
- yes
- extension list
-
-
-
-
-
-
-
-
-
-
-
- www.baden-wuerttemberg.de
- Alias:
- mecklenburg-vorpommern.eu,
- www.ostprignitz-ruppin.de,
- potsdam-mittelmark.de,
- maerkisch-oderland.de
-
-
-
- 192. 52. 107. 26
-
- template:
- default
-
-
-
-
-
-
-
-
-
- php:
- cgi
-
-
- cgi:
- yes
-
-
- elog:
- no
-
-
- stats:
- yes
-
- auth
-
-
-
-
-
- ssl:
- yes
-
-
- nginx:
- yes
- extension list
-
-
-
-
-
-
-
-
-
-
-
- www.digital-photography-school.com
- Alias:
- www.designer-daily.com,
- whatismyipaddress.com,
- theoryandpractice.ru,
- www.the-north-pole.com
-
-
-
- 192. 52. 107. 26
-
- template:
- default
-
-
-
-
-
-
-
-
-
- php:
- cgi
-
-
- cgi:
- yes
-
-
- elog:
- no
-
-
- stats:
- yes
-
- auth
-
-
-
-
-
- ssl:
- yes
-
-
- nginx:
- yes
- extension list
-
-
-
-
-
-
-
-
-
-
-
- www.digital-photography-school.com
- Alias:
- www.designer-daily.com,
- whatismyipaddress.com,
- theoryandpractice.ru,
- www.the-north-pole.com
-
-
-
- 192. 52. 107. 26
-
- template:
- default
-
-
-
-
-
-
-
-
-
- php:
- cgi
-
-
- cgi:
- yes
-
-
- elog:
- no
-
-
- stats:
- yes
-
- auth
-
-
-
-
-
- ssl:
- yes
-
-
- nginx:
- yes
- extension list
-
-
-
-
-
-
-
-
-
-
- domain:
-
-
-
-
-
- template:
-
- default
- custom
- advanced
-
-
-
-
- suspended:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Cancel
- Delete
-
-
-
-
-
-
-
-
-
diff --git a/web/templates/admin/add_user.html b/web/templates/admin/add_user.html
new file mode 100644
index 00000000..2f0046bb
--- /dev/null
+++ b/web/templates/admin/add_user.html
@@ -0,0 +1,43 @@
+
diff --git a/web/templates/admin/list_backup.html b/web/templates/admin/list_backup.html
new file mode 100644
index 00000000..30ca79f6
--- /dev/null
+++ b/web/templates/admin/list_backup.html
@@ -0,0 +1,65 @@
+
+
+ $value) {
+ $web = 'no';
+ $dns = 'no';
+ $mail = 'no';
+ $db = 'no';
+
+ if (!empty($data[$key]['WEB'])) $web = 'yes ¨';
+ if (!empty($data[$key]['DNS'])) $dns = 'yes ¨';
+ if (!empty($data[$key]['MAIL'])) $mail = 'yes ¨';
+ if (!empty($data[$key]['DB'])) $db = 'yes ¨';
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Run Time:
+ Backup Size:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/list_cron.html b/web/templates/admin/list_cron.html
new file mode 100644
index 00000000..e659e826
--- /dev/null
+++ b/web/templates/admin/list_cron.html
@@ -0,0 +1,82 @@
+
+
+ $value) {
+ if ($data[$key]['SUSPENDED'] == 'yes') {
+ $status = 'suspended';
+ $spnd_action = 'ususpend' ;
+ } else {
+ $status = 'active';
+ $spnd_action = 'suspend' ;
+ }
+
+ if (empty($data[$key]['CATCHALL'])) {
+ $data[$key]['CATCHALL'] = 'null';
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/list_db.html b/web/templates/admin/list_db.html
new file mode 100644
index 00000000..ee3c3f21
--- /dev/null
+++ b/web/templates/admin/list_db.html
@@ -0,0 +1,66 @@
+
+
+ $value) {
+ if ($data[$key]['SUSPENDED'] == 'yes') {
+ $status = 'suspended';
+ $spnd_action = 'ususpend' ;
+ } else {
+ $status = 'active';
+ $spnd_action = 'suspend' ;
+ }
+
+ if (empty($data[$key]['CATCHALL'])) {
+ $data[$key]['CATCHALL'] = 'null';
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [] database
+ Disk:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/list_dns.html b/web/templates/admin/list_dns.html
new file mode 100644
index 00000000..ba5f1390
--- /dev/null
+++ b/web/templates/admin/list_dns.html
@@ -0,0 +1,63 @@
+
+
+ $value) {
+ if ($data[$key]['SUSPENDED'] == 'yes') {
+ $status = 'suspended';
+ $spnd_action = 'ususpend' ;
+ } else {
+ $status = 'active';
+ $spnd_action = 'suspend' ;
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/list_dns_rec.html b/web/templates/admin/list_dns_rec.html
new file mode 100644
index 00000000..1fbd00f7
--- /dev/null
+++ b/web/templates/admin/list_dns_rec.html
@@ -0,0 +1,46 @@
+
+
+ $value) {
+ if ($data[$key]['SUSPENDED'] == 'yes') {
+ $status = 'suspended';
+ $spnd_action = 'ususpend' ;
+ } else {
+ $status = 'active';
+ $spnd_action = 'suspend' ;
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/list_ip.html b/web/templates/admin/list_ip.html
new file mode 100644
index 00000000..14500544
--- /dev/null
+++ b/web/templates/admin/list_ip.html
@@ -0,0 +1,51 @@
+
+
+ $value) {
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Web Domains:
+ Status:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/list_log.html b/web/templates/admin/list_log.html
new file mode 100644
index 00000000..eadb2bcd
--- /dev/null
+++ b/web/templates/admin/list_log.html
@@ -0,0 +1,31 @@
+
+
+ $value) {
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/list_mail.html b/web/templates/admin/list_mail.html
new file mode 100644
index 00000000..8732656a
--- /dev/null
+++ b/web/templates/admin/list_mail.html
@@ -0,0 +1,69 @@
+
+
+ $value) {
+ if ($data[$key]['SUSPENDED'] == 'yes') {
+ $status = 'suspended';
+ $spnd_action = 'ususpend' ;
+ } else {
+ $status = 'active';
+ $spnd_action = 'suspend' ;
+ }
+
+ if (empty($data[$key]['CATCHALL'])) {
+ $data[$key]['CATCHALL'] = '/dev/null';
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Antivirus:
+ Antispam:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/list_mail_acc.html b/web/templates/admin/list_mail_acc.html
new file mode 100644
index 00000000..c3f66a9c
--- /dev/null
+++ b/web/templates/admin/list_mail_acc.html
@@ -0,0 +1,61 @@
+
+
+ $value) {
+ if ($data[$key]['SUSPENDED'] == 'yes') {
+ $status = 'suspended';
+ $spnd_action = 'ususpend' ;
+ } else {
+ $status = 'active';
+ $spnd_action = 'suspend' ;
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/list_rrd.html b/web/templates/admin/list_rrd.html
new file mode 100644
index 00000000..f0f4bcf4
--- /dev/null
+++ b/web/templates/admin/list_rrd.html
@@ -0,0 +1,47 @@
+
+
+ $value) {
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ">
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/list_stats.html b/web/templates/admin/list_stats.html
new file mode 100644
index 00000000..6b4aa388
--- /dev/null
+++ b/web/templates/admin/list_stats.html
@@ -0,0 +1,77 @@
+
+
+ $value) {
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+ [] package
+ Bandwidth: % ()
+
+ Disk: % ()
+
+
+
+
+ Web:
+ Mail:
+
+ Databases:
+ User Dirs:
+
+
+
+
+
+
+
+ Web Domains:
+
+ Web SSL:
+
+ Web Aliases:
+
+ Dns Domains:
+
+ Dns Records:
+
+
+
+
+ Mail Domains:
+
+ Mail Accounts:
+
+ Databases:
+
+ Cron Jobs:
+
+ Dedicated IP:
+
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/list_user.html b/web/templates/admin/list_user.html
new file mode 100644
index 00000000..17ffd76c
--- /dev/null
+++ b/web/templates/admin/list_user.html
@@ -0,0 +1,157 @@
+
+
+ $value) {
+ if ($data[$key]['SUSPENDED'] == 'yes') {
+ $status = 'suspended';
+ $spnd_action = 'unsuspend' ;
+ } else {
+ $status = 'active';
+ $spnd_action = 'suspend' ;
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+ logout";
+ } else {
+ echo "login as ";
+ }
+ ?>
+
+ "> edit
+
+
+ ">
+ " title="Confirmation">
+
Are you sure you want to user account?
+
+
+
+
+ "> delete
+ " title="Confirmation">
+
Are you sure you want to delete user account?
+
+
+
+
+
+
+
+
+
+ [] package
+ Bandwidth: % ()
+
+ Disk: % ()
+
+
+
+
+ Web:
+ Mail:
+
+ Databases:
+ User Dirs:
+
+
+
+
+
+
+
+ Web Domains:
+ /
+ Web SSL:
+
+ Web Aliases:
+ per domain
+ Web Templates:
+
+ Dns Domains:
+ /
+ Dns Records:
+ per domain
+ Name Servers:
+
+
+
+
+ Mail Domains:
+ /
+ Mail Accounts:
+ per domain
+ Databases:
+ /
+ Cron Jobs:
+ /
+ Shell:
+
+ Dedicated IP:
+
+ Backups:
+ /
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/list_web.html b/web/templates/admin/list_web.html
new file mode 100644
index 00000000..92469c22
--- /dev/null
+++ b/web/templates/admin/list_web.html
@@ -0,0 +1,70 @@
+
+
+ $value) {
+ if ($data[$key]['SUSPENDED'] == 'yes') {
+ $status = 'suspended';
+ $spnd_action = 'ususpend' ;
+ } else {
+ $status = 'active';
+ $spnd_action = 'suspend' ;
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [] template
+ Bandwidth:
+
+ Disk:
+
+
+
+
+
+ PHP Type:
+ CGI Support:
+ Error Log:
+ Web Statistics:
+ Statistics Auth:
+
+
+
+
+ SSL Support:
+ SSL Home:
+ Nginx Template:
+ Nginx Extentions:
+
+
+
+
+
+
+
+
+
+
diff --git a/web/templates/admin/menu_add_user.html b/web/templates/admin/menu_add_user.html
new file mode 100644
index 00000000..912c3ed4
--- /dev/null
+++ b/web/templates/admin/menu_add_user.html
@@ -0,0 +1,8 @@
+
diff --git a/web/templates/admin/menu_backup.html b/web/templates/admin/menu_backup.html
new file mode 100644
index 00000000..8c4b075e
--- /dev/null
+++ b/web/templates/admin/menu_backup.html
@@ -0,0 +1,16 @@
+
diff --git a/web/templates/admin/menu_clean.html b/web/templates/admin/menu_clean.html
new file mode 100644
index 00000000..b2759bc7
--- /dev/null
+++ b/web/templates/admin/menu_clean.html
@@ -0,0 +1,5 @@
+
diff --git a/web/templates/admin/menu_cron.html b/web/templates/admin/menu_cron.html
new file mode 100644
index 00000000..e05f9b12
--- /dev/null
+++ b/web/templates/admin/menu_cron.html
@@ -0,0 +1,16 @@
+
diff --git a/web/templates/admin/menu_db.html b/web/templates/admin/menu_db.html
new file mode 100644
index 00000000..5416dc87
--- /dev/null
+++ b/web/templates/admin/menu_db.html
@@ -0,0 +1,16 @@
+
diff --git a/web/templates/admin/menu_dns.html b/web/templates/admin/menu_dns.html
new file mode 100644
index 00000000..af32eed4
--- /dev/null
+++ b/web/templates/admin/menu_dns.html
@@ -0,0 +1,16 @@
+
diff --git a/web/templates/admin/menu_dns_rec.html b/web/templates/admin/menu_dns_rec.html
new file mode 100644
index 00000000..36ac660e
--- /dev/null
+++ b/web/templates/admin/menu_dns_rec.html
@@ -0,0 +1,16 @@
+
diff --git a/web/templates/admin/menu_ip.html b/web/templates/admin/menu_ip.html
new file mode 100644
index 00000000..0a37457d
--- /dev/null
+++ b/web/templates/admin/menu_ip.html
@@ -0,0 +1,16 @@
+
diff --git a/web/templates/admin/menu_log.html b/web/templates/admin/menu_log.html
new file mode 100644
index 00000000..45e32ced
--- /dev/null
+++ b/web/templates/admin/menu_log.html
@@ -0,0 +1,6 @@
+
diff --git a/web/templates/admin/menu_mail.html b/web/templates/admin/menu_mail.html
new file mode 100644
index 00000000..c07b2bae
--- /dev/null
+++ b/web/templates/admin/menu_mail.html
@@ -0,0 +1,16 @@
+
diff --git a/web/templates/admin/menu_mail_acc.html b/web/templates/admin/menu_mail_acc.html
new file mode 100644
index 00000000..6ae32c69
--- /dev/null
+++ b/web/templates/admin/menu_mail_acc.html
@@ -0,0 +1,16 @@
+
diff --git a/web/templates/admin/menu_rrd.html b/web/templates/admin/menu_rrd.html
new file mode 100644
index 00000000..3ba1dbcb
--- /dev/null
+++ b/web/templates/admin/menu_rrd.html
@@ -0,0 +1,11 @@
+
diff --git a/web/templates/admin/menu_stats.html b/web/templates/admin/menu_stats.html
new file mode 100644
index 00000000..45e32ced
--- /dev/null
+++ b/web/templates/admin/menu_stats.html
@@ -0,0 +1,6 @@
+
diff --git a/web/templates/admin/menu_user.html b/web/templates/admin/menu_user.html
new file mode 100644
index 00000000..1f053dd7
--- /dev/null
+++ b/web/templates/admin/menu_user.html
@@ -0,0 +1,21 @@
+
diff --git a/web/templates/admin/menu_web.html b/web/templates/admin/menu_web.html
new file mode 100644
index 00000000..9abbbf6f
--- /dev/null
+++ b/web/templates/admin/menu_web.html
@@ -0,0 +1,16 @@
+
diff --git a/web/templates/admin/panel.html b/web/templates/admin/panel.html
new file mode 100644
index 00000000..ac933c03
--- /dev/null
+++ b/web/templates/admin/panel.html
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+ USER
+ users: echo $panel[$user]['U_USERS'] ?>
+ suspended: echo $panel[$user]['SUSPENDED_USERS']?>
+ WEB
+ domains: echo $panel[$user]['U_WEB_DOMAINS']?>
+ aliases: echo $panel[$user]['U_WEB_ALIASES']?>
+ webssl: echo $panel[$user]['U_WEB_SSL']?>
+ suspended: echo $panel[$user]['SUSPENDED_WEB']?>
+ DNS
+ domains: echo $panel[$user]['U_DNS_DOMAINS']?>
+ records: echo $panel[$user]['U_DNS_RECORDS']?>
+ suspended: echo $panel[$user]['SUSPENDED_DNS']?>
+ MAIL
+ domains: echo $panel[$user]['U_MAIL_DOMAINS']?>
+ dkim: echo $panel[$user]['U_MAIL_DKIM']?>
+ accounts: echo $panel[$user]['U_MAIL_ACCOUNTS']?>
+ suspended: echo $panel[$user]['SUSPENDED_MAIL']?>
+ DB
+ databases: echo $panel[$user]['U_DATABASES']?>
+ suspended: echo $panel[$user]['SUSPENDED_DB']?>
+ CRON
+ jobs: echo $panel[$user]['U_CRON_JOBS']?>
+ suspended: echo $panel[$user]['SUSPENDED_CRON']?>
+ BACKUP
+ available: echo $panel[$user]['U_BACKUPS']?>
+
+
+
diff --git a/web/templates/csshover3.htc b/web/templates/csshover3.htc
new file mode 100644
index 00000000..7e5c57b3
--- /dev/null
+++ b/web/templates/csshover3.htc
@@ -0,0 +1,12 @@
+
+
diff --git a/web/templates/footer.html b/web/templates/footer.html
new file mode 100644
index 00000000..be687b40
--- /dev/null
+++ b/web/templates/footer.html
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+