[freeside-commits] branch master updated. e572171073e0af425764f6a281fc7a6039398325
Ivan
ivan at 420.am
Fri Jul 10 02:37:22 PDT 2015
The branch, master has been updated
via e572171073e0af425764f6a281fc7a6039398325 (commit)
from 716a818e5f9aec88872d003e87bc6dda36bfc0b4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e572171073e0af425764f6a281fc7a6039398325
Author: Ivan Kohler <ivan at freeside.biz>
Date: Fri Jul 10 02:37:20 2015 -0700
restore ticket menus in RT 4.2, RT#13852
diff --git a/rt/share/html/Elements/Header b/rt/share/html/Elements/Header
index 3a5be7a..717bf07 100755
--- a/rt/share/html/Elements/Header
+++ b/rt/share/html/Elements/Header
@@ -49,7 +49,7 @@
'title' => $Title,
'head' => $head,
'etc' => $etc,
- #make space for RT menu for now# 'nobr' => 1,
+ 'nobr' => 1,
'nocss' => 1,
'no_jquery' => $JavaScript,
}
@@ -120,10 +120,20 @@ if ( $RSSAutoDiscovery ) {
if ($JavaScript) {
$head .= $m->scomp('/Elements/HeaderJavascript', focus => $Focus, onload => $onload, RichText => $RichText );
- my $stylesheet_plugin = "/NoAuth/css/$style/InHeader";
- if ($m->comp_exists($stylesheet_plugin) ) {
- $head .= $m->scomp($stylesheet_plugin);
- }
+$head .= q[
+<script type="text/javascript">
+jQuery(document).ready(function(){
+ jQuery.fn.supersubs.defaults = {
+ maxWidth: 30,
+ extraWidth: 2
+ };
+
+ jQuery("#app-nav.toplevel").addClass('sf-menu sf-js-enabled sf-shadow').supersubs().superfish({ speed: 'fast' });
+ jQuery("#page-menu.toplevel").addClass('sf-menu sf-js-enabled').supersubs().superfish({ dropShadows: false, speed: 'fast' }).supposition();
+});
+</script>
+];
+
}
# $m->callback( %ARGS, CallbackName => 'Head' );
diff --git a/rt/share/static/css/freeside4/nav.css b/rt/share/static/css/freeside4/nav.css
index 907a74b..684ffd1 100644
--- a/rt/share/static/css/freeside4/nav.css
+++ b/rt/share/static/css/freeside4/nav.css
@@ -65,10 +65,12 @@
#page-navigation {
position: absolute;
- top: 6em;
+ /* top: 6em; */
+ top: 17em;
right: 0;
- left: 0;
- padding-right: 3em;
+ /* left: 0; */
+ left: auto
+ /* padding-right: 3em; */
z-index: 9995;
font-size: 0.9em;
border-bottom: 1px solid #ccc;
@@ -82,7 +84,8 @@
}
#page-navigation .sf-menu li {
- background-color: transparent
+ /* background-color: transparent */
+ background-color: #f8f8f8
}
#page-navigation .sf-menu li li,
@@ -92,7 +95,7 @@
#page-navigation .sf-menu a:visited,
#page-navigation .sf-menu a {
- border: none;
+ /* border: none; */
color: #000;
}
@@ -114,6 +117,8 @@
display: block
}
+/* ## new ticket via customer, and we already have a ticket search box
+
#topactions {
position: absolute;
background: transparent;
@@ -157,6 +162,8 @@
color: #000
}
+*/
+
.sf-menu ul {
background-image: none;
padding: 0;
-----------------------------------------------------------------------
Summary of changes:
rt/share/html/Elements/Header | 20 +++++++++++++++-----
rt/share/static/css/freeside4/nav.css | 17 ++++++++++++-----
2 files changed, 27 insertions(+), 10 deletions(-)
More information about the freeside-commits
mailing list