git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C336
This commit is contained in:
parent
847e0dac23
commit
04857860ce
31 changed files with 33848 additions and 9 deletions
|
|
@ -198,7 +198,10 @@ namespace AYA.SlnSinort.WCF
|
||||||
BaseJson InsertarActualizarAreaAplicacionDocumentoTecnico(AreaAplicacionDocumentoTecnico model);
|
BaseJson InsertarActualizarAreaAplicacionDocumentoTecnico(AreaAplicacionDocumentoTecnico model);
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region Encuestas
|
||||||
|
[OperationContract]
|
||||||
|
List<TipoPregunta> ObtenerTipoPregunta();
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
[DataContract]
|
[DataContract]
|
||||||
|
|
|
||||||
|
|
@ -825,5 +825,21 @@ namespace AYA.SlnSinort.WCF
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region Encuesta
|
||||||
|
public List<TipoPregunta> ObtenerTipoPregunta()
|
||||||
|
{
|
||||||
|
List<TipoPregunta> respuesta = null;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
respuesta = new EncuestaDAL().ObtenerTipoPregunta();
|
||||||
|
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
log.Error(ex);
|
||||||
|
}
|
||||||
|
return respuesta;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6156,8 +6156,10 @@
|
||||||
<Content Include="Content\jQuery.FileUpload\img\loading.gif" />
|
<Content Include="Content\jQuery.FileUpload\img\loading.gif" />
|
||||||
<Content Include="Content\jQuery.FileUpload\img\progressbar.gif" />
|
<Content Include="Content\jQuery.FileUpload\img\progressbar.gif" />
|
||||||
<Content Include="Content\Principal.css" />
|
<Content Include="Content\Principal.css" />
|
||||||
|
<Content Include="Content\richtext.min.css" />
|
||||||
<Content Include="Content\simpleAngularUI.css" />
|
<Content Include="Content\simpleAngularUI.css" />
|
||||||
<Content Include="Content\simpleAngularUI.min.css" />
|
<Content Include="Content\simpleAngularUI.min.css" />
|
||||||
|
<Content Include="Content\survey.css" />
|
||||||
<Content Include="Content\tether\tether-theme-arrows-dark.css" />
|
<Content Include="Content\tether\tether-theme-arrows-dark.css" />
|
||||||
<Content Include="Content\tether\tether-theme-arrows-dark.min.css" />
|
<Content Include="Content\tether\tether-theme-arrows-dark.min.css" />
|
||||||
<Content Include="Content\tether\tether-theme-arrows.css" />
|
<Content Include="Content\tether\tether-theme-arrows.css" />
|
||||||
|
|
@ -7167,6 +7169,7 @@
|
||||||
<Content Include="Properties\DataSources\AYA.SlnSinortModel.Sinort.DocumentosAdjuntos.datasource" />
|
<Content Include="Properties\DataSources\AYA.SlnSinortModel.Sinort.DocumentosAdjuntos.datasource" />
|
||||||
<Content Include="Properties\DataSources\AYA.SlnSinortModel.Sinort.Pantallas.datasource" />
|
<Content Include="Properties\DataSources\AYA.SlnSinortModel.Sinort.Pantallas.datasource" />
|
||||||
<Content Include="Properties\DataSources\AYA.SlnSinortModel.Sinort.TareasPendientes.datasource" />
|
<Content Include="Properties\DataSources\AYA.SlnSinortModel.Sinort.TareasPendientes.datasource" />
|
||||||
|
<Content Include="Content\richtext.scss" />
|
||||||
<None Include="Properties\PublishProfiles\AYA.SlnSinort.pubxml" />
|
<None Include="Properties\PublishProfiles\AYA.SlnSinort.pubxml" />
|
||||||
<None Include="Scripts\jquery-3.3.1.intellisense.js" />
|
<None Include="Scripts\jquery-3.3.1.intellisense.js" />
|
||||||
<Content Include="Scripts\fullcalendar\fullcalendar.js" />
|
<Content Include="Scripts\fullcalendar\fullcalendar.js" />
|
||||||
|
|
@ -7266,6 +7269,8 @@
|
||||||
<Content Include="Scripts\jQuery.FileUpload\jquery.fileupload-video.js" />
|
<Content Include="Scripts\jQuery.FileUpload\jquery.fileupload-video.js" />
|
||||||
<Content Include="Scripts\jQuery.FileUpload\jquery.fileupload.js" />
|
<Content Include="Scripts\jQuery.FileUpload\jquery.fileupload.js" />
|
||||||
<Content Include="Scripts\jQuery.FileUpload\jquery.iframe-transport.js" />
|
<Content Include="Scripts\jQuery.FileUpload\jquery.iframe-transport.js" />
|
||||||
|
<Content Include="Scripts\jquery.richtext.js" />
|
||||||
|
<Content Include="Scripts\jquery.richtext.min.js" />
|
||||||
<Content Include="Scripts\jquery.validate.js" />
|
<Content Include="Scripts\jquery.validate.js" />
|
||||||
<Content Include="Scripts\jquery.validate.min.js" />
|
<Content Include="Scripts\jquery.validate.min.js" />
|
||||||
<Content Include="Scripts\jquery.validate.unobtrusive.js" />
|
<Content Include="Scripts\jquery.validate.unobtrusive.js" />
|
||||||
|
|
@ -7315,6 +7320,8 @@
|
||||||
<Content Include="Scripts\summernote\summernote.css" />
|
<Content Include="Scripts\summernote\summernote.css" />
|
||||||
<Content Include="Scripts\summernote\summernote.js" />
|
<Content Include="Scripts\summernote\summernote.js" />
|
||||||
<Content Include="Scripts\summernote\summernote.min.js" />
|
<Content Include="Scripts\summernote\summernote.min.js" />
|
||||||
|
<Content Include="Scripts\survey.jquery.js" />
|
||||||
|
<Content Include="Scripts\survey.jquery.min.js" />
|
||||||
<Content Include="Scripts\tether\tether.js" />
|
<Content Include="Scripts\tether\tether.js" />
|
||||||
<Content Include="Scripts\tether\tether.min.js" />
|
<Content Include="Scripts\tether\tether.min.js" />
|
||||||
<Content Include="Scripts\toastr.js" />
|
<Content Include="Scripts\toastr.js" />
|
||||||
|
|
@ -7339,6 +7346,7 @@
|
||||||
<Content Include="Sinort-Scripts\GotitasPendientes.js" />
|
<Content Include="Sinort-Scripts\GotitasPendientes.js" />
|
||||||
<Content Include="Sinort-Scripts\NormativaReglamentacionTecnica.js" />
|
<Content Include="Sinort-Scripts\NormativaReglamentacionTecnica.js" />
|
||||||
<Content Include="Sinort-Scripts\NormativaReglamentacionTecnica\BusquedaFichaTecnica.js" />
|
<Content Include="Sinort-Scripts\NormativaReglamentacionTecnica\BusquedaFichaTecnica.js" />
|
||||||
|
<Content Include="Sinort-Scripts\NormativaReglamentacionTecnica\CrearEncuesta.js" />
|
||||||
<Content Include="Sinort-Scripts\NormativaReglamentacionTecnica\FichaTecnica.js" />
|
<Content Include="Sinort-Scripts\NormativaReglamentacionTecnica\FichaTecnica.js" />
|
||||||
<Content Include="Sinort-Scripts\Global.js" />
|
<Content Include="Sinort-Scripts\Global.js" />
|
||||||
<Content Include="Sinort-Scripts\Login.js" />
|
<Content Include="Sinort-Scripts\Login.js" />
|
||||||
|
|
@ -7446,6 +7454,7 @@
|
||||||
<Content Include="Views\NormativaReglamentacionTecnica\VerSolicitudes.cshtml" />
|
<Content Include="Views\NormativaReglamentacionTecnica\VerSolicitudes.cshtml" />
|
||||||
<Content Include="Views\NormativaReglamentacionTecnica\MisSolicitudes.cshtml" />
|
<Content Include="Views\NormativaReglamentacionTecnica\MisSolicitudes.cshtml" />
|
||||||
<Content Include="Views\NormativaReglamentacionTecnica\VerSolicitudesCompra.cshtml" />
|
<Content Include="Views\NormativaReglamentacionTecnica\VerSolicitudesCompra.cshtml" />
|
||||||
|
<Content Include="Views\NormativaReglamentacionTecnica\CrearEncuesta.cshtml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="App_Data\" />
|
<Folder Include="App_Data\" />
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,10 @@ namespace AYA.SlnSinort
|
||||||
.Include("~/Scripts/jQuery.FileUpload/jquery.fileupload.js")
|
.Include("~/Scripts/jQuery.FileUpload/jquery.fileupload.js")
|
||||||
.Include("~/Scripts/jQuery.FileUpload/jquery.fileupload-process.js")
|
.Include("~/Scripts/jQuery.FileUpload/jquery.fileupload-process.js")
|
||||||
.Include("~/Scripts/jQuery.FileUpload/jquery.fileupload-validate.js"));
|
.Include("~/Scripts/jQuery.FileUpload/jquery.fileupload-validate.js"));
|
||||||
|
bundles.Add(new ScriptBundle("~/bundles/jquery-richtext")
|
||||||
|
.Include("~/Scripts/jquery.richtext.min.js"));
|
||||||
|
bundles.Add(new ScriptBundle("~/bundles/jquery-survey")
|
||||||
|
.Include("~/Scripts/survey.jquery.js"));
|
||||||
bundles.Add(new ScriptBundle("~/bundles/timepicki").Include("~/Scripts/timepicki.js"));
|
bundles.Add(new ScriptBundle("~/bundles/timepicki").Include("~/Scripts/timepicki.js"));
|
||||||
bundles.Add(new ScriptBundle("~/bundles/jquery-fullCalendar").Include("~/Scripts/fullcalendar/fullcalendar.min.js").Include("~/Scripts/fullcalendar/locale/es.js"));
|
bundles.Add(new ScriptBundle("~/bundles/jquery-fullCalendar").Include("~/Scripts/fullcalendar/fullcalendar.min.js").Include("~/Scripts/fullcalendar/locale/es.js"));
|
||||||
|
|
||||||
|
|
@ -52,6 +56,8 @@ namespace AYA.SlnSinort
|
||||||
.Include("~/Content/toastr.css")
|
.Include("~/Content/toastr.css")
|
||||||
.Include("~/Content/DataTables-1.10.0/css/jquery.dataTables.css")
|
.Include("~/Content/DataTables-1.10.0/css/jquery.dataTables.css")
|
||||||
.Include("~/Content/jQuery.FileUpload/css/jquery.fileupload.css")
|
.Include("~/Content/jQuery.FileUpload/css/jquery.fileupload.css")
|
||||||
|
.Include("~/Content/richtext.min.css")
|
||||||
|
.Include("~/Content/survey.css")
|
||||||
.Include("~/Content/fullcalendar.css"));
|
.Include("~/Content/fullcalendar.css"));
|
||||||
|
|
||||||
bundles.Add(new ScriptBundle("~/Script-Global")
|
bundles.Add(new ScriptBundle("~/Script-Global")
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ namespace AYA.SlnSinort
|
||||||
routes.MapRoute(
|
routes.MapRoute(
|
||||||
name: "Default",
|
name: "Default",
|
||||||
url: "{controller}/{action}/{id}",
|
url: "{controller}/{action}/{id}",
|
||||||
defaults: new { controller = "Login", action = "Login", id = UrlParameter.Optional }
|
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
|
||||||
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1
AYA.SlnSynor/AYA.SlnSynor/Content/richtext.min.css
vendored
Normal file
1
AYA.SlnSynor/AYA.SlnSynor/Content/richtext.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
286
AYA.SlnSynor/AYA.SlnSynor/Content/richtext.scss
Normal file
286
AYA.SlnSynor/AYA.SlnSynor/Content/richtext.scss
Normal file
|
|
@ -0,0 +1,286 @@
|
||||||
|
$highlight: #3498db;
|
||||||
|
|
||||||
|
.richText {
|
||||||
|
position: relative;
|
||||||
|
background-color: #FAFAFA;
|
||||||
|
border: #EFEFEF solid 1px;
|
||||||
|
color: #333333;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.richText-form {
|
||||||
|
font-family: Calibri,Verdana,Helvetica,sans-serif;
|
||||||
|
label {
|
||||||
|
display: block;
|
||||||
|
padding: 10px 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="text"], input[type="file"], input[type="number"], select {
|
||||||
|
padding: 10px 15px;
|
||||||
|
border: #999999 solid 1px;
|
||||||
|
min-width: 200px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
select {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
margin: 10px 0;
|
||||||
|
padding: 10px 15px;
|
||||||
|
background-color: $highlight;
|
||||||
|
border: none;
|
||||||
|
color: #FAFAFA;
|
||||||
|
cursor: pointer;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
-moz-appearance: none;
|
||||||
|
appearance: none;
|
||||||
|
-webkit-border-radius: 4px;
|
||||||
|
-moz-border-radius: 4px;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.richText-toolbar {
|
||||||
|
min-height: 20px;
|
||||||
|
border-bottom: #EFEFEF solid 1px;
|
||||||
|
|
||||||
|
ul {
|
||||||
|
li {
|
||||||
|
float: left;
|
||||||
|
display: block;
|
||||||
|
list-style: none;
|
||||||
|
|
||||||
|
a {
|
||||||
|
display: block;
|
||||||
|
padding: 10px 15px;
|
||||||
|
border-right: #EFEFEF solid 1px;
|
||||||
|
cursor: pointer;
|
||||||
|
-webkit-transition: background-color 0.4s;
|
||||||
|
-moz-transition: background-color 0.4s;
|
||||||
|
transition: background-color 0.4s;
|
||||||
|
|
||||||
|
.fa, .fas, .far, svg {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.richText-dropdown-outer {
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
background-color: rgba(0,0,0,0.3);
|
||||||
|
cursor: default;
|
||||||
|
|
||||||
|
.richText-dropdown {
|
||||||
|
position:relative;
|
||||||
|
display: block;
|
||||||
|
margin: 3% auto 0 auto;
|
||||||
|
background-color: #FAFAFA;
|
||||||
|
border: #EFEFEF solid 1px;
|
||||||
|
min-width: 100px;
|
||||||
|
width: 300px;
|
||||||
|
max-width: 90%;
|
||||||
|
-webkit-box-shadow:0 0 5px 0 #333;
|
||||||
|
-moz-box-shadow:0 0 5px 0 #333;
|
||||||
|
box-shadow:0 0 5px 0 #333;
|
||||||
|
|
||||||
|
.richText-dropdown-close {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: -23px;
|
||||||
|
background: #FFF;
|
||||||
|
color: #333;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 20px;
|
||||||
|
text-align: center;
|
||||||
|
width: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ul.richText-dropdown {
|
||||||
|
list-style: none;
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: block;
|
||||||
|
float: none;
|
||||||
|
font-family: Calibri,Verdana,Helvetica,sans-serif;
|
||||||
|
|
||||||
|
a {
|
||||||
|
display: block;
|
||||||
|
padding: 10px 15px;
|
||||||
|
border-bottom: #EFEFEF solid 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
li.inline{
|
||||||
|
margin: 10px 6px;
|
||||||
|
float: left;
|
||||||
|
|
||||||
|
a {
|
||||||
|
display: block;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
border: none;
|
||||||
|
-webkit-border-radius: 50%;
|
||||||
|
-moz-border-radius: 50%;
|
||||||
|
border-radius: 50%;
|
||||||
|
-webkit-box-shadow: 0 0 10px 0 #999;
|
||||||
|
-moz-box-shadow: 0 0 10px 0 #999;
|
||||||
|
box-shadow: 0 0 10px 0 #999;
|
||||||
|
|
||||||
|
span {
|
||||||
|
display: block;
|
||||||
|
height: 30px;
|
||||||
|
width: 30px;
|
||||||
|
-webkit-border-radius: 50%;
|
||||||
|
-moz-border-radius: 50%;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
div.richText-dropdown {
|
||||||
|
padding: 10px 15px;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
li[data-disable="true"] {
|
||||||
|
opacity: 0.1;
|
||||||
|
a {
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
li:not([data-disable="true"]).is-selected .richText-dropdown-outer {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ul:after {
|
||||||
|
display: block;
|
||||||
|
content: "";
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.richText-toolbar:last-child {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.richText-toolbar:after{
|
||||||
|
display: block;
|
||||||
|
clear: both;
|
||||||
|
content:"";
|
||||||
|
}
|
||||||
|
|
||||||
|
.richText-editor {
|
||||||
|
padding: 20px;
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
border-left: #FFFFFF solid 2px;
|
||||||
|
font-family: Calibri,Verdana,Helvetica,sans-serif;
|
||||||
|
height: 300px;
|
||||||
|
outline: none;
|
||||||
|
overflow-y: scroll;
|
||||||
|
overflow-x: auto;
|
||||||
|
|
||||||
|
ul, ol {
|
||||||
|
margin: 10px 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
margin:10px 0;
|
||||||
|
border-spacing:0;
|
||||||
|
width:100%;
|
||||||
|
|
||||||
|
td, th {
|
||||||
|
padding: 10px;
|
||||||
|
border:#EFEFEF solid 1px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.richText-editor:focus {
|
||||||
|
border-left: $highlight solid 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.richText-initial {
|
||||||
|
margin-bottom: -4px;
|
||||||
|
padding: 10px;
|
||||||
|
background-color: #282828;
|
||||||
|
border: none;
|
||||||
|
color: #33FF33;
|
||||||
|
font-family: Monospace,Calibri,Verdana,Helvetica,sans-serif;
|
||||||
|
max-width: 100%;
|
||||||
|
min-width: 100%;
|
||||||
|
width: 100%;
|
||||||
|
min-height: 400px;
|
||||||
|
height: 400px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.richText-help {
|
||||||
|
float: right;
|
||||||
|
display: block;
|
||||||
|
padding: 10px 15px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.richText-undo,
|
||||||
|
.richText-redo {
|
||||||
|
float: left;
|
||||||
|
display: block;
|
||||||
|
padding: 10px 15px;
|
||||||
|
border-right: #EFEFEF solid 1px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.richText-undo.is-disabled,
|
||||||
|
.richText-redo.is-disabled {
|
||||||
|
opacity: 0.4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.richText-help-popup {
|
||||||
|
a {
|
||||||
|
color:#3498db;
|
||||||
|
text-decoration:underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
margin: 10px auto 5px auto;
|
||||||
|
border:none;
|
||||||
|
border-top: #EFEFEF solid 1px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.richText-list.list-rightclick {
|
||||||
|
position: absolute;
|
||||||
|
background-color: #FAFAFA;
|
||||||
|
border-right: #EFEFEF solid 1px;
|
||||||
|
border-bottom: #EFEFEF solid 1px;
|
||||||
|
|
||||||
|
li {
|
||||||
|
padding: 5px 7px;
|
||||||
|
cursor: pointer;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
364
AYA.SlnSynor/AYA.SlnSynor/Content/survey.css
Normal file
364
AYA.SlnSynor/AYA.SlnSynor/Content/survey.css
Normal file
|
|
@ -0,0 +1,364 @@
|
||||||
|
/*!
|
||||||
|
* surveyjs - Survey JavaScript library v1.0.35
|
||||||
|
* Copyright (c) 2015-2018 Devsoft Baltic OÜ - http://surveyjs.io/
|
||||||
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
||||||
|
*/
|
||||||
|
.sv_window {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 3px;
|
||||||
|
right: 10px;
|
||||||
|
background-color: cadetblue;
|
||||||
|
padding: 1px;
|
||||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 1.42857143;
|
||||||
|
text-align: left;
|
||||||
|
text-align: start;
|
||||||
|
text-decoration: none;
|
||||||
|
text-shadow: none;
|
||||||
|
text-transform: none;
|
||||||
|
letter-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
white-space: normal;
|
||||||
|
background-color: #fff;
|
||||||
|
-webkit-background-clip: padding-box;
|
||||||
|
background-clip: padding-box;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
||||||
|
border-radius: 6px;
|
||||||
|
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
||||||
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
||||||
|
line-break: auto; }
|
||||||
|
|
||||||
|
.sv_window_title {
|
||||||
|
padding: 8px 14px;
|
||||||
|
margin: 0;
|
||||||
|
font-size: 14px;
|
||||||
|
background-color: #f7f7f7;
|
||||||
|
border-bottom: 1px solid #ebebeb;
|
||||||
|
border-radius: 5px 5px 0 0; }
|
||||||
|
|
||||||
|
.sv_window_content {
|
||||||
|
padding: 8px;
|
||||||
|
margin: 0; }
|
||||||
|
|
||||||
|
.sv_window_title a,
|
||||||
|
.sv_window_title a:link,
|
||||||
|
.sv_window_title a:visited {
|
||||||
|
text-decoration: none;
|
||||||
|
font-size: 14px;
|
||||||
|
font-style: normal;
|
||||||
|
color: black; }
|
||||||
|
|
||||||
|
.sv_main.sv_frame .sv_container {
|
||||||
|
max-width: 80%;
|
||||||
|
margin: auto;
|
||||||
|
padding: 0 1em; }
|
||||||
|
.sv_main.sv_frame .sv_container .sv_header {
|
||||||
|
padding-top: 5em;
|
||||||
|
padding-bottom: 1em; }
|
||||||
|
|
||||||
|
.sv_main {
|
||||||
|
background-color: #f4f4f4; }
|
||||||
|
.sv_main hr {
|
||||||
|
border-bottom: 1px solid #e7e7e7; }
|
||||||
|
.sv_main input[type="button"],
|
||||||
|
.sv_main button {
|
||||||
|
color: white;
|
||||||
|
background-color: #1ab394; }
|
||||||
|
.sv_main input[type="button"]:hover,
|
||||||
|
.sv_main button:hover {
|
||||||
|
background-color: #179d82; }
|
||||||
|
.sv_main .sv_q_other input,
|
||||||
|
.sv_main .sv_q_text_root,
|
||||||
|
.sv_main .sv_q_dropdown_control,
|
||||||
|
.sv_main input[type="text"],
|
||||||
|
.sv_main select,
|
||||||
|
.sv_main textarea {
|
||||||
|
border: 1px solid #e7e7e7;
|
||||||
|
color: #6d7072;
|
||||||
|
background-color: white; }
|
||||||
|
.sv_main .sv_q_other input:focus,
|
||||||
|
.sv_main .sv_q_text_root:focus,
|
||||||
|
.sv_main .sv_q_dropdown_control:focus,
|
||||||
|
.sv_main input[type="text"]:focus,
|
||||||
|
.sv_main select:focus,
|
||||||
|
.sv_main textarea:focus {
|
||||||
|
border: 1px solid #1ab394; }
|
||||||
|
.sv_main .sv_select_wrapper {
|
||||||
|
background-color: white; }
|
||||||
|
.sv_main .sv_select_wrapper:before {
|
||||||
|
background-color: #1ab394; }
|
||||||
|
.sv_main .sv_header {
|
||||||
|
color: #6d7072; }
|
||||||
|
.sv_main .sv_custom_header {
|
||||||
|
background-color: #e7e7e7; }
|
||||||
|
.sv_main .sv_container {
|
||||||
|
color: #6d7072; }
|
||||||
|
.sv_main .sv_body {
|
||||||
|
background-color: white;
|
||||||
|
border-top: 2px solid #1ab394; }
|
||||||
|
.sv_main .sv_progress {
|
||||||
|
background-color: #e7e7e7; }
|
||||||
|
.sv_main .sv_progress_bar {
|
||||||
|
background-color: #1ab394; }
|
||||||
|
.sv_main .sv_p_root > .sv_row {
|
||||||
|
border-bottom: 1px solid #e7e7e7; }
|
||||||
|
.sv_main .sv_p_root > .sv_row:nth-child(odd) {
|
||||||
|
background-color: white; }
|
||||||
|
.sv_main .sv_p_root > .sv_row:nth-child(even) {
|
||||||
|
background-color: #f4f4f4; }
|
||||||
|
.sv_main .sv_q_erbox:not([style*="display: none"]):not([style*="display:none"]) {
|
||||||
|
border: 1px solid #ed5565;
|
||||||
|
background-color: #fcdfe2;
|
||||||
|
color: #ed5565; }
|
||||||
|
.sv_main .sv_q_erbox:not([style*="display: none"]):not([style*="display:none"]) + input,
|
||||||
|
.sv_main .sv_q_erbox:not([style*="display: none"]):not([style*="display:none"]) + textarea,
|
||||||
|
.sv_main .sv_q_erbox:not([style*="display: none"]):not([style*="display:none"]) + .sv_select_wrapper select {
|
||||||
|
border: 1px solid #ed5565; }
|
||||||
|
.sv_main .sv_q_erbox:not([style*="display: none"]):not([style*="display:none"]) + input:focus,
|
||||||
|
.sv_main .sv_q_erbox:not([style*="display: none"]):not([style*="display:none"]) + textarea:focus,
|
||||||
|
.sv_main .sv_q_erbox:not([style*="display: none"]):not([style*="display:none"]) + .sv_select_wrapper select:focus {
|
||||||
|
outline: #ed5565 auto 5px; }
|
||||||
|
.sv_main table.sv_q_matrix tr,
|
||||||
|
.sv_main table.sv_q_matrix_dropdown tr,
|
||||||
|
.sv_main table.sv_q_matrix_dynamic tr {
|
||||||
|
border-bottom: 1px solid #e7e7e7; }
|
||||||
|
.sv_main .sv_q_m_cell_selected {
|
||||||
|
color: white;
|
||||||
|
background-color: #179d82; }
|
||||||
|
.sv_main .sv_q_rating_item.active .sv_q_rating_item_text {
|
||||||
|
background-color: #179d82;
|
||||||
|
border-color: #179d82;
|
||||||
|
color: white; }
|
||||||
|
.sv_main .sv_q_rating_item .sv_q_rating_item_text {
|
||||||
|
border: 1px solid #e7e7e7; }
|
||||||
|
.sv_main .sv_q_rating_item .sv_q_rating_item_text:hover {
|
||||||
|
border: 1px solid #179d82; }
|
||||||
|
.sv_main .sv_q_imgsel.checked label > div {
|
||||||
|
background-color: #1ab394; }
|
||||||
|
|
||||||
|
.sv_main {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
|
||||||
|
font-size: 14px; }
|
||||||
|
.sv_main hr {
|
||||||
|
border: none; }
|
||||||
|
.sv_main input[type="button"],
|
||||||
|
.sv_main button {
|
||||||
|
font-size: 0.85em;
|
||||||
|
font-weight: bold;
|
||||||
|
line-height: 2em;
|
||||||
|
border: none;
|
||||||
|
min-width: 100px;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 0 2em;
|
||||||
|
border-radius: 2px; }
|
||||||
|
.sv_main .sv_custom_header {
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
height: 74%;
|
||||||
|
max-height: 275px; }
|
||||||
|
.sv_main .sv_container {
|
||||||
|
position: relative; }
|
||||||
|
.sv_main .sv_container .sv_header {
|
||||||
|
padding: 1em; }
|
||||||
|
.sv_main .sv_container .sv_header h3 {
|
||||||
|
font-size: 2em;
|
||||||
|
font-weight: 300;
|
||||||
|
text-align: left;
|
||||||
|
margin: 0; }
|
||||||
|
.sv_main .sv_container .sv_body {
|
||||||
|
padding: 1em 1em 5em 1em; }
|
||||||
|
.sv_main .sv_container .sv_body.sv_completed_page {
|
||||||
|
text-align: center;
|
||||||
|
padding: 5em 1em; }
|
||||||
|
.sv_main .sv_container .sv_body.sv_completed_page > h3 {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 30px;
|
||||||
|
font-weight: 300; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_progress {
|
||||||
|
height: 0.3em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_progress .sv_progress_bar {
|
||||||
|
height: 100%;
|
||||||
|
position: relative;
|
||||||
|
margin-top: 2em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_progress .sv_progress_bar > span {
|
||||||
|
position: absolute;
|
||||||
|
top: -1.5em;
|
||||||
|
display: inline-block; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_page_title {
|
||||||
|
font-size: 1em;
|
||||||
|
margin-top: 0.1em;
|
||||||
|
font-weight: normal; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_p_title {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.15em;
|
||||||
|
margin: 1.5em 0 0 0; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root > .sv_row {
|
||||||
|
padding: 0; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q_title {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1em;
|
||||||
|
margin: 0.5em 0; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q_description {
|
||||||
|
margin-top: -0.6em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q {
|
||||||
|
padding: 0.5em 1em 1.5em 1em;
|
||||||
|
box-sizing: border-box;
|
||||||
|
overflow: auto; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_panel_dynamic .sv_q_title {
|
||||||
|
font-weight: normal; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_erbox:not([style*="display: none"]):not([style*="display:none"]) {
|
||||||
|
margin: 1em 0;
|
||||||
|
padding: 1em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_other input,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_text_root,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_dropdown_control,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q input[type="text"],
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q select,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q textarea {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
font-size: 1em;
|
||||||
|
line-height: 2em;
|
||||||
|
padding-left: 1em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_other input:focus,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_text_root:focus,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_dropdown_control:focus,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q input[type="text"]:focus,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q select:focus,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q textarea:focus {
|
||||||
|
outline: none; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_other input,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_dropdown_control,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q input[type="text"],
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q select {
|
||||||
|
height: calc(2em + 1px); }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q div.sv_q_text_root,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q div.sv_q_dropdown_control {
|
||||||
|
min-height: 2.43em;
|
||||||
|
min-width: 7em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_select_wrapper {
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
display: inline-block; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_select_wrapper select {
|
||||||
|
display: block;
|
||||||
|
background: transparent;
|
||||||
|
appearance: none;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
-moz-appearance: none;
|
||||||
|
padding-right: 2.5em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_select_wrapper select::-ms-expand {
|
||||||
|
display: none; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_select_wrapper:before {
|
||||||
|
padding: 1em;
|
||||||
|
position: absolute;
|
||||||
|
right: 1px;
|
||||||
|
right: 0;
|
||||||
|
top: 1px;
|
||||||
|
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIxLjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAzNCAzNCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMzQgMzQ7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDojRkZGRkZGO30KPC9zdHlsZT4KPHBvbHlnb24gY2xhc3M9InN0MCIgcG9pbnRzPSIxMiwxNiAxNCwxNCAxNywxNyAyMCwxNCAyMiwxNiAxNywyMSAiLz4KPC9zdmc+Cg==);
|
||||||
|
content: "";
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q input[type="color"] {
|
||||||
|
min-height: 2em;
|
||||||
|
padding: 0; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q input[type="radio"],
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q input[type="checkbox"] {
|
||||||
|
margin: 0;
|
||||||
|
margin-right: 0.55em;
|
||||||
|
width: 1.2em;
|
||||||
|
height: 1.2em;
|
||||||
|
vertical-align: middle;
|
||||||
|
font-size: 1em;
|
||||||
|
margin-top: -0.1em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q input[type="radio"]:focus,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q input[type="checkbox"]:focus {
|
||||||
|
outline: none; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_radiogroup.sv_q_radiogroup_inline:not(:last-child),
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_checkbox.sv_q_checkbox_inline:not(:last-child),
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_imgsel.sv_q_imagepicker_inline:not(:last-child) {
|
||||||
|
margin-right: 1.5em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_imgsel label > div {
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
padding: 4px;
|
||||||
|
border: 1px solid lightgray;
|
||||||
|
border-radius: 4px; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_imgsel label > div > img {
|
||||||
|
display: block; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_radiogroup_clear {
|
||||||
|
margin-top: 0.5em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_checkbox_inline,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_radiogroup_inline,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_imagepicker_inline {
|
||||||
|
line-height: 2em;
|
||||||
|
display: inline-block; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q .sv_q_footer {
|
||||||
|
padding: 1em 0; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root table {
|
||||||
|
width: 100%;
|
||||||
|
border-collapse: collapse; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root table.sv_q_matrix .sv_matrix_dynamic_button, .sv_main .sv_container .sv_body .sv_p_root table.sv_q_matrix_dropdown .sv_matrix_dynamic_button, .sv_main .sv_container .sv_body .sv_p_root table.sv_q_matrix_dynamic .sv_matrix_dynamic_button {
|
||||||
|
padding: 0.3em 2em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root table.sv_q_matrix td {
|
||||||
|
min-width: 10em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root table.sv_q_matrix td .sv_q_m_label {
|
||||||
|
position: static; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root table.sv_q_matrix_dropdown .sv_qcbc .sv_q_checkbox_control_label {
|
||||||
|
margin-right: 1.5em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root table td,
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root table th {
|
||||||
|
text-align: left;
|
||||||
|
padding: 0 1em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root table td {
|
||||||
|
padding: 0.5em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root table th {
|
||||||
|
line-height: 1.3em;
|
||||||
|
padding: 0.5em;
|
||||||
|
vertical-align: bottom;
|
||||||
|
font-weight: bold; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root fieldset.sv_qcbc {
|
||||||
|
line-height: 2em;
|
||||||
|
padding-top: 0.1em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q_other {
|
||||||
|
margin-left: 1em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q_rating {
|
||||||
|
line-height: 2em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q_rating .sv_q_rating_item {
|
||||||
|
cursor: pointer;
|
||||||
|
word-spacing: -0.3em;
|
||||||
|
font-weight: normal;
|
||||||
|
display: inline; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q_rating .sv_q_rating_item > * {
|
||||||
|
word-spacing: initial; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q_rating .sv_q_rating_item .sv_q_rating_item_text {
|
||||||
|
display: inline-block;
|
||||||
|
min-width: 2em;
|
||||||
|
padding: 0 0.3em;
|
||||||
|
margin-left: -1px;
|
||||||
|
text-align: center; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q_rating .sv_q_rating_item:not(:first-child) .sv_q_rating_item_text:not(:hover) {
|
||||||
|
border-left-color: transparent; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q_rating .sv_q_rating_min_text {
|
||||||
|
margin-right: 0.5em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_p_root .sv_q_rating .sv_q_rating_max_text {
|
||||||
|
margin-left: 0.5em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_nav {
|
||||||
|
padding: 1em 0;
|
||||||
|
min-height: 2em; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_nav .sv_start_btn,
|
||||||
|
.sv_main .sv_container .sv_body .sv_nav .sv_next_btn,
|
||||||
|
.sv_main .sv_container .sv_body .sv_nav .sv_complete_btn {
|
||||||
|
float: right; }
|
||||||
|
.sv_main .sv_container .sv_body .sv_nav .sv_prev_btn {
|
||||||
|
float: left; }
|
||||||
|
|
@ -44,5 +44,8 @@ namespace AYA.SlnSinort.Controllers
|
||||||
InitControllers();
|
InitControllers();
|
||||||
return View();
|
return View();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -44,5 +44,11 @@ namespace AYA.SlnSinort.Controllers.NormativaReglamentacionTecnica
|
||||||
return View();
|
return View();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ActionResult CrearEncuesta()
|
||||||
|
{
|
||||||
|
InitControllers();
|
||||||
|
return View();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Binary file not shown.
1911
AYA.SlnSynor/AYA.SlnSynor/Scripts/jquery.richtext.js
Normal file
1911
AYA.SlnSynor/AYA.SlnSynor/Scripts/jquery.richtext.js
Normal file
File diff suppressed because it is too large
Load diff
1
AYA.SlnSynor/AYA.SlnSynor/Scripts/jquery.richtext.min.js
vendored
Normal file
1
AYA.SlnSynor/AYA.SlnSynor/Scripts/jquery.richtext.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
30364
AYA.SlnSynor/AYA.SlnSynor/Scripts/survey.jquery.js
Normal file
30364
AYA.SlnSynor/AYA.SlnSynor/Scripts/survey.jquery.js
Normal file
File diff suppressed because one or more lines are too long
11
AYA.SlnSynor/AYA.SlnSynor/Scripts/survey.jquery.min.js
vendored
Normal file
11
AYA.SlnSynor/AYA.SlnSynor/Scripts/survey.jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -7,7 +7,7 @@ var UsuarioSistema = $("#hiddenUsuarioSistema").val();
|
||||||
var NombreUsuario = $("#hiddenNombreUsuario").val();
|
var NombreUsuario = $("#hiddenNombreUsuario").val();
|
||||||
|
|
||||||
var server = window.location.protocol + "//" + window.location.hostname + "/" + (window.location.pathname.split('/')[1]) + "/";
|
var server = window.location.protocol + "//" + window.location.hostname + "/" + (window.location.pathname.split('/')[1]) + "/";
|
||||||
var SinorLoginWCF = "http://10.50.1.123:2070/Sinort.svc";
|
var SinorLoginWCF = "http://localhost/AYA.SlnSinort.WCF/Sinort.svc";
|
||||||
var string_empty = "";
|
var string_empty = "";
|
||||||
var Atesa = {};
|
var Atesa = {};
|
||||||
var StarterTemplateVisible = true;
|
var StarterTemplateVisible = true;
|
||||||
|
|
@ -770,6 +770,11 @@ jQuery(function ($) {
|
||||||
};
|
};
|
||||||
$.datepicker.setDefaults($.datepicker.regional['es']);
|
$.datepicker.setDefaults($.datepicker.regional['es']);
|
||||||
|
|
||||||
|
//Configuracion global richtext
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -828,6 +833,131 @@ $.fn.noReadOnly = function () {
|
||||||
this.css('cursor', 'default');
|
this.css('cursor', 'default');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$.fn.RichTextInit = function(){
|
||||||
|
$.richText({
|
||||||
|
// text formatting
|
||||||
|
bold: true,
|
||||||
|
italic: true,
|
||||||
|
underline: true,
|
||||||
|
// text alignment
|
||||||
|
leftAlign: true,
|
||||||
|
centerAlign: true,
|
||||||
|
rightAlign: true,
|
||||||
|
// lists
|
||||||
|
ol: true,
|
||||||
|
ul: true,
|
||||||
|
// title
|
||||||
|
heading: true,
|
||||||
|
// fonts
|
||||||
|
fonts: true,
|
||||||
|
fontList: ["Arial",
|
||||||
|
"Arial Black",
|
||||||
|
"Comic Sans MS",
|
||||||
|
"Courier New",
|
||||||
|
"Geneva",
|
||||||
|
"Georgia",
|
||||||
|
"Helvetica",
|
||||||
|
"Impact",
|
||||||
|
"Lucida Console",
|
||||||
|
"Tahoma",
|
||||||
|
"Times New Roman",
|
||||||
|
"Verdana"],
|
||||||
|
fontColor: true,
|
||||||
|
fontSize: true,
|
||||||
|
// uploads
|
||||||
|
imageUpload: false,
|
||||||
|
fileUpload: false,
|
||||||
|
videoEmbed: false,
|
||||||
|
|
||||||
|
|
||||||
|
// link
|
||||||
|
urls: false,
|
||||||
|
// tables
|
||||||
|
table: false,
|
||||||
|
// code
|
||||||
|
removeStyles: false,
|
||||||
|
code: false,
|
||||||
|
// colors
|
||||||
|
colors: [],
|
||||||
|
// dropdowns
|
||||||
|
fileHTML: '',
|
||||||
|
imageHTML: '',
|
||||||
|
// translations
|
||||||
|
translations: {
|
||||||
|
'title': 'Title',
|
||||||
|
'white': 'White',
|
||||||
|
'black': 'Black',
|
||||||
|
'brown': 'Brown',
|
||||||
|
'beige': 'Beige',
|
||||||
|
'darkBlue': 'Dark Blue',
|
||||||
|
'blue': 'Blue',
|
||||||
|
'lightBlue': 'Light Blue',
|
||||||
|
'darkRed': 'Dark Red',
|
||||||
|
'red': 'Red',
|
||||||
|
'darkGreen': 'Dark Green',
|
||||||
|
'green': 'Green',
|
||||||
|
'purple': 'Purple',
|
||||||
|
'darkTurquois': 'Dark Turquois',
|
||||||
|
'turquois': 'Turquois',
|
||||||
|
'darkOrange': 'Dark Orange',
|
||||||
|
'orange': 'Orange',
|
||||||
|
'yellow': 'Yellow',
|
||||||
|
'imageURL': 'Image URL',
|
||||||
|
'fileURL': 'File URL',
|
||||||
|
'linkText': 'Link text',
|
||||||
|
'url': 'URL',
|
||||||
|
'size': 'Size',
|
||||||
|
'responsive': '<a href="https://www.jqueryscript.net/tags.php?/Responsive/">Responsive</a>',
|
||||||
|
'text': 'Text',
|
||||||
|
'openIn': 'Open in',
|
||||||
|
'sameTab': 'Same tab',
|
||||||
|
'newTab': 'New tab',
|
||||||
|
'align': 'Align',
|
||||||
|
'left': 'Left',
|
||||||
|
'center': 'Center',
|
||||||
|
'right': 'Right',
|
||||||
|
'rows': 'Rows',
|
||||||
|
'columns': 'Columns',
|
||||||
|
'add': 'Add',
|
||||||
|
'pleaseEnterURL': 'Please enter an URL',
|
||||||
|
'videoURLnotSupported': 'Video URL not supported',
|
||||||
|
'pleaseSelectImage': 'Please select an image',
|
||||||
|
'pleaseSelectFile': 'Please select a file',
|
||||||
|
'bold': 'Bold',
|
||||||
|
'italic': 'Italic',
|
||||||
|
'underline': 'Underline',
|
||||||
|
'alignLeft': 'Align left',
|
||||||
|
'alignCenter': 'Align centered',
|
||||||
|
'alignRight': 'Align right',
|
||||||
|
'addOrderedList': 'Add ordered list',
|
||||||
|
'addUnorderedList': 'Add unordered list',
|
||||||
|
'addHeading': 'Add Heading/title',
|
||||||
|
'addFont': 'Add font',
|
||||||
|
'addFontColor': 'Add font color',
|
||||||
|
'addFontSize': 'Add font size',
|
||||||
|
'addImage': 'Add image',
|
||||||
|
'addVideo': 'Add video',
|
||||||
|
'addFile': 'Add file',
|
||||||
|
'addURL': 'Add URL',
|
||||||
|
'addTable': 'Add table',
|
||||||
|
'removeStyles': 'Remove styles',
|
||||||
|
'code': 'Show HTML code',
|
||||||
|
'undo': 'Deshacer',
|
||||||
|
'redo': 'Rehacer',
|
||||||
|
'close': 'Close'
|
||||||
|
},
|
||||||
|
// dev settings
|
||||||
|
useSingleQuotes: false,
|
||||||
|
height: 150,
|
||||||
|
width: 200,
|
||||||
|
heightPercentage: 0,
|
||||||
|
id: "",
|
||||||
|
class: "",
|
||||||
|
useParagraph: false
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
$.fn.TableInit = function (columnOrder, order, bPaginate, bFilter, bInfo, columnDefinition, data) {
|
$.fn.TableInit = function (columnOrder, order, bPaginate, bFilter, bInfo, columnDefinition, data) {
|
||||||
|
|
||||||
var ES = {
|
var ES = {
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,133 @@ jQuery(document).ready(function () {
|
||||||
$('#tableDocGotita').DataTable().column(0).visible(false);
|
$('#tableDocGotita').DataTable().column(0).visible(false);
|
||||||
$('#tableDocGotita').DataTable().column(4).visible(false);
|
$('#tableDocGotita').DataTable().column(4).visible(false);
|
||||||
|
|
||||||
|
$('#txtDescripcion').richText({
|
||||||
|
// text formatting
|
||||||
|
bold: true,
|
||||||
|
italic: true,
|
||||||
|
underline: true,
|
||||||
|
// text alignment
|
||||||
|
leftAlign: true,
|
||||||
|
centerAlign: true,
|
||||||
|
rightAlign: true,
|
||||||
|
// lists
|
||||||
|
ol: true,
|
||||||
|
ul: true,
|
||||||
|
// title
|
||||||
|
heading: true,
|
||||||
|
// fonts
|
||||||
|
fonts: true,
|
||||||
|
fontList: ["Arial",
|
||||||
|
"Arial Black",
|
||||||
|
"Comic Sans MS",
|
||||||
|
"Courier New",
|
||||||
|
"Geneva",
|
||||||
|
"Georgia",
|
||||||
|
"Helvetica",
|
||||||
|
"Impact",
|
||||||
|
"Lucida Console",
|
||||||
|
"Tahoma",
|
||||||
|
"Times New Roman",
|
||||||
|
"Verdana"],
|
||||||
|
fontColor: true,
|
||||||
|
fontSize: true,
|
||||||
|
// uploads
|
||||||
|
imageUpload: false,
|
||||||
|
fileUpload: false,
|
||||||
|
videoEmbed: false,
|
||||||
|
|
||||||
|
|
||||||
|
// link
|
||||||
|
urls: false,
|
||||||
|
// tables
|
||||||
|
table: false,
|
||||||
|
// code
|
||||||
|
removeStyles: false,
|
||||||
|
code: false,
|
||||||
|
// colors
|
||||||
|
colors: [],
|
||||||
|
// dropdowns
|
||||||
|
fileHTML: '',
|
||||||
|
imageHTML: '',
|
||||||
|
// translations
|
||||||
|
translations: {
|
||||||
|
'title': 'Title',
|
||||||
|
'white': 'White',
|
||||||
|
'black': 'Black',
|
||||||
|
'brown': 'Brown',
|
||||||
|
'beige': 'Beige',
|
||||||
|
'darkBlue': 'Dark Blue',
|
||||||
|
'blue': 'Blue',
|
||||||
|
'lightBlue': 'Light Blue',
|
||||||
|
'darkRed': 'Dark Red',
|
||||||
|
'red': 'Red',
|
||||||
|
'darkGreen': 'Dark Green',
|
||||||
|
'green': 'Green',
|
||||||
|
'purple': 'Purple',
|
||||||
|
'darkTurquois': 'Dark Turquois',
|
||||||
|
'turquois': 'Turquois',
|
||||||
|
'darkOrange': 'Dark Orange',
|
||||||
|
'orange': 'Orange',
|
||||||
|
'yellow': 'Yellow',
|
||||||
|
'imageURL': 'Image URL',
|
||||||
|
'fileURL': 'File URL',
|
||||||
|
'linkText': 'Link text',
|
||||||
|
'url': 'URL',
|
||||||
|
'size': 'Size',
|
||||||
|
'responsive': '<a href="https://www.jqueryscript.net/tags.php?/Responsive/">Responsive</a>',
|
||||||
|
'text': 'Text',
|
||||||
|
'openIn': 'Open in',
|
||||||
|
'sameTab': 'Same tab',
|
||||||
|
'newTab': 'New tab',
|
||||||
|
'align': 'Align',
|
||||||
|
'left': 'Left',
|
||||||
|
'center': 'Center',
|
||||||
|
'right': 'Right',
|
||||||
|
'rows': 'Rows',
|
||||||
|
'columns': 'Columns',
|
||||||
|
'add': 'Add',
|
||||||
|
'pleaseEnterURL': 'Please enter an URL',
|
||||||
|
'videoURLnotSupported': 'Video URL not supported',
|
||||||
|
'pleaseSelectImage': 'Please select an image',
|
||||||
|
'pleaseSelectFile': 'Please select a file',
|
||||||
|
'bold': 'Bold',
|
||||||
|
'italic': 'Italic',
|
||||||
|
'underline': 'Underline',
|
||||||
|
'alignLeft': 'Align left',
|
||||||
|
'alignCenter': 'Align centered',
|
||||||
|
'alignRight': 'Align right',
|
||||||
|
'addOrderedList': 'Add ordered list',
|
||||||
|
'addUnorderedList': 'Add unordered list',
|
||||||
|
'addHeading': 'Add Heading/title',
|
||||||
|
'addFont': 'Add font',
|
||||||
|
'addFontColor': 'Add font color',
|
||||||
|
'addFontSize': 'Add font size',
|
||||||
|
'addImage': 'Add image',
|
||||||
|
'addVideo': 'Add video',
|
||||||
|
'addFile': 'Add file',
|
||||||
|
'addURL': 'Add URL',
|
||||||
|
'addTable': 'Add table',
|
||||||
|
'removeStyles': 'Remove styles',
|
||||||
|
'code': 'Show HTML code',
|
||||||
|
'undo': 'Deshacer',
|
||||||
|
'redo': 'Rehacer',
|
||||||
|
'close': 'Close'
|
||||||
|
},
|
||||||
|
// dev settings
|
||||||
|
useSingleQuotes: false,
|
||||||
|
height: 150,
|
||||||
|
width: 200,
|
||||||
|
heightPercentage: 0,
|
||||||
|
id: "",
|
||||||
|
class: "",
|
||||||
|
useParagraph: false
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
this.getDataModel = function () {
|
this.getDataModel = function () {
|
||||||
$("#btnGuardar").unbind("click");
|
$("#btnGuardar").unbind("click");
|
||||||
$('#btnGuardar').click(function () {
|
$('#btnGuardar').click(function () {
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,13 @@ this.CargarTablaFichas = function (data) {
|
||||||
|
|
||||||
column.data().unique().sort().each(function (d, j) {
|
column.data().unique().sort().each(function (d, j) {
|
||||||
|
|
||||||
select.append('<option value="' + d + '">' + d + '</option>')
|
//if (j == 0)
|
||||||
|
// contador = contador + 1;
|
||||||
|
|
||||||
|
//if (contador != 5) {
|
||||||
|
select.append('<option value="' + d + '">' + d + '</option>')
|
||||||
|
//}
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,203 @@
|
||||||
|
var model = {};
|
||||||
|
|
||||||
|
jQuery(document).ready(function () {
|
||||||
|
|
||||||
|
getDataModel();
|
||||||
|
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
this.getDataModel = function () {
|
||||||
|
|
||||||
|
CargarTipoPregunta();
|
||||||
|
|
||||||
|
$("#btnBuscarTipoPregunta").unbind("click");
|
||||||
|
$("#btnBuscarTipoPregunta").click(function () {
|
||||||
|
|
||||||
|
if ($.fn.DataTable.isDataTable('#tableTipoPregunta')) {
|
||||||
|
|
||||||
|
LoadMessage();
|
||||||
|
|
||||||
|
$('#tableTipoPregunta').DataTable().search('').draw();
|
||||||
|
|
||||||
|
$('#modalTipoPregunta').modal('show');
|
||||||
|
|
||||||
|
ENDREQUEST();
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$("#btnPreguntas").unbind("click");
|
||||||
|
$('#btnPreguntas').click(function () {
|
||||||
|
$("#modalTipoPregunta").modal('show');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
this.CargarTipoPregunta = function () {
|
||||||
|
|
||||||
|
var uri = CatalogosWCF + '/api/ObtenerTipoPregunta';
|
||||||
|
|
||||||
|
AjaxPostData(uri, null, false, false, CargarGridTareasPendientes, null, null);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
this.CargarGridTareasPendientes = function (data) {
|
||||||
|
|
||||||
|
if (data != null) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
var Seleccionar = $("#ucBtnSeleccionarCatalogo").html();
|
||||||
|
|
||||||
|
var columnDefinition = [
|
||||||
|
{ "data": null, className: "center", defaultContent: Seleccionar },
|
||||||
|
{ "data": "IdTipoPregunta" },
|
||||||
|
{ "data": "Descripcion" }
|
||||||
|
];
|
||||||
|
|
||||||
|
$('#tableTipoPregunta').TableInit(0, false, true, true, false, columnDefinition, data, false);
|
||||||
|
$('#tableTipoPregunta').DataTable().column(1).visible(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
else {
|
||||||
|
|
||||||
|
toastr.error("Ha ocurrido un error inesperado. Vuelva a intentarlo mas tarde", Message_Error);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$('#tableTipoPregunta').on('click', 'button', function () {
|
||||||
|
|
||||||
|
var data = $('#tableTipoPregunta').DataTable().row($(this).parents('tr')).data();
|
||||||
|
|
||||||
|
$('#hiddenTipoPregunta').val(data.IdTipoPregunta);
|
||||||
|
$('#txtTipoPregunta').val(data.Descripcion);
|
||||||
|
|
||||||
|
$('#modalTipoPregunta').modal('hide');
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
function init() {
|
||||||
|
var json = {
|
||||||
|
title: "Product Feedback Survey Example",
|
||||||
|
showProgressBar: "top",
|
||||||
|
pages: [
|
||||||
|
{
|
||||||
|
questions: [
|
||||||
|
{
|
||||||
|
type: "matrix",
|
||||||
|
name: "Quality",
|
||||||
|
title:
|
||||||
|
"Please indicate if you agree or disagree with the following statements",
|
||||||
|
columns: [
|
||||||
|
{ value: 1, text: "Strongly Disagree" },
|
||||||
|
{ value: 2, text: "Disagree" },
|
||||||
|
{ value: 3, text: "Neutral" },
|
||||||
|
{ value: 4, text: "Agree" },
|
||||||
|
{ value: 5, text: "Strongly Agree" }
|
||||||
|
],
|
||||||
|
rows: [
|
||||||
|
{ value: "affordable", text: "Product is affordable" },
|
||||||
|
{
|
||||||
|
value: "does what it claims",
|
||||||
|
text: "Product does what it claims"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: "better then others",
|
||||||
|
text: "Product is better than other products on the market"
|
||||||
|
},
|
||||||
|
{ value: "easy to use", text: "Product is easy to use" }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "rating",
|
||||||
|
name: "satisfaction",
|
||||||
|
title: "How satisfied are you with the Product?",
|
||||||
|
mininumRateDescription: "Not Satisfied",
|
||||||
|
maximumRateDescription: "Completely satisfied"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "rating",
|
||||||
|
name: "recommend friends",
|
||||||
|
visibleIf: "{satisfaction} > 3",
|
||||||
|
title:
|
||||||
|
"How likely are you to recommend the Product to a friend or co-worker?",
|
||||||
|
mininumRateDescription: "Will not recommend",
|
||||||
|
maximumRateDescription: "I will recommend"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "comment",
|
||||||
|
name: "suggestions",
|
||||||
|
title: "What would make you more satisfied with the Product?"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
questions: [
|
||||||
|
{
|
||||||
|
type: "radiogroup",
|
||||||
|
name: "price to competitors",
|
||||||
|
title: "Compared to our competitors, do you feel the Product is",
|
||||||
|
choices: [
|
||||||
|
"Less expensive",
|
||||||
|
"Priced about the same",
|
||||||
|
"More expensive",
|
||||||
|
"Not sure"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "radiogroup",
|
||||||
|
name: "price",
|
||||||
|
title: "Do you feel our current price is merited by our product?",
|
||||||
|
choices: [
|
||||||
|
"correct|Yes, the price is about right",
|
||||||
|
"low|No, the price is too low for your product",
|
||||||
|
"high|No, the price is too high for your product"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "multipletext",
|
||||||
|
name: "pricelimit",
|
||||||
|
title: "What is the... ",
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
name: "mostamount",
|
||||||
|
title: "Most amount you would every pay for a product like ours"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "leastamount",
|
||||||
|
title: "The least amount you would feel comfortable paying"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
questions: [
|
||||||
|
{
|
||||||
|
type: "text",
|
||||||
|
name: "email",
|
||||||
|
title:
|
||||||
|
"Thank you for taking our survey. Your survey is almost complete, please enter your email address in the box below if you wish to participate in our drawing, then press the 'Submit' button."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
};
|
||||||
|
|
||||||
|
window.survey = new Survey.Model(json);
|
||||||
|
survey.onComplete.add(function (result) {
|
||||||
|
document.querySelector("#surveyResult").innerHTML =
|
||||||
|
"result: " + JSON.stringify(result.data);
|
||||||
|
});
|
||||||
|
|
||||||
|
$("#surveyElement").Survey({
|
||||||
|
model: survey
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!window["%hammerhead%"]) {
|
||||||
|
init();
|
||||||
|
}
|
||||||
|
|
@ -6,12 +6,16 @@
|
||||||
|
|
||||||
|
|
||||||
<form id="formGotitaNormativa" class="form-horizontal" role="form">
|
<form id="formGotitaNormativa" class="form-horizontal" role="form">
|
||||||
|
|
||||||
<div class="panel-body"> <h3> <i class="glyphicon glyphicon-tint"></i> Gotita Normativa</h3> </div>
|
<div class="panel-body"> <h3> <i class="glyphicon glyphicon-tint"></i> Gotita Normativa</h3> </div>
|
||||||
<div style="background-color: #fff">
|
<div style="background-color: #fff">
|
||||||
|
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@*---------------------Titulo---------------------------------------------------------*@
|
@*---------------------Titulo---------------------------------------------------------*@
|
||||||
<div class="form-group " id="divNombre">
|
<div class="form-group " id="divNombre">
|
||||||
<label class="col-sm-4 control-label ControlsForms" id="lblNombre">Título</label>
|
<label class="col-sm-4 control-label ControlsForms" id="lblNombre">Título</label>
|
||||||
|
|
@ -24,9 +28,15 @@
|
||||||
<div class="form-group " id="divDescripcion">
|
<div class="form-group " id="divDescripcion">
|
||||||
<label class="col-sm-4 control-label ControlsForms" id="lblDescripcion">Cuerpo</label>
|
<label class="col-sm-4 control-label ControlsForms" id="lblDescripcion">Cuerpo</label>
|
||||||
<div class="input-group input-group-sm col-lg-8 col-md-8 col-sm-8 col-xs-8">
|
<div class="input-group input-group-sm col-lg-8 col-md-8 col-sm-8 col-xs-8">
|
||||||
<textarea name="txtDescripcion" rows="8" cols="61" id="txtDescripcion" style="resize: none"></textarea>
|
<textarea name="txtDescripcion" id="txtDescripcion"></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@*<div class="form-group " id="divDescripcion">
|
||||||
|
<label class="col-sm-4 control-label ControlsForms" id="lblDescripcion">Cuerpo</label>
|
||||||
|
<div class="input-group input-group-sm col-lg-8 col-md-8 col-sm-8 col-xs-8">
|
||||||
|
<textarea name="txtDescripcion" rows="8" cols="61" id="txtDescripcion" style="resize: none"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>*@
|
||||||
|
|
||||||
@*---------------------Fecha caducidad---------------------------------------------*@
|
@*---------------------Fecha caducidad---------------------------------------------*@
|
||||||
<div class="form-group" id="divFechaCaducidad">
|
<div class="form-group" id="divFechaCaducidad">
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<input type="hidden" id="hiddenHref" value="@string.Concat(Url.Action("View", "Controller", null), ViewBag.QueryEncripted)">
|
<input type="hidden" id="hiddenHref" value="@string.Concat(Url.Action("View", "Controller", null), ViewBag.QueryEncripted)">
|
||||||
<form id="formGotitasPendientes" class="form-horizontal" role="form">
|
<form id="formGotitasPendientes" class="form-horizontal" role="form">
|
||||||
|
|
||||||
<div class="panel-body"> <h3> <i class="fa fa-list-ul"></i> Mis gotitas pendientes </h3> </div>
|
<div class="panel-body"> <h3> <i class="fa fa-list-ul"></i> Mis gotitas pendientes </h3> </div>
|
||||||
<div style="background-color:white">
|
<div style="background-color:white">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,152 @@
|
||||||
|
|
||||||
|
@{
|
||||||
|
ViewBag.Title = "CrearEncuesta";
|
||||||
|
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||||
|
}
|
||||||
|
|
||||||
|
<form id="formCrearEncuesta" class="form-horizontal" role="form">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="panel-body"> <h3> <i class="fa fa-file-text"></i> Crear Encuesta</h3> </div>
|
||||||
|
<div style="background-color: #fff">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="panel-body">
|
||||||
|
@*<div id="surveyElement">
|
||||||
|
</div>*@
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<div class="col-md-6">
|
||||||
|
|
||||||
|
@*---------------------Tipo Pregunta---------------------------------------------------------*@
|
||||||
|
|
||||||
|
<div class="form-group" id="divTipoPregunta">
|
||||||
|
<label class="col-sm-4 control-label ControlsForms" id="lblTipoPregunta">Tipo de Pregunta</label>
|
||||||
|
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||||
|
<input id="hiddenTipoPregunta" type="hidden">
|
||||||
|
<input name="txtTipoPregunta" title="" class="form-control TextBoxCatalogo inputWarning error" id="txtTipoPregunta" type="text" readonly="readonly" data-original-title="">
|
||||||
|
|
||||||
|
<span class="input-group-btn">
|
||||||
|
<button class="btn btn-default btn-medium" id="btn_eliminarTipoPregunta" type="button">
|
||||||
|
<i class="fa fa-close"></i>
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnBuscarTipoPregunta" type="button">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
@*--------------------Pregunta---------------------------------------------------------*@
|
||||||
|
<div class="form-group " id="divTituloPregunta">
|
||||||
|
<label class="col-sm-4 control-label ControlsForms" id="lblTituloPregunta">Título Pregunta</label>
|
||||||
|
<div class="input-group col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||||
|
<input name="txtTituloPregunta" class="form-control imput-xs" id="txtTituloPregunta" type="text" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
@*--------------------Nombre---------------------------------------------------------*@
|
||||||
|
<div class="form-group " id="divNombrePregunta">
|
||||||
|
<label class="col-sm-4 control-label ControlsForms" id="lblNombrePregunta">Nombre Pregunta</label>
|
||||||
|
<div class="input-group col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||||
|
<input name="txtNombrePregunta" class="form-control imput-xs" id="txtNombrePregunta" type="text" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
@*--------------------Requerido---------------------------------------------------------*@
|
||||||
|
<div class="form-group " id="divRequerido">
|
||||||
|
<label class="col-sm-4 control-label ControlsForms" id="lblRequerido">Requerido</label>
|
||||||
|
<div class="input-group col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||||
|
<input name="txtRequerido" class="form-control imput-xs" id="txtRequerido" type="text" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-6">
|
||||||
|
|
||||||
|
@*--------------------Nombre---------------------------------------------------------*@
|
||||||
|
<div class="form-group " id="divPreguntas">
|
||||||
|
<label class="col-sm-4 control-label ControlsForms" id="lblPreguntas">Preguntas</label>
|
||||||
|
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||||
|
<button class=" btn btn-success btn-medium btn-margin-catalogo" id="btnPreguntas" type="button">
|
||||||
|
<i class=" fa fa-plus">
|
||||||
|
</i> Agregar
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="button" id="btnGuardar" class="btn btn-success btn-medium" data-dismiss="modal">
|
||||||
|
<i class="fa fa-floppy-o"></i> Guardar
|
||||||
|
</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<div id="ucBtnSeleccionarCatalogo" style="display:none;">
|
||||||
|
<button type="button" id="btnSeleccionarCatalogo" class="btn btn-default btn-xs">
|
||||||
|
<i id="ibtnSeleccionarCatalogo" class="fa fa-check"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
@section Modals{
|
||||||
|
|
||||||
|
@*---------------------Catalogo Tipo Pregunta---------------------------------------------------------*@
|
||||||
|
<div class="modal fade" id="modalTipoPregunta" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||||
|
<div class="modal-dialog modal-lg" style="width:40%;">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
<h4 class="modal-title">Catálogo Tipo de Pregunta</h4>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
|
||||||
|
<br />
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<div class="col-md-12">
|
||||||
|
|
||||||
|
<table id="tableTipoPregunta" class="table table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th></th>
|
||||||
|
<th>Valor</th>
|
||||||
|
<th>Descripción</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
|
||||||
|
@Scripts.Render("~/Sinort-Scripts/NormativaReglamentacionTecnica/CrearEncuesta.js")
|
||||||
|
@*@Scripts.Render("~/bundles/jquery-survey")*@
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -39,6 +39,8 @@
|
||||||
@Scripts.Render("~/bundles/moment")
|
@Scripts.Render("~/bundles/moment")
|
||||||
@Scripts.Render("~/bundles/toastr")
|
@Scripts.Render("~/bundles/toastr")
|
||||||
@Scripts.Render("~/bundles/jquery-dataTables")
|
@Scripts.Render("~/bundles/jquery-dataTables")
|
||||||
|
@Scripts.Render("~/bundles/jquery-richtext")
|
||||||
|
|
||||||
@Scripts.Render("~/bundles/jquery-fileupload")
|
@Scripts.Render("~/bundles/jquery-fileupload")
|
||||||
@Scripts.Render("~/bundles/jquery-fullCalendar")
|
@Scripts.Render("~/bundles/jquery-fullCalendar")
|
||||||
|
|
||||||
|
|
@ -160,7 +162,7 @@
|
||||||
<li><a href="@Url.Action("MisSolicitudes", "NormativaReglamentacionTecnica")"> Ver mis solicitudes </a></li>
|
<li><a href="@Url.Action("MisSolicitudes", "NormativaReglamentacionTecnica")"> Ver mis solicitudes </a></li>
|
||||||
|
|
||||||
<span><i class="fa fa-circle text-success"> Sitios</i> </span>
|
<span><i class="fa fa-circle text-success"> Sitios</i> </span>
|
||||||
<li><a href="#"> Encuestas </a></li>
|
<li><a href="@Url.Action("CrearEncuesta", "NormativaReglamentacionTecnica")"> Crear Encuesta </a></li>
|
||||||
<span><i class="fa fa-circle text-success"> Administar</i> </span>
|
<span><i class="fa fa-circle text-success"> Administar</i> </span>
|
||||||
<li><a href="@Url.Action("FichaTecnica", "NormativaReglamentacionTecnica")"> Ficha Técnica</a></li>
|
<li><a href="@Url.Action("FichaTecnica", "NormativaReglamentacionTecnica")"> Ficha Técnica</a></li>
|
||||||
<li><a href="#"> Ver fichas técnicas inactivas</a></li>
|
<li><a href="#"> Ver fichas técnicas inactivas</a></li>
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,7 @@
|
||||||
<Compile Include="Sinort\DocumentosDAL.cs" />
|
<Compile Include="Sinort\DocumentosDAL.cs" />
|
||||||
<Compile Include="Sinort\DocumentoTecnicoDAL.cs" />
|
<Compile Include="Sinort\DocumentoTecnicoDAL.cs" />
|
||||||
<Compile Include="Sinort\EmisorDAL.cs" />
|
<Compile Include="Sinort\EmisorDAL.cs" />
|
||||||
|
<Compile Include="Sinort\EncuestaDAL.cs" />
|
||||||
<Compile Include="Sinort\EstadoDAL.cs" />
|
<Compile Include="Sinort\EstadoDAL.cs" />
|
||||||
<Compile Include="Sinort\FichaTecnicaDAL.cs" />
|
<Compile Include="Sinort\FichaTecnicaDAL.cs" />
|
||||||
<Compile Include="Sinort\FichaTecnicaPalabraClaveDAL.cs" />
|
<Compile Include="Sinort\FichaTecnicaPalabraClaveDAL.cs" />
|
||||||
|
|
|
||||||
36
AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/EncuestaDAL.cs
Normal file
36
AYA.SlnSynor/AYA.SlnSynorModel.DAL/Sinort/EncuestaDAL.cs
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
using Atesa.Utilitarios;
|
||||||
|
using AYA.SlnSinortModel.Sinort;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace AYA.SlnSinortModel.DAL.Sinort
|
||||||
|
{
|
||||||
|
public class EncuestaDAL
|
||||||
|
{
|
||||||
|
Log log = new Log("EncuestaDAL");
|
||||||
|
|
||||||
|
#region ObtenerEmisor
|
||||||
|
public List<TipoPregunta> ObtenerTipoPregunta()
|
||||||
|
{
|
||||||
|
List<TipoPregunta> respuesta = null;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
using (SinortContex db = new SinortContex())
|
||||||
|
{
|
||||||
|
respuesta = db.TipoPregunta.ToList();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
log.Error(ex);
|
||||||
|
throw ex;
|
||||||
|
}
|
||||||
|
|
||||||
|
return respuesta;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -87,7 +87,7 @@ namespace AYA.SlnSinortModel.DAL.Sinort
|
||||||
string LstPalabras = "" ;
|
string LstPalabras = "" ;
|
||||||
foreach (var palabras in model.ListaPalabraClave)
|
foreach (var palabras in model.ListaPalabraClave)
|
||||||
{
|
{
|
||||||
LstPalabras = separador + LstPalabras + palabras.Descripcion;
|
LstPalabras = LstPalabras + separador + palabras.Descripcion;
|
||||||
separador = ",";
|
separador = ",";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -75,12 +75,14 @@
|
||||||
<Compile Include="Sinort\ComentariosProyecto.cs" />
|
<Compile Include="Sinort\ComentariosProyecto.cs" />
|
||||||
<Compile Include="Sinort\Contenido.cs" />
|
<Compile Include="Sinort\Contenido.cs" />
|
||||||
<Compile Include="Sinort\Convocatoria.cs" />
|
<Compile Include="Sinort\Convocatoria.cs" />
|
||||||
|
<Compile Include="Sinort\DetalleEncuesta.cs" />
|
||||||
<Compile Include="Sinort\Documento.cs" />
|
<Compile Include="Sinort\Documento.cs" />
|
||||||
<Compile Include="Sinort\Documentos.cs" />
|
<Compile Include="Sinort\Documentos.cs" />
|
||||||
<Compile Include="Sinort\DocumentosAdjunto.cs" />
|
<Compile Include="Sinort\DocumentosAdjunto.cs" />
|
||||||
<Compile Include="Sinort\DocumentosAdjuntos.cs" />
|
<Compile Include="Sinort\DocumentosAdjuntos.cs" />
|
||||||
<Compile Include="Sinort\DocumentoTecnico.cs" />
|
<Compile Include="Sinort\DocumentoTecnico.cs" />
|
||||||
<Compile Include="Sinort\Emisor.cs" />
|
<Compile Include="Sinort\Emisor.cs" />
|
||||||
|
<Compile Include="Sinort\EncabezadoEncuesta.cs" />
|
||||||
<Compile Include="Sinort\Estado.cs" />
|
<Compile Include="Sinort\Estado.cs" />
|
||||||
<Compile Include="Sinort\FichaTecnica.cs" />
|
<Compile Include="Sinort\FichaTecnica.cs" />
|
||||||
<Compile Include="Sinort\FichaTecnicaPalabraClave.cs" />
|
<Compile Include="Sinort\FichaTecnicaPalabraClave.cs" />
|
||||||
|
|
@ -111,6 +113,7 @@
|
||||||
<Compile Include="Sinort\TipoDocumento.cs" />
|
<Compile Include="Sinort\TipoDocumento.cs" />
|
||||||
<Compile Include="Sinort\TipoEmisor.cs" />
|
<Compile Include="Sinort\TipoEmisor.cs" />
|
||||||
<Compile Include="Sinort\TipoEstado.cs" />
|
<Compile Include="Sinort\TipoEstado.cs" />
|
||||||
|
<Compile Include="Sinort\TipoPregunta.cs" />
|
||||||
<Compile Include="Sinort\TipoProyecto.cs" />
|
<Compile Include="Sinort\TipoProyecto.cs" />
|
||||||
<Compile Include="Sinort\TipoSolicitud.cs" />
|
<Compile Include="Sinort\TipoSolicitud.cs" />
|
||||||
<Compile Include="Sinort\Usuario.cs" />
|
<Compile Include="Sinort\Usuario.cs" />
|
||||||
|
|
|
||||||
49
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DetalleEncuesta.cs
Normal file
49
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/DetalleEncuesta.cs
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
namespace AYA.SlnSinortModel.Sinort
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using System.Data.Entity.Spatial;
|
||||||
|
|
||||||
|
[Table("Global.DetalleEncuesta")]
|
||||||
|
public partial class DetalleEncuesta
|
||||||
|
{
|
||||||
|
[Key]
|
||||||
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||||
|
public int IdDetalleEncuesta { get; set; }
|
||||||
|
|
||||||
|
public int IdEncabezadoEncuesta { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string IdTipoPregunta { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string DescTipoPregunta { get; set; }
|
||||||
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string TituloPregunta { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string NombrePregunta { get; set; }
|
||||||
|
|
||||||
|
[Column(TypeName = "ntext")]
|
||||||
|
public string RespuestaPregunta { get; set; }
|
||||||
|
|
||||||
|
public bool? Estado { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaCreacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioCreacion { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaModificacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioModificacion { get; set; }
|
||||||
|
|
||||||
|
public virtual TipoPregunta TipoPregunta { get; set; }
|
||||||
|
|
||||||
|
public virtual EncabezadoEncuesta EncabezadoEncuesta { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
40
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EncabezadoEncuesta.cs
Normal file
40
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/EncabezadoEncuesta.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
namespace AYA.SlnSinortModel.Sinort
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using System.Data.Entity.Spatial;
|
||||||
|
|
||||||
|
[Table("Global.EncabezadoEncuesta")]
|
||||||
|
public partial class EncabezadoEncuesta
|
||||||
|
{
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||||
|
public EncabezadoEncuesta()
|
||||||
|
{
|
||||||
|
DetalleEncuesta = new HashSet<DetalleEncuesta>();
|
||||||
|
}
|
||||||
|
|
||||||
|
[Key]
|
||||||
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||||
|
public int IdEncuesta { get; set; }
|
||||||
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string Descripcion { get; set; }
|
||||||
|
|
||||||
|
public bool? Estado { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaCreacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioCreacion { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaModificacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioModificacion { get; set; }
|
||||||
|
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||||
|
public virtual ICollection<DetalleEncuesta> DetalleEncuesta { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -8,7 +8,7 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
|
|
||||||
public partial class SinortContex : Contex
|
public partial class SinortContex : Contex
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
public virtual DbSet<Aplicacion> Aplicacion { get; set; }
|
public virtual DbSet<Aplicacion> Aplicacion { get; set; }
|
||||||
public virtual DbSet<AreaAplicacionDocumentoTecnico> AreaAplicacionDocumentoTecnico { get; set; }
|
public virtual DbSet<AreaAplicacionDocumentoTecnico> AreaAplicacionDocumentoTecnico { get; set; }
|
||||||
|
|
@ -33,6 +33,7 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
public virtual DbSet<TipoDocumento> TipoDocumento { get; set; }
|
public virtual DbSet<TipoDocumento> TipoDocumento { get; set; }
|
||||||
public virtual DbSet<TipoEmisor> TipoEmisor { get; set; }
|
public virtual DbSet<TipoEmisor> TipoEmisor { get; set; }
|
||||||
public virtual DbSet<TipoEstado> TipoEstado { get; set; }
|
public virtual DbSet<TipoEstado> TipoEstado { get; set; }
|
||||||
|
public virtual DbSet<TipoPregunta> TipoPregunta { get; set; }
|
||||||
public virtual DbSet<TipoProyecto> TipoProyecto { get; set; }
|
public virtual DbSet<TipoProyecto> TipoProyecto { get; set; }
|
||||||
public virtual DbSet<TipoSolicitud> TipoSolicitud { get; set; }
|
public virtual DbSet<TipoSolicitud> TipoSolicitud { get; set; }
|
||||||
public virtual DbSet<Usuario> Usuario { get; set; }
|
public virtual DbSet<Usuario> Usuario { get; set; }
|
||||||
|
|
@ -42,6 +43,8 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
public virtual DbSet<Calendario> Calendario { get; set; }
|
public virtual DbSet<Calendario> Calendario { get; set; }
|
||||||
public virtual DbSet<ComentariosProyecto> ComentariosProyecto { get; set; }
|
public virtual DbSet<ComentariosProyecto> ComentariosProyecto { get; set; }
|
||||||
public virtual DbSet<Convocatoria> Convocatoria { get; set; }
|
public virtual DbSet<Convocatoria> Convocatoria { get; set; }
|
||||||
|
public virtual DbSet<DetalleEncuesta> DetalleEncuesta { get; set; }
|
||||||
|
public virtual DbSet<EncabezadoEncuesta> EncabezadoEncuesta { get; set; }
|
||||||
public virtual DbSet<FichaTecnica> FichaTecnica { get; set; }
|
public virtual DbSet<FichaTecnica> FichaTecnica { get; set; }
|
||||||
public virtual DbSet<FichaTecnicaPalabraClave> FichaTecnicaPalabraClave { get; set; }
|
public virtual DbSet<FichaTecnicaPalabraClave> FichaTecnicaPalabraClave { get; set; }
|
||||||
public virtual DbSet<GotitasNormativas> GotitasNormativas { get; set; }
|
public virtual DbSet<GotitasNormativas> GotitasNormativas { get; set; }
|
||||||
|
|
@ -373,6 +376,22 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
.Property(e => e.UsuarioModificacion)
|
.Property(e => e.UsuarioModificacion)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoPregunta>()
|
||||||
|
.Property(e => e.IdTipoPregunta)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoPregunta>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoPregunta>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<TipoPregunta>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
modelBuilder.Entity<TipoProyecto>()
|
modelBuilder.Entity<TipoProyecto>()
|
||||||
.Property(e => e.Descripcion)
|
.Property(e => e.Descripcion)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
@ -582,6 +601,48 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
.Property(e => e.UsuarioModificacion)
|
.Property(e => e.UsuarioModificacion)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<DetalleEncuesta>()
|
||||||
|
.Property(e => e.IdTipoPregunta)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<DetalleEncuesta>()
|
||||||
|
.Property(e => e.DescTipoPregunta)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<DetalleEncuesta>()
|
||||||
|
.Property(e => e.TituloPregunta)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<DetalleEncuesta>()
|
||||||
|
.Property(e => e.NombrePregunta)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<DetalleEncuesta>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<DetalleEncuesta>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<EncabezadoEncuesta>()
|
||||||
|
.Property(e => e.Descripcion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<EncabezadoEncuesta>()
|
||||||
|
.Property(e => e.UsuarioCreacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<EncabezadoEncuesta>()
|
||||||
|
.Property(e => e.UsuarioModificacion)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<EncabezadoEncuesta>()
|
||||||
|
.HasMany(e => e.DetalleEncuesta)
|
||||||
|
.WithRequired(e => e.EncabezadoEncuesta)
|
||||||
|
.HasForeignKey(e => e.IdEncabezadoEncuesta)
|
||||||
|
.WillCascadeOnDelete(false);
|
||||||
|
|
||||||
modelBuilder.Entity<FichaTecnica>()
|
modelBuilder.Entity<FichaTecnica>()
|
||||||
.Property(e => e.DescripcionDocumento)
|
.Property(e => e.DescripcionDocumento)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
|
||||||
40
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoPregunta.cs
Normal file
40
AYA.SlnSynor/AYA.SlnSynorModel/Sinort/TipoPregunta.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
namespace AYA.SlnSinortModel.Sinort
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using System.Data.Entity.Spatial;
|
||||||
|
|
||||||
|
[Table("Catalogos.TipoPregunta")]
|
||||||
|
public partial class TipoPregunta
|
||||||
|
{
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||||
|
public TipoPregunta()
|
||||||
|
{
|
||||||
|
DetalleEncuesta = new HashSet<DetalleEncuesta>();
|
||||||
|
}
|
||||||
|
|
||||||
|
[Key]
|
||||||
|
[StringLength(200)]
|
||||||
|
public string IdTipoPregunta { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string Descripcion { get; set; }
|
||||||
|
|
||||||
|
public bool? Estado { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaCreacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioCreacion { get; set; }
|
||||||
|
|
||||||
|
public DateTime? FechaModificacion { get; set; }
|
||||||
|
|
||||||
|
[StringLength(200)]
|
||||||
|
public string UsuarioModificacion { get; set; }
|
||||||
|
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||||
|
public virtual ICollection<DetalleEncuesta> DetalleEncuesta { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue