Hello community, here is the log from the commit of package webyast-ldap-ui for openSUSE:Factory checked in at Thu May 19 13:33:29 CEST 2011.
-------- --- webyast-ldap-ui/webyast-ldap-ui.changes 2011-04-12 16:22:36.000000000 +0200 +++ /mounts/work_src_done/STABLE/webyast-ldap-ui/webyast-ldap-ui.changes 2011-05-17 12:30:57.000000000 +0200 @@ -1,0 +2,14 @@ +Tue May 17 10:08:25 UTC 2011 - [email protected] + +- replaced the shortcut icon +- moved the shortcut icon to webyast-base-ui +- 0.2.8 + +------------------------------------------------------------------- +Mon May 16 14:33:38 UTC 2011 - [email protected] + +- adapted ldap UI, added new icon +- renamed license +- 0.2.7 + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ webyast-ldap-ui.spec ++++++ --- /var/tmp/diff_new_pack.eAWS6Y/_old 2011-05-19 13:33:01.000000000 +0200 +++ /var/tmp/diff_new_pack.eAWS6Y/_new 2011-05-19 13:33:01.000000000 +0200 @@ -20,11 +20,11 @@ Name: webyast-ldap-ui Recommends: WebYaST(org.opensuse.yast.modules.yapi.ldap) PreReq: webyast-base-ui -License: GPLv2 +License: GPL-2.0 Group: Productivity/Networking/Web/Utilities Url: http://en.opensuse.org/Portal:WebYaST AutoReqProv: on -Version: 0.2.6 +Version: 0.2.8 Release: 1 Summary: WebYaST - LDAP Client UI Source: www.tar.bz2 @@ -40,7 +40,7 @@ # %package testsuite -License: GPLv2 + Group: Productivity/Networking/Web/Utilities Requires: %{name} = %{version} Requires: webyast-base-ui-testsuite rubygem-mocha rubygem-test-unit tidy ++++++ www.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/www/app/views/ldap/index.html.erb new/www/app/views/ldap/index.html.erb --- old/www/app/views/ldap/index.html.erb 2011-04-12 13:05:56.000000000 +0200 +++ new/www/app/views/ldap/index.html.erb 2011-05-16 16:32:32.000000000 +0200 @@ -68,6 +68,15 @@ } }); + + $('#ldapForm input[type="submit"]').click(function() { + if ($('#ldapForm').valid()) { + disable_forms(); + var message = <%= jss _("Please wait") -%>; + $.modalDialog.wait( {message: message}); + } + }); + }); </script> @@ -76,54 +85,64 @@ <% disabled = !@permissions[:write] %> -<div class='plugin-icon'><img src='../icons/yast-ldap.png'/> <%= _("LDAP client") %><span id="questionMark">?</span></div> -<div class='plugin-content'> - +<!--<div class='plugin-icon'><img src='../icons/yast-ldap.png'/> <%= _("LDAP client") %><span id="questionMark">?</span></div> +<div class='plugin-content'> --> +<div class="plugin-content plugin-border"> <%= render :partial => 'shared/missing_write_permissions' if disabled %> - - <% form_for(:ldap, @ldap, :url => { :action => 'update' }, - :html => { :method => :put, :id => 'ldapForm', :onsubmit => "if ($('#ldapForm').valid()) $('#progress').show() && disable_forms ()" } - ) do |f| %> - - <fieldset> - <p> - <%= check_box 'ldap', :enabled, {:disabled => disabled, :checked => @ldap.enabled}, true,false -%> - <%= _("Enable LDAP Authentication") %> - </p> - <p> - <%= label_tag :ldap_server, _("LDAP Server Address") %> - <%= text_field :ldap, :server, :disabled => disabled, :class => "server required" %> - </p> - <p> - <%= label_tag :ldap_base_dn, _("Base DN") %> - <%= text_field :ldap, :base_dn, :disabled => disabled, :class => "required" %> - <%= - link_to_remote _("Fetch DN"), - :url => { - :controller => :ldap, - :action => :fetch_dn - }, - :loading => "$('#ldap_base_dn').attr('disabled', 'disabled'); $('#fetch_progress').show();", - :complete => "$('#fetch_progress').hide(); $('#ldap_base_dn').removeAttr('disabled')", - :with => "'server=' + $('#ldap_server').val()", - :html => { - :class => "button", - :id => "fetch_dn", - :disabled => disabled - } - %> - <img src="/images/working.gif" class="small-working-icon" id="fetch_progress" style="display: none; margin-bottom: -3pt" alt='working...'/> - - </p> - <p> - <%= check_box 'ldap', :tls, {:disabled => disabled, :checked => @ldap.tls}, true,false -%> - <%= _("Secure Connection") %> - </p> - - </fieldset> - <div class="nav-buttons"> - <%= form_send_buttons :disabled => disabled, :onclick=>"Element.show('progress')"%> - </div> + <% form_for(:ldap, @ldap, :url => { :action => 'update' }, :html => { :method => :put, :id => 'ldapForm', :class=>"webyast_form" }) do |f| %> + <div class="plugin-header"> + <div class="left"> + <label class="plugin-icon-container"><img class="plugin-icon" src="/icons/ldap.png"></label> + <label class="plugin-name"> <%= _("LDAP client") %></label> + </div> + <div class="right" > + <span id="questionMark" style="margin:2px 5px; float:none;">?</span> + </div> + <div class="clearfix"></div> + </div> + + <div class="clearfix"> </div> + <fieldset class="webyast_fieldset"> + <div class="fieldset_header"> + <span class="fieldset_header_title" > + <%= _("Enable LDAP Authentication") %> + <%= check_box 'ldap', :enabled, {:disabled => disabled, :checked => @ldap.enabled}, true,false -%> + </span> + </div> + + <div class="fieldset_body"> + <div class="row"> + <%= label_tag :ldap_server, _("LDAP Server Address") %> + <%= text_field :ldap, :server, :disabled => disabled, :class => "server required" %> + </div> + + <div class="row"> + <%= label_tag :ldap_base_dn, _("Base DN") %> + <%= text_field :ldap, :base_dn, :disabled => disabled, :class => "required" %> + <%= link_to_remote _("Fetch DN"), + :url => { :controller=> :ldap, :action=> :fetch_dn }, + :loading => "$('#ldap_base_dn').attr('disabled', 'disabled'); $('#fetch_progress').show();", + :complete => "$('#fetch_progress').hide(); $('#ldap_base_dn').removeAttr('disabled')", + :with => "'server=' + $('#ldap_server').val()", + :html => { :class=> "button", :id=> "fetch_dn", :style=>"vertical-align:middle;", :disabled=>disabled } + %> + <img src="/images/working.gif" class="small-working-icon" id="fetch_progress" style="display:none; vertical-align:middle;" alt='working...'/> + </div> + <div class="row"> + <label><%= _("Secure Connection") %></label> + <%= check_box 'ldap', :tls, {:disabled => disabled, :checked => @ldap.tls, :style=>"margin-left:-1px;" }, true,false -%> + </div> + </div> + </fieldset> + + <div class="clearfix"></div> + + <div class="button_container"> + <div class="hr"> </div> + <div class="nav-buttons"> + <%= form_send_buttons :disabled => disabled %> + </div> + </div> <% end %> Files old/www/public/icons/yast-ldap-tango.png and new/www/public/icons/yast-ldap-tango.png differ Files old/www/public/icons/yast-ldap.png and new/www/public/icons/yast-ldap.png differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/www/shortcuts.yml new/www/shortcuts.yml --- old/www/shortcuts.yml 2011-03-04 11:21:23.000000000 +0100 +++ new/www/shortcuts.yml 2011-05-17 11:42:04.000000000 +0200 @@ -1,7 +1,7 @@ main: - icon: '../icons/yast-ldap.png' + icon: '/icons/yast-ldap.png' url: /ldap - groups: [ System ] + groups: [ Network ] tags: [ ldap ] title: _("LDAP") description: _("Configure LDAP client") ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
