Merge pull request 'Portal Open Data' (#242) from responsive into master

This commit is contained in:
kleper 2020-04-30 17:11:21 -05:00
commit dc7e7d3eb4
3 changed files with 58 additions and 5 deletions

View File

@ -0,0 +1,52 @@
#opendata_cabecera{
text-align: center;
}
#datatable_row {
padding: 10px;
}
@media (max-width: 768px) {
#portaldata_categories {
font-size: 13px;
line-height: 1;
}
#contenedor{
padding: 0px;
}
#opendata_table{
padding-top: 50px;
border: none;
}
.table-bordered>tbody>tr>td,{
border: none important;
}
table, thead, tbody, th, td, tr {
display: block;
}
td {
/* Behave like a "row" */
border: none;
position: relative;
padding-left: 50%;
}
td:before {
/* Now like a table header */
position: absolute;
/* Top/left values mimic padding */
top: 6px;
left: 6px;
width: 45%;
padding-right: 10px;
white-space: nowrap;
}
}
@media (max-width: 480px) {
#drop_aplicacion {
margin-top: 5px;
}
}

2
milfs

@ -1 +1 @@
Subproject commit 307bc9bc88bec68637485ee4343c6383ec5ee625
Subproject commit 3ba85d859b2041ad08ccb276a94154c9cd0d3da9

View File

@ -106,7 +106,7 @@ $panel_formularios ="
<div class='dropdown' id='drop_aplicacion'>
<button class='btn btn-warning btn-block dropdown-toggle' type='button' data-toggle='dropdown'>Selecciona una Aplicación
<button class='btn btn-dark btn-block dropdown-toggle' type='button' data-toggle='dropdown'>Selecciona una Aplicación
<span class='caret'></span></button>
<ul class='dropdown-menu'>
<ul class='list-unstyled'>
@ -148,6 +148,7 @@ $acciones=formulario_acciones("$formulario","");
<?php $xajax->printJavascript("milfs/xajax/"); ?>
<link rel="shortcut icon" href="favicon-152.png">
<link rel="apple-touch-icon-precomposed" href="favicon-152.png">
<link rel="stylesheet" href="librerias/css/opendata.css" rel="stylesheet">
<link href="milfs/css/font-awesome/css/font-awesome.css" rel="stylesheet">
<!-- <link rel="stylesheet" href="milfs/css/style.css" media="screen" /> -->
<link href="librerias/bootstrap/css/sticky-footer-navbar.css" rel="stylesheet">
@ -207,18 +208,18 @@ color: black !important;
<!-- Static navbar -->
<div id ='contenedor' style=' ' class="container">
<div class="col-md-12">
<div id='opendata_cabecera' class="col-md-12">
<?php echo "<h1><img class='img img-rounded' src='milfs/images/secure/?file=150/$logo[0]' style='max-height:100px;'> $razon_social[0]<small><br>$slogan[0]</small></h1>"; ?>
</div>
<div class='container-full'>
<div class='col-md-6'>
<div class='col-sm-6'>
<?php
$empresas = drop('empresa','id','razon_social','?proyecto',"",'Selecciona un Proyecto');
echo $empresas
?>
</div>
<div class='col-md-6'>
<div class='col-sm-6'>
<?php echo $panel_formularios ?>
</div>