changeset 2419:daf72f7d34d5

markup cleanup, gets rid of tabindex
author sharky93 <rishabhr123@gmail.com>
date Sun, 25 Aug 2013 14:36:50 +0530
parents 008b6244ec07
children 1ade6d861226
files MoinMoin/themes/basic/templates/history.html
diffstat 1 files changed, 37 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/history.html	Sun Aug 25 14:27:56 2013 +0530
+++ b/MoinMoin/themes/basic/templates/history.html	Sun Aug 25 14:36:50 2013 +0530
@@ -56,30 +56,42 @@
                             <span class="caret"></span>
                         </button>
                 <ul class="dropdown-menu pull-right submenu"> 
-<li>
-    <a href="{{ url_for('frontend.show_item', item_name=doc.name[0], rev=doc.revid) }}" tabindex="-1" href="#">{{ _('show') }}</a></li>
-<li>
-    <a href="{{ url_for('frontend.show_item_meta', item_name=doc.name[0], rev=doc.revid) }}" tabindex="-1" href="#">{{ _('meta') }}</a>
-</li>
-<li>
-    <a href="{{ url_for('frontend.download_item', item_name=doc.name[0], rev=doc.revid) }}" tabindex="-1" href="#">{{ _('download') }}</a>
-</li>
-<li>
-    <a href="{{ url_for('frontend.highlight_item', item_name=doc.name[0], rev=doc.revid) }}" tabindex="-1" href="#">{{ _('highlight') }}</a>
-</li>
-    {% if user.may.write(item_name) -%}
-        <li>
-            <a href="{{ url_for('frontend.revert_item', item_name=doc.name[0], rev=doc.revid) }}" tabindex="-1" href="#">{{ _('revert') }}</a>
-        </li>
-    {%- endif %}
-    {% if user.may.destroy(item_name) -%}
-        <li>
-            <a href="{{ url_for('frontend.destroy_item', item_name=doc.name[0], rev=doc.revid) }}" tabindex="-1" href="#">{{ _('destroy') }}
-            </a> 
-        </li>
-    {%- endif %}
-        </tr>
-        {% endfor %}
+                    <li>
+                        <a href="{{ url_for('frontend.show_item', item_name=doc.name[0], rev=doc.revid) }}">
+                            {{ _('show') }}
+                        </a>
+                    </li>
+                    <li>
+                        <a href="{{ url_for('frontend.show_item_meta', item_name=doc.name[0], rev=doc.revid) }}">
+                            {{ _('meta') }}
+                        </a>
+                    </li>
+                    <li>
+                        <a href="{{ url_for('frontend.download_item', item_name=doc.name[0], rev=doc.revid) }}">
+                            {{ _('download') }}
+                        </a>
+                    </li>
+                    <li>
+                        <a href="{{ url_for('frontend.highlight_item', item_name=doc.name[0], rev=doc.revid) }}">
+                            {{ _('highlight') }}
+                        </a>
+                    </li>
+                    {% if user.may.write(item_name) -%}
+                    <li>
+                        <a href="{{ url_for('frontend.revert_item', item_name=doc.name[0], rev=doc.revid) }}">
+                            {{ _('revert') }}
+                        </a>
+                    </li>
+                    {%- endif %}
+                    {% if user.may.destroy(item_name) -%}
+                    <li>
+                        <a href="{{ url_for('frontend.destroy_item', item_name=doc.name[0], rev=doc.revid) }}">
+                            {{ _('destroy') }}
+                        </a> 
+                    </li>
+                    {%- endif %}
+                </tr>
+                {% endfor %}
             </tbody>
             {% if bookmark_time %}
             <tfoot>
@@ -92,6 +104,6 @@
             {% endif %}
         </table>
         </div>
-        </form>
+    </form>
     {% endif %}
 {% endblock %}