incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@apache.org
Subject svn commit: r1324662 - in /incubator/bloodhound/trunk/bloodhound_theme/bhtheme: htdocs/scripts/theme.js templates/bloodhound_theme.html theme.py
Date Wed, 11 Apr 2012 09:19:21 GMT
Author: gjm
Date: Wed Apr 11 09:19:21 2012
New Revision: 1324662

URL: http://svn.apache.org/viewvc?rev=1324662&view=rev
Log:
bloodhound theme: Attempt to implement quick create ticket notifications using Bootstrap popover

Modified:
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/scripts/theme.js
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/scripts/theme.js
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/scripts/theme.js?rev=1324662&r1=1324661&r2=1324662&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/scripts/theme.js (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/scripts/theme.js Wed Apr 11
09:19:21 2012
@@ -1,7 +1,9 @@
 
 
 $( function () {
-    // Do not close dropdown menu if user clicks on form controls
+    //$('#qct-newticket').popover({});
+    
+    // Do not close dropdown menu if user interacts with form controls
     $('.dropdown-menu input, .dropdown-menu label, .dropdown-menu select')
         .click(function (e) { e.stopPropagation(); });
 

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html?rev=1324662&r1=1324661&r2=1324662&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html Wed
Apr 11 09:19:21 2012
@@ -29,10 +29,10 @@
         type="text/javascript"></script>
     <script src="${href.chrome('theme/scripts/bootstrap-dropdown.js')}"
         type="text/javascript"></script>
-    <!-- script src="${href.chrome('theme/scripts/bootstrap-tooltip.js')}"
+    <script src="${href.chrome('theme/scripts/bootstrap-tooltip.js')}"
         type="text/javascript"></script>
     <script src="${href.chrome('theme/scripts/bootstrap-popover.js')}"
-        type="text/javascript"></script -->
+        type="text/javascript"></script> 
     <script src="${href.chrome('theme/scripts/dashboard.js')}"
         type="text/javascript"></script>
     ${Markup('&lt;!--[if lt IE 7]&gt;')}
@@ -125,7 +125,9 @@
           <py:choose test="">
             <py:when test="qct">
               <div class="btn-group">
-                <a href="${href.newticket()}" class="btn btn-inverse">
+                <a href="${href.newticket()}" class="btn btn-inverse"
+                    id="qct-newticket" rel="popover" title="Ticket "
+                    data-content="Alert box">
                   Create Ticket
                 </a>
                 <a href="#" class="btn btn-inverse dropdown-toggle"

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py?rev=1324662&r1=1324661&r2=1324662&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py Wed Apr 11 09:19:21 2012
@@ -67,11 +67,6 @@ class BloodhoundTheme(ThemeBase):
     """
     template = htdocs = css = screenshot = disable_trac_css = True
 
-    # Internal methods
-    def is_theme_active(self, req):
-        # TODO: Implement
-        return True
-
 class QuickCreateTicketDialog(Component):
     implements(IRequestFilter, IRequestHandler)
 



Mime
View raw message