move assets to default locations for rails 3

pull/6827/head
Christian Rijke 12 years ago
parent 04a055f6ce
commit fe6849c909
  1. 0
      app/assets/images/agenda.png
  2. 0
      app/assets/images/meeting.png
  3. 0
      app/assets/images/minutes.png
  4. 20
      app/assets/stylesheets/openproject_meeting.css
  5. 4
      lib/openproject_meeting/engine.rb

Before

Width:  |  Height:  |  Size: 296 B

After

Width:  |  Height:  |  Size: 296 B

Before

Width:  |  Height:  |  Size: 228 B

After

Width:  |  Height:  |  Size: 228 B

Before

Width:  |  Height:  |  Size: 317 B

After

Width:  |  Height:  |  Size: 317 B

@ -5,25 +5,25 @@ dl.meetings p, div#activity dl.meetings dd, div#activity dl.meetings dt {padding
dl.meetings {margin-bottom: 2em;}
div.tabular > div { margin: 0;
padding: 5px 0 8px 0;
padding-left: 180px; /*width of left column containing the label elements*/
height: 1%;
clear:left;
}
padding: 5px 0 8px 0;
padding-left: 180px; /*width of left column containing the label elements*/
height: 1%;
clear:left;
}
#meeting_agenda_preview fieldset {margin-top: 1em; background: url(../../../images/draft.png);}
#meeting_minutes_preview fieldset {margin-top: 1em; background: url(../../../images/draft.png);}
#meeting_agenda_preview fieldset {margin-top: 1em; background: url(draft.png);}
#meeting_minutes_preview fieldset {margin-top: 1em; background: url(draft.png);}
dt.meeting {
background-image: url(../images/meeting.png);
background-image: url(meeting.png);
}
dt.meeting-agenda {
background-image: url(../images/agenda.png);
background-image: url(agenda.png);
}
dt.meeting-minutes {
background-image: url(../images/minutes.png);
background-image: url(minutes.png);
}
div#activity dl.meetings dt span {
padding-left: 15px;

@ -4,6 +4,10 @@ module MeetingsPlugin
class Engine < ::Rails::Engine
isolate_namespace MeetingsPlugin
initializer 'landing_page.precompile_assets' do
Rails.application.config.assets.precompile += ["openproject_meeting.css"]
end
config.to_prepare do
require 'redmine/plugin'

Loading…
Cancel
Save