Commit 4681efd3 authored by Martin Markech's avatar Martin Markech
Browse files

fix submenu icons

parent ca71cb1f
.folder_icon {
background-image: image-url('refinery/photo_gallery/admin/icons/folder.png');
}
.folder_add_icon { .folder_add_icon {
background-image: image-url('refinery/photo_gallery/admin/icons/folder_add.png'); background-image: image-url('refinery/photo_gallery/admin/icons/folder_add.png');
} }
...@@ -31,10 +28,6 @@ ...@@ -31,10 +28,6 @@
.settings_icon {
background-image: image-url('refinery/photo_gallery/admin/icons/cog.png');
}
ul.collapsible_menu li { ul.collapsible_menu li {
position: relative; position: relative;
} }
...@@ -47,12 +40,7 @@ ul.collapsible_menu li span.arrow { ...@@ -47,12 +40,7 @@ ul.collapsible_menu li span.arrow {
height: 7px; height: 7px;
cursor: pointer; cursor: pointer;
} }
ul.collapsible_menu li span.arrow {
background-image: image-url('refinery/photo_gallery/admin/icons/up.gif');
}
ul.collapsible_menu li.closed span.arrow {
background-image: image-url('refinery/photo_gallery/admin/icons/down.gif');
}
ul.collapsible_menu > div { ul.collapsible_menu > div {
width: 93%; width: 93%;
margin: 0px auto; margin: 0px auto;
......
<section id='actions'> <nav id='actions' class='multilist'>
<ul class='search_list'> <ul class='collapsible_menu'>
<li class='not_a_link'> <li class='not_a_link'>
<% if params[:controller] == "refinery/photo_gallery/admin/collections" %>
<%= render :partial => "/refinery/admin/search",
:locals => {
:url => refinery.photo_gallery_admin_collections_path
} %>
<% elsif params[:controller] == "refinery/photo_gallery/admin/albums" %>
<%= render :partial => "/refinery/admin/search",
:locals => {
:url => refinery.photo_gallery_admin_albums_path
} %>
<% end %>
</li>
</ul>
<ul >
<li>
<%= link_to t('.albums.manage'), refinery.photo_gallery_admin_albums_path, <%= link_to t('.albums.manage'), refinery.photo_gallery_admin_albums_path,
:class => '' %> :class => 'folder_icon' %>
</li> </li>
<li> <li>
<%= link_to t('.albums.new'), refinery.new_photo_gallery_admin_album_path, <%= link_to t('.albums.new'), refinery.new_photo_gallery_admin_album_path,
:class => '' %> :class => 'add_icon' %>
</li> </li>
</ul> </ul>
<ul > <ul class='collapsible_menu'>
<li> <li class='not_a_link'>
<%= link_to t('.collections.manage'), refinery.photo_gallery_admin_collections_path, <%= link_to t('.collections.manage'), refinery.photo_gallery_admin_collections_path,
:class => '' %> :class => 'folder_icon' %>
</li> </li>
<li> <li>
<%= link_to t('.collections.new'), refinery.new_photo_gallery_admin_collection_path, <%= link_to t('.collections.new'), refinery.new_photo_gallery_admin_collection_path,
:class => '' %> :class => 'add_icon' %>
</li> </li>
</ul> </ul>
</section> </nav>
...@@ -15,26 +15,6 @@ ...@@ -15,26 +15,6 @@
<%= p.text_area :description, :rows => "5", :cols=> "57" %> <%= p.text_area :description, :rows => "5", :cols=> "57" %>
</div> </div>
<% if Refinery::PhotoGallery.admin_photo_options_show_url %>
<div class='field'>
<%= p.label :url %>
<%= p.text_field :url, :class => "larger" %>
</div>
<% end %>
<% if Refinery::PhotoGallery.admin_photo_options_show_css_class %>
<div class='field'>
<%= p.label :css_class %>
<%= p.text_field :css_class, :class => "larger" %>
</div>
<% end %>
<% if Refinery::PhotoGallery.admin_photo_options_show_preview_type %>
<div class='field'>
<%= p.label :preview_type %>
<%= p.text_field :preview_type, :class => "larger" %>
</div>
<% end %>
<div class='field-group'> <div class='field-group'>
<%= p.label :longitude, :tooltip=> t('.use_decimal_format') %> <%= p.label :longitude, :tooltip=> t('.use_decimal_format') %>
......
...@@ -20,11 +20,11 @@ sk: ...@@ -20,11 +20,11 @@ sk:
submenu: submenu:
collections: collections:
title: Skupiny albumov title: Skupiny albumov
manage: Spravovať manage: Spravovať skupinu
new: Vytvoriť novú skupinu albumov new: Vytvoriť novú skupinu albumov
albums: albums:
title: Abumy title: Abumy
manage: Spravovať manage: Spravovať albumy
new: Vytvoriť nový albun new: Vytvoriť nový albun
collections: collections:
collection: collection:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment