@@ 135-145 (lines=11) @@ | ||
132 | ]); |
|
133 | } |
|
134 | ||
135 | private function setFeedbackStyleTitle($sType) |
|
136 | { |
|
137 | $formatTitle = 'margin-top:-5px;margin-right:20px;padding:5px;'; |
|
138 | $styleByType = [ |
|
139 | 'alert' => 'border:medium solid orange;background-color:orange;color:navy;', |
|
140 | 'check' => 'border:medium solid green;background-color:green;color:white;', |
|
141 | 'error' => 'border:medium solid red;background-color:red;color:white;', |
|
142 | 'info' => 'border:medium solid black;background-color:black;color:white;font-weight:bold;', |
|
143 | ]; |
|
144 | return $formatTitle . $styleByType[$sType]; |
|
145 | } |
|
146 | ||
147 | private function setFeedbackStyleMessage($sType) |
|
148 | { |
|
@@ 147-157 (lines=11) @@ | ||
144 | return $formatTitle . $styleByType[$sType]; |
|
145 | } |
|
146 | ||
147 | private function setFeedbackStyleMessage($sType) |
|
148 | { |
|
149 | $formatMessage = 'display:inline;padding-right:5px;padding-bottom:5px;'; |
|
150 | $styleByType = [ |
|
151 | 'alert' => 'background-color:navy;color:orange;border:medium solid orange;', |
|
152 | 'check' => 'background-color:yellow;color:green;border:medium solid green;', |
|
153 | 'error' => 'background-color:yellow;color:red;border:medium solid red;', |
|
154 | 'info' => 'background-color: white; color: black;border:medium solid black;', |
|
155 | ]; |
|
156 | return $formatMessage . $styleByType[$sType]; |
|
157 | } |
|
158 | ||
159 | /** |
|
160 | * Sets the gzip footer for HTML |