Project

General

Profile

Patch #15565 ยป vanilla-sidebar.diff

Ksenia Altbregen, 2013-11-28 13:48

View differences:

app/views/versions/index.html.erb (working copy)
35 35
<% content_for :sidebar do %>
36 36
<%= form_tag({}, :method => :get) do %>
37 37
<h3><%= l(:label_roadmap) %></h3>
38
<ul>
38
<ul class="vanilla-sidebar">
39 39
<% @trackers.each do |tracker| %>
40 40
  <li>
41 41
    <label>
......
48 48
<% end %>
49 49
</ul>
50 50
<p></p>
51
<ul>
51
<ul class="vanilla-sidebar">
52 52
  <li>
53 53
    <label for="completed">
54 54
      <%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %>
......
79 79
  <%= link_to_function l(:label_completed_versions), 
80 80
                       '$("#toggle-completed-versions").toggleClass("collapsed"); $("#completed-versions").toggle()',
81 81
                       :id => 'toggle-completed-versions', :class => 'collapsible collapsed' %>
82
  <ul id = "completed-versions" style = "display:none;">
82
  <ul id="completed-versions" class="vanilla-sidebar" style="display:none;">
83 83
    <% @completed_versions.each do |version| %>
84 84
      <li><%= link_to(format_version_name(version), version_path(version)) %></li>
85 85
    <% end %>  
app/views/documents/index.html.erb (working copy)
25 25

  
26 26
<% content_for :sidebar do %>
27 27
  <h3><%= l(:label_sort_by, '') %></h3>
28
  <ul>
28
  <ul class="vanilla-sidebar">
29 29
    <li><%= link_to(l(:field_category), {:sort_by => 'category'},
30 30
                    :class => (@sort_by == 'category' ? 'selected' :nil)) %></li>
31 31
    <li><%= link_to(l(:label_date), {:sort_by => 'date'},
app/views/wiki/_sidebar.html.erb (working copy)
3 3
<% end -%>
4 4

  
5 5
<h3><%= l(:label_wiki) %></h3>
6
<ul>
6
<ul class="vanilla-sidebar">
7 7
  <li><%= link_to(l(:field_start_page), {:action => 'show', :id => nil}) %></li>
8 8
  <li><%= link_to(l(:label_index_by_title), {:action => 'index'}) %></li>
9 9
  <li><%= link_to(l(:label_index_by_date),
app/views/activities/index.html.erb (working copy)
43 43
<% content_for :sidebar do %>
44 44
<%= form_tag({}, :method => :get) do %>
45 45
<h3><%= l(:label_activity) %></h3>
46
<ul>
46
<ul class="vanilla-sidebar">
47 47
<% @activity.event_types.each do |t| %>
48 48
  <li>
49 49
    <%= check_box_tag "show_#{t}", 1, @activity.scope.include?(t) %>
public/stylesheets/application.css (working copy)
77 77
#sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
78 78
* html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
79 79
#sidebar .contextual { margin-right: 1em; }
80
#sidebar ul {margin: 0;  padding: 0;}
81
#sidebar ul li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
80
#sidebar ul.vanilla-sidebar {margin: 0;  padding: 0;}
81
#sidebar ul.vanilla-sidebar li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
82 82

  
83 83
#content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
84 84
* html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
    (1-1/1)