ajustes responsives de panel aplicacion para dispositivos pequeños

This commit is contained in:
Hacky Purple 2020-05-13 09:18:02 -05:00
parent 3f722390a3
commit ff4243240f
3 changed files with 98 additions and 67 deletions

View File

@ -119,6 +119,15 @@ background: #e5e5e5;
} }
@media (max-width: 480px) { @media (max-width: 480px) {
#contenedor_principal{
padding-left: 0px !important;
padding-right: 0px !important;
}
#contenido>legend {
padding-left: 10px;
}
#modificarcampo_succesalert{ #modificarcampo_succesalert{
position: relative; position: relative;
display: block; display: block;
@ -168,6 +177,21 @@ padding: 0px !important;
.email-grupo{ .email-grupo{
display: block !important; display: block !important;
} }
.opciones-portal{
display: table-caption !important;
width: auto !important;
}
.opciones-portal-grupo{
padding: 7px 0px !important;
background-color:transparent !important;
border: none !important;
margin: -3px;
}
.panel-api{
padding: 0px !important;
}
#modificarcampo_succesalert>.input-group-addon{ #modificarcampo_succesalert>.input-group-addon{
border: 1px solid #ccc !important; border: 1px solid #ccc !important;

View File

@ -17092,15 +17092,57 @@ $item .= "<!-- <div class='col-sm-$columnas' style=';'> -->
<i class='glyphicon glyphicon-edit'></i> Editar <i class='glyphicon glyphicon-edit'></i> Editar
</a> </a>
<a class='btn btn-default collapsed' role='button' data-toggle='collapse' data-parent='#acordion_grid' href='#api$row[id]' aria-expanded='false' aria-controls='api$row[id]'>API
</a>
<a class='btn btn-default collapsed text-right' role='button' data-toggle='collapse' data-parent='#acordion_grid' href='#config_form$row[id]' aria-expanded='false' aria-controls='config_form$row[id]'> <a class='btn btn-default collapsed text-right' role='button' data-toggle='collapse' data-parent='#acordion_grid' href='#config_form$row[id]' aria-expanded='false' aria-controls='config_form$row[id]'>
<i class='glyphicon glyphicon-cog'></i> <i class='glyphicon glyphicon-cog'></i>
</a> </a>
</li> </li>
<div id='config_form$row[id]' class='panel-collapse collapse' role='tabpanel' aria-labelledby='encabezado_$row[id]'> <div id='config_form$row[id]' class='panel-collapse collapse' role='tabpanel' aria-labelledby='encabezado_$row[id]'>
<div class='panel-body' > <div class='panel-api panel-body'>
<div class='container-fluid'> <div class='container-fluid'>
<legend>Portal</legend>
<li class='opciones-portal-grupo list-group-item'>
<div class='input-group'>
<span class='input-group-addon'>NO</span>
<input type='range' value='$mostrar[0]' class='form-control' NAME='mostrar_portal' id='mostrar_portal' onchange=\"xajax_parametrizacion_linea('form_id','$row[id]','mostrar_portal',(this.value),'div_mostrar_portal_$row[id]','',''); \"
min='0' max='1'>
<span class='input-group-addon'>SI</span><span class='opciones-portal input-group-addon alert-success' id='div_mostrar_$row[id]'>Mostrar en el portal</span>
</div>
</li>
<li class='opciones-portal-grupo list-group-item'>
<div class='input-group'>
<span class='input-group-addon'>NO</span>
<input type='range' value='$ignorar_areas[0]' class='form-control' NAME='ignorar_areas' id='ignorar_areas' onchange=\"xajax_parametrizacion_linea('form_id','$row[id]','ignorar_areas',(this.value),'div_ignorar_areas_$row[id]','',''); \"
min='0' max='1'>
<span class='input-group-addon'>SI</span><span class='opciones-portal input-group-addon alert-success' id='div_ignorar_areas_$row[id]'>Ignorar áreas del formulario</span>
</div>
</li>
<li class='opciones-portal-grupo list-group-item'>
<div class='input-group'>
<span class='input-group-addon'>NO</span>
<input type='range' value='$llenar[0]' class='form-control' NAME='llenar_portal' id='llenar_portal' onchange=\"xajax_parametrizacion_linea('form_id','$row[id]','llenar_portal',(this.value),'div_mostrar_portal_$row[id]','',''); \" min='0'
max='1'>
<span class='input-group-addon'>SI</span><span class='opciones-portal input-group-addon alert-success' id='div_llenar_$row[id]'>Llenar desde el portal</span>
</div>
</li>
<li class='opciones-portal-grupo list-group-item'>
<div class='input-group'>
<span class='input-group-addon'>NO</span>
<input type='range' value='$ver_data[0]' class='form-control' NAME='ver_data_portal' id='ver_data_portal' onchange=\"xajax_parametrizacion_linea('form_id','$row[id]','ver_data_portal',(this.value),'div_mostrar_portal_$row[id]','',''); \"
min='0' max='1'>
<span class='input-group-addon'>SI</span><span class='opciones-portal input-group-addon alert-success' id='div_ver_$row[id]'>Ver data desde el portal</span>
</div>
</li>
</div>
</div>
</div>
<div id='api$row[id]' class='panel-collapse collapse' role='tabpanel' aria-labelledby='encabezado_$row[id]'>
<div class='panel-api panel-body'>
<div class='container-fluid'>
<div id='api' class='row'> <div id='api' class='row'>
<legend>API</legend> <legend>API</legend>
@ -17121,42 +17163,7 @@ $item .= "<!-- <div class='col-sm-$columnas' style=';'> -->
<textarea rows='4' class='form-control ' id='token_escritura_"."$id"."' readonly>".${"key_escritura_".$id}[0]."</textarea> <textarea rows='4' class='form-control ' id='token_escritura_"."$id"."' readonly>".${"key_escritura_".$id}[0]."</textarea>
<legend id='token_escritura_$id"."_aviso' style='overflow-wrap:break-word;'></legend> <legend id='token_escritura_$id"."_aviso' style='overflow-wrap:break-word;'></legend>
</div> </div>
<legend>Portal</legend>
<li class='list-group-item'>
<div class='input-group'>
<span class='input-group-addon'>NO</span>
<input type='range' value='$mostrar[0]' class='form-control' NAME='mostrar_portal' id='mostrar_portal' onchange=\"xajax_parametrizacion_linea('form_id','$row[id]','mostrar_portal',(this.value),'div_mostrar_portal_$row[id]','',''); \"
min='0' max='1' >
<span class='input-group-addon'>SI</span><span class='input-group-addon alert-success' id= 'div_mostrar_$row[id]'>Mostrar en el portal</span>
</div> </div>
</li>
<li class='list-group-item'>
<div class='input-group'>
<span class='input-group-addon'>NO</span>
<input type='range' value='$ignorar_areas[0]' class='form-control' NAME='ignorar_areas' id='ignorar_areas' onchange=\"xajax_parametrizacion_linea('form_id','$row[id]','ignorar_areas',(this.value),'div_ignorar_areas_$row[id]','',''); \"
min='0' max='1' >
<span class='input-group-addon'>SI</span><span class='input-group-addon alert-success' id= 'div_ignorar_areas_$row[id]'>Ignorar áreas del formulario</span>
</div>
</li>
<li class='list-group-item'>
<div class='input-group'>
<span class='input-group-addon'>NO</span>
<input type='range' value='$llenar[0]' class='form-control' NAME='llenar_portal' id='llenar_portal' onchange=\"xajax_parametrizacion_linea('form_id','$row[id]','llenar_portal',(this.value),'div_mostrar_portal_$row[id]','',''); \"
min='0' max='1' >
<span class='input-group-addon'>SI</span><span class='input-group-addon alert-success' id= 'div_llenar_$row[id]'>Llenar desde el portal</span>
</div>
</li>
<li class='list-group-item'>
<div class='input-group'>
<span class='input-group-addon'>NO</span>
<input type='range' value='$ver_data[0]' class='form-control' NAME='ver_data_portal' id='ver_data_portal' onchange=\"xajax_parametrizacion_linea('form_id','$row[id]','ver_data_portal',(this.value),'div_mostrar_portal_$row[id]','',''); \"
min='0' max='1' >
<span class='input-group-addon'>SI</span><span class='input-group-addon alert-success' id= 'div_ver_$row[id]'>Ver data desde el portal</span>
</div>
</li>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,19 +1,19 @@
<?php <?php
$usuario="root"; $usuario="root";
$password="toor";// $password="toor";
$servidor="localhost"; $servidor="127.0.0.1";
$db="galenux_troconis"; $db="tupale";
$usuarios_sesion="GaleNUx_htroconis"; $usuarios_sesion="Tupale";
$path_instalacion ="/var/www/html/milfs/"; $path_instalacion ="/home/julih/Documents/www/tupali/milfs";
$path_images_secure ="/home/images_secure"; $path_images_secure ="/home/images_secure";
$url = "http://localhost/milfs/"; $url = "http://localhost/tuapli/";
$site = "http://localhost/"; $site = "http://localhost/tupali/";
/// ESCAPAR LAS COMILLAS CON (\) /// ESCAPAR LAS COMILLAS CON (\)
$codigo_analizador = " "; $codigo_analizador = " ";
/// Depende de la variable http://php.net/upload-max-filesize o en el .htaccess /// Depende de la variable http://php.net/upload-max-filesize o en el .htaccess
$upload_size = "30"; // Tamaño permitido para las imagenes en MB $upload_size = "30"; // Tamaño permitido para las imagenes en MB
$mapbox_token = "pk.eyJ1IjoiZmNhc3Ryb3QiLCJhIjoiY2lnOWw1bmd1MG93eXVsbTJpcmluYTBxdCJ9.yG7C1rEH6-MpZBEEb68IVg"; $mapbox_token = "pk.eyJ1IjoiZmNhc3Ryb3QiLCJhIjoiY2lnOWw1bmd1MG93eXVsbTJpcmluYTBxdCJ9.yG7C1rEH6-MpZBEEb68IVg";
$tabla_autenticacion="d9_users"; $tabla_autenticacion="usuarios";
$site=''; $site='';