changeset 2688:d1872000dcdc

Removed HTML validation errors from +tickets view
author Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
date Fri, 01 Aug 2014 18:13:11 +0530
parents daf1dbbf507c
children 86e3b39c4b02
files MoinMoin/templates/tickets.html MoinMoin/themes/basic/static/css/theme.css MoinMoin/themes/basic/static/custom-less/theme.less MoinMoin/themes/foobar/static/css/stylus/theme.styl MoinMoin/themes/foobar/static/css/theme.css MoinMoin/themes/modernized/static/css/stylus/theme.styl MoinMoin/themes/modernized/static/css/theme.css
diffstat 7 files changed, 25 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/tickets.html	Fri Aug 01 18:00:52 2014 +0530
+++ b/MoinMoin/templates/tickets.html	Fri Aug 01 18:13:11 2014 +0530
@@ -1,11 +1,6 @@
 {% extends theme("layout.html") %}
 {% set search_form=None %}
-<head>
-    {% block head %}
-    <title>{{_("Tickets")}}</title>
-    {{ super() }}
-    {% endblock %}
-</head>
+{% set title = _("Tickets") %}
 
 {% block content %}
 <h1>{{_("Tickets")}}</h1>
@@ -48,22 +43,22 @@
     <input type="hidden" name="status" value="{{ status }}">
     <input type="text" name="q" value="{{ query if query }}" id="moin-ticketsearch-query" class="form-control" placeholder="{{_('Find tickets')}}">
 </form>
-<br>
 
-<p>
 {% if results %}
-    {{ _("%(result_len)d Tickets found.", result_len=results|length) }}
+    <p>{{ _("%(result_len)d Tickets found.", result_len=results|length) }}</p>
     <table class="table table-hover" id="ticket-list">
-    <thead>
-        <th id="ticket-itemid">{{_("ID")}}</th>
-        <th id="ticket-summary">{{_("Summary")}}</th>
-        <th id="ticket-status">{{_("Status")}}</th>
-        <th id="ticket-effort" title="{{ _('Effort') }}">E</th>
-        <th id="ticket-difficulty" title="{{ _('Difficulty') }}">D</th>
-        <th id="ticket-severity" title="{{ _('Severity') }}">S</th>
-        <th id="ticket-priority" title="{{ _('Priority') }}">P</th>
-        <th id="ticket-tags">{{_("Tags")}}</th>
-    </thead>
+        <thead>
+            <tr>
+                <th id="ticket-itemid">{{_("ID")}}</th>
+                <th id="ticket-summary">{{_("Summary")}}</th>
+                <th id="ticket-status">{{_("Status")}}</th>
+                <th id="ticket-effort" title="{{ _('Effort') }}">E</th>
+                <th id="ticket-difficulty" title="{{ _('Difficulty') }}">D</th>
+                <th id="ticket-severity" title="{{ _('Severity') }}">S</th>
+                <th id="ticket-priority" title="{{ _('Priority') }}">P</th>
+                <th id="ticket-tags">{{_("Tags")}}</th>
+            </tr>
+        </thead>
     <tbody>
     {% for result in results %}
         <tr>
@@ -108,7 +103,7 @@
     {{ _("No Ticket found.") }}
 {% endif %}
 
-<h3>{{_("Tags")}}</h3>
+<h3 class="moin-ticket-tags">{{_("Tags")}}</h3>
 {% for tag in tags %}
     {# If user clicks on the tag then it gets selected if it is not already selected #}
     {# If that tag is already selected then it gets deselected #}
@@ -120,7 +115,6 @@
     </form>
 {% endfor %}
 
-</p>
 {% endblock %}
 {% block body_scripts %}
 {{ super() }}
--- a/MoinMoin/themes/basic/static/css/theme.css	Fri Aug 01 18:00:52 2014 +0530
+++ b/MoinMoin/themes/basic/static/css/theme.css	Fri Aug 01 18:13:11 2014 +0530
@@ -6934,6 +6934,7 @@
   padding-left: 24px;
   width: 200px;
   right: 40px;
+  top: 80px;
   position: absolute;
 }
 #ticket-list thead th:hover {
--- a/MoinMoin/themes/basic/static/custom-less/theme.less	Fri Aug 01 18:00:52 2014 +0530
+++ b/MoinMoin/themes/basic/static/custom-less/theme.less	Fri Aug 01 18:13:11 2014 +0530
@@ -664,6 +664,7 @@
   padding-left: 24px;
   width: 200px;
   right: 40px;
+  top: 80px;
   position: absolute;
 }
 #ticket-list thead th:hover {
--- a/MoinMoin/themes/foobar/static/css/stylus/theme.styl	Fri Aug 01 18:00:52 2014 +0530
+++ b/MoinMoin/themes/foobar/static/css/stylus/theme.styl	Fri Aug 01 18:13:11 2014 +0530
@@ -1236,6 +1236,9 @@
 .tickets-sort-button.dropdown:hover ul.dropdown-menu
     display inline-block
 
+.moin-ticket-tags
+    border-bottom none
+
 /* fix tests -- currently checking <big> and <small> */
 @media print
     #moin-global-tray
--- a/MoinMoin/themes/foobar/static/css/theme.css	Fri Aug 01 18:00:52 2014 +0530
+++ b/MoinMoin/themes/foobar/static/css/theme.css	Fri Aug 01 18:13:11 2014 +0530
@@ -469,5 +469,6 @@
 .tickets-sort-button.dropdown ul.dropdown-menu li{list-style-type:none;display:block;position:relative;}
 .tickets-sort-button.dropdown ul.dropdown-menu li a{display:inline}
 .tickets-sort-button.dropdown:hover ul.dropdown-menu{display:inline-block}
+.moin-ticket-tags{border-bottom:none}
 @media print{#moin-global-tray,#moin-local-panel,#moin-footer,#moin-searchform{display:none}
 }
--- a/MoinMoin/themes/modernized/static/css/stylus/theme.styl	Fri Aug 01 18:00:52 2014 +0530
+++ b/MoinMoin/themes/modernized/static/css/stylus/theme.styl	Fri Aug 01 18:13:11 2014 +0530
@@ -1732,3 +1732,6 @@
 
 .tickets-sort-button.dropdown:hover ul.dropdown-menu
     display inline-block
+
+.moin-ticket-tags
+    border-bottom none
--- a/MoinMoin/themes/modernized/static/css/theme.css	Fri Aug 01 18:00:52 2014 +0530
+++ b/MoinMoin/themes/modernized/static/css/theme.css	Fri Aug 01 18:13:11 2014 +0530
@@ -568,3 +568,4 @@
 .tickets-sort-button.dropdown ul.dropdown-menu li{list-style-type:none;display:block;position:relative;}
 .tickets-sort-button.dropdown ul.dropdown-menu li a{display:inline}
 .tickets-sort-button.dropdown:hover ul.dropdown-menu{display:inline-block}
+.moin-ticket-tags{border-bottom:none}