Robert Lihm wrote:
ref: refs/heads/master commit 141ebbc22a7387658dbc38660ac2546c52a91759 Author: Robert Lihm
Date: Thu Jul 16 14:50:22 2009 +0200 Removed tables * added div structure * added javascript for row highlighting --- webclient/.gitignore | 1 + webclient/app/views/controlpanel/index.rhtml | 71 ++++++++++------------- webclient/app/views/controlpanel/show_all.rhtml | 53 ++++++++++++++--- webclient/app/views/layouts/main.rhtml | 8 ++- webclient/public/images/geckohead-green.png | Bin 0 -> 3798 bytes webclient/public/stylesheets/style.css | 46 +++++++++++++-- 6 files changed, 121 insertions(+), 58 deletions(-)
diff --git a/webclient/.gitignore b/webclient/.gitignore index 9992c2a..34e40d8 100644 --- a/webclient/.gitignore +++ b/webclient/.gitignore @@ -2,3 +2,4 @@ db/*.sqlite3 db/schema.rb ._* +diff.diff diff --git a/webclient/app/views/controlpanel/index.rhtml b/webclient/app/views/controlpanel/index.rhtml index 9a13c68..4570a64 100644 --- a/webclient/app/views/controlpanel/index.rhtml +++ b/webclient/app/views/controlpanel/index.rhtml @@ -1,20 +1,11 @@ -<%= javascript_include_tag :defaults %> -<% if ActionController::Routing.possible_controllers.include?("patch_updates") %> -<% javascript_tag do -%> - $(document).ready( function() { - <%= remote_function(:update => "status_patches", - :url => { :controller => :patch_updates, :action => :show_summary }) %> - }); -<% end -%> -<% end %> + <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 informations about patches - <% else %> - Patch plugin is not installed. - <% end %> +<div id="status_patches_icon"> + height="32" width="32" border="0" /> +</div> +<div id="status_patches_msg"> + <a href="patch_updates"><%=@update_label%></a> </div>
Please don't change functional code in pages. I think that problem appear that you work on not updated system and somehow it doesn't merge. Please take attention on this as e.g. this completely break patch line on control panel. I fix it. -- Josef Reidinger YaST team maintainer of perl-Bootloader, YaST2-Repair, webyast modules language and time -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org