'
html = html + '| ' + item.Asunto + ' | '
- html = html + ' algo | '
- html = html + ' algo | '
- html = html + ' algo | '
- html = html + ' algo | '
+ html = html + '' + item.Capitulo + ' | '
+ html = html + '' + item.Apartado + ' | '
+ html = html + '' + item.TextoOriginal + ' | '
+ html = html + '' + item.TextoPropuesto + ' | '
html = html + '' + item.Comentario + ' | ';
diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Signup.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Signup.js
new file mode 100644
index 000000000..97001569c
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Signup.js
@@ -0,0 +1,108 @@
+var model = {};
+var usuario;
+
+jQuery(document).ready(function () {
+
+ //getDataModel();
+});
+this.getDataModel = function () {
+ $("#btnRegistrar").unbind("click");
+ $("#btnRegistrar").click(function () {
+ url = $("#hiddenHref").val();
+ url = url.replace("View", "Signup");
+ url = url.replace("Controller", "Login");
+
+ document.location.href = url;
+ });
+}
+$('#btnRegistrar').keyup(function (e) {
+ if (e.which == 13) {
+ validarFormulario();
+ }
+});
+function validarFormulario() {
+
+ var Contador = 0;
+ var patron = /^[a-zñA-ZÑ\u00E0-\u00FC]+$/;
+
+ if ($('#txtNombre').val().length > 0) {
+ var usuario = document.getElementById("txtNombre").value;
+
+ if (patron.test(usuario)) {
+ Contador++;
+ }
+ }
+ if ($('#txtApellido1').val().length > 0) {
+ var apellido1 = document.getElementById("txtApellido1").value;
+ if (patron.test(apellido1)) {
+ Contador++;
+ }
+ }
+ if ($('#txtApellido2').val().length > 0) {
+ var apellido2 = document.getElementById("txtApellido2").value;
+ if (patron.test(apellido2)) {
+ Contador++;
+ }
+ }
+ if ($('#txtEmail').val().length > 0) {
+ var email = document.getElementById("txtEmail").value;
+ var caract = new RegExp(/^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/);
+
+ if (caract.test(email)) {
+ Contador++;
+ }
+ else {
+ toastr.warning('El email no es valido', Message_Warning);
+ }
+ }
+ if ($('#txtContrasena').val().length > 0) {
+ var password = document.getElementById("txtContrasena").value;
+ if (patron.test(password)) {
+ toastr.warning('No se permiten caracteres especiales en la contraseña', Message_Warning);
+ }
+ else {
+ Contador++;
+ }
+ }
+ if ($('#txtConfContrasena').val().length > 0){
+ if ($('#txtContrasena').val() == $('#txtConfContrasena').val()) {
+ Contador++;
+ }
+ else {
+ toastr.warning('Las contraseñas no coinciden', Message_Warning);
+ }
+ }
+
+ if (Contador >= 6) {
+ enviado = true;
+ usuario = normalize($('#txtNombre').val().charAt(0).toLowerCase() + $('#txtApellido1').val()).toLowerCase();
+ //ObtenerUsuarioAD();
+
+ } else {
+ toastr.warning('Los campos son obligatorios', Message_Warning);
+ }
+
+
+
+}//validarFormulario
+var normalize = (function () {
+ var from = "ÃÀÁÄÂÈÉËÊÌÍÏÎÒÓÖÔÙÚÜÛãàáäâèéëêìíïîòóöôùúüûÑñÇç",
+ to = "AAAAAEEEEIIIIOOOOUUUUaaaaaeeeeiiiioooouuuunncc",
+ mapping = {};
+
+ for (var i = 0, j = from.length; i < j; i++)
+ mapping[from.charAt(i)] = to.charAt(i);
+
+ return function (str) {
+ var ret = [];
+ for (var i = 0, j = str.length; i < j; i++) {
+ var c = str.charAt(i);
+ if (mapping.hasOwnProperty(str.charAt(i)))
+ ret.push(mapping[c]);
+ else
+ ret.push(c);
+ }
+ return ret.join('');
+ }
+
+})();
\ No newline at end of file
diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Login/LoginExterno.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Login/LoginExterno.cshtml
new file mode 100644
index 000000000..1f1e90226
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Login/LoginExterno.cshtml
@@ -0,0 +1,163 @@
+@{
+ ViewBag.Title = "LoginExterno";
+ Layout = null;
+}
+
+
+
+
+
+
+
+
+ SINORT
+
+
+
+
+
+ @*
+
+
+ *@
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+ @**@
+
+
+
+
+@Styles.Render("~/Content/themes/base/css")
+@Styles.Render("~/Content/sinort-css")
+@Scripts.Render("~/bundles/modernizr")
+@Scripts.Render("~/bundles/jquery")
+@Scripts.Render("~/bundles/bootstrap")
+@Scripts.Render("~/bundles/jqueryui")
+@Scripts.Render("~/bundles/jqueryval")
+@Scripts.Render("~/bundles/moment")
+@Scripts.Render("~/bundles/toastr")
+@Scripts.Render("~/Script-Global")
+@Scripts.Render("~/Sinort-Scripts/LoginExterno.js")
+
+
+
+
+
diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Login/Signup.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Login/Signup.cshtml
new file mode 100644
index 000000000..e58353d46
--- /dev/null
+++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Login/Signup.cshtml
@@ -0,0 +1,200 @@
+
+@{
+ ViewBag.Title = "Signup";
+ Layout = null;
+}
+
+
+
+
+
+
+
+
+ SINORT
+
+
+
+
+
+ @*
+
+
+ *@
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+@Styles.Render("~/Content/themes/base/css")
+@Styles.Render("~/Content/sinort-css")
+@Scripts.Render("~/bundles/modernizr")
+@Scripts.Render("~/bundles/jquery")
+@Scripts.Render("~/bundles/bootstrap")
+@Scripts.Render("~/bundles/jqueryui")
+@Scripts.Render("~/bundles/jqueryval")
+@Scripts.Render("~/bundles/moment")
+@Scripts.Render("~/bundles/toastr")
+@Scripts.Render("~/Script-Global")
+@Scripts.Render("~/Sinort-Scripts/Signup.js")
+
+
+
+
+
+
+
+
diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/PropuestaNormativa/DetallePropuesta.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/PropuestaNormativa/DetallePropuesta.cshtml
index c82e15699..89eeba421 100644
--- a/AYA.SlnSynor/AYA.SlnSynor/Views/PropuestaNormativa/DetallePropuesta.cshtml
+++ b/AYA.SlnSynor/AYA.SlnSynor/Views/PropuestaNormativa/DetallePropuesta.cshtml
@@ -750,7 +750,7 @@ background-image:url(http://AYA-VSRV-APPTT:2525/dist/img/ajax-loader.gif);backgr
@*---------------------Asunto ---------------------------------------------------------*@