summaryrefslogtreecommitdiffstats
path: root/app/views/layouts
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-01-16 09:14:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-01-16 09:14:02 +0000
commit2ec87100a91f88e8eb220225141a3873e9aaf933 (patch)
tree0a10c1053ed62e44ab494fedc21d5bd3c2d3c478 /app/views/layouts
parentaaeb0807bfd7f22433a2dd84ec7145b501465bb6 (diff)
downloadredmine-2ec87100a91f88e8eb220225141a3873e9aaf933.tar.gz
redmine-2ec87100a91f88e8eb220225141a3873e9aaf933.zip
Tab left/right buttons for project menu (#20632).
Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@15067 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/base.html.erb6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb
index 1d83ca12b..7da0f07c4 100644
--- a/app/views/layouts/base.html.erb
+++ b/app/views/layouts/base.html.erb
@@ -87,8 +87,12 @@
<h1><%= page_header_title %></h1>
<% if display_main_menu?(@project) %>
- <div id="main-menu">
+ <div id="main-menu" class="tabs">
<%= render_main_menu(@project) %>
+ <div class="tabs-buttons" style="display:none;">
+ <button class="tab-left" onclick="moveTabLeft(this); return false;"></button>
+ <button class="tab-right" onclick="moveTabRight(this); return false;"></button>
+ </div>
</div>
<% end %>
</div>