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) {
#contenedor_principal{
padding-left: 0px !important;
padding-right: 0px !important;
}
#contenido>legend {
padding-left: 10px;
}
#modificarcampo_succesalert{
position: relative;
display: block;
@ -168,6 +177,21 @@ padding: 0px !important;
.email-grupo{
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{
border: 1px solid #ccc !important;

View File

@ -17092,74 +17092,81 @@ $item .= "<!-- <div class='col-sm-$columnas' style=';'> -->
<i class='glyphicon glyphicon-edit'></i> Editar
</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]'>
<i class='glyphicon glyphicon-cog'></i>
</a>
</li>
<div id='config_form$row[id]' class='panel-collapse collapse' role='tabpanel' aria-labelledby='encabezado_$row[id]'>
<div class='panel-body' >
<div class='container-fluid'>
<div id='config_form$row[id]' class='panel-collapse collapse' role='tabpanel' aria-labelledby='encabezado_$row[id]'>
<div class='panel-api panel-body'>
<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' class='row'>
<legend>API</legend>
<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'>
<legend>API</legend>
<button class='btn btn-warning' onclick=\"xajax_generar_token('token_administrador_$id','administrador'); \"> <i class='glyphicon glyphicon-refresh'></i> Token administrador</button></span>
<div class='form-group'>
<textarea rows='4' class='form-control ' id='token_administrador_"."$id"."' readonly>".${"key_administrador_".$id}[0]."</textarea>
<legend id='token_administrador_$id"."_aviso' style='overflow-wrap:break-word;'></legend>
</div>
<button class='btn btn-warning' onclick=\"xajax_generar_token('token_administrador_$id','administrador'); \"> <i class='glyphicon glyphicon-refresh'></i> Token administrador</button></span>
<div class='form-group'>
<textarea rows='4' class='form-control ' id='token_administrador_"."$id"."' readonly>".${"key_administrador_".$id}[0]."</textarea>
<legend id='token_administrador_$id"."_aviso' style='overflow-wrap:break-word;'></legend>
</div>
<button class='btn btn-warning' onclick=\"xajax_generar_token('token_lectura_$id','lectura'); \"> <i class='glyphicon glyphicon-refresh'></i> Token lectura</button></span>
<div class='form-group'>
<textarea rows='4' class='form-control ' id='token_lectura_"."$id"."' readonly>".${"key_lectura_".$id}[0]."</textarea>
<legend id='token_lectura_$id"."_aviso' style='overflow-wrap:break-word;'></legend>
</div>
<button class='btn btn-warning' onclick=\"xajax_generar_token('token_lectura_$id','lectura'); \"> <i class='glyphicon glyphicon-refresh'></i> Token lectura</button></span>
<div class='form-group'>
<textarea rows='4' class='form-control ' id='token_lectura_"."$id"."' readonly>".${"key_lectura_".$id}[0]."</textarea>
<legend id='token_lectura_$id"."_aviso' style='overflow-wrap:break-word;'></legend>
</div>
<button class='btn btn-warning' onclick=\"xajax_generar_token('token_escritura_$id','escritura'); \"> <i class='glyphicon glyphicon-refresh'></i> Token escritura</button></span>
<div class='form-group'>
<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>
</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>
</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>
<button class='btn btn-warning' onclick=\"xajax_generar_token('token_escritura_$id','escritura'); \"> <i class='glyphicon glyphicon-refresh'></i> Token escritura</button></span>
<div class='form-group'>
<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>
</div>
</div>
</div>
</div>
</div>
</ul>

View File

@ -1,19 +1,19 @@
<?php
$usuario="root";
$password="toor";//
$servidor="localhost";
$db="galenux_troconis";
$usuarios_sesion="GaleNUx_htroconis";
$path_instalacion ="/var/www/html/milfs/";
$password="toor";
$servidor="127.0.0.1";
$db="tupale";
$usuarios_sesion="Tupale";
$path_instalacion ="/home/julih/Documents/www/tupali/milfs";
$path_images_secure ="/home/images_secure";
$url = "http://localhost/milfs/";
$site = "http://localhost/";
$url = "http://localhost/tuapli/";
$site = "http://localhost/tupali/";
/// ESCAPAR LAS COMILLAS CON (\)
$codigo_analizador = " ";
/// 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
$mapbox_token = "pk.eyJ1IjoiZmNhc3Ryb3QiLCJhIjoiY2lnOWw1bmd1MG93eXVsbTJpcmluYTBxdCJ9.yG7C1rEH6-MpZBEEb68IVg";
$tabla_autenticacion="d9_users";
$tabla_autenticacion="usuarios";
$site='';