mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-10 05:56:27 +02:00
web-bayern contrast methods
This commit is contained in:
parent
be4d83cc8d
commit
1503e52196
6 changed files with 127 additions and 43 deletions
|
@ -24,6 +24,7 @@ div#Contenttxt {
|
|||
padding-left:0px;
|
||||
border:0px solid silver;
|
||||
text-align: left;
|
||||
color: #4f3f3f;
|
||||
}
|
||||
|
||||
div#ContentLogin {
|
||||
|
@ -33,6 +34,7 @@ div#ContentLogin {
|
|||
padding:0px;
|
||||
margin:0;
|
||||
border: 0px solid #cccccc;
|
||||
color: #4f3f3f;
|
||||
}
|
||||
|
||||
select,input {
|
||||
|
@ -41,7 +43,7 @@ select,input {
|
|||
}
|
||||
|
||||
div a {
|
||||
color:#3f3f3f;
|
||||
color:#4f3f3f;
|
||||
text-decoration: underline;
|
||||
}
|
||||
div a:hover {
|
||||
|
@ -50,11 +52,13 @@ div a:hover {
|
|||
}
|
||||
.content_title2 {
|
||||
font-size:1.2em;
|
||||
color: #4f3f3f;
|
||||
}
|
||||
|
||||
.content_title3 {
|
||||
font-size:1.5em;
|
||||
padding-top:1.0em;
|
||||
color: #4f3f3f;
|
||||
}
|
||||
|
||||
.content1 {
|
||||
|
@ -62,21 +66,25 @@ div a:hover {
|
|||
line-height:1.2;
|
||||
font-weight:bold;
|
||||
padding-bottom:0.7em;
|
||||
color: #4f3f3f;
|
||||
}
|
||||
.content2 {
|
||||
line-height:1.2;
|
||||
padding-top:1.0em;
|
||||
max-width:750px;
|
||||
color: #4f3f3f;
|
||||
}
|
||||
.content2_contact {
|
||||
font-size:1em;
|
||||
line-height:1.5;
|
||||
max-width:750px;
|
||||
color: #4f3f3f;
|
||||
}
|
||||
.content2_legende {
|
||||
line-height:2.0;
|
||||
max-width:750px;
|
||||
text-align:left;
|
||||
color: #4f3f3f;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -61,9 +61,13 @@ sub tpl(){
|
|||
#$merchant_id = $1 if($coo =~ /_(\w+)$/);
|
||||
|
||||
my $bgcolor1 = "009899";#sharee
|
||||
my $hgcolor1 = "c0c0c0";#silver
|
||||
my $fgcolor1 = "ffffff";#white
|
||||
#my $bgcolor1 = "e2001a";
|
||||
|
||||
$bgcolor1 = $dbt->{website}->{$varenv->{syshost}}->{bgcolor1} if($dbt->{website}->{$varenv->{syshost}}->{bgcolor1});
|
||||
$hgcolor1 = $dbt->{website}->{$varenv->{syshost}}->{hgcolor1} if($dbt->{website}->{$varenv->{syshost}}->{hgcolor1});
|
||||
$fgcolor1 = $dbt->{website}->{$varenv->{syshost}}->{fgcolor1} if($dbt->{website}->{$varenv->{syshost}}->{fgcolor1});
|
||||
|
||||
#$bgcolor1 = $dbt->{merchant_ids}->{$merchant_id}->{bgcolor1} if($merchant_id && $dbt->{merchant_ids}->{$merchant_id}->{bgcolor1});
|
||||
$bgcolor1 = $dbt->{merchant_ids}->{$varenv->{merchant_id}}->{bgcolor1} if($dbt->{merchant_ids}->{$varenv->{merchant_id}}->{bgcolor1});
|
||||
|
@ -103,15 +107,15 @@ if($varenv->{syshost} eq "shareeweb-bayern"){
|
|||
font-family:Arial,sans-serif;
|
||||
text-decoration: none;
|
||||
font-weight: normal;
|
||||
color: white;
|
||||
color: #fffffe;
|
||||
}
|
||||
ul#AccNavi a:hover {
|
||||
color: black;
|
||||
background-color: white;
|
||||
color: #fffffe;
|
||||
background-color: #$hgcolor1;
|
||||
}
|
||||
ul#AccNavi a:active {
|
||||
color: white;
|
||||
background-color: gray;
|
||||
color: #fffffe;
|
||||
background-color: #$hgcolor1;
|
||||
}
|
||||
</style>\n";
|
||||
|
||||
|
@ -126,10 +130,10 @@ if($varenv->{syshost} eq "shareeweb-bayern"){
|
|||
my $mstyle_3="";
|
||||
|
||||
if($node_meta->{main_id} == $node1->{$id1}->{main_id}){
|
||||
$mstyle_1 .= "background-color: silver;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_1}");
|
||||
$mstyle_1_5 .= "background-color: silver;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_1_5}");
|
||||
$mstyle_2 .= "background-color: silver;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_2}");
|
||||
$mstyle_3 .= "background-color: silver;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_3}");
|
||||
$mstyle_1 .= "background-color: #$hgcolor1;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_1}");
|
||||
$mstyle_1_5 .= "background-color: #$hgcolor1;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_1_5}");
|
||||
$mstyle_2 .= "background-color: #$hgcolor1;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_2}");
|
||||
$mstyle_3 .= "background-color: #$hgcolor1;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_3}");
|
||||
|
||||
#Konrad & TINK & sharee AGB
|
||||
if(!$users_sharee->{int14} && !$users_sharee->{int15} && !$users_sharee->{txt30}){
|
||||
|
@ -185,15 +189,15 @@ if($varenv->{syshost} eq "shareeweb-bayern"){
|
|||
font-family:Arial,sans-serif;
|
||||
text-decoration: none;
|
||||
font-weight: normal;
|
||||
color: white;
|
||||
color: #fffffe;
|
||||
}
|
||||
ul#AccNavi a:hover {
|
||||
color: black;
|
||||
background-color: white;
|
||||
color: #fffffe;
|
||||
background-color: #$hgcolor1;
|
||||
}
|
||||
ul#AccNavi a:active {
|
||||
color: white;
|
||||
background-color: gray;
|
||||
color: #fffffe;
|
||||
background-color: #$hgcolor1;
|
||||
}
|
||||
</style>\n";
|
||||
|
||||
|
@ -209,10 +213,10 @@ if($varenv->{syshost} eq "shareeweb-bayern"){
|
|||
my $mstyle_3="";
|
||||
|
||||
if($node_meta->{main_id} == $node1->{$id1}->{main_id}){
|
||||
$mstyle_1 .= "background-color: silver;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_1}");
|
||||
$mstyle_1_5 .= "background-color: silver;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_1_5}");
|
||||
$mstyle_2 .= "background-color: silver;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_2}");
|
||||
$mstyle_3 .= "background-color: silver;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_3}");
|
||||
$mstyle_1 .= "background-color: #$hgcolor1;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_1}");
|
||||
$mstyle_1_5 .= "background-color: #$hgcolor1;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_1_5}");
|
||||
$mstyle_2 .= "background-color: #$hgcolor1;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_2}");
|
||||
$mstyle_3 .= "background-color: #$hgcolor1;" if("$node1->{$id1}->{node_name}" eq "$varenv->{accounting_3}");
|
||||
|
||||
#Konrad & TINK & sharee AGB
|
||||
if(!$users_sharee->{int14} && !$users_sharee->{int15} && !$users_sharee->{txt30}){
|
||||
|
|
|
@ -176,29 +176,6 @@ print <<EOF
|
|||
</div>
|
||||
EOF
|
||||
;
|
||||
}else{
|
||||
print <<EOF
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="sharee_agb" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true" style="text-decoration:underline;">AGB schließen</span><span class="sr-only">Close</span></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="text-default"><h4>$sharee_agb_text->{ct_name}</h4>$sharee_agb_text->{txt01}</div>
|
||||
</div>
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true" style="text-decoration:underline;">AGB schließen</span><span class="sr-only">Close</span></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
EOF
|
||||
;
|
||||
|
||||
}
|
||||
|
||||
print <<EOF
|
||||
<!-- Modal -->
|
||||
|
@ -222,6 +199,53 @@ EOF
|
|||
;
|
||||
|
||||
|
||||
}else{
|
||||
|
||||
print <<EOF
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="sharee_agb" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true" style="text-decoration:underline;">AGB schließen</span><span class="sr-only">Close</span></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="text-default"><h4>$sharee_agb_text->{ct_name}</h4>$sharee_agb_text->{txt01}</div>
|
||||
</div>
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true" style="text-decoration:underline;">AGB schließen</span><span class="sr-only">Close</span></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
EOF
|
||||
;
|
||||
|
||||
print <<EOF
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="sharee_privacy" tabindex="-1" aria-labelledby="myModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true" style="text-decoration:underline;">schließen</span><span class="sr-only">Close</span></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="text-default"><h4>$sharee_privacy_text->{ct_name}</h4>$sharee_privacy_text->{txt01}</div>
|
||||
</div>
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true" style="text-decoration:underline;">schließen</span><span class="sr-only">Close</span></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
EOF
|
||||
;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
my $debug=0;
|
||||
$debug=1 if($users_sharee->{c_id} eq $dbt->{copri_conf}->{superu_id} || $dbt->{copri_conf}->{stage} eq "test");
|
||||
my $debug_message = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue