// Changed modules list button (Sarah needed here!)
This commit is contained in:
@@ -235,7 +235,10 @@ a.module_toggle_all{color: #268CCD;}
|
||||
.toolbarBox .process-icon-help-new{ background-image: url('../img/process-icon-help-new.png');}
|
||||
.toolbarBox .process-icon-modules-list{ background-image: url('../img/process-icon-modules-list.png');}
|
||||
|
||||
.toolbarBox #modules_list_container {
|
||||
.toolbarReduced {margin-right:221px}
|
||||
#modules_list_button {width:211px;height:63px;border:none;float:right;background-image:url('../img/modules_list_button.png');font-size: 1.6em;cursor:pointer;padding-left:45px;margin-top:-73px}
|
||||
|
||||
#modules_list_container {
|
||||
background: none repeat scroll 0 0 #FFF;
|
||||
border: solid 1px #CCC;
|
||||
display: block;
|
||||
@@ -244,7 +247,7 @@ a.module_toggle_all{color: #268CCD;}
|
||||
width: 300px;
|
||||
position: absolute;
|
||||
right: 13px;
|
||||
top: 63px;
|
||||
top: 83px;
|
||||
z-index: 100;
|
||||
padding: 10px;
|
||||
box-shadow: 1px 5px 5px #CCCCCC;
|
||||
@@ -253,29 +256,29 @@ a.module_toggle_all{color: #268CCD;}
|
||||
opacity: 1;
|
||||
|
||||
}
|
||||
.toolbarBox #modules_list_container #modules_list_container_content
|
||||
#modules_list_container #modules_list_container_content
|
||||
{
|
||||
max-height: 500px;
|
||||
overflow: auto;
|
||||
|
||||
}
|
||||
|
||||
.toolbarBox #modules_list_container #modules_list_container_tab {margin-top: 10px;width: auto;height: auto; }
|
||||
.toolbarBox #modules_list_container #modules_list_container_tab table {width: 100%;border-spacing: 0px; }
|
||||
.toolbarBox #modules_list_container #modules_list_container_tab tr { height: auto}
|
||||
.toolbarBox #modules_list_container #modules_list_container_tab tr.rowalt {background-color: #EEE}
|
||||
.toolbarBox #modules_list_container #modules_list_container_tab #tab_module_switch {margin-bottom: 10px;}
|
||||
.toolbarBox #modules_list_container #modules_list_loader {margin-top: 10px}
|
||||
.toolbarBox #modules_list_container .nav-tabs-modules:after {clear: both;}
|
||||
.toolbarBox #modules_list_container .nav-tabs-modules > li {height: 19px;}
|
||||
.toolbarBox #modules_list_container .nav-tabs-modules > li > a {
|
||||
#modules_list_container #modules_list_container_tab {margin-top: 10px;width: auto;height: auto; }
|
||||
#modules_list_container #modules_list_container_tab table {width: 100%;border-spacing: 0px; }
|
||||
#modules_list_container #modules_list_container_tab tr { height: auto}
|
||||
#modules_list_container #modules_list_container_tab tr.rowalt {background-color: #EEE}
|
||||
#modules_list_container #modules_list_container_tab #tab_module_switch {margin-bottom: 10px;}
|
||||
#modules_list_container #modules_list_loader {margin-top: 10px}
|
||||
#modules_list_container .nav-tabs-modules:after {clear:both}
|
||||
#modules_list_container .nav-tabs-modules > li {height: 19px;float:left}
|
||||
#modules_list_container .nav-tabs-modules > li > a {
|
||||
padding-right: 12px;
|
||||
padding-left: 12px;
|
||||
margin-right: 2px;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
.toolbarBox #modules_list_container .nav-tabs-modules > li > a {
|
||||
#modules_list_container .nav-tabs-modules > li > a {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 7px;
|
||||
border: 1px solid transparent;
|
||||
@@ -285,15 +288,15 @@ a.module_toggle_all{color: #268CCD;}
|
||||
border-radius: 4px 4px 0 0;
|
||||
}
|
||||
|
||||
.toolbarBox #modules_list_container .nav-tabs-modules > li > a:hover {
|
||||
#modules_list_container .nav-tabs-modules > li > a:hover {
|
||||
border-color: #C0C0C0;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.toolbarBox #modules_list_container .nav-tabs-modules > li > a {border: 1px solid #ddd;border-bottom:none;}
|
||||
#modules_list_container .nav-tabs-modules > li > a {border: 1px solid #ddd;border-bottom:none;}
|
||||
|
||||
.toolbarBox #modules_list_container .nav-tabs-modules > .active > a,
|
||||
.toolbarBox #modules_list_container .nav-tabs-modules > .active > a:hover {
|
||||
#modules_list_container .nav-tabs-modules > .active > a,
|
||||
#modules_list_container .nav-tabs-modules > .active > a:hover {
|
||||
color: #555555;
|
||||
cursor: default;
|
||||
background-color: #EEE;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
*}
|
||||
|
||||
<div class="toolbar-placeholder">
|
||||
<div class="toolbarBox {if $toolbar_scroll}toolbarHead{/if}">
|
||||
<div class="toolbarBox {if $toolbar_scroll}toolbarHead{/if} {if isset($tab_modules_list)}toolbarReduced{/if}">
|
||||
{block name=toolbarBox}
|
||||
<ul class="cc_button">
|
||||
{foreach from=$toolbar_btn item=btn key=k}
|
||||
@@ -33,15 +33,6 @@
|
||||
<span class="process-icon-{if isset($btn.imgclass)}{$btn.imgclass}{else}{$k}{/if} {if isset($btn.class)}{$btn.class}{/if}" ></span>
|
||||
<div {if isset($btn.force_desc) && $btn.force_desc == true } class="locked" {/if}>{$btn.desc}</div>
|
||||
</a>
|
||||
{if $k == 'modules-list'}
|
||||
<div id="modules_list_container" style="display:none">
|
||||
<div style="float:right;top:-5px">
|
||||
<a href="#" onclick="$('#modules_list_container').slideUp();return false;"><img alt="X" src="../img/admin/close.png"></a>
|
||||
</div>
|
||||
<div id="modules_list_loader"><img src="../img/loader.gif" alt="" border="0"></div>
|
||||
<div id="modules_list_container_tab" style="display:none;"></div>
|
||||
</div>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
@@ -117,13 +108,51 @@
|
||||
}
|
||||
{/block}
|
||||
}
|
||||
{if isset($tab_modules_open)}
|
||||
if ({$tab_modules_open})
|
||||
openModulesList();
|
||||
{/if}
|
||||
});
|
||||
{if isset($tab_modules_list)}
|
||||
$('.process-icon-modules-list').parent('a').unbind().bind('click', function (){
|
||||
//]]>
|
||||
</script>
|
||||
{/block}
|
||||
<div class="pageTitle">
|
||||
<h3>{block name=pageTitle}
|
||||
<span id="current_obj" style="font-weight: normal;">
|
||||
{if $title}
|
||||
{foreach $title as $key => $item name=title}
|
||||
{* Use strip_tags because if the string already has been through htmlentities using escape will break it *}
|
||||
<span class="breadcrumb item-{$key} ">{$item|strip_tags}
|
||||
{if !$smarty.foreach.title.last}
|
||||
<img alt=">" style="margin-right:5px" src="../img/admin/separator_breadcrumb.png" />
|
||||
{/if}
|
||||
</span>
|
||||
{/foreach}
|
||||
{else}
|
||||
|
||||
{/if}
|
||||
</span>
|
||||
{/block}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
{if isset($tab_modules_list)}
|
||||
<button id="modules_list_button">
|
||||
{l s='Modules list'}
|
||||
</button>
|
||||
<div class="clear"> </div>
|
||||
<div id="modules_list_container" style="display:none">
|
||||
<div style="float:right;top:-5px">
|
||||
<a href="#" onclick="$('#modules_list_container').slideUp();return false;"><img alt="X" src="../img/admin/close.png"></a>
|
||||
</div>
|
||||
<div id="modules_list_loader"><img src="../img/loader.gif" alt="" border="0"></div>
|
||||
<div id="modules_list_container_tab" style="display:none"></div>
|
||||
</div>
|
||||
<script language="javascript" type="text/javascript">
|
||||
//<![CDATA[
|
||||
{if isset($tab_modules_open)}
|
||||
if ({$tab_modules_open})
|
||||
openModulesList();
|
||||
{/if}
|
||||
|
||||
{if isset($tab_modules_list)}
|
||||
$('#modules_list_button').bind('click', function (){
|
||||
openModulesList();
|
||||
});
|
||||
|
||||
@@ -133,7 +162,7 @@
|
||||
if (!modules_list_loaded)
|
||||
{
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
type: "POST",
|
||||
url : '{$admin_module_ajax_url}',
|
||||
async: true,
|
||||
data : {
|
||||
@@ -158,28 +187,8 @@
|
||||
}
|
||||
return false;
|
||||
}
|
||||
{/if}
|
||||
//]]>
|
||||
</script>
|
||||
{/block}
|
||||
<div class="pageTitle">
|
||||
<h3>{block name=pageTitle}
|
||||
<span id="current_obj" style="font-weight: normal;">
|
||||
{if $title}
|
||||
{foreach $title as $key => $item name=title}
|
||||
{* Use strip_tags because if the string already has been through htmlentities using escape will break it *}
|
||||
<span class="breadcrumb item-{$key} ">{$item|strip_tags}
|
||||
{if !$smarty.foreach.title.last}
|
||||
<img alt=">" style="margin-right:5px" src="../img/admin/separator_breadcrumb.png" />
|
||||
{/if}
|
||||
</span>
|
||||
{/foreach}
|
||||
{else}
|
||||
|
||||
{/if}
|
||||
</span>
|
||||
{/block}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
//]]>
|
||||
</script>
|
||||
{/if}
|
||||
</div>
|
||||
Reference in New Issue
Block a user