Commit 3d0cffa3 authored by Tibor Katelbach's avatar Tibor Katelbach
Browse files

lart revolution tweaks

parent 041fc1af
This diff is collapsed.
......@@ -127,7 +127,7 @@
inputType : "text",
label : "Sujet",
values : sectionDyf.<?php echo $kunik ?>ParamsData.mail_type
}
},
mail_type : {
inputType : "textarea",
label : "Mail type",
......
......@@ -37,6 +37,9 @@ if( isset(Yii::app()->session["costum"]["tpls"][$keyTpl]) ) {
.swMain > ul li > a.selected::before, .swMain li > a.done::before{
border-color: <?php echo ( @$color1 ) ? $color1 : $defaultColor ?>;
}
.bgFormColor{
background-color:black;
}
</style>
......@@ -44,7 +47,7 @@ if( isset(Yii::app()->session["costum"]["tpls"][$keyTpl]) ) {
foreach ($formList as $k => $v) {
?>
<div id='<?php echo $v ?>' class='col-sm-offset-1 col-sm-10 sectionStep ' style="padding-bottom:40px">
<div id='<?php echo $v ?>' class='col-sm-offset-1 col-sm-10 sectionStep bgFormColor' style="padding-bottom:40px">
<?php
$form = PHDB::findOne( Form::COLLECTION,[ "id"=>$v ] );
?>
......
......@@ -52,7 +52,7 @@ if( isset( $form["inputs"] ) ){ ?>
//fin nouvelle repositionnement
//echo json_encode($form["inputs"]) ;
echo "<ul class='questionList sticky'>";
echo "<ul class='questionList sticky bgFormColor'>";
foreach ( $form["inputs"] as $key => $input) {
$canAnswer = Yii::app()->session["userId"] == $answer["user"] || Yii::app()->session["costum"]["form"]["anyOnewithLinkCanAnswer"];
......@@ -97,7 +97,7 @@ if( isset( $form["inputs"] ) ){ ?>
"answer" => $answer,
"answers" => $answers ,//sub answers for this input
"label" => $input["label"] ,//$ct." - ".$input["label"] ,
"titleColor"=> "#16A9B1",
"titleColor"=> (isset(Yii::app()->session["costum"]["colors"]["pink"])) ? Yii::app()->session["costum"]["colors"]["pink"] : "#16A9B1",
// "titleColor" => "#3399FF",
"info" => isset($input["info"]) ? $input["info"] : "" ,
"placeholder" => isset($input["placeholder"]) ? $input["placeholder"] : "" ,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment