Hello community,
here is the log from the commit of package webyast-kerberos-ui for
openSUSE:Factory
checked in at Thu May 19 13:34:39 CEST 2011.
--------
--- webyast-kerberos-ui/webyast-kerberos-ui.changes 2011-04-12
16:21:11.000000000 +0200
+++
/mounts/work_src_done/STABLE/webyast-kerberos-ui/webyast-kerberos-ui.changes
2011-05-17 12:24:41.000000000 +0200
@@ -1,0 +2,14 @@
+Tue May 17 10:06:30 UTC 2011 - [email protected]
+
+- replaced the shortcut icon
+- moved icon to webyast-base-ui
+- 0.2.8
+
+-------------------------------------------------------------------
+Mon May 16 13:58:03 UTC 2011 - [email protected]
+
+- adapted kerberos UI with new icon
+- renamed license
+- 0.2.7
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ webyast-kerberos-ui.spec ++++++
--- /var/tmp/diff_new_pack.G9Fvbi/_old 2011-05-19 13:34:08.000000000 +0200
+++ /var/tmp/diff_new_pack.G9Fvbi/_new 2011-05-19 13:34:08.000000000 +0200
@@ -20,11 +20,11 @@
Name: webyast-kerberos-ui
Recommends: WebYaST(org.opensuse.yast.modules.yapi.kerberos)
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 - Kerberos 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/kerberos/index.html.erb
new/www/app/views/kerberos/index.html.erb
--- old/www/app/views/kerberos/index.html.erb 2011-04-12 13:05:56.000000000
+0200
+++ new/www/app/views/kerberos/index.html.erb 2011-05-16 16:11:30.000000000
+0200
@@ -26,6 +26,8 @@
var AUTH_TOKEN = 'authenticity_token=' + encodeURIComponent("<%=
escape_javascript form_authenticity_token %>");
startNotifier({'module':'kerberos', 'AUTH_TOKEN':AUTH_TOKEN}, 1000, 11000);
+
+
$(document).ready(function() {
validateDomainName("kdc");
@@ -56,6 +58,15 @@
$("#kerberos_kdc", "#kerberosForm").removeAttr("disabled");
}
});
+
+ $('#kerberosForm input[type="submit"]').click(function() {
+ if ($('#kerberosForm').valid()) {
+ disable_forms();
+ var message = <%= jss _("Please wait") -%>;
+ $.modalDialog.wait( {message: message});
+ }
+ });
+
});
</script>
@@ -63,36 +74,57 @@
<% disabled = !@permissions[:write] %>
-<div class='plugin-icon'><img src='../icons/yast-kerberos.png'/> <%=
_("Kerberos client") %><span id="questionMark">?</span></div>
-<div class='plugin-content'>
-
-<%= render :partial => 'shared/missing_write_permissions' if disabled %>
-
- <% form_for(:kerberos, @kerberos, :url => { :action => 'update' },
- :html => { :method => :put, :id => 'kerberosForm', :onsubmit => "if
($('#kerberosForm').valid()) $('#progress').show() && disable_forms ()" }
- ) do |f| %>
-
- <fieldset>
- <p>
- <%= check_box 'kerberos', :enabled, {:disabled => disabled,
:checked => @kerberos.enabled}, true,false -%>
- <%= _("Enable Kerberos Authentication") %>
- </p>
- <p>
- <%= label_tag :kerberos_default_domain, _("Default Domain") %>
- <%= text_field :kerberos, :default_domain, :disabled =>
disabled, :class => "required" %>
- </p>
- <p>
- <%= label_tag :kerberos_default_realm, _("Default Realm") %>
- <%= text_field :kerberos, :default_realm, :disabled => disabled,
:class => "required" %>
- </p>
- <p>
- <%= label_tag :kerberos_kdc, _("KDC Server Address") %>
- <%= text_field :kerberos, :kdc, :disabled => disabled, :class =>
"kdc required" %>
- </p>
- </fieldset>
- <div class="nav-buttons">
- <%= form_send_buttons :disabled => disabled,
:onclick=>"Element.show('progress')"%>
- </div>
+<!--<div class='plugin-icon'><img src='../icons/yast-kerberos.png'/> <%=
_("Kerberos 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(:kerberos, @kerberos, :url => { :action => 'update' }, :html
=> { :method => :put, :id => 'kerberosForm', :class=>"webyast_form"}) do |f| %>
+ <div class="plugin-header">
+ <div class="left">
+ <label class="plugin-icon-container"><img class="plugin-icon"
src="/icons/kerberos.png"></label>
+ <label class="plugin-name"><%= _("Kerberos 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 Kerberos Authentication") %>
+ <%= check_box 'kerberos', :enabled, {:disabled => disabled,
:checked => @kerberos.enabled}, true,false -%>
+ </span>
+ </div>
+
+ <div class="fieldset_body">
+ <div class="row">
+ <%= label_tag :kerberos_default_domain, _("Default Domain") %>
+ <%= text_field :kerberos, :default_domain, :disabled => disabled,
:class => "required" %>
+ </div>
+
+ <div class="row">
+ <%= label_tag :kerberos_default_realm, _("Default Realm") %>
+ <%= text_field :kerberos, :default_realm, :disabled => disabled,
:class => "required" %>
+ </div>
+
+ <div class="row">
+ <%= label_tag :kerberos_kdc, _("KDC Server Address") %>
+ <%= text_field :kerberos, :kdc, :disabled => disabled, :class =>
"kdc required" %>
+ </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-kerberos-tango.png and
new/www/public/icons/yast-kerberos-tango.png differ
Files old/www/public/icons/yast-kerberos.png and
new/www/public/icons/yast-kerberos.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:17.000000000 +0100
+++ new/www/shortcuts.yml 2011-05-17 11:39:46.000000000 +0200
@@ -1,7 +1,7 @@
main:
- icon: '../icons/yast-kerberos.png'
+ icon: '/icons/yast-kerberos.png'
url: /kerberos
- groups: [ System ]
+ groups: [ Network ]
tags: [ kerberos ]
title: _("Kerberos")
description: _("Configure Kerberos client")
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]