Ignore:
Timestamp:
May 25, 2010, 10:54:34 PM (14 years ago)
Author:
vdigital
Message:

Admin page design review mainly for the "clear" theme
Code review

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/charlies_content/charlies_config.tpl

    r6220 r6360  
    33</div>
    44
    5 <form method="post" action="" class="Charlies properties">
     5<form method="post" action="" class="Charlies properties{if !empty($themeconf.name)} {$themeconf.name}{/if}{if !empty($themeconf.id)} {$themeconf.id}{/if}">
    66
    77{if $page == 'templates'}
     
    3939
    4040{if $page == 'options'}
    41 <script type="text/javascript">
    42 jQuery().ready(function(){ldelim}
    43         $('#theAdminPage .titrePage h2').addClass('ct').fadeOut(10).fadeIn(2400);
    44 });
    45 </script>
    4641<fieldset>
    4742        <legend>{'Charlies players configuration'|@translate}</legend>
     
    301296{literal}
    302297<script type="text/javascript">
    303   $(document).ready(function(){
    304     $("#main-options").tabs();
     298  jQuery(document).ready(function(){
     299    jQuery("#main-options").tabs();
    305300  });
    306301</script>
     
    386381{literal}
    387382<script type="text/javascript">
    388   $(document).ready(function() {
     383  jQuery(document).ready(function() {
    389384    var f = $.farbtastic('#picker');
    390385    var p = $('#picker').css('opacity', 1);
    391386    var selected;
    392     $('.colorwell')
     387    jQuery('.colorwell')
    393388      .each(function () { f.linkTo(this); $(this).css('opacity', 0.50); })
    394389      .focus(function() {
    395390        if (selected) {
    396           $(selected).css('opacity', 0.90).removeClass('colorwell-selected');
     391          jQuery(selected).css('opacity', 0.90).removeClass('colorwell-selected');
    397392        }
    398393        f.linkTo(this);
    399394        p.css('opacity', 1);
    400         $(selected = this).css('opacity', 1).addClass('colorwell-selected');
     395        jQuery(selected = this).css('opacity', 1).addClass('colorwell-selected');
    401396      });
    402397  });
    403         $('#theAdminPage .titrePage h2').addClass('ct2').fadeOut(10).fadeIn(1800);
    404398</script>
    405399{/literal}
     
    435429
    436430<script type="text/javascript">
    437   $(document).ready(function() {ldelim}
    438                 $(".infos").fadeOut(800).fadeIn(1200).fadeOut(400).fadeIn(800).fadeOut(400);
    439                 $(".errors").fadeOut(200).fadeIn(200).fadeOut(300).fadeIn(300).fadeOut(400).fadeIn(400);
    440   });
     431jQuery(document).ready(function() {ldelim}
     432        jQuery(".infos").fadeOut(800).fadeIn(1200).fadeOut(400).fadeIn(800).fadeOut(400);
     433        jQuery(".errors").fadeOut(200).fadeIn(200).fadeOut(300).fadeIn(300).fadeOut(400).fadeIn(400);
     434        jQuery('#theAdminPage #the_page').addClass('{$themeconf.name}');
     435{if $page == 'options'}
     436        jQuery('#theAdminPage #the_page h2').addClass('cl2');
     437{/if}{if $page == 'colors'}
     438        jQuery('#theAdminPage #the_page.clear h2').addClass('cl3');
     439{/if}{if $page == 'curtain'}
     440        jQuery('#theAdminPage #the_page.roma h2').addClass('cl2');
     441{/if}});
     442        jQuery('#theAdminPage #the_page h2').fadeIn(1800);
    441443</script>
    442444
     
    451453{known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"}
    452454{known_script id="jquery.ui.tabs" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.tabs.packed.js"}
    453 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
    454 {known_script id="jquery.ui.tabs" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.tabs.packed.js"}
Note: See TracChangeset for help on using the changeset viewer.