You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by rj...@apache.org on 2013/06/02 19:58:34 UTC

svn commit: r1488753 - in /bloodhound/trunk/bloodhound_dashboard/bhdashboard: htdocs/css/docs.css widgets/templates/widget_doc.html

Author: rjollos
Date: Sun Jun  2 17:58:34 2013
New Revision: 1488753

URL: http://svn.apache.org/r1488753
Log:
Refs #531: Added a left margin to the doc widget title and message.

Modified:
    bloodhound/trunk/bloodhound_dashboard/bhdashboard/htdocs/css/docs.css
    bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_doc.html

Modified: bloodhound/trunk/bloodhound_dashboard/bhdashboard/htdocs/css/docs.css
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_dashboard/bhdashboard/htdocs/css/docs.css?rev=1488753&r1=1488752&r2=1488753&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_dashboard/bhdashboard/htdocs/css/docs.css (original)
+++ bloodhound/trunk/bloodhound_dashboard/bhdashboard/htdocs/css/docs.css Sun Jun  2 17:58:34 2013
@@ -17,8 +17,13 @@
   under the License.
 */
 
-.hblock {
+.doc-widget-title {
   background-color: #F5F5F5;
   border-top: 1px solid #B3B3B3;
   border-bottom: 1px solid #B3B3B3;
+  padding-left: 10px;
+}
+
+.doc-widget-message {
+  padding-left: 10px;
 }

Modified: bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_doc.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_doc.html?rev=1488753&r1=1488752&r2=1488753&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_doc.html (original)
+++ bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_doc.html Sun Jun  2 17:58:34 2013
@@ -24,7 +24,8 @@
     py:strip="">
 
   <py:for each="item in items">
-    <h3 py:attrs="{'id': item.get('id')}" class="hblock">${item.title}</h3>
+    <h3 py:attrs="{'id': item.get('id')}" class="doc-widget-title">${item.title}</h3>
+    <div class="doc-widget-message">
     ${wiki_to_html(context, item.desc)}
     <py:if test="item.sections">
       <py:for each="section in item.sections">
@@ -46,6 +47,7 @@
         </dl>
       </py:for>
     </py:if>
+    </div>
   </py:for>
 </div>