diff --git a/lib/admin/Controller/domain.pm b/lib/admin/Controller/domain.pm index 7890a37..ca83a04 100644 --- a/lib/admin/Controller/domain.pm +++ b/lib/admin/Controller/domain.pm @@ -63,6 +63,8 @@ sub do_edit_domain : Local { my $domain = $c->request->params->{domain}; + $settings{local} = $c->request->params->{local} ? 1 : 0; + $settings{cc} = $c->request->params->{cc}; $messages{ecc} = 'Client.Voip.MalformedCc' unless $settings{cc} =~ /^\d+$/; @@ -108,6 +110,8 @@ sub do_create_domain : Local { my $domain = $c->request->params->{domain}; + $settings{local} = $c->request->params->{local} ? 1 : 0; + $settings{cc} = $c->request->params->{cc}; $messages{acc} = 'Client.Voip.MalformedCc' unless $settings{cc} =~ /^\d+$/; diff --git a/root/css/admin.css b/root/css/admin.css index 3699f74..f290805 100644 --- a/root/css/admin.css +++ b/root/css/admin.css @@ -252,11 +252,21 @@ h3 { width: 95px; } -/* decrease input text fields for cc/ac */ +/* decrease input text fields */ +.imedium { + width: 140px; +} + +/* decrease input text fields for ac */ .ishort { width: 50px; } +/* decrease input text fields for cc */ +.irealshort { + width: 30px; +} + /* increase spacing between password and show/hide href */ #contentplace .apass { vertical-align: middle; @@ -312,7 +322,8 @@ h3 { #contentplace .order_payments, #contentplace .registered_contacts, #contentplace .billing_fees, -#contentplace .billing_peaktimes +#contentplace .billing_peaktimes, +#contentplace .domains { width: 100%; border-spacing: 0px; diff --git a/root/static/images/sipwise_logo_96.png b/root/static/images/sipwise_logo_96.png index 24174ba..0199cfe 100644 Binary files a/root/static/images/sipwise_logo_96.png and b/root/static/images/sipwise_logo_96.png differ diff --git a/root/tt/domain.tt b/root/tt/domain.tt index ed3c120..c99e993 100644 --- a/root/tt/domain.tt +++ b/root/tt/domain.tt @@ -4,13 +4,14 @@ [% IF messages.edommsg %]
[% messages.edommsg %]
[% END %] [% IF messages.edomerr %]
[% messages.edomerr %]
[% END %] - +
- - - + + + [% id = 0 %] [% FOREACH domain = domains %] @@ -19,8 +20,16 @@ [% IF domain.domain == edit_domain %] - - + + + [% ELSE %] + [% IF domain.domain == edit_domain %] [% IF messages.ecc || messages.etimezone %] -
domaincountry codetimezone - + localcctimezone +
+ + + + cancel + + [% domain.cc %] [% domain.timezone %] @@ -52,7 +65,7 @@
+
[% messages.ecc %] [% IF messages.ecc && messages.etimezone %]
[% END %] @@ -73,26 +86,40 @@ [% IF messages.cdommsg %]
[% messages.cdommsg %]
[% END %] [% IF messages.cdomerr %]
[% messages.cdomerr %]
[% END %] - +
- - - + + + - - - + + + + + - [% IF messages.acc || messages.atimezone %]
domaincountry codetimezone - + localcctimezone +
+ + + + + + + +