ref: refs/heads/master commit e69597e1c81d35b4d46077a4cd0860e52621801a Author: Robert Lihm <rlihm@lihmedia.org> Date: Wed Jul 22 15:33:15 2009 +0200 Wrapped Status informations in box --- webclient/app/views/controlpanel/index.rhtml | 34 +++++++++++++------------ webclient/public/stylesheets/style.css | 18 +++++++++++++ 2 files changed, 36 insertions(+), 16 deletions(-) diff --git a/webclient/app/views/controlpanel/index.rhtml b/webclient/app/views/controlpanel/index.rhtml index e2543f2..a07e1fc 100644 --- a/webclient/app/views/controlpanel/index.rhtml +++ b/webclient/app/views/controlpanel/index.rhtml @@ -16,25 +16,27 @@ }); <% end -%> <% end %> +<div id="status-wrapper" class=""> + <h3><img src="/images/monitoring.png" height="23" width="23" border="0" /> <%= _("Status") %></h3> -<h3><img src="/images/monitoring.png" height="23" width="23" border="0" /> <%= _("Status") %></h3> - -<div id="status_patches"> - <% if ActionController::Routing.possible_controllers.include?("patch_updates") %> - <img src="/images/working.gif" height="32" width="32" border="0" /> Loading patch information - <% else %> - Patch plugin is not installed. - <% end %> -</div> -<br/> -<div id="status_status"> - <% if ActionController::Routing.possible_controllers.include?("status") %> - <img src="/images/working.gif" height="32" width="32" border="0" /> Loading system information - <% else %> - Status plugin is not installed. - <% end %> + <div id="status_patches"> + <% if ActionController::Routing.possible_controllers.include?("patch_updates") %> + <img src="/images/working.gif" height="32" width="32" border="0" /> Loading patch information + <% else %> + Patch plugin is not installed. + <% end %> + </div> + <br/> + <div id="status_status"> + <% if ActionController::Routing.possible_controllers.include?("status") %> + <img src="/images/working.gif" height="32" width="32" border="0" /> Loading system information + <% else %> + Status plugin is not installed. + <% end %> + </div> </div> + <div id="favorites"> <h3><img src="/images/yast-config.png" height="23" width="23" border="0" /> <%= _("Configuration") %></h3> diff --git a/webclient/public/stylesheets/style.css b/webclient/public/stylesheets/style.css index 9c37874..5a41dad 100644 --- a/webclient/public/stylesheets/style.css +++ b/webclient/public/stylesheets/style.css @@ -34,6 +34,10 @@ h2 { h3 { font-size: 1.1em; } +#content h3 { + font-size: 1.7em; + color: #666; +} h4 { font-size: 1em; } @@ -187,6 +191,20 @@ ul li { display: block; margin:0 0 0.2em; } + #favorites, + #status-wrapper { + padding: 10px; + } + #status-wrapper { + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border: 1px solid #999; + margin: 0 0 1em; + background: #f9f9f9; + } + #status-wrapper h3:first-child { + margin-top: 0; + } /* == Lists and Tables ==================================================== */ .list-row { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org