Mejoras menores

prueba de css
parent 9aaadf2f
......@@ -170,44 +170,44 @@ class CampaniaApiController extends ApiController {
$html = "";
switch ($disposicion->getDcoNombre()):
case "(1)":
$html = '<div class = "col-sm-12">';
$html = '<div class = "col-lg-12 col-md-12 col-sm-12 col-xs-12">';
break;
case "(1/2;1/2)":
$html = '<div class = "col-sm-6">';
$html = '<div class = "col-lg-6 col-md-6 col-sm-12 col-xs-12">';
break;
case "(1/3;1/3;1/3)":
$html = '<div class = "col-sm-4">';
$html = '<div class = "col-lg-4 col-md-4 col-sm-12 col-xs-12">';
break;
case "(2/3;1/3)":
if ($columna == self::FIRST_COLUMN) {
$html = '<div class = "col-sm-8">';
$html = '<div class = "col-lg-8 col-md-8 col-sm-12 col-xs-12">';
} else {
$html = '<div class = "col-sm-4">';
$html = '<div class = "col-lg-4 col-md-4 col-sm-12 col-xs-12">';
}
break;
case "(1/3;2/3)":
if ($columna == self::FIRST_COLUMN) {
$html = '<div class = "col-sm-4">';
$html = '<div class = "col-lg-4 col-md-4 col-sm-12 col-xs-12">';
} else {
$html = '<div class = "col-sm-8">';
$html = '<div class = "col-lg-8 col-md-8 col-sm-12 col-xs-12">';
}
break;
case "(1/4;3/4)":
if ($columna == self::FIRST_COLUMN) {
$html = '<div class = "col-sm-3">';
$html = '<div class = "col-lg-3 col-md-3 col-sm-12 col-xs-12">';
} else {
$html = '<div class = "col-sm-9">';
$html = '<div class = "col-lg-9 col-md-9 col-sm-12 col-xs-12">';
}
break;
case "(3/4;1/4)":
if ($columna == self::FIRST_COLUMN) {
$html = '<div class = "col-sm-9">';
$html = '<div class = "col-lg-9 col-md-9 col-sm-12 col-xs-12">';
} else {
$html = '<div class = "col-sm-3">';
$html = '<div class = "col-lg-3 col-md-3 col-sm-12 col-xs-12">';
}
break;
case "(1/4;1/4;1/4;1/4)":
$html = '<div class = "col-sm-3">';
$html = '<div class = "col-lg-3 col-md-3 col-sm-12 col-xs-12">';
break;
endswitch;
......
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