diff options
Diffstat (limited to 'templates/content')
-rw-r--r-- | templates/content/js/mediawiki-login.js | 29 | ||||
-rw-r--r-- | templates/content/style/mediawiki-login.css | 63 |
2 files changed, 0 insertions, 92 deletions
diff --git a/templates/content/js/mediawiki-login.js b/templates/content/js/mediawiki-login.js deleted file mode 100644 index f1805f88..00000000 --- a/templates/content/js/mediawiki-login.js +++ /dev/null @@ -1,29 +0,0 @@ -function toggleScreenNameInput(par1,par2){ - if ($(this).is(':checked')){ - $('.optional-screen-name').show(); - } - else { - $('#id_screen_name').val(''); - $('.optional-screen-name').hide(); - } -} - -function toggleScreenNameErrorMessage(e){ - var screen_name = $('#id_screen_name').val(); - if (screen_name != ''){ - $('.screen-name-error').hide(); - } - else{ - $('.screen-name-error').show(); - } -} - -$(document).ready( function(){ - var screen_name = $('#id_screen_name').val(); - var use_screen_name = $('#id_use_separate_screen_name').is(':checked'); - if (screen_name == '' && !use_screen_name){ - $('.optional-screen-name').hide(); - } - $('#id_use_separate_screen_name').unbind('click').click(toggleScreenNameInput); - $('#id_screen_name').unbind('keyup').keyup(toggleScreenNameErrorMessage); -}); diff --git a/templates/content/style/mediawiki-login.css b/templates/content/style/mediawiki-login.css deleted file mode 100644 index 58813c7c..00000000 --- a/templates/content/style/mediawiki-login.css +++ /dev/null @@ -1,63 +0,0 @@ -#mediawiki-login legend { - font-weight:bold; - font-size:14px; -} - -#mediawiki-login fieldset { - border:none; -} - -#mediawiki-login ul { - list-style: none; - list-style-position: outside; - padding: 0px; - margin: 10px 0 0 0; -} - -#mediawiki-login p { - margin:0; -} - -#mediawiki-login div.login-information label { - width: 180px; - display: inline-block; -} - -#mediawiki-login legend { - padding: 0px; -} - -#mediawiki-login h2 { - margin:10px 0 0 0; - padding:3px 0 3px 0; - border:none; - font-family:sans-serif; - font-size:16.8px; - font-weight:bold; -} - -#mediawiki-login tr { - vertical-align: top; -} - -#id_screen_name { - margin-left:25px; -} - -#mediawiki-login input { - height: 20px; -} - -#mediawiki-login input.submit { - margin-top:5px; - margin-left:5px; - display:block; - clear:both; - font-weight: bold; - font-size:14.4px; - height:33px; - /*padding: 4px 6px 4px 6px;*/ - text-align: center; - border: 1px solid #777777; - background: #D4D0C8; -} |