git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C433
This commit is contained in:
parent
dc44913c3a
commit
7117468976
9 changed files with 91 additions and 30 deletions
|
|
@ -6302,6 +6302,9 @@
|
|||
<Content Include="dist\img\bannersinort.png" />
|
||||
<Content Include="dist\img\fotter.jpg" />
|
||||
<Content Include="dist\img\gota.png" />
|
||||
<Content Include="dist\img\GotaEstadisticas.png" />
|
||||
<Content Include="dist\img\GotaNormativa.png" />
|
||||
<Content Include="dist\img\GotaProyectos.png" />
|
||||
<Content Include="dist\img\icons.png" />
|
||||
<Content Include="dist\img\imgEst.jpg" />
|
||||
<Content Include="dist\img\imgEst1.png" />
|
||||
|
|
@ -6315,6 +6318,7 @@
|
|||
<Content Include="dist\img\photo2.png" />
|
||||
<Content Include="dist\img\SinortBanner.jpg" />
|
||||
<Content Include="dist\img\SinortBanner1.png" />
|
||||
<Content Include="dist\img\SINORT_LOGO.png" />
|
||||
<Content Include="dist\img\user2-160x160.jpg" />
|
||||
<Content Include="dist\js\adminlte.js" />
|
||||
<Content Include="dist\js\adminlte.min.js" />
|
||||
|
|
|
|||
|
|
@ -1973,16 +1973,21 @@ this.ValidarAcceder = function (vista, controlador, opcion) {
|
|||
|
||||
this.ExportarAMsWord = function (html, filename) {
|
||||
|
||||
var tipo = filename == 'DocMatriz' ? 'application/vnd.ms-excel' :'application/msword';
|
||||
|
||||
var blob = new Blob(['\ufeff', html], {
|
||||
type: 'application/msword'
|
||||
type: tipo
|
||||
|
||||
});
|
||||
|
||||
// Specify link url
|
||||
//var url = 'data:application/vnd.ms-word;charset=utf-8,' + encodeURIComponent(html);
|
||||
var url = 'data:application/vnd.ms-word;charset=utf-8,' + encodeURIComponent(html);
|
||||
|
||||
var url = filename == 'DocMatriz' ? 'data:application/vnd.ms-excel;charset=utf-8,' + encodeURIComponent(html) : 'data:application/vnd.ms-word;charset=utf-8,' + encodeURIComponent(html);
|
||||
|
||||
// Specify file name
|
||||
filename = filename ? filename + '.doc' : 'document.doc';
|
||||
var documentoword = filename ? filename + '.doc' : 'document.doc';
|
||||
var documentoexcel = filename ? filename + '.xls' : 'document.xls';
|
||||
filename = filename == 'DocMatriz' ? documentoexcel : documentoword;
|
||||
|
||||
// Create download link element
|
||||
var downloadLink = document.createElement("a");
|
||||
|
|
|
|||
|
|
@ -1712,15 +1712,19 @@ this.Export2Doc = function (element, filename) {
|
|||
|
||||
this.ExportarADoc = function (TipoComentario, filename) {
|
||||
|
||||
var preHtml;
|
||||
if (TipoComentario == 'Matriz') {
|
||||
preHtml = "<html xmlns:o='urn:schemas-microsoft-com:office:office' xmlns:w='urn:schemas-microsoft-com:office:excel' xmlns='http://www.w3.org/TR/REC-html40'><head><meta charset='utf-8'><title>SINORT</title></head><body>";
|
||||
} else {
|
||||
preHtml = "<html xmlns:o='urn:schemas-microsoft-com:office:office' xmlns:w='urn:schemas-microsoft-com:office:word' xmlns='http://www.w3.org/TR/REC-html40'><head><meta charset='utf-8'><title>SINORT</title></head><body>";
|
||||
}
|
||||
|
||||
|
||||
var preHtml = "<html xmlns:o='urn:schemas-microsoft-com:office:office' xmlns:w='urn:schemas-microsoft-com:office:word' xmlns='http://www.w3.org/TR/REC-html40'><head><meta charset='utf-8'><title>SINORT</title></head><body>";
|
||||
var postHtml = "</body></html>";
|
||||
var html = preHtml;
|
||||
|
||||
html = html + '<p><center><img src="' + RutaLogoSINORT + 'bannersinort.png" style="margin: 0 auto;" align="middle" width="300"></center></p>';
|
||||
html = html + '<br/>'
|
||||
html = html + '<center><h1>SISTEMA DE NORMATIVA Y REGULACION TECNICA DEL AyA</h1></center>'
|
||||
html = html + '<center><h1>SISTEMA DE NORMATIVA Y REGLAMENTACION TECNICA</h1></center>'
|
||||
html = html + '<br/>'
|
||||
html = html + '<h1>' + ((TipoComentario == 'Matriz') ? 'MATRIZ' : 'FORO') + '</h1>' +
|
||||
'<p>PROYECTO NORMATIVO N. ' + model.ProyectoNormativo.IdProyectoNormativo + ' NOMBRE: ' + model.ProyectoNormativo.NombreProyectoNormativo + '</p>' ;
|
||||
|
|
|
|||
|
|
@ -2,20 +2,49 @@
|
|||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<style >
|
||||
|
||||
<form id="formPrincipal" class="form-horizontal" role="form">
|
||||
body, html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
<img class="img-responsive" src="~/dist/img/SinortBanner1.png">
|
||||
.bg-img {
|
||||
/* The image used */
|
||||
background-image: url("~/dist/img/SINORT_LOGO.png");
|
||||
|
||||
/* Control the height of the image */
|
||||
min-height: 380px;
|
||||
|
||||
/* Center and scale the image nicely */
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
<div class="bg-img">
|
||||
<form id="formPrincipal" class="form-horizontal" role="form">
|
||||
<div class="row">
|
||||
<div class="col-sm-4"><a href="#"> <img class="img-responsive" src="~/dist/img/imgNormReg1.png"></div>
|
||||
@*<div class="col-sm-4"><a href="javascript: EntrarVerEstadoFicha('1');"> <img class="img-responsive" src="~/dist/img/imgNormReg1.png"></div>*@
|
||||
<div class="col-sm-4"><a href="javascript: ValidarAcceder('Proyecto_Normativo','Home','Ver proyectos y foros');"> <img class="img-responsive" src="~/dist/img/imgProyeNorm1.png"></div>
|
||||
@*<div class="col-sm-4"><a href="javascript: ValidarAcceder('Reporte','Reportes','Ver Reporte');"> <img class="img-responsive" src="~/dist/img/imgEst1.png"></div>*@
|
||||
<div class="col-sm-4"><a href="#"> <img class="img-responsive" src="~/dist/img/imgEst1.png"></div>
|
||||
|
||||
<div class="col-sm-12" style="height:100%"><img class="img-responsive" src="~/dist/img/SINORT_LOGO.png" ></div>
|
||||
|
||||
</div>
|
||||
|
||||
@*<img class="img-responsive" style="position: absolute; z-index: 1; width: 100%; height: 85%;" src="~/dist/img/SINORT_LOGO.png">*@
|
||||
|
||||
@*<div class="row">
|
||||
|
||||
<div class="col-sm-4"><a href="javascript: EntrarVerEstadoFicha('1');"> <img class="img-responsive" src="~/dist/img/imgNormReg1.png"></div>
|
||||
<div class="col-sm-4"><a href="javascript: ValidarAcceder('Proyecto_Normativo','Home','Ver proyectos y foros');"> <img class="img-responsive" src="~/dist/img/imgProyeNorm1.png"></div>
|
||||
<div class="col-sm-4"><a href="javascript: ValidarAcceder('Reporte','Reportes','Ver Reporte');"> <img class="img-responsive" src="~/dist/img/imgEst1.png"></div>
|
||||
|
||||
</div>*@
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
@ -171,17 +171,23 @@
|
|||
<li class="header">PANEL PRINCIPAL</li>
|
||||
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-book"></i> <span>Normativa y </br> Reglamentación Técnica </span> <span class="pull-right-container">
|
||||
<a href="#" >
|
||||
<img class="img-responsive" style="width:40%" src="~/dist/img/GotaNormativa.png"> <span>Normativa y </br> Reglamentación Técnica </span><span class="pull-right-container">
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</span>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
|
||||
<span><i class="fa fa-circle text-success"> Inicio</i> </span>
|
||||
|
||||
<li><a href="javascript: EntrarVerEstadoFicha('1');"> Normativa y </br> Reglamentación Técnica </a></li>
|
||||
|
||||
|
||||
<span><i class="fa fa-circle text-success"> Acciones</i> </span>
|
||||
|
||||
<li><a href="javascript: EntrarPantallaSolicitud('1');"> Consulta al administrador </a></li>
|
||||
<li><a href="javascript: EntrarPantallaSolicitud('2');"> Compra de documento técnica </a></li>
|
||||
<li><a href="javascript: EntrarPantallaSolicitud('3');"> Modificación de documento </br> técnico</a></li>
|
||||
<li><a href="javascript: EntrarPantallaSolicitud('2');"> Compra de documento </br> técnica </a></li>
|
||||
<li><a href="javascript: EntrarPantallaSolicitud('3');"> Modificación de </br> documento técnico</a></li>
|
||||
<li><a href="@Url.Action("MisSolicitudes", "NormativaReglamentacionTecnica")"> Ver mis solicitudes </a></li>
|
||||
<li><a href="javascript: ValidarAcceder('MisSolicitudesCompra','NormativaReglamentacionTecnica','Ver mis solicitudes de compra autorizadas');"> Ver mis solicitudes</br>de compra autorizadas </a></li>
|
||||
|
||||
|
|
@ -191,10 +197,10 @@
|
|||
<li><a href="javascript: ValidarAcceder('VerEncuestas','NormativaReglamentacionTecnica','Ver mis encuestas');"> Ver encuestas </a></li>
|
||||
<span><i class="fa fa-circle text-success"> Administar</i> </span>
|
||||
<li><a href="javascript: ValidarAcceder('FichaTecnica','NormativaReglamentacionTecnica','Crear Ficha Tecnica');"> Ficha Técnica</a></li>
|
||||
<li><a href="javascript: EntrarVerEstadoFicha('2','Consulta ficha técnica inactiva');"> Ver fichas técnicas inactivas</a></li>
|
||||
<li><a href="javascript: EntrarVerEstadoFicha('3', 'Consulta ficha técnica eliminada');"> Ver fichas técnicas eliminadas</a></li>
|
||||
<li><a href="javascript: EntrarVerEstadoFicha('2','Consulta ficha técnica inactiva');"> Ver fichas técnicas </br> inactivas</a></li>
|
||||
<li><a href="javascript: EntrarVerEstadoFicha('3', 'Consulta ficha técnica eliminada');"> Ver fichas técnicas </br> eliminadas</a></li>
|
||||
<li><a href="javascript: ValidarAcceder('VerSolicitudesCompra','NormativaReglamentacionTecnica','Ver histórico de solicitudes de compra');"> Ver solicitudes de compra</a></li>
|
||||
<li><a href="javascript: EntrarVerSolicitud('3','Ver histórico de solicitudes de modificación');"> Ver solicitudes de modificación</a></li>
|
||||
<li><a href="javascript: EntrarVerSolicitud('3','Ver histórico de solicitudes de modificación');"> Ver solicitudes de </br> modificación</a></li>
|
||||
<li><a href="javascript: EntrarVerSolicitud('1','Ver histórico de solicitudes de consulta');"> Ver solicitudes de consulta</a></li>
|
||||
<li><a href="javascript: ValidarAcceder('Mantenimiento','Catalogos','Ingreso y actualización de mantenimientos');"> Configuración de la </br> aplicación</a></li>
|
||||
</ul>
|
||||
|
|
@ -202,11 +208,16 @@
|
|||
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-book"></i> <span> Proyectos Normativos </span> <span class="pull-right-container">
|
||||
<img class="img-responsive" style="width:40%" src="~/dist/img/GotaProyectos.png"> <span>Proyectos Normativos </span><span class="pull-right-container">
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</span>
|
||||
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<span><i class="fa fa-circle text-success"> Inicio</i> </span>
|
||||
|
||||
<li><a href="javascript: ValidarAcceder('Proyecto_Normativo','Home','Ver proyectos y foros');"> Proyectos Normativos </a></li>
|
||||
|
||||
<span><i class="fa fa-circle text-success"> Acciones</i> </span>
|
||||
<li><a href="javascript: ValidarAcceder('Index','PropuestaNormativa','Crear propuesta normativa');">Propuesta Normativa</a></li>
|
||||
<li><a href="javascript: ValidarAcceder('Foro','PropuestaNormativa','Crear foro (no vinculado)');"> Foro</a></li>
|
||||
|
|
@ -215,17 +226,25 @@
|
|||
</li>
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-book"></i> <span>Estadísticas y Reportes </span> <span class="pull-right-container">
|
||||
<img class="img-responsive" style="width:40%" src="~/dist/img/GotaEstadisticas.png"> <span>Estadísticas y Reportes </span> <span class="pull-right-container">
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</span>
|
||||
@*<i class="fa fa-book"></i> <span>Estadísticas y Reportes </span> <span class="pull-right-container">
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
|
||||
</span>
|
||||
</span>*@
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<span><i class="fa fa-circle text-success"> Acciones</i> </span>
|
||||
<li><a href="javascript: ValidarAcceder('Reporte','Reportes','Ver Reporte');"> Ver Reporte</a></li>
|
||||
<span><i class="fa fa-circle text-success"> Inicio</i> </span>
|
||||
|
||||
<li><a href="javascript: javascript: ValidarAcceder('Reporte','Reportes','Ver Reporte');"> Estadísticas y Reportes </a></li>
|
||||
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
|
|
|||
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/GotaEstadisticas.png
vendored
Normal file
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/GotaEstadisticas.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/GotaNormativa.png
vendored
Normal file
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/GotaNormativa.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/GotaProyectos.png
vendored
Normal file
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/GotaProyectos.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/SINORT_LOGO.png
vendored
Normal file
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/SINORT_LOGO.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 MiB |
Loading…
Add table
Reference in a new issue