Commit 1f20f9f3 authored by Pat Kira's avatar Pat Kira Committed by Robert Lyon
Browse files

Add droppable/column indicator (BUG 1465107)

Task no. 22600
Evonne's request - Add class to inpage submenu

behatnotneeded: styling only
Change-Id: I8c855374b25454bd6e5b5a7f03633e4e026e9912
parent 17894563
......@@ -113,6 +113,9 @@ class PluginArtefactInternal extends PluginArtefact {
public static function submenu_items() {
$tabs = array(
'subnav' => array(
'class' => 'profile'
),
'profile' => array(
'page' => 'profile',
'url' => 'artefact/internal/index.php',
......
......@@ -71,6 +71,9 @@ class PluginArtefactResume extends PluginArtefact {
public static function submenu_items() {
$tabs = array(
'subnav' => array(
'class' => 'resume'
),
'index' => array(
'page' => 'index',
'url' => 'artefact/resume',
......
......@@ -127,12 +127,10 @@ class PluginAuthWebservice extends PluginAuth {
),
);
if (defined('MENUITEM') && isset($map[MENUITEM])) {
$map[MENUITEM]['selected'] = true;
}
return $map;
}
......
......@@ -1818,7 +1818,9 @@ function group_get_menu_tabs() {
$menu = array_merge($menu, $plugin_menu);
}
}
$menu['subnav'] = array(
'class' => 'group'
);
$menu['views'] = array(
'path' => 'groups/views',
'url' => 'view/groupviews.php?group='.$group->id,
......
......@@ -94,6 +94,9 @@ class PluginModuleMultirecipientnotification extends PluginModule {
*/
public static function submenu_items() {
$tabs = array(
'subnav' => array(
'class' => 'notifications'
),
'inbox' => array(
'iconclass' => 'icon icon-inbox icon-lg',
'url' => 'module/multirecipientnotification/inbox.php',
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -79,6 +79,11 @@
}
}
// Droppable area background indicator
.block-drop-on {
background: darken($panel-default-heading-bg, 5%) ;
}
.drag-handle,
.ui-draggable {
cursor: move;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -78,7 +78,9 @@
<div id="main-column-container">
{if $SUBPAGENAV || $sectiontabs}
<div class="arrow-bar">
{assign $SUBPAGENAV item}
{$sectiontabs}
<div class="arrow-bar {$item.subnav.class}">
<span class="arrow hidden-xs">
<span class="text">
{if isset($PAGEHEADING)}{$PAGEHEADING}{/if}
......
......@@ -22,6 +22,7 @@
{else}
<ul class="nav nav-pills nav-inpage">
{foreach from=$SUBPAGENAV item=item}
{if $item.url}
<li class="{if $item.class}{$item.class} {/if}{if $item.selected} current-tab active{/if}">
<a {if $item.tooltip}title="{$item.tooltip}"{/if} class="{if $item.selected} current-tab{/if}" href="{$WWWROOT}{$item.url}">
{if $item.iconclass}<span class="{$item.iconclass} prs"></span>{/if}
......@@ -29,7 +30,7 @@
<span class="accessible-hidden sr-only">({str tag=tab}{if $item.selected} {str tag=selected}{/if})</span>
</a>
</li>
{/if}
{/foreach}
</ul>
{/if}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment