Fix GCI.PortalCondominio packages.config
parent
bee496e977
commit
7b4d13e853
File diff suppressed because one or more lines are too long
@ -1,197 +0,0 @@
|
||||
.toast-title {
|
||||
font-weight: bold;
|
||||
}
|
||||
.toast-message {
|
||||
-ms-word-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.toast-message a,
|
||||
.toast-message label {
|
||||
color: #ffffff;
|
||||
}
|
||||
.toast-message a:hover {
|
||||
color: #cccccc;
|
||||
text-decoration: none;
|
||||
}
|
||||
.toast-close-button {
|
||||
position: relative;
|
||||
right: -0.3em;
|
||||
top: -0.3em;
|
||||
float: right;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
-webkit-text-shadow: 0 1px 0 #ffffff;
|
||||
text-shadow: 0 1px 0 #ffffff;
|
||||
opacity: 0.8;
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
|
||||
filter: alpha(opacity=80);
|
||||
}
|
||||
.toast-close-button:hover,
|
||||
.toast-close-button:focus {
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
opacity: 0.4;
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
|
||||
filter: alpha(opacity=40);
|
||||
}
|
||||
/*Additional properties for button version
|
||||
iOS requires the button element instead of an anchor tag.
|
||||
If you want the anchor version, it requires `href="#"`.*/
|
||||
button.toast-close-button {
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
.toast-top-center {
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.toast-bottom-center {
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.toast-top-full-width {
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.toast-bottom-full-width {
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.toast-top-left {
|
||||
top: 12px;
|
||||
left: 12px;
|
||||
}
|
||||
.toast-top-right {
|
||||
top: 12px;
|
||||
right: 12px;
|
||||
}
|
||||
.toast-bottom-right {
|
||||
right: 12px;
|
||||
bottom: 12px;
|
||||
}
|
||||
.toast-bottom-left {
|
||||
bottom: 12px;
|
||||
left: 12px;
|
||||
}
|
||||
#toast-container {
|
||||
position: fixed;
|
||||
z-index: 999999;
|
||||
/*overrides*/
|
||||
|
||||
}
|
||||
#toast-container * {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
#toast-container > div {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
margin: 0 0 6px;
|
||||
padding: 15px 15px 15px 50px;
|
||||
width: 300px;
|
||||
-moz-border-radius: 3px 3px 3px 3px;
|
||||
-webkit-border-radius: 3px 3px 3px 3px;
|
||||
border-radius: 3px 3px 3px 3px;
|
||||
background-position: 15px center;
|
||||
background-repeat: no-repeat;
|
||||
-moz-box-shadow: 0 0 12px #999999;
|
||||
-webkit-box-shadow: 0 0 12px #999999;
|
||||
box-shadow: 0 0 12px #999999;
|
||||
color: #ffffff;
|
||||
opacity: 0.8;
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
|
||||
filter: alpha(opacity=80);
|
||||
}
|
||||
#toast-container > :hover {
|
||||
-moz-box-shadow: 0 0 12px #000000;
|
||||
-webkit-box-shadow: 0 0 12px #000000;
|
||||
box-shadow: 0 0 12px #000000;
|
||||
opacity: 1;
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
||||
filter: alpha(opacity=100);
|
||||
cursor: pointer;
|
||||
}
|
||||
#toast-container > .toast-info {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=") !important;
|
||||
}
|
||||
#toast-container > .toast-error {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=") !important;
|
||||
}
|
||||
#toast-container > .toast-success {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==") !important;
|
||||
}
|
||||
#toast-container > .toast-warning {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=") !important;
|
||||
}
|
||||
#toast-container.toast-top-center > div,
|
||||
#toast-container.toast-bottom-center > div {
|
||||
width: 300px;
|
||||
margin: auto;
|
||||
}
|
||||
#toast-container.toast-top-full-width > div,
|
||||
#toast-container.toast-bottom-full-width > div {
|
||||
width: 96%;
|
||||
margin: auto;
|
||||
}
|
||||
.toast {
|
||||
background-color: #030303;
|
||||
}
|
||||
.toast-success {
|
||||
background-color: #51a351;
|
||||
}
|
||||
.toast-error {
|
||||
background-color: #bd362f;
|
||||
}
|
||||
.toast-info {
|
||||
background-color: #2f96b4;
|
||||
}
|
||||
.toast-warning {
|
||||
background-color: #f89406;
|
||||
}
|
||||
.toast-progress {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
height: 4px;
|
||||
background-color: #000000;
|
||||
opacity: 0.4;
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
|
||||
filter: alpha(opacity=40);
|
||||
}
|
||||
/*Responsive Design*/
|
||||
@media all and (max-width: 240px) {
|
||||
#toast-container > div {
|
||||
padding: 8px 8px 8px 50px;
|
||||
width: 11em;
|
||||
}
|
||||
#toast-container .toast-close-button {
|
||||
right: -0.2em;
|
||||
top: -0.2em;
|
||||
}
|
||||
}
|
||||
@media all and (min-width: 241px) and (max-width: 480px) {
|
||||
#toast-container > div {
|
||||
padding: 8px 8px 8px 50px;
|
||||
width: 18em;
|
||||
}
|
||||
#toast-container .toast-close-button {
|
||||
right: -0.2em;
|
||||
top: -0.2em;
|
||||
}
|
||||
}
|
||||
@media all and (min-width: 481px) and (max-width: 768px) {
|
||||
#toast-container > div {
|
||||
padding: 15px 15px 15px 50px;
|
||||
width: 25em;
|
||||
}
|
||||
}
|
||||
@ -1,261 +0,0 @@
|
||||
// Mix-ins
|
||||
.borderRadius(@radius) {
|
||||
-moz-border-radius: @radius;
|
||||
-webkit-border-radius: @radius;
|
||||
border-radius: @radius;
|
||||
}
|
||||
|
||||
.boxShadow(@boxShadow) {
|
||||
-moz-box-shadow: @boxShadow;
|
||||
-webkit-box-shadow: @boxShadow;
|
||||
box-shadow: @boxShadow;
|
||||
}
|
||||
|
||||
.opacity(@opacity) {
|
||||
@opacityPercent: @opacity * 100;
|
||||
opacity: @opacity;
|
||||
-ms-filter: ~"progid:DXImageTransform.Microsoft.Alpha(Opacity=@{opacityPercent})";
|
||||
filter: ~"alpha(opacity=@{opacityPercent})";
|
||||
}
|
||||
|
||||
.wordWrap(@wordWrap: break-word) {
|
||||
-ms-word-wrap: @wordWrap;
|
||||
word-wrap: @wordWrap;
|
||||
}
|
||||
|
||||
// Variables
|
||||
@black: #000000;
|
||||
@grey: #999999;
|
||||
@light-grey: #CCCCCC;
|
||||
@white: #FFFFFF;
|
||||
@near-black: #030303;
|
||||
@green: #51A351;
|
||||
@red: #BD362F;
|
||||
@blue: #2F96B4;
|
||||
@orange: #F89406;
|
||||
|
||||
// Styles
|
||||
.toast-title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.toast-message {
|
||||
.wordWrap();
|
||||
|
||||
a,
|
||||
label {
|
||||
color: @white;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: @light-grey;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.toast-close-button {
|
||||
position: relative;
|
||||
right: -0.3em;
|
||||
top: -0.3em;
|
||||
float: right;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
color: @white;
|
||||
-webkit-text-shadow: 0 1px 0 rgba(255,255,255,1);
|
||||
text-shadow: 0 1px 0 rgba(255,255,255,1);
|
||||
.opacity(0.8);
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @black;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
.opacity(0.4);
|
||||
}
|
||||
}
|
||||
|
||||
/*Additional properties for button version
|
||||
iOS requires the button element instead of an anchor tag.
|
||||
If you want the anchor version, it requires `href="#"`.*/
|
||||
button.toast-close-button {
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
//#endregion
|
||||
|
||||
.toast-top-center {
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.toast-bottom-center {
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.toast-top-full-width {
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.toast-bottom-full-width {
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.toast-top-left {
|
||||
top: 12px;
|
||||
left: 12px;
|
||||
}
|
||||
|
||||
.toast-top-right {
|
||||
top: 12px;
|
||||
right: 12px;
|
||||
}
|
||||
|
||||
.toast-bottom-right {
|
||||
right: 12px;
|
||||
bottom: 12px;
|
||||
}
|
||||
|
||||
.toast-bottom-left {
|
||||
bottom: 12px;
|
||||
left: 12px;
|
||||
}
|
||||
|
||||
#toast-container {
|
||||
position: fixed;
|
||||
z-index: 999999;
|
||||
|
||||
* {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
> div {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
margin: 0 0 6px;
|
||||
padding: 15px 15px 15px 50px;
|
||||
width: 300px;
|
||||
.borderRadius(3px 3px 3px 3px);
|
||||
background-position: 15px center;
|
||||
background-repeat: no-repeat;
|
||||
.boxShadow(0 0 12px @grey);
|
||||
color: @white;
|
||||
.opacity(0.8);
|
||||
}
|
||||
|
||||
> :hover {
|
||||
.boxShadow(0 0 12px @black);
|
||||
.opacity(1);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
> .toast-info {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=") !important;
|
||||
}
|
||||
|
||||
> .toast-error {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=") !important;
|
||||
}
|
||||
|
||||
> .toast-success {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==") !important;
|
||||
}
|
||||
|
||||
> .toast-warning {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=") !important;
|
||||
}
|
||||
|
||||
/*overrides*/
|
||||
&.toast-top-center > div,
|
||||
&.toast-bottom-center > div {
|
||||
width: 300px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
&.toast-top-full-width > div,
|
||||
&.toast-bottom-full-width > div {
|
||||
width: 96%;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.toast {
|
||||
background-color: @near-black;
|
||||
}
|
||||
|
||||
.toast-success {
|
||||
background-color: @green;
|
||||
}
|
||||
|
||||
.toast-error {
|
||||
background-color: @red;
|
||||
}
|
||||
|
||||
.toast-info {
|
||||
background-color: @blue;
|
||||
}
|
||||
|
||||
.toast-warning {
|
||||
background-color: @orange;
|
||||
}
|
||||
|
||||
.toast-progress {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
height: 4px;
|
||||
background-color: @black;
|
||||
.opacity(0.4);
|
||||
}
|
||||
|
||||
/*Responsive Design*/
|
||||
|
||||
@media all and (max-width: 240px) {
|
||||
#toast-container {
|
||||
|
||||
> div {
|
||||
padding: 8px 8px 8px 50px;
|
||||
width: 11em;
|
||||
}
|
||||
|
||||
& .toast-close-button {
|
||||
right: -0.2em;
|
||||
top: -0.2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 241px) and (max-width: 480px) {
|
||||
#toast-container {
|
||||
> div {
|
||||
padding: 8px 8px 8px 50px;
|
||||
width: 18em;
|
||||
}
|
||||
|
||||
& .toast-close-button {
|
||||
right: -0.2em;
|
||||
top: -0.2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 481px) and (max-width: 768px) {
|
||||
#toast-container {
|
||||
> div {
|
||||
padding: 15px 15px 15px 50px;
|
||||
width: 25em;
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@ -1,199 +0,0 @@
|
||||
.toast-title {
|
||||
font-weight: bold;
|
||||
}
|
||||
.toast-message {
|
||||
-ms-word-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.toast-message a,
|
||||
.toast-message label {
|
||||
color: #ffffff;
|
||||
}
|
||||
.toast-message a:hover {
|
||||
color: #cccccc;
|
||||
text-decoration: none;
|
||||
}
|
||||
.toast-close-button {
|
||||
position: relative;
|
||||
right: -0.3em;
|
||||
top: -0.3em;
|
||||
float: right;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
-webkit-text-shadow: 0 1px 0 #ffffff;
|
||||
text-shadow: 0 1px 0 #ffffff;
|
||||
opacity: 0.8;
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
|
||||
filter: alpha(opacity=80);
|
||||
}
|
||||
.toast-close-button:hover,
|
||||
.toast-close-button:focus {
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
opacity: 0.4;
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
|
||||
filter: alpha(opacity=40);
|
||||
}
|
||||
/*Additional properties for button version
|
||||
iOS requires the button element instead of an anchor tag.
|
||||
If you want the anchor version, it requires `href="#"`.*/
|
||||
button.toast-close-button {
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
.toast-top-center {
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.toast-bottom-center {
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.toast-top-full-width {
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.toast-bottom-full-width {
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.toast-top-left {
|
||||
top: 12px;
|
||||
left: 12px;
|
||||
}
|
||||
.toast-top-right {
|
||||
top: 12px;
|
||||
right: 12px;
|
||||
}
|
||||
.toast-bottom-right {
|
||||
right: 12px;
|
||||
bottom: 12px;
|
||||
}
|
||||
.toast-bottom-left {
|
||||
bottom: 12px;
|
||||
left: 12px;
|
||||
}
|
||||
#toast-container {
|
||||
position: fixed;
|
||||
z-index: 999999;
|
||||
/*overrides*/
|
||||
|
||||
}
|
||||
#toast-container * {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
#toast-container > div {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
margin: 0 0 6px;
|
||||
padding: 15px 15px 15px 50px;
|
||||
width: 300px;
|
||||
-moz-border-radius: 3px 3px 3px 3px;
|
||||
-webkit-border-radius: 3px 3px 3px 3px;
|
||||
border-radius: 3px 3px 3px 3px;
|
||||
background-position: 15px center;
|
||||
background-repeat: no-repeat;
|
||||
-moz-box-shadow: 0 0 12px #999999;
|
||||
-webkit-box-shadow: 0 0 12px #999999;
|
||||
box-shadow: 0 0 12px #999999;
|
||||
color: #ffffff;
|
||||
opacity: 0.8;
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
|
||||
filter: alpha(opacity=80);
|
||||
}
|
||||
#toast-container > :hover {
|
||||
-moz-box-shadow: 0 0 12px #000000;
|
||||
-webkit-box-shadow: 0 0 12px #000000;
|
||||
box-shadow: 0 0 12px #000000;
|
||||
opacity: 1;
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
||||
filter: alpha(opacity=100);
|
||||
cursor: pointer;
|
||||
}
|
||||
#toast-container > .toast-info {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=") !important;
|
||||
}
|
||||
#toast-container > .toast-error {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=") !important;
|
||||
}
|
||||
#toast-container > .toast-success {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==") !important;
|
||||
}
|
||||
#toast-container > .toast-warning {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=") !important;
|
||||
}
|
||||
#toast-container.toast-top-center > div,
|
||||
#toast-container.toast-bottom-center > div {
|
||||
width: 300px;
|
||||
margin: auto;
|
||||
}
|
||||
#toast-container.toast-top-full-width > div,
|
||||
#toast-container.toast-bottom-full-width > div {
|
||||
width: 96%;
|
||||
margin: auto;
|
||||
}
|
||||
.toast {
|
||||
background-color: #030303;
|
||||
}
|
||||
.toast-success {
|
||||
background-color: #51a351;
|
||||
}
|
||||
.toast-error {
|
||||
background-color: #bd362f;
|
||||
}
|
||||
.toast-info {
|
||||
background-color: #2f96b4;
|
||||
}
|
||||
.toast-warning {
|
||||
background-color: #f89406;
|
||||
}
|
||||
|
||||
.toast-progress {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
height: 4px;
|
||||
background-color: #000000;
|
||||
opacity: 0.4;
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
|
||||
filter: alpha(opacity=40);
|
||||
}
|
||||
|
||||
/*Responsive Design*/
|
||||
@media all and (max-width: 240px) {
|
||||
#toast-container > div {
|
||||
padding: 8px 8px 8px 50px;
|
||||
width: 11em;
|
||||
}
|
||||
#toast-container .toast-close-button {
|
||||
right: -0.2em;
|
||||
top: -0.2em;
|
||||
}
|
||||
}
|
||||
@media all and (min-width: 241px) and (max-width: 480px) {
|
||||
#toast-container > div {
|
||||
padding: 8px 8px 8px 50px;
|
||||
width: 18em;
|
||||
}
|
||||
#toast-container .toast-close-button {
|
||||
right: -0.2em;
|
||||
top: -0.2em;
|
||||
}
|
||||
}
|
||||
@media all and (min-width: 481px) and (max-width: 768px) {
|
||||
#toast-container > div {
|
||||
padding: 15px 15px 15px 50px;
|
||||
width: 25em;
|
||||
}
|
||||
}
|
||||
@ -1 +1 @@
|
||||
<%@ Application Codebehind="Global.asax.cs" Inherits="GCI.PortalCondomino.MvcApplication" Language="C#" %>
|
||||
<%@ Application Codebehind="Global.asax.cs" Inherits="GCI.PortalCondomino.MvcApplication" Language="C#" %>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -1,432 +0,0 @@
|
||||
// Unobtrusive validation support library for jQuery and jQuery Validate
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
// @version v3.2.11
|
||||
|
||||
/*jslint white: true, browser: true, onevar: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: false */
|
||||
/*global document: false, jQuery: false */
|
||||
|
||||
(function (factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define("jquery.validate.unobtrusive", ['jquery-validation'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// CommonJS-like environments that support module.exports
|
||||
module.exports = factory(require('jquery-validation'));
|
||||
} else {
|
||||
// Browser global
|
||||
jQuery.validator.unobtrusive = factory(jQuery);
|
||||
}
|
||||
}(function ($) {
|
||||
var $jQval = $.validator,
|
||||
adapters,
|
||||
data_validation = "unobtrusiveValidation";
|
||||
|
||||
function setValidationValues(options, ruleName, value) {
|
||||
options.rules[ruleName] = value;
|
||||
if (options.message) {
|
||||
options.messages[ruleName] = options.message;
|
||||
}
|
||||
}
|
||||
|
||||
function splitAndTrim(value) {
|
||||
return value.replace(/^\s+|\s+$/g, "").split(/\s*,\s*/g);
|
||||
}
|
||||
|
||||
function escapeAttributeValue(value) {
|
||||
// As mentioned on http://api.jquery.com/category/selectors/
|
||||
return value.replace(/([!"#$%&'()*+,./:;<=>?@\[\\\]^`{|}~])/g, "\\$1");
|
||||
}
|
||||
|
||||
function getModelPrefix(fieldName) {
|
||||
return fieldName.substr(0, fieldName.lastIndexOf(".") + 1);
|
||||
}
|
||||
|
||||
function appendModelPrefix(value, prefix) {
|
||||
if (value.indexOf("*.") === 0) {
|
||||
value = value.replace("*.", prefix);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
function onError(error, inputElement) { // 'this' is the form element
|
||||
var container = $(this).find("[data-valmsg-for='" + escapeAttributeValue(inputElement[0].name) + "']"),
|
||||
replaceAttrValue = container.attr("data-valmsg-replace"),
|
||||
replace = replaceAttrValue ? $.parseJSON(replaceAttrValue) !== false : null;
|
||||
|
||||
container.removeClass("field-validation-valid").addClass("field-validation-error");
|
||||
error.data("unobtrusiveContainer", container);
|
||||
|
||||
if (replace) {
|
||||
container.empty();
|
||||
error.removeClass("input-validation-error").appendTo(container);
|
||||
}
|
||||
else {
|
||||
error.hide();
|
||||
}
|
||||
}
|
||||
|
||||
function onErrors(event, validator) { // 'this' is the form element
|
||||
var container = $(this).find("[data-valmsg-summary=true]"),
|
||||
list = container.find("ul");
|
||||
|
||||
if (list && list.length && validator.errorList.length) {
|
||||
list.empty();
|
||||
container.addClass("validation-summary-errors").removeClass("validation-summary-valid");
|
||||
|
||||
$.each(validator.errorList, function () {
|
||||
$("<li />").html(this.message).appendTo(list);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function onSuccess(error) { // 'this' is the form element
|
||||
var container = error.data("unobtrusiveContainer");
|
||||
|
||||
if (container) {
|
||||
var replaceAttrValue = container.attr("data-valmsg-replace"),
|
||||
replace = replaceAttrValue ? $.parseJSON(replaceAttrValue) : null;
|
||||
|
||||
container.addClass("field-validation-valid").removeClass("field-validation-error");
|
||||
error.removeData("unobtrusiveContainer");
|
||||
|
||||
if (replace) {
|
||||
container.empty();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function onReset(event) { // 'this' is the form element
|
||||
var $form = $(this),
|
||||
key = '__jquery_unobtrusive_validation_form_reset';
|
||||
if ($form.data(key)) {
|
||||
return;
|
||||
}
|
||||
// Set a flag that indicates we're currently resetting the form.
|
||||
$form.data(key, true);
|
||||
try {
|
||||
$form.data("validator").resetForm();
|
||||
} finally {
|
||||
$form.removeData(key);
|
||||
}
|
||||
|
||||
$form.find(".validation-summary-errors")
|
||||
.addClass("validation-summary-valid")
|
||||
.removeClass("validation-summary-errors");
|
||||
$form.find(".field-validation-error")
|
||||
.addClass("field-validation-valid")
|
||||
.removeClass("field-validation-error")
|
||||
.removeData("unobtrusiveContainer")
|
||||
.find(">*") // If we were using valmsg-replace, get the underlying error
|
||||
.removeData("unobtrusiveContainer");
|
||||
}
|
||||
|
||||
function validationInfo(form) {
|
||||
var $form = $(form),
|
||||
result = $form.data(data_validation),
|
||||
onResetProxy = $.proxy(onReset, form),
|
||||
defaultOptions = $jQval.unobtrusive.options || {},
|
||||
execInContext = function (name, args) {
|
||||
var func = defaultOptions[name];
|
||||
func && $.isFunction(func) && func.apply(form, args);
|
||||
};
|
||||
|
||||
if (!result) {
|
||||
result = {
|
||||
options: { // options structure passed to jQuery Validate's validate() method
|
||||
errorClass: defaultOptions.errorClass || "input-validation-error",
|
||||
errorElement: defaultOptions.errorElement || "span",
|
||||
errorPlacement: function () {
|
||||
onError.apply(form, arguments);
|
||||
execInContext("errorPlacement", arguments);
|
||||
},
|
||||
invalidHandler: function () {
|
||||
onErrors.apply(form, arguments);
|
||||
execInContext("invalidHandler", arguments);
|
||||
},
|
||||
messages: {},
|
||||
rules: {},
|
||||
success: function () {
|
||||
onSuccess.apply(form, arguments);
|
||||
execInContext("success", arguments);
|
||||
}
|
||||
},
|
||||
attachValidation: function () {
|
||||
$form
|
||||
.off("reset." + data_validation, onResetProxy)
|
||||
.on("reset." + data_validation, onResetProxy)
|
||||
.validate(this.options);
|
||||
},
|
||||
validate: function () { // a validation function that is called by unobtrusive Ajax
|
||||
$form.validate();
|
||||
return $form.valid();
|
||||
}
|
||||
};
|
||||
$form.data(data_validation, result);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
$jQval.unobtrusive = {
|
||||
adapters: [],
|
||||
|
||||
parseElement: function (element, skipAttach) {
|
||||
/// <summary>
|
||||
/// Parses a single HTML element for unobtrusive validation attributes.
|
||||
/// </summary>
|
||||
/// <param name="element" domElement="true">The HTML element to be parsed.</param>
|
||||
/// <param name="skipAttach" type="Boolean">[Optional] true to skip attaching the
|
||||
/// validation to the form. If parsing just this single element, you should specify true.
|
||||
/// If parsing several elements, you should specify false, and manually attach the validation
|
||||
/// to the form when you are finished. The default is false.</param>
|
||||
var $element = $(element),
|
||||
form = $element.parents("form")[0],
|
||||
valInfo, rules, messages;
|
||||
|
||||
if (!form) { // Cannot do client-side validation without a form
|
||||
return;
|
||||
}
|
||||
|
||||
valInfo = validationInfo(form);
|
||||
valInfo.options.rules[element.name] = rules = {};
|
||||
valInfo.options.messages[element.name] = messages = {};
|
||||
|
||||
$.each(this.adapters, function () {
|
||||
var prefix = "data-val-" + this.name,
|
||||
message = $element.attr(prefix),
|
||||
paramValues = {};
|
||||
|
||||
if (message !== undefined) { // Compare against undefined, because an empty message is legal (and falsy)
|
||||
prefix += "-";
|
||||
|
||||
$.each(this.params, function () {
|
||||
paramValues[this] = $element.attr(prefix + this);
|
||||
});
|
||||
|
||||
this.adapt({
|
||||
element: element,
|
||||
form: form,
|
||||
message: message,
|
||||
params: paramValues,
|
||||
rules: rules,
|
||||
messages: messages
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
$.extend(rules, { "__dummy__": true });
|
||||
|
||||
if (!skipAttach) {
|
||||
valInfo.attachValidation();
|
||||
}
|
||||
},
|
||||
|
||||
parse: function (selector) {
|
||||
/// <summary>
|
||||
/// Parses all the HTML elements in the specified selector. It looks for input elements decorated
|
||||
/// with the [data-val=true] attribute value and enables validation according to the data-val-*
|
||||
/// attribute values.
|
||||
/// </summary>
|
||||
/// <param name="selector" type="String">Any valid jQuery selector.</param>
|
||||
|
||||
// $forms includes all forms in selector's DOM hierarchy (parent, children and self) that have at least one
|
||||
// element with data-val=true
|
||||
var $selector = $(selector),
|
||||
$forms = $selector.parents()
|
||||
.addBack()
|
||||
.filter("form")
|
||||
.add($selector.find("form"))
|
||||
.has("[data-val=true]");
|
||||
|
||||
$selector.find("[data-val=true]").each(function () {
|
||||
$jQval.unobtrusive.parseElement(this, true);
|
||||
});
|
||||
|
||||
$forms.each(function () {
|
||||
var info = validationInfo(this);
|
||||
if (info) {
|
||||
info.attachValidation();
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
adapters = $jQval.unobtrusive.adapters;
|
||||
|
||||
adapters.add = function (adapterName, params, fn) {
|
||||
/// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation.</summary>
|
||||
/// <param name="adapterName" type="String">The name of the adapter to be added. This matches the name used
|
||||
/// in the data-val-nnnn HTML attribute (where nnnn is the adapter name).</param>
|
||||
/// <param name="params" type="Array" optional="true">[Optional] An array of parameter names (strings) that will
|
||||
/// be extracted from the data-val-nnnn-mmmm HTML attributes (where nnnn is the adapter name, and
|
||||
/// mmmm is the parameter name).</param>
|
||||
/// <param name="fn" type="Function">The function to call, which adapts the values from the HTML
|
||||
/// attributes into jQuery Validate rules and/or messages.</param>
|
||||
/// <returns type="jQuery.validator.unobtrusive.adapters" />
|
||||
if (!fn) { // Called with no params, just a function
|
||||
fn = params;
|
||||
params = [];
|
||||
}
|
||||
this.push({ name: adapterName, params: params, adapt: fn });
|
||||
return this;
|
||||
};
|
||||
|
||||
adapters.addBool = function (adapterName, ruleName) {
|
||||
/// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation, where
|
||||
/// the jQuery Validate validation rule has no parameter values.</summary>
|
||||
/// <param name="adapterName" type="String">The name of the adapter to be added. This matches the name used
|
||||
/// in the data-val-nnnn HTML attribute (where nnnn is the adapter name).</param>
|
||||
/// <param name="ruleName" type="String" optional="true">[Optional] The name of the jQuery Validate rule. If not provided, the value
|
||||
/// of adapterName will be used instead.</param>
|
||||
/// <returns type="jQuery.validator.unobtrusive.adapters" />
|
||||
return this.add(adapterName, function (options) {
|
||||
setValidationValues(options, ruleName || adapterName, true);
|
||||
});
|
||||
};
|
||||
|
||||
adapters.addMinMax = function (adapterName, minRuleName, maxRuleName, minMaxRuleName, minAttribute, maxAttribute) {
|
||||
/// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation, where
|
||||
/// the jQuery Validate validation has three potential rules (one for min-only, one for max-only, and
|
||||
/// one for min-and-max). The HTML parameters are expected to be named -min and -max.</summary>
|
||||
/// <param name="adapterName" type="String">The name of the adapter to be added. This matches the name used
|
||||
/// in the data-val-nnnn HTML attribute (where nnnn is the adapter name).</param>
|
||||
/// <param name="minRuleName" type="String">The name of the jQuery Validate rule to be used when you only
|
||||
/// have a minimum value.</param>
|
||||
/// <param name="maxRuleName" type="String">The name of the jQuery Validate rule to be used when you only
|
||||
/// have a maximum value.</param>
|
||||
/// <param name="minMaxRuleName" type="String">The name of the jQuery Validate rule to be used when you
|
||||
/// have both a minimum and maximum value.</param>
|
||||
/// <param name="minAttribute" type="String" optional="true">[Optional] The name of the HTML attribute that
|
||||
/// contains the minimum value. The default is "min".</param>
|
||||
/// <param name="maxAttribute" type="String" optional="true">[Optional] The name of the HTML attribute that
|
||||
/// contains the maximum value. The default is "max".</param>
|
||||
/// <returns type="jQuery.validator.unobtrusive.adapters" />
|
||||
return this.add(adapterName, [minAttribute || "min", maxAttribute || "max"], function (options) {
|
||||
var min = options.params.min,
|
||||
max = options.params.max;
|
||||
|
||||
if (min && max) {
|
||||
setValidationValues(options, minMaxRuleName, [min, max]);
|
||||
}
|
||||
else if (min) {
|
||||
setValidationValues(options, minRuleName, min);
|
||||
}
|
||||
else if (max) {
|
||||
setValidationValues(options, maxRuleName, max);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
adapters.addSingleVal = function (adapterName, attribute, ruleName) {
|
||||
/// <summary>Adds a new adapter to convert unobtrusive HTML into a jQuery Validate validation, where
|
||||
/// the jQuery Validate validation rule has a single value.</summary>
|
||||
/// <param name="adapterName" type="String">The name of the adapter to be added. This matches the name used
|
||||
/// in the data-val-nnnn HTML attribute(where nnnn is the adapter name).</param>
|
||||
/// <param name="attribute" type="String">[Optional] The name of the HTML attribute that contains the value.
|
||||
/// The default is "val".</param>
|
||||
/// <param name="ruleName" type="String" optional="true">[Optional] The name of the jQuery Validate rule. If not provided, the value
|
||||
/// of adapterName will be used instead.</param>
|
||||
/// <returns type="jQuery.validator.unobtrusive.adapters" />
|
||||
return this.add(adapterName, [attribute || "val"], function (options) {
|
||||
setValidationValues(options, ruleName || adapterName, options.params[attribute]);
|
||||
});
|
||||
};
|
||||
|
||||
$jQval.addMethod("__dummy__", function (value, element, params) {
|
||||
return true;
|
||||
});
|
||||
|
||||
$jQval.addMethod("regex", function (value, element, params) {
|
||||
var match;
|
||||
if (this.optional(element)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
match = new RegExp(params).exec(value);
|
||||
return (match && (match.index === 0) && (match[0].length === value.length));
|
||||
});
|
||||
|
||||
$jQval.addMethod("nonalphamin", function (value, element, nonalphamin) {
|
||||
var match;
|
||||
if (nonalphamin) {
|
||||
match = value.match(/\W/g);
|
||||
match = match && match.length >= nonalphamin;
|
||||
}
|
||||
return match;
|
||||
});
|
||||
|
||||
if ($jQval.methods.extension) {
|
||||
adapters.addSingleVal("accept", "mimtype");
|
||||
adapters.addSingleVal("extension", "extension");
|
||||
} else {
|
||||
// for backward compatibility, when the 'extension' validation method does not exist, such as with versions
|
||||
// of JQuery Validation plugin prior to 1.10, we should use the 'accept' method for
|
||||
// validating the extension, and ignore mime-type validations as they are not supported.
|
||||
adapters.addSingleVal("extension", "extension", "accept");
|
||||
}
|
||||
|
||||
adapters.addSingleVal("regex", "pattern");
|
||||
adapters.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url");
|
||||
adapters.addMinMax("length", "minlength", "maxlength", "rangelength").addMinMax("range", "min", "max", "range");
|
||||
adapters.addMinMax("minlength", "minlength").addMinMax("maxlength", "minlength", "maxlength");
|
||||
adapters.add("equalto", ["other"], function (options) {
|
||||
var prefix = getModelPrefix(options.element.name),
|
||||
other = options.params.other,
|
||||
fullOtherName = appendModelPrefix(other, prefix),
|
||||
element = $(options.form).find(":input").filter("[name='" + escapeAttributeValue(fullOtherName) + "']")[0];
|
||||
|
||||
setValidationValues(options, "equalTo", element);
|
||||
});
|
||||
adapters.add("required", function (options) {
|
||||
// jQuery Validate equates "required" with "mandatory" for checkbox elements
|
||||
if (options.element.tagName.toUpperCase() !== "INPUT" || options.element.type.toUpperCase() !== "CHECKBOX") {
|
||||
setValidationValues(options, "required", true);
|
||||
}
|
||||
});
|
||||
adapters.add("remote", ["url", "type", "additionalfields"], function (options) {
|
||||
var value = {
|
||||
url: options.params.url,
|
||||
type: options.params.type || "GET",
|
||||
data: {}
|
||||
},
|
||||
prefix = getModelPrefix(options.element.name);
|
||||
|
||||
$.each(splitAndTrim(options.params.additionalfields || options.element.name), function (i, fieldName) {
|
||||
var paramName = appendModelPrefix(fieldName, prefix);
|
||||
value.data[paramName] = function () {
|
||||
var field = $(options.form).find(":input").filter("[name='" + escapeAttributeValue(paramName) + "']");
|
||||
// For checkboxes and radio buttons, only pick up values from checked fields.
|
||||
if (field.is(":checkbox")) {
|
||||
return field.filter(":checked").val() || field.filter(":hidden").val() || '';
|
||||
}
|
||||
else if (field.is(":radio")) {
|
||||
return field.filter(":checked").val() || '';
|
||||
}
|
||||
return field.val();
|
||||
};
|
||||
});
|
||||
|
||||
setValidationValues(options, "remote", value);
|
||||
});
|
||||
adapters.add("password", ["min", "nonalphamin", "regex"], function (options) {
|
||||
if (options.params.min) {
|
||||
setValidationValues(options, "minlength", options.params.min);
|
||||
}
|
||||
if (options.params.nonalphamin) {
|
||||
setValidationValues(options, "nonalphamin", options.params.nonalphamin);
|
||||
}
|
||||
if (options.params.regex) {
|
||||
setValidationValues(options, "regex", options.params.regex);
|
||||
}
|
||||
});
|
||||
adapters.add("fileextensions", ["extensions"], function (options) {
|
||||
setValidationValues(options, "extension", options.params.extensions);
|
||||
});
|
||||
|
||||
$(function () {
|
||||
$jQval.unobtrusive.parse(document);
|
||||
});
|
||||
|
||||
return $jQval.unobtrusive;
|
||||
}));
|
||||
File diff suppressed because one or more lines are too long
@ -1,224 +0,0 @@
|
||||
/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
|
||||
/*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */
|
||||
(function(w) {
|
||||
"use strict";
|
||||
w.matchMedia = w.matchMedia || function(doc, undefined) {
|
||||
var bool, docElem = doc.documentElement, refNode = docElem.firstElementChild || docElem.firstChild, fakeBody = doc.createElement("body"), div = doc.createElement("div");
|
||||
div.id = "mq-test-1";
|
||||
div.style.cssText = "position:absolute;top:-100em";
|
||||
fakeBody.style.background = "none";
|
||||
fakeBody.appendChild(div);
|
||||
return function(q) {
|
||||
div.innerHTML = '­<style media="' + q + '"> #mq-test-1 { width: 42px; }</style>';
|
||||
docElem.insertBefore(fakeBody, refNode);
|
||||
bool = div.offsetWidth === 42;
|
||||
docElem.removeChild(fakeBody);
|
||||
return {
|
||||
matches: bool,
|
||||
media: q
|
||||
};
|
||||
};
|
||||
}(w.document);
|
||||
})(this);
|
||||
|
||||
/*! Respond.js v1.4.0: min/max-width media query polyfill. (c) Scott Jehl. MIT Lic. j.mp/respondjs */
|
||||
(function(w) {
|
||||
"use strict";
|
||||
var respond = {};
|
||||
w.respond = respond;
|
||||
respond.update = function() {};
|
||||
var requestQueue = [], xmlHttp = function() {
|
||||
var xmlhttpmethod = false;
|
||||
try {
|
||||
xmlhttpmethod = new w.XMLHttpRequest();
|
||||
} catch (e) {
|
||||
xmlhttpmethod = new w.ActiveXObject("Microsoft.XMLHTTP");
|
||||
}
|
||||
return function() {
|
||||
return xmlhttpmethod;
|
||||
};
|
||||
}(), ajax = function(url, callback) {
|
||||
var req = xmlHttp();
|
||||
if (!req) {
|
||||
return;
|
||||
}
|
||||
req.open("GET", url, true);
|
||||
req.onreadystatechange = function() {
|
||||
if (req.readyState !== 4 || req.status !== 200 && req.status !== 304) {
|
||||
return;
|
||||
}
|
||||
callback(req.responseText);
|
||||
};
|
||||
if (req.readyState === 4) {
|
||||
return;
|
||||
}
|
||||
req.send(null);
|
||||
};
|
||||
respond.ajax = ajax;
|
||||
respond.queue = requestQueue;
|
||||
respond.regex = {
|
||||
media: /@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,
|
||||
keyframes: /@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,
|
||||
urls: /(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,
|
||||
findStyles: /@media *([^\{]+)\{([\S\s]+?)$/,
|
||||
only: /(only\s+)?([a-zA-Z]+)\s?/,
|
||||
minw: /\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,
|
||||
maxw: /\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/
|
||||
};
|
||||
respond.mediaQueriesSupported = w.matchMedia && w.matchMedia("only all") !== null && w.matchMedia("only all").matches;
|
||||
if (respond.mediaQueriesSupported) {
|
||||
return;
|
||||
}
|
||||
var doc = w.document, docElem = doc.documentElement, mediastyles = [], rules = [], appendedEls = [], parsedSheets = {}, resizeThrottle = 30, head = doc.getElementsByTagName("head")[0] || docElem, base = doc.getElementsByTagName("base")[0], links = head.getElementsByTagName("link"), lastCall, resizeDefer, eminpx, getEmValue = function() {
|
||||
var ret, div = doc.createElement("div"), body = doc.body, originalHTMLFontSize = docElem.style.fontSize, originalBodyFontSize = body && body.style.fontSize, fakeUsed = false;
|
||||
div.style.cssText = "position:absolute;font-size:1em;width:1em";
|
||||
if (!body) {
|
||||
body = fakeUsed = doc.createElement("body");
|
||||
body.style.background = "none";
|
||||
}
|
||||
docElem.style.fontSize = "100%";
|
||||
body.style.fontSize = "100%";
|
||||
body.appendChild(div);
|
||||
if (fakeUsed) {
|
||||
docElem.insertBefore(body, docElem.firstChild);
|
||||
}
|
||||
ret = div.offsetWidth;
|
||||
if (fakeUsed) {
|
||||
docElem.removeChild(body);
|
||||
} else {
|
||||
body.removeChild(div);
|
||||
}
|
||||
docElem.style.fontSize = originalHTMLFontSize;
|
||||
if (originalBodyFontSize) {
|
||||
body.style.fontSize = originalBodyFontSize;
|
||||
}
|
||||
ret = eminpx = parseFloat(ret);
|
||||
return ret;
|
||||
}, applyMedia = function(fromResize) {
|
||||
var name = "clientWidth", docElemProp = docElem[name], currWidth = doc.compatMode === "CSS1Compat" && docElemProp || doc.body[name] || docElemProp, styleBlocks = {}, lastLink = links[links.length - 1], now = new Date().getTime();
|
||||
if (fromResize && lastCall && now - lastCall < resizeThrottle) {
|
||||
w.clearTimeout(resizeDefer);
|
||||
resizeDefer = w.setTimeout(applyMedia, resizeThrottle);
|
||||
return;
|
||||
} else {
|
||||
lastCall = now;
|
||||
}
|
||||
for (var i in mediastyles) {
|
||||
if (mediastyles.hasOwnProperty(i)) {
|
||||
var thisstyle = mediastyles[i], min = thisstyle.minw, max = thisstyle.maxw, minnull = min === null, maxnull = max === null, em = "em";
|
||||
if (!!min) {
|
||||
min = parseFloat(min) * (min.indexOf(em) > -1 ? eminpx || getEmValue() : 1);
|
||||
}
|
||||
if (!!max) {
|
||||
max = parseFloat(max) * (max.indexOf(em) > -1 ? eminpx || getEmValue() : 1);
|
||||
}
|
||||
if (!thisstyle.hasquery || (!minnull || !maxnull) && (minnull || currWidth >= min) && (maxnull || currWidth <= max)) {
|
||||
if (!styleBlocks[thisstyle.media]) {
|
||||
styleBlocks[thisstyle.media] = [];
|
||||
}
|
||||
styleBlocks[thisstyle.media].push(rules[thisstyle.rules]);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (var j in appendedEls) {
|
||||
if (appendedEls.hasOwnProperty(j)) {
|
||||
if (appendedEls[j] && appendedEls[j].parentNode === head) {
|
||||
head.removeChild(appendedEls[j]);
|
||||
}
|
||||
}
|
||||
}
|
||||
appendedEls.length = 0;
|
||||
for (var k in styleBlocks) {
|
||||
if (styleBlocks.hasOwnProperty(k)) {
|
||||
var ss = doc.createElement("style"), css = styleBlocks[k].join("\n");
|
||||
ss.type = "text/css";
|
||||
ss.media = k;
|
||||
head.insertBefore(ss, lastLink.nextSibling);
|
||||
if (ss.styleSheet) {
|
||||
ss.styleSheet.cssText = css;
|
||||
} else {
|
||||
ss.appendChild(doc.createTextNode(css));
|
||||
}
|
||||
appendedEls.push(ss);
|
||||
}
|
||||
}
|
||||
}, translate = function(styles, href, media) {
|
||||
var qs = styles.replace(respond.regex.keyframes, "").match(respond.regex.media), ql = qs && qs.length || 0;
|
||||
href = href.substring(0, href.lastIndexOf("/"));
|
||||
var repUrls = function(css) {
|
||||
return css.replace(respond.regex.urls, "$1" + href + "$2$3");
|
||||
}, useMedia = !ql && media;
|
||||
if (href.length) {
|
||||
href += "/";
|
||||
}
|
||||
if (useMedia) {
|
||||
ql = 1;
|
||||
}
|
||||
for (var i = 0; i < ql; i++) {
|
||||
var fullq, thisq, eachq, eql;
|
||||
if (useMedia) {
|
||||
fullq = media;
|
||||
rules.push(repUrls(styles));
|
||||
} else {
|
||||
fullq = qs[i].match(respond.regex.findStyles) && RegExp.$1;
|
||||
rules.push(RegExp.$2 && repUrls(RegExp.$2));
|
||||
}
|
||||
eachq = fullq.split(",");
|
||||
eql = eachq.length;
|
||||
for (var j = 0; j < eql; j++) {
|
||||
thisq = eachq[j];
|
||||
mediastyles.push({
|
||||
media: thisq.split("(")[0].match(respond.regex.only) && RegExp.$2 || "all",
|
||||
rules: rules.length - 1,
|
||||
hasquery: thisq.indexOf("(") > -1,
|
||||
minw: thisq.match(respond.regex.minw) && parseFloat(RegExp.$1) + (RegExp.$2 || ""),
|
||||
maxw: thisq.match(respond.regex.maxw) && parseFloat(RegExp.$1) + (RegExp.$2 || "")
|
||||
});
|
||||
}
|
||||
}
|
||||
applyMedia();
|
||||
}, makeRequests = function() {
|
||||
if (requestQueue.length) {
|
||||
var thisRequest = requestQueue.shift();
|
||||
ajax(thisRequest.href, function(styles) {
|
||||
translate(styles, thisRequest.href, thisRequest.media);
|
||||
parsedSheets[thisRequest.href] = true;
|
||||
w.setTimeout(function() {
|
||||
makeRequests();
|
||||
}, 0);
|
||||
});
|
||||
}
|
||||
}, ripCSS = function() {
|
||||
for (var i = 0; i < links.length; i++) {
|
||||
var sheet = links[i], href = sheet.href, media = sheet.media, isCSS = sheet.rel && sheet.rel.toLowerCase() === "stylesheet";
|
||||
if (!!href && isCSS && !parsedSheets[href]) {
|
||||
if (sheet.styleSheet && sheet.styleSheet.rawCssText) {
|
||||
translate(sheet.styleSheet.rawCssText, href, media);
|
||||
parsedSheets[href] = true;
|
||||
} else {
|
||||
if (!/^([a-zA-Z:]*\/\/)/.test(href) && !base || href.replace(RegExp.$1, "").split("/")[0] === w.location.host) {
|
||||
if (href.substring(0, 2) === "//") {
|
||||
href = w.location.protocol + href;
|
||||
}
|
||||
requestQueue.push({
|
||||
href: href,
|
||||
media: media
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
makeRequests();
|
||||
};
|
||||
ripCSS();
|
||||
respond.update = ripCSS;
|
||||
respond.getEmValue = getEmValue;
|
||||
function callMedia() {
|
||||
applyMedia(true);
|
||||
}
|
||||
if (w.addEventListener) {
|
||||
w.addEventListener("resize", callMedia, false);
|
||||
} else if (w.attachEvent) {
|
||||
w.attachEvent("onresize", callMedia);
|
||||
}
|
||||
})(this);
|
||||
@ -1,5 +0,0 @@
|
||||
/*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl
|
||||
* Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT
|
||||
* */
|
||||
|
||||
!function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='­<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){u(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))};if(c.ajax=f,c.queue=d,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var g,h,i,j=a.document,k=j.documentElement,l=[],m=[],n=[],o={},p=30,q=j.getElementsByTagName("head")[0]||k,r=j.getElementsByTagName("base")[0],s=q.getElementsByTagName("link"),t=function(){var a,b=j.createElement("div"),c=j.body,d=k.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=j.createElement("body"),c.style.background="none"),k.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&k.insertBefore(c,k.firstChild),a=b.offsetWidth,f?k.removeChild(c):c.removeChild(b),k.style.fontSize=d,e&&(c.style.fontSize=e),a=i=parseFloat(a)},u=function(b){var c="clientWidth",d=k[c],e="CSS1Compat"===j.compatMode&&d||j.body[c]||d,f={},o=s[s.length-1],r=(new Date).getTime();if(b&&g&&p>r-g)return a.clearTimeout(h),h=a.setTimeout(u,p),void 0;g=r;for(var v in l)if(l.hasOwnProperty(v)){var w=l[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?i||t():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?i||t():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(m[w.rules]))}for(var C in n)n.hasOwnProperty(C)&&n[C]&&n[C].parentNode===q&&q.removeChild(n[C]);n.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=j.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,q.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(j.createTextNode(F)),n.push(E)}},v=function(a,b,d){var e=a.replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var g=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},h=!f&&d;b.length&&(b+="/"),h&&(f=1);for(var i=0;f>i;i++){var j,k,n,o;h?(j=d,m.push(g(a))):(j=e[i].match(c.regex.findStyles)&&RegExp.$1,m.push(RegExp.$2&&g(RegExp.$2))),n=j.split(","),o=n.length;for(var p=0;o>p;p++)k=n[p],l.push({media:k.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:m.length-1,hasquery:k.indexOf("(")>-1,minw:k.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:k.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},w=function(){if(d.length){var b=d.shift();f(b.href,function(c){v(c,b.href,b.media),o[b.href]=!0,a.setTimeout(function(){w()},0)})}},x=function(){for(var b=0;b<s.length;b++){var c=s[b],e=c.href,f=c.media,g=c.rel&&"stylesheet"===c.rel.toLowerCase();e&&g&&!o[e]&&(c.styleSheet&&c.styleSheet.rawCssText?(v(c.styleSheet.rawCssText,e,f),o[e]=!0):(!/^([a-zA-Z:]*\/\/)/.test(e)&&!r||e.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&("//"===e.substring(0,2)&&(e=a.location.protocol+e),d.push({href:e,media:f})))}w()};x(),c.update=x,c.getEmValue=t,a.addEventListener?a.addEventListener("resize",b,!1):a.attachEvent&&a.attachEvent("onresize",b)}}(this);
|
||||
@ -1,415 +0,0 @@
|
||||
/*
|
||||
* Toastr
|
||||
* Copyright 2012-2015
|
||||
* Authors: John Papa, Hans Fjällemark, and Tim Ferrell.
|
||||
* All Rights Reserved.
|
||||
* Use, reproduction, distribution, and modification of this code is subject to the terms and
|
||||
* conditions of the MIT license, available at http://www.opensource.org/licenses/mit-license.php
|
||||
*
|
||||
* ARIA Support: Greta Krafsig
|
||||
*
|
||||
* Project: https://github.com/CodeSeven/toastr
|
||||
*/
|
||||
/* global define */
|
||||
; (function (define) {
|
||||
define(['jquery'], function ($) {
|
||||
return (function () {
|
||||
var $container;
|
||||
var listener;
|
||||
var toastId = 0;
|
||||
var toastType = {
|
||||
error: 'error',
|
||||
info: 'info',
|
||||
success: 'success',
|
||||
warning: 'warning'
|
||||
};
|
||||
|
||||
var toastr = {
|
||||
clear: clear,
|
||||
remove: remove,
|
||||
error: error,
|
||||
getContainer: getContainer,
|
||||
info: info,
|
||||
options: {},
|
||||
subscribe: subscribe,
|
||||
success: success,
|
||||
version: '2.1.1',
|
||||
warning: warning
|
||||
};
|
||||
|
||||
var previousToast;
|
||||
|
||||
return toastr;
|
||||
|
||||
////////////////
|
||||
|
||||
function error(message, title, optionsOverride) {
|
||||
return notify({
|
||||
type: toastType.error,
|
||||
iconClass: getOptions().iconClasses.error,
|
||||
message: message,
|
||||
optionsOverride: optionsOverride,
|
||||
title: title
|
||||
});
|
||||
}
|
||||
|
||||
function getContainer(options, create) {
|
||||
if (!options) { options = getOptions(); }
|
||||
$container = $('#' + options.containerId);
|
||||
if ($container.length) {
|
||||
return $container;
|
||||
}
|
||||
if (create) {
|
||||
$container = createContainer(options);
|
||||
}
|
||||
return $container;
|
||||
}
|
||||
|
||||
function info(message, title, optionsOverride) {
|
||||
return notify({
|
||||
type: toastType.info,
|
||||
iconClass: getOptions().iconClasses.info,
|
||||
message: message,
|
||||
optionsOverride: optionsOverride,
|
||||
title: title
|
||||
});
|
||||
}
|
||||
|
||||
function subscribe(callback) {
|
||||
listener = callback;
|
||||
}
|
||||
|
||||
function success(message, title, optionsOverride) {
|
||||
return notify({
|
||||
type: toastType.success,
|
||||
iconClass: getOptions().iconClasses.success,
|
||||
message: message,
|
||||
optionsOverride: optionsOverride,
|
||||
title: title
|
||||
});
|
||||
}
|
||||
|
||||
function warning(message, title, optionsOverride) {
|
||||
return notify({
|
||||
type: toastType.warning,
|
||||
iconClass: getOptions().iconClasses.warning,
|
||||
message: message,
|
||||
optionsOverride: optionsOverride,
|
||||
title: title
|
||||
});
|
||||
}
|
||||
|
||||
function clear($toastElement, clearOptions) {
|
||||
var options = getOptions();
|
||||
if (!$container) { getContainer(options); }
|
||||
if (!clearToast($toastElement, options, clearOptions)) {
|
||||
clearContainer(options);
|
||||
}
|
||||
}
|
||||
|
||||
function remove($toastElement) {
|
||||
var options = getOptions();
|
||||
if (!$container) { getContainer(options); }
|
||||
if ($toastElement && $(':focus', $toastElement).length === 0) {
|
||||
removeToast($toastElement);
|
||||
return;
|
||||
}
|
||||
if ($container.children().length) {
|
||||
$container.remove();
|
||||
}
|
||||
}
|
||||
|
||||
// internal functions
|
||||
|
||||
function clearContainer (options) {
|
||||
var toastsToClear = $container.children();
|
||||
for (var i = toastsToClear.length - 1; i >= 0; i--) {
|
||||
clearToast($(toastsToClear[i]), options);
|
||||
}
|
||||
}
|
||||
|
||||
function clearToast ($toastElement, options, clearOptions) {
|
||||
var force = clearOptions && clearOptions.force ? clearOptions.force : false;
|
||||
if ($toastElement && (force || $(':focus', $toastElement).length === 0)) {
|
||||
$toastElement[options.hideMethod]({
|
||||
duration: options.hideDuration,
|
||||
easing: options.hideEasing,
|
||||
complete: function () { removeToast($toastElement); }
|
||||
});
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function createContainer(options) {
|
||||
$container = $('<div/>')
|
||||
.attr('id', options.containerId)
|
||||
.addClass(options.positionClass)
|
||||
.attr('aria-live', 'polite')
|
||||
.attr('role', 'alert');
|
||||
|
||||
$container.appendTo($(options.target));
|
||||
return $container;
|
||||
}
|
||||
|
||||
function getDefaults() {
|
||||
return {
|
||||
tapToDismiss: true,
|
||||
toastClass: 'toast',
|
||||
containerId: 'toast-container',
|
||||
debug: false,
|
||||
|
||||
showMethod: 'fadeIn', //fadeIn, slideDown, and show are built into jQuery
|
||||
showDuration: 300,
|
||||
showEasing: 'swing', //swing and linear are built into jQuery
|
||||
onShown: undefined,
|
||||
hideMethod: 'fadeOut',
|
||||
hideDuration: 1000,
|
||||
hideEasing: 'swing',
|
||||
onHidden: undefined,
|
||||
|
||||
extendedTimeOut: 1000,
|
||||
iconClasses: {
|
||||
error: 'toast-error',
|
||||
info: 'toast-info',
|
||||
success: 'toast-success',
|
||||
warning: 'toast-warning'
|
||||
},
|
||||
iconClass: 'toast-info',
|
||||
positionClass: 'toast-top-right',
|
||||
timeOut: 5000, // Set timeOut and extendedTimeOut to 0 to make it sticky
|
||||
titleClass: 'toast-title',
|
||||
messageClass: 'toast-message',
|
||||
target: 'body',
|
||||
closeHtml: '<button type="button">×</button>',
|
||||
newestOnTop: true,
|
||||
preventDuplicates: false,
|
||||
progressBar: false
|
||||
};
|
||||
}
|
||||
|
||||
function publish(args) {
|
||||
if (!listener) { return; }
|
||||
listener(args);
|
||||
}
|
||||
|
||||
function notify(map) {
|
||||
var options = getOptions();
|
||||
var iconClass = map.iconClass || options.iconClass;
|
||||
|
||||
if (typeof (map.optionsOverride) !== 'undefined') {
|
||||
options = $.extend(options, map.optionsOverride);
|
||||
iconClass = map.optionsOverride.iconClass || iconClass;
|
||||
}
|
||||
|
||||
if (shouldExit(options, map)) { return; }
|
||||
|
||||
toastId++;
|
||||
|
||||
$container = getContainer(options, true);
|
||||
|
||||
var intervalId = null;
|
||||
var $toastElement = $('<div/>');
|
||||
var $titleElement = $('<div/>');
|
||||
var $messageElement = $('<div/>');
|
||||
var $progressElement = $('<div/>');
|
||||
var $closeElement = $(options.closeHtml);
|
||||
var progressBar = {
|
||||
intervalId: null,
|
||||
hideEta: null,
|
||||
maxHideTime: null
|
||||
};
|
||||
var response = {
|
||||
toastId: toastId,
|
||||
state: 'visible',
|
||||
startTime: new Date(),
|
||||
options: options,
|
||||
map: map
|
||||
};
|
||||
|
||||
personalizeToast();
|
||||
|
||||
displayToast();
|
||||
|
||||
handleEvents();
|
||||
|
||||
publish(response);
|
||||
|
||||
if (options.debug && console) {
|
||||
console.log(response);
|
||||
}
|
||||
|
||||
return $toastElement;
|
||||
|
||||
function personalizeToast() {
|
||||
setIcon();
|
||||
setTitle();
|
||||
setMessage();
|
||||
setCloseButton();
|
||||
setProgressBar();
|
||||
setSequence();
|
||||
}
|
||||
|
||||
function handleEvents() {
|
||||
$toastElement.hover(stickAround, delayedHideToast);
|
||||
if (!options.onclick && options.tapToDismiss) {
|
||||
$toastElement.click(hideToast);
|
||||
}
|
||||
|
||||
if (options.closeButton && $closeElement) {
|
||||
$closeElement.click(function (event) {
|
||||
if (event.stopPropagation) {
|
||||
event.stopPropagation();
|
||||
} else if (event.cancelBubble !== undefined && event.cancelBubble !== true) {
|
||||
event.cancelBubble = true;
|
||||
}
|
||||
hideToast(true);
|
||||
});
|
||||
}
|
||||
|
||||
if (options.onclick) {
|
||||
$toastElement.click(function () {
|
||||
options.onclick();
|
||||
hideToast();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function displayToast() {
|
||||
$toastElement.hide();
|
||||
|
||||
$toastElement[options.showMethod](
|
||||
{duration: options.showDuration, easing: options.showEasing, complete: options.onShown}
|
||||
);
|
||||
|
||||
if (options.timeOut > 0) {
|
||||
intervalId = setTimeout(hideToast, options.timeOut);
|
||||
progressBar.maxHideTime = parseFloat(options.timeOut);
|
||||
progressBar.hideEta = new Date().getTime() + progressBar.maxHideTime;
|
||||
if (options.progressBar) {
|
||||
progressBar.intervalId = setInterval(updateProgress, 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function setIcon() {
|
||||
if (map.iconClass) {
|
||||
$toastElement.addClass(options.toastClass).addClass(iconClass);
|
||||
}
|
||||
}
|
||||
|
||||
function setSequence() {
|
||||
if (options.newestOnTop) {
|
||||
$container.prepend($toastElement);
|
||||
} else {
|
||||
$container.append($toastElement);
|
||||
}
|
||||
}
|
||||
|
||||
function setTitle() {
|
||||
if (map.title) {
|
||||
$titleElement.append(map.title).addClass(options.titleClass);
|
||||
$toastElement.append($titleElement);
|
||||
}
|
||||
}
|
||||
|
||||
function setMessage() {
|
||||
if (map.message) {
|
||||
$messageElement.append(map.message).addClass(options.messageClass);
|
||||
$toastElement.append($messageElement);
|
||||
}
|
||||
}
|
||||
|
||||
function setCloseButton() {
|
||||
if (options.closeButton) {
|
||||
$closeElement.addClass('toast-close-button').attr('role', 'button');
|
||||
$toastElement.prepend($closeElement);
|
||||
}
|
||||
}
|
||||
|
||||
function setProgressBar() {
|
||||
if (options.progressBar) {
|
||||
$progressElement.addClass('toast-progress');
|
||||
$toastElement.prepend($progressElement);
|
||||
}
|
||||
}
|
||||
|
||||
function shouldExit(options, map) {
|
||||
if (options.preventDuplicates) {
|
||||
if (map.message === previousToast) {
|
||||
return true;
|
||||
} else {
|
||||
previousToast = map.message;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function hideToast(override) {
|
||||
if ($(':focus', $toastElement).length && !override) {
|
||||
return;
|
||||
}
|
||||
clearTimeout(progressBar.intervalId);
|
||||
return $toastElement[options.hideMethod]({
|
||||
duration: options.hideDuration,
|
||||
easing: options.hideEasing,
|
||||
complete: function () {
|
||||
removeToast($toastElement);
|
||||
if (options.onHidden && response.state !== 'hidden') {
|
||||
options.onHidden();
|
||||
}
|
||||
response.state = 'hidden';
|
||||
response.endTime = new Date();
|
||||
publish(response);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function delayedHideToast() {
|
||||
if (options.timeOut > 0 || options.extendedTimeOut > 0) {
|
||||
intervalId = setTimeout(hideToast, options.extendedTimeOut);
|
||||
progressBar.maxHideTime = parseFloat(options.extendedTimeOut);
|
||||
progressBar.hideEta = new Date().getTime() + progressBar.maxHideTime;
|
||||
}
|
||||
}
|
||||
|
||||
function stickAround() {
|
||||
clearTimeout(intervalId);
|
||||
progressBar.hideEta = 0;
|
||||
$toastElement.stop(true, true)[options.showMethod](
|
||||
{duration: options.showDuration, easing: options.showEasing}
|
||||
);
|
||||
}
|
||||
|
||||
function updateProgress() {
|
||||
var percentage = ((progressBar.hideEta - (new Date().getTime())) / progressBar.maxHideTime) * 100;
|
||||
$progressElement.width(percentage + '%');
|
||||
}
|
||||
}
|
||||
|
||||
function getOptions() {
|
||||
return $.extend({}, getDefaults(), toastr.options);
|
||||
}
|
||||
|
||||
function removeToast($toastElement) {
|
||||
if (!$container) { $container = getContainer(); }
|
||||
if ($toastElement.is(':visible')) {
|
||||
return;
|
||||
}
|
||||
$toastElement.remove();
|
||||
$toastElement = null;
|
||||
if ($container.children().length === 0) {
|
||||
$container.remove();
|
||||
previousToast = undefined;
|
||||
}
|
||||
}
|
||||
|
||||
})();
|
||||
});
|
||||
}(typeof define === 'function' && define.amd ? define : function (deps, factory) {
|
||||
if (typeof module !== 'undefined' && module.exports) { //Node
|
||||
module.exports = factory(require('jquery'));
|
||||
} else {
|
||||
window['toastr'] = factory(window['jQuery']);
|
||||
}
|
||||
}));
|
||||
@ -1,2 +0,0 @@
|
||||
!function(e){e(["jquery"],function(e){return function(){function t(e,t,n){return f({type:O.error,iconClass:g().iconClasses.error,message:e,optionsOverride:n,title:t})}function n(t,n){return t||(t=g()),v=e("#"+t.containerId),v.length?v:(n&&(v=c(t)),v)}function i(e,t,n){return f({type:O.info,iconClass:g().iconClasses.info,message:e,optionsOverride:n,title:t})}function o(e){w=e}function s(e,t,n){return f({type:O.success,iconClass:g().iconClasses.success,message:e,optionsOverride:n,title:t})}function a(e,t,n){return f({type:O.warning,iconClass:g().iconClasses.warning,message:e,optionsOverride:n,title:t})}function r(e){var t=g();v||n(t),l(e,t)||u(t)}function d(t){var i=g();return v||n(i),t&&0===e(":focus",t).length?void h(t):void(v.children().length&&v.remove())}function u(t){for(var n=v.children(),i=n.length-1;i>=0;i--)l(e(n[i]),t)}function l(t,n){return t&&0===e(":focus",t).length?(t[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){h(t)}}),!0):!1}function c(t){return v=e("<div/>").attr("id",t.containerId).addClass(t.positionClass).attr("aria-live","polite").attr("role","alert"),v.appendTo(e(t.target)),v}function p(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",target:"body",closeHtml:'<button type="button">×</button>',newestOnTop:!0,preventDuplicates:!1,progressBar:!1}}function m(e){w&&w(e)}function f(t){function i(t){return!e(":focus",l).length||t?(clearTimeout(O.intervalId),l[r.hideMethod]({duration:r.hideDuration,easing:r.hideEasing,complete:function(){h(l),r.onHidden&&"hidden"!==b.state&&r.onHidden(),b.state="hidden",b.endTime=new Date,m(b)}})):void 0}function o(){(r.timeOut>0||r.extendedTimeOut>0)&&(u=setTimeout(i,r.extendedTimeOut),O.maxHideTime=parseFloat(r.extendedTimeOut),O.hideEta=(new Date).getTime()+O.maxHideTime)}function s(){clearTimeout(u),O.hideEta=0,l.stop(!0,!0)[r.showMethod]({duration:r.showDuration,easing:r.showEasing})}function a(){var e=(O.hideEta-(new Date).getTime())/O.maxHideTime*100;f.width(e+"%")}var r=g(),d=t.iconClass||r.iconClass;if("undefined"!=typeof t.optionsOverride&&(r=e.extend(r,t.optionsOverride),d=t.optionsOverride.iconClass||d),r.preventDuplicates){if(t.message===C)return;C=t.message}T++,v=n(r,!0);var u=null,l=e("<div/>"),c=e("<div/>"),p=e("<div/>"),f=e("<div/>"),w=e(r.closeHtml),O={intervalId:null,hideEta:null,maxHideTime:null},b={toastId:T,state:"visible",startTime:new Date,options:r,map:t};return t.iconClass&&l.addClass(r.toastClass).addClass(d),t.title&&(c.append(t.title).addClass(r.titleClass),l.append(c)),t.message&&(p.append(t.message).addClass(r.messageClass),l.append(p)),r.closeButton&&(w.addClass("toast-close-button").attr("role","button"),l.prepend(w)),r.progressBar&&(f.addClass("toast-progress"),l.prepend(f)),l.hide(),r.newestOnTop?v.prepend(l):v.append(l),l[r.showMethod]({duration:r.showDuration,easing:r.showEasing,complete:r.onShown}),r.timeOut>0&&(u=setTimeout(i,r.timeOut),O.maxHideTime=parseFloat(r.timeOut),O.hideEta=(new Date).getTime()+O.maxHideTime,r.progressBar&&(O.intervalId=setInterval(a,10))),l.hover(s,o),!r.onclick&&r.tapToDismiss&&l.click(i),r.closeButton&&w&&w.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&e.cancelBubble!==!0&&(e.cancelBubble=!0),i(!0)}),r.onclick&&l.click(function(){r.onclick(),i()}),m(b),r.debug&&console&&console.log(b),l}function g(){return e.extend({},p(),b.options)}function h(e){v||(v=n()),e.is(":visible")||(e.remove(),e=null,0===v.children().length&&(v.remove(),C=void 0))}var v,w,C,T=0,O={error:"error",info:"info",success:"success",warning:"warning"},b={clear:r,remove:d,error:t,getContainer:n,info:i,options:{},subscribe:o,success:s,version:"2.1.0",warning:a};return b}()})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)});
|
||||
//# sourceMappingURL=toastr.js.map
|
||||
@ -1,12 +1,12 @@
|
||||
@using GCI.PortalCondomino.Models
|
||||
@model BaseBackofficeModel
|
||||
@{
|
||||
ViewBag.Title = "Backoffice";
|
||||
Layout = "~/Views/BackOffice/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<h3>Bem-vindo, @ViewBag.Name</h3>
|
||||
|
||||
@section footer {
|
||||
@Html.Partial("_ContactosAdminPartial", Model.AdminData)
|
||||
@using GCI.PortalCondomino.Models
|
||||
@model BaseBackofficeModel
|
||||
@{
|
||||
ViewBag.Title = "Backoffice";
|
||||
Layout = "~/Views/BackOffice/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<h3>Bem-vindo, @ViewBag.Name</h3>
|
||||
|
||||
@section footer {
|
||||
@Html.Partial("_ContactosAdminPartial", Model.AdminData)
|
||||
}
|
||||
@ -1,153 +1,153 @@
|
||||
@using GCI.DTO
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
|
||||
<!doctype html>
|
||||
<html lang="pt">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Denariu - Área de cliente</title>
|
||||
<meta name="title" content="Denariu - Administração de Condomínios e Serviços, Lda.">
|
||||
<meta name="description" content="Área reservada a clientes Denariu.">
|
||||
<meta name="author" content="Denariu">
|
||||
|
||||
<meta name="robots" content="NOINDEX, NOFOLLOW">
|
||||
|
||||
<link href="~/Content/images/favicon.ico" rel="shortcut icon">
|
||||
|
||||
<!-- CSS STYLES AND FONTS -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Oswald:500|Source+Sans+Pro:300,400,700" rel="stylesheet" nonce="@Html.ScriptNonce()">
|
||||
<link href="~/Content/css/styles.min.css" rel="stylesheet" media="screen">
|
||||
|
||||
|
||||
<!-- FOR MOBILE DEVICES-->
|
||||
<meta name="viewport" content="width=device-width">
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js" integrity="sha256-9uAoNWHdszsUDhSXf/rVcWOqKPfi5/8V5R4UdbZle2A=" crossorigin="anonymous"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
</head>
|
||||
<body class="backoffice">
|
||||
<nav id="main-menu" class="navbar navbar-default navbar-fixed-top">
|
||||
<div class="container">
|
||||
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header">
|
||||
<button aria-expanded="false" class="navbar-toggle collapsed" data-target="#bs-example-navbar-collapse-1" data-toggle="collapse" type="button"><span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></button>
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src=@Url.Content("~/Content/images/logotipo.png")>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
|
||||
<ul class="nav navbar-nav navbar-right oswald">
|
||||
<li>
|
||||
<a href="/#hero">Início</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#quem-somos">Quem Somos</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#servicos">Serviços</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#formulario">Orçamentos</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#main-footer">Contactos</a>
|
||||
</li>
|
||||
@if (ViewBag.LoggedIn != null && ViewBag.LoggedIn == true)
|
||||
{
|
||||
<li>
|
||||
<a href="@Url.Action("LogOut", "Account", new { id = UrlParameter.Optional })">LOG OUT</a>
|
||||
</li>
|
||||
}
|
||||
else
|
||||
{
|
||||
<li class="active">
|
||||
<a href="@Url.Action("Login", "Account", new { id = UrlParameter.Optional })">LOGIN</a>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
</div><!-- /.navbar-collapse -->
|
||||
</div><!-- /.container -->
|
||||
</nav>
|
||||
|
||||
<div class="condo-selection container-fluid">
|
||||
<div class="container">
|
||||
<div class="col-xs-12 ac">
|
||||
@if (ViewBag.Condos != null && ViewBag.Condos is List<CondominioKey> && (ViewBag.Condos as List<CondominioKey>).Count > 0)
|
||||
{
|
||||
<div class="container">
|
||||
<label for="condominios">Condominio:</label>
|
||||
<select id="condominios" class="form-control">
|
||||
@foreach (CondominioKey condo in ViewBag.Condos)
|
||||
{
|
||||
<option value="@condo.ID">@condo.Nome</option>
|
||||
}
|
||||
</select>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container mt80 mb80">
|
||||
<div>
|
||||
<aside class="backoffice-menu col-xs-12 col-md-2">
|
||||
<h3 class="oswald mt0">ÁREA DE CLIENTE</h3>
|
||||
<div>
|
||||
@Html.ActionLink("Dados Pessoais", "Index", "Account", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Recibos", "Index", "Recibos", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Condomínio", "Index", "Condominio", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Despesas", "Index", "Despesas", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Débito das Frações", "Index", "Debitos", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Conta Corrente", "Index", "ContaCorrente", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Documentos", "Index", "Documentos", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Alterar password", "ChangePassword", "Account", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Sair", "LogOut", "Account", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<section class="col-xs-12 col-md-10">
|
||||
<div class="mt40 mb40">
|
||||
@RenderBody()
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="disclaimer container-fluid">
|
||||
<div class="container">
|
||||
<div class="col-xs-12 ac">
|
||||
<p>
|
||||
Os dados visualizados são de caracter informativo, podendo ser alterados a qualquer momento.
|
||||
Para mais esclarecimentos contacte a administração.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer-wrapper container-fluid">
|
||||
<footer id="main-footer" class="container">
|
||||
<div class="col-xs-12 ac">
|
||||
<img src="~/Content/images/logotipo_footer.png" width="250">
|
||||
<h3 class="oswald mt20 mb60">ADMINISTRAÇÃO DE CONDOMÍNIOS E SERVIÇOS, LDA</h3>
|
||||
</div>
|
||||
@RenderSection("footer", required: true)
|
||||
@Html.Partial("_CommonFooterPartial")
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/jquery")
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/bootstrap")
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/site")
|
||||
@RenderSection("scripts", required: false)
|
||||
</body>
|
||||
</html>
|
||||
@using GCI.DTO
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
|
||||
<!doctype html>
|
||||
<html lang="pt">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Denariu - Área de cliente</title>
|
||||
<meta name="title" content="Denariu - Administração de Condomínios e Serviços, Lda.">
|
||||
<meta name="description" content="Área reservada a clientes Denariu.">
|
||||
<meta name="author" content="Denariu">
|
||||
|
||||
<meta name="robots" content="NOINDEX, NOFOLLOW">
|
||||
|
||||
<link href="~/Content/images/favicon.ico" rel="shortcut icon">
|
||||
|
||||
<!-- CSS STYLES AND FONTS -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Oswald:500|Source+Sans+Pro:300,400,700" rel="stylesheet" nonce="@Html.ScriptNonce()">
|
||||
<link href="~/Content/css/styles.min.css" rel="stylesheet" media="screen">
|
||||
|
||||
|
||||
<!-- FOR MOBILE DEVICES-->
|
||||
<meta name="viewport" content="width=device-width">
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js" integrity="sha256-9uAoNWHdszsUDhSXf/rVcWOqKPfi5/8V5R4UdbZle2A=" crossorigin="anonymous"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
</head>
|
||||
<body class="backoffice">
|
||||
<nav id="main-menu" class="navbar navbar-default navbar-fixed-top">
|
||||
<div class="container">
|
||||
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header">
|
||||
<button aria-expanded="false" class="navbar-toggle collapsed" data-target="#bs-example-navbar-collapse-1" data-toggle="collapse" type="button"><span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></button>
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src=@Url.Content("~/Content/images/logotipo.png")>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
|
||||
<ul class="nav navbar-nav navbar-right oswald">
|
||||
<li>
|
||||
<a href="/#hero">Início</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#quem-somos">Quem Somos</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#servicos">Serviços</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#formulario">Orçamentos</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#main-footer">Contactos</a>
|
||||
</li>
|
||||
@if (ViewBag.LoggedIn != null && ViewBag.LoggedIn == true)
|
||||
{
|
||||
<li>
|
||||
<a href="@Url.Action("LogOut", "Account", new { id = UrlParameter.Optional })">LOG OUT</a>
|
||||
</li>
|
||||
}
|
||||
else
|
||||
{
|
||||
<li class="active">
|
||||
<a href="@Url.Action("Login", "Account", new { id = UrlParameter.Optional })">LOGIN</a>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
</div><!-- /.navbar-collapse -->
|
||||
</div><!-- /.container -->
|
||||
</nav>
|
||||
|
||||
<div class="condo-selection container-fluid">
|
||||
<div class="container">
|
||||
<div class="col-xs-12 ac">
|
||||
@if (ViewBag.Condos != null && ViewBag.Condos is List<CondominioKey> && (ViewBag.Condos as List<CondominioKey>).Count > 0)
|
||||
{
|
||||
<div class="container">
|
||||
<label for="condominios">Condominio:</label>
|
||||
<select id="condominios" class="form-control">
|
||||
@foreach (CondominioKey condo in ViewBag.Condos)
|
||||
{
|
||||
<option value="@condo.ID">@condo.Nome</option>
|
||||
}
|
||||
</select>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container mt80 mb80">
|
||||
<div>
|
||||
<aside class="backoffice-menu col-xs-12 col-md-2">
|
||||
<h3 class="oswald mt0">ÁREA DE CLIENTE</h3>
|
||||
<div>
|
||||
@Html.ActionLink("Dados Pessoais", "Index", "Account", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Recibos", "Index", "Recibos", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Condomínio", "Index", "Condominio", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Despesas", "Index", "Despesas", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Débito das Frações", "Index", "Debitos", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Conta Corrente", "Index", "ContaCorrente", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Documentos", "Index", "Documentos", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Alterar password", "ChangePassword", "Account", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
@Html.ActionLink("Sair", "LogOut", "Account", new { commonholdId = "dummy" }, new { name = "mainMenu" })
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<section class="col-xs-12 col-md-10">
|
||||
<div class="mt40 mb40">
|
||||
@RenderBody()
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="disclaimer container-fluid">
|
||||
<div class="container">
|
||||
<div class="col-xs-12 ac">
|
||||
<p>
|
||||
Os dados visualizados são de caracter informativo, podendo ser alterados a qualquer momento.
|
||||
Para mais esclarecimentos contacte a administração.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer-wrapper container-fluid">
|
||||
<footer id="main-footer" class="container">
|
||||
<div class="col-xs-12 ac">
|
||||
<img src="~/Content/images/logotipo_footer.png" width="250">
|
||||
<h3 class="oswald mt20 mb60">ADMINISTRAÇÃO DE CONDOMÍNIOS E SERVIÇOS, LDA</h3>
|
||||
</div>
|
||||
@RenderSection("footer", required: true)
|
||||
@Html.Partial("_CommonFooterPartial")
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/jquery")
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/bootstrap")
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/site")
|
||||
@RenderSection("scripts", required: false)
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -1,45 +1,45 @@
|
||||
@using GCI.PortalCondomino.Models
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
@model CondominiosModel
|
||||
@{
|
||||
ViewBag.Title = "Informação do Condominio";
|
||||
Layout = "~/Views/BackOffice/_Layout.cshtml";
|
||||
}
|
||||
|
||||
@using (Html.BeginForm("Index", "Condominio", FormMethod.Get, null))
|
||||
{
|
||||
@Html.Hidden("commonholdid", @Model.CodCondominio, new { id = "commonholdid" })
|
||||
}
|
||||
|
||||
<h3 class="oswald mt0 mb40 ac">@ViewBag.Title</h3>
|
||||
|
||||
<div class="container col-xs-12 form-horizontal">
|
||||
<fieldset>
|
||||
<label for="nome">Nome:</label>
|
||||
<input type="text" name="nome" class="form-control" value="@(Model.Condominio.Key.Nome)" readonly />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="morada">Morada:</label>
|
||||
<textarea name="morada" class="form-control" rows="4" readonly>@(Model.Condominio.Morada)</textarea>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="nif">Nº Contribuinte:</label>
|
||||
<input type="text" name="nif" class="form-control" value="@(Model.Condominio.NIF)" readonly />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="iban">IBAN:</label>
|
||||
<input type="text" name="IBAN" class="form-control" value="@(Model.ContaBancaria.NIB)" readonly />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="banco">Banco:</label>
|
||||
<input type="text" name="banco" class="form-control" value="@(Model.ContaBancaria.NomeBanco)" readonly />
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
@section footer {
|
||||
@Html.Partial("_ContactosAdminPartial", Model.AdminData)
|
||||
}
|
||||
|
||||
@section scripts {
|
||||
<script src="~/Content/js/binder.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
@using GCI.PortalCondomino.Models
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
@model CondominiosModel
|
||||
@{
|
||||
ViewBag.Title = "Informação do Condominio";
|
||||
Layout = "~/Views/BackOffice/_Layout.cshtml";
|
||||
}
|
||||
|
||||
@using (Html.BeginForm("Index", "Condominio", FormMethod.Get, null))
|
||||
{
|
||||
@Html.Hidden("commonholdid", @Model.CodCondominio, new { id = "commonholdid" })
|
||||
}
|
||||
|
||||
<h3 class="oswald mt0 mb40 ac">@ViewBag.Title</h3>
|
||||
|
||||
<div class="container col-xs-12 form-horizontal">
|
||||
<fieldset>
|
||||
<label for="nome">Nome:</label>
|
||||
<input type="text" name="nome" class="form-control" value="@(Model.Condominio.Key.Nome)" readonly />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="morada">Morada:</label>
|
||||
<textarea name="morada" class="form-control" rows="4" readonly>@(Model.Condominio.Morada)</textarea>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="nif">Nº Contribuinte:</label>
|
||||
<input type="text" name="nif" class="form-control" value="@(Model.Condominio.NIF)" readonly />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="iban">IBAN:</label>
|
||||
<input type="text" name="IBAN" class="form-control" value="@(Model.ContaBancaria.NIB)" readonly />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<label for="banco">Banco:</label>
|
||||
<input type="text" name="banco" class="form-control" value="@(Model.ContaBancaria.NomeBanco)" readonly />
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
@section footer {
|
||||
@Html.Partial("_ContactosAdminPartial", Model.AdminData)
|
||||
}
|
||||
|
||||
@section scripts {
|
||||
<script src="~/Content/js/binder.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
}
|
||||
@ -1,82 +1,82 @@
|
||||
@using GCI.PortalCondomino.Models
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
@model ContaCorrenteModel
|
||||
@{
|
||||
ViewBag.Title = "Conta Corrente";
|
||||
Layout = "~/Views/BackOffice/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<section class="container">
|
||||
<h3 class="oswald mt0 mb40 ac">@ViewBag.Title</h3>
|
||||
@if (Model.SaldoFinal == 0)
|
||||
{
|
||||
<h4 class="oswald mt0 mb40 ac">Saldo @(0.ToString("C2"))</h4>
|
||||
}
|
||||
else if (Model.SaldoFinal > 0)
|
||||
{
|
||||
<h4 class="oswald mt0 mb40 ac">Saldo a seu favor de @(Math.Abs(Model.SaldoFinal).ToString("C2"))</h4>
|
||||
}
|
||||
else
|
||||
{
|
||||
<h4 class="oswald mt0 mb40 ac">Saldo devedor de @(Math.Abs(Model.SaldoFinal).ToString("C2"))</h4>
|
||||
}
|
||||
|
||||
@using (Html.BeginForm("Index", "ContaCorrente", FormMethod.Get, null))
|
||||
{
|
||||
@Html.Hidden("commonholdid", @Model.CodCondominio, new { id = "commonholdid" })
|
||||
<div>
|
||||
<div class="table-responsive col-xs-11">
|
||||
<table id="contacorrente" border="0" cellspacing="0" cellpadding="0" class="table table-striped mb40">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Fração</th>
|
||||
<th>Documento</th>
|
||||
<th></th>
|
||||
<th>
|
||||
Data
|
||||
@if (ViewBag.Sort == "asc")
|
||||
{
|
||||
<a href="/ContaCorrente?sort=desc"><i class='glyphicon glyphicon-sort-by-attributes-alt'></i></a>
|
||||
}
|
||||
else
|
||||
{
|
||||
<a href="/ContaCorrente?sort=asc"><i class='glyphicon glyphicon-sort-by-attributes'></i></a>
|
||||
}
|
||||
</th>
|
||||
<th>Descrição</th>
|
||||
<th>Valor</th>
|
||||
<th>Saldo</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var linha in Model.Registos)
|
||||
{
|
||||
<tr>
|
||||
<td>@linha.Fracao.ID</td>
|
||||
<td>@linha.Documento</td>
|
||||
<td>
|
||||
@if (@linha.DocumentoRelacao.Trim() != "0")
|
||||
{
|
||||
@linha.DocumentoRelacao
|
||||
}
|
||||
</td>
|
||||
<td>@linha.DataRegisto.ToShortDateString()</td>
|
||||
<td>@linha.Descricao</td>
|
||||
<td>@linha.Valor.ToString("C2")</td>
|
||||
<td>@linha.Saldo.ToString("C2")</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
@section footer {
|
||||
@Html.Partial("_ContactosAdminPartial", Model.AdminData)
|
||||
}
|
||||
|
||||
@section scripts {
|
||||
<script src="~/Content/js/binder.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
}
|
||||
@using GCI.PortalCondomino.Models
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
@model ContaCorrenteModel
|
||||
@{
|
||||
ViewBag.Title = "Conta Corrente";
|
||||
Layout = "~/Views/BackOffice/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<section class="container">
|
||||
<h3 class="oswald mt0 mb40 ac">@ViewBag.Title</h3>
|
||||
@if (Model.SaldoFinal == 0)
|
||||
{
|
||||
<h4 class="oswald mt0 mb40 ac">Saldo @(0.ToString("C2"))</h4>
|
||||
}
|
||||
else if (Model.SaldoFinal > 0)
|
||||
{
|
||||
<h4 class="oswald mt0 mb40 ac">Saldo a seu favor de @(Math.Abs(Model.SaldoFinal).ToString("C2"))</h4>
|
||||
}
|
||||
else
|
||||
{
|
||||
<h4 class="oswald mt0 mb40 ac">Saldo devedor de @(Math.Abs(Model.SaldoFinal).ToString("C2"))</h4>
|
||||
}
|
||||
|
||||
@using (Html.BeginForm("Index", "ContaCorrente", FormMethod.Get, null))
|
||||
{
|
||||
@Html.Hidden("commonholdid", @Model.CodCondominio, new { id = "commonholdid" })
|
||||
<div>
|
||||
<div class="table-responsive col-xs-11">
|
||||
<table id="contacorrente" border="0" cellspacing="0" cellpadding="0" class="table table-striped mb40">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Fração</th>
|
||||
<th>Documento</th>
|
||||
<th></th>
|
||||
<th>
|
||||
Data
|
||||
@if (ViewBag.Sort == "asc")
|
||||
{
|
||||
<a href="/ContaCorrente?sort=desc"><i class='glyphicon glyphicon-sort-by-attributes-alt'></i></a>
|
||||
}
|
||||
else
|
||||
{
|
||||
<a href="/ContaCorrente?sort=asc"><i class='glyphicon glyphicon-sort-by-attributes'></i></a>
|
||||
}
|
||||
</th>
|
||||
<th>Descrição</th>
|
||||
<th>Valor</th>
|
||||
<th>Saldo</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var linha in Model.Registos)
|
||||
{
|
||||
<tr>
|
||||
<td>@linha.Fracao.ID</td>
|
||||
<td>@linha.Documento</td>
|
||||
<td>
|
||||
@if (@linha.DocumentoRelacao.Trim() != "0")
|
||||
{
|
||||
@linha.DocumentoRelacao
|
||||
}
|
||||
</td>
|
||||
<td>@linha.DataRegisto.ToShortDateString()</td>
|
||||
<td>@linha.Descricao</td>
|
||||
<td>@linha.Valor.ToString("C2")</td>
|
||||
<td>@linha.Saldo.ToString("C2")</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
@section footer {
|
||||
@Html.Partial("_ContactosAdminPartial", Model.AdminData)
|
||||
}
|
||||
|
||||
@section scripts {
|
||||
<script src="~/Content/js/binder.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
}
|
||||
</section>
|
||||
@ -1,43 +1,43 @@
|
||||
@using GCI.UTL
|
||||
@using GCI.PortalCondomino.Models
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
@model DebitosModel
|
||||
@{
|
||||
ViewBag.Title = "Débitos das Frações";
|
||||
Layout = "~/Views/BackOffice/_Layout.cshtml";
|
||||
}
|
||||
|
||||
@using (Html.BeginForm("Index", "Debitos", FormMethod.Get, null))
|
||||
{
|
||||
@Html.Hidden("commonholdid", @Model.CodCondominio, new { id = "commonholdid" })
|
||||
}
|
||||
|
||||
<h3 class="oswald mt0 mb40 ac">@ViewBag.Title</h3>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="debitos" border="0" cellspacing="0" cellpadding="0" class="table table-striped last-cell-right mb40">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Fração</th>
|
||||
<th>Valor</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var linha in Model.Debitos)
|
||||
{
|
||||
<tr>
|
||||
<td>@(linha.Fracao.ID + " - " + linha.Fracao.Nome)</td>
|
||||
<td>@linha.Valor.ToString("C2")</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@section footer {
|
||||
@Html.Partial("_ContactosAdminPartial", Model.AdminData)
|
||||
}
|
||||
|
||||
@section scripts {
|
||||
<script src="~/Content/js/binder.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>>
|
||||
@using GCI.UTL
|
||||
@using GCI.PortalCondomino.Models
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
@model DebitosModel
|
||||
@{
|
||||
ViewBag.Title = "Débitos das Frações";
|
||||
Layout = "~/Views/BackOffice/_Layout.cshtml";
|
||||
}
|
||||
|
||||
@using (Html.BeginForm("Index", "Debitos", FormMethod.Get, null))
|
||||
{
|
||||
@Html.Hidden("commonholdid", @Model.CodCondominio, new { id = "commonholdid" })
|
||||
}
|
||||
|
||||
<h3 class="oswald mt0 mb40 ac">@ViewBag.Title</h3>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="debitos" border="0" cellspacing="0" cellpadding="0" class="table table-striped last-cell-right mb40">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Fração</th>
|
||||
<th>Valor</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var linha in Model.Debitos)
|
||||
{
|
||||
<tr>
|
||||
<td>@(linha.Fracao.ID + " - " + linha.Fracao.Nome)</td>
|
||||
<td>@linha.Valor.ToString("C2")</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@section footer {
|
||||
@Html.Partial("_ContactosAdminPartial", Model.AdminData)
|
||||
}
|
||||
|
||||
@section scripts {
|
||||
<script src="~/Content/js/binder.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>>
|
||||
}
|
||||
@ -1,50 +1,50 @@
|
||||
@using GCI.UTL
|
||||
@using GCI.PortalCondomino.Models
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
@model DespesasModel
|
||||
@{
|
||||
ViewBag.Title = "Despesas do Condomínio";
|
||||
Layout = "~/Views/BackOffice/_Layout.cshtml";
|
||||
}
|
||||
|
||||
@using (Html.BeginForm("Index", "Despesas", FormMethod.Get, null))
|
||||
{
|
||||
@Html.Hidden("commonholdid", @Model.CodCondominio, new { id = "commonholdid" })
|
||||
}
|
||||
|
||||
<h3 class="oswald mt0 mb40 ac">@ViewBag.Title</h3>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="despesas" border="0" cellspacing="0" cellpadding="0" class="table table-striped last-cell-right mb40">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Rúbrica</th>
|
||||
<th>Data</th>
|
||||
<th>Total</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var linha in Model.Despesas)
|
||||
{
|
||||
<tr>
|
||||
<td>@linha.Rubrica</td>
|
||||
<td>@linha.Data.ToShortDateString()</td>
|
||||
<td>@linha.Total.ToString("C2")</td>
|
||||
</tr>
|
||||
}
|
||||
<tr>
|
||||
<td><b>Total:</b></td>
|
||||
<td></td>
|
||||
<td><b>@Model.Somatorio.ToString("C2")</b></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@section footer {
|
||||
@Html.Partial("_ContactosAdminPartial", Model.AdminData)
|
||||
}
|
||||
|
||||
@section scripts {
|
||||
<script src="~/Content/js/binder.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
@using GCI.UTL
|
||||
@using GCI.PortalCondomino.Models
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
@model DespesasModel
|
||||
@{
|
||||
ViewBag.Title = "Despesas do Condomínio";
|
||||
Layout = "~/Views/BackOffice/_Layout.cshtml";
|
||||
}
|
||||
|
||||
@using (Html.BeginForm("Index", "Despesas", FormMethod.Get, null))
|
||||
{
|
||||
@Html.Hidden("commonholdid", @Model.CodCondominio, new { id = "commonholdid" })
|
||||
}
|
||||
|
||||
<h3 class="oswald mt0 mb40 ac">@ViewBag.Title</h3>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="despesas" border="0" cellspacing="0" cellpadding="0" class="table table-striped last-cell-right mb40">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Rúbrica</th>
|
||||
<th>Data</th>
|
||||
<th>Total</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var linha in Model.Despesas)
|
||||
{
|
||||
<tr>
|
||||
<td>@linha.Rubrica</td>
|
||||
<td>@linha.Data.ToShortDateString()</td>
|
||||
<td>@linha.Total.ToString("C2")</td>
|
||||
</tr>
|
||||
}
|
||||
<tr>
|
||||
<td><b>Total:</b></td>
|
||||
<td></td>
|
||||
<td><b>@Model.Somatorio.ToString("C2")</b></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@section footer {
|
||||
@Html.Partial("_ContactosAdminPartial", Model.AdminData)
|
||||
}
|
||||
|
||||
@section scripts {
|
||||
<script src="~/Content/js/binder.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
}
|
||||
@ -1,49 +1,49 @@
|
||||
@using GCI.PortalCondomino.Models
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
@model DocumentsModel
|
||||
@{
|
||||
ViewBag.Title = "Documentos do Condomínio";
|
||||
Layout = "~/Views/BackOffice/_Layout.cshtml";
|
||||
}
|
||||
|
||||
@using (Html.BeginForm("Index", "Documentos", FormMethod.Get, null))
|
||||
{
|
||||
@Html.Hidden("commonholdid", @Model.CodCondominio, new { id = "commonholdid" })
|
||||
}
|
||||
|
||||
<h3 class="oswald mt0 mb40 ac">@ViewBag.Title</h3>
|
||||
|
||||
@if (!string.IsNullOrEmpty(TempData["Feedback"] as string))
|
||||
{
|
||||
<h4 class="oswald mt0 mb40 ac" style="color: #98dd22;">@TempData["Feedback"].ToString()</h4>
|
||||
}
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="despesas" border="0" cellspacing="0" cellpadding="0" class="table table-striped mb40">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tipo</th>
|
||||
<th>Documento</th>
|
||||
<th class="text-center">Download</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var linha in Model.Documents)
|
||||
{
|
||||
<tr>
|
||||
<td>@linha.Type</td>
|
||||
<td>@linha.Name</td>
|
||||
<td class="text-center"><a href="/Documentos/Download/@linha.Id?commonholdid=@Model.CodCondominio" aria-label="Download"><i class='glyphicon glyphicon-download-alt' aria-hidden="true"></i></a></td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@section footer {
|
||||
@Html.Partial("_ContactosAdminPartial", Model.AdminData)
|
||||
}
|
||||
|
||||
@section scripts {
|
||||
<script src="~/Content/js/binder.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
@using GCI.PortalCondomino.Models
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
@model DocumentsModel
|
||||
@{
|
||||
ViewBag.Title = "Documentos do Condomínio";
|
||||
Layout = "~/Views/BackOffice/_Layout.cshtml";
|
||||
}
|
||||
|
||||
@using (Html.BeginForm("Index", "Documentos", FormMethod.Get, null))
|
||||
{
|
||||
@Html.Hidden("commonholdid", @Model.CodCondominio, new { id = "commonholdid" })
|
||||
}
|
||||
|
||||
<h3 class="oswald mt0 mb40 ac">@ViewBag.Title</h3>
|
||||
|
||||
@if (!string.IsNullOrEmpty(TempData["Feedback"] as string))
|
||||
{
|
||||
<h4 class="oswald mt0 mb40 ac" style="color: #98dd22;">@TempData["Feedback"].ToString()</h4>
|
||||
}
|
||||
|
||||
<div class="table-responsive">
|
||||
<table id="despesas" border="0" cellspacing="0" cellpadding="0" class="table table-striped mb40">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tipo</th>
|
||||
<th>Documento</th>
|
||||
<th class="text-center">Download</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var linha in Model.Documents)
|
||||
{
|
||||
<tr>
|
||||
<td>@linha.Type</td>
|
||||
<td>@linha.Name</td>
|
||||
<td class="text-center"><a href="/Documentos/Download/@linha.Id?commonholdid=@Model.CodCondominio" aria-label="Download"><i class='glyphicon glyphicon-download-alt' aria-hidden="true"></i></a></td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@section footer {
|
||||
@Html.Partial("_ContactosAdminPartial", Model.AdminData)
|
||||
}
|
||||
|
||||
@section scripts {
|
||||
<script src="~/Content/js/binder.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
}
|
||||
@ -1,27 +1,27 @@
|
||||
@using GCI.PortalCondomino.Models
|
||||
@model HomeViewModel
|
||||
<header id = "hero" class="container-fluid row extra-padding bg-cover">
|
||||
<div class="container">
|
||||
<h3 class="oswald">Gerir o seu condomínio <br>parece uma encruzilhada?</h3>
|
||||
<p>Estamos aqui para o ajudar!</p>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@Html.Partial("_intro")
|
||||
@Html.Partial("_quemsomos")
|
||||
@Html.Partial("_servicos")
|
||||
@Html.Partial("_formulario", Model.Formulario)
|
||||
|
||||
|
||||
<footer id="main-footer" class="container">
|
||||
<div class="col-xs-12 ac">
|
||||
<img src="~/Content/images/logotipo_footer.png" width="250">
|
||||
<h3 class="oswald mt20 mb40">ADMINISTRAÇÃO DE CONDOMÍNIOS E SERVIÇOS, LDA</h3>
|
||||
</div>
|
||||
@Html.Partial("_ContactosAdminPartial", Model.DadosAdmin)
|
||||
@Html.Partial("_CommonFooterPartial")
|
||||
</footer>
|
||||
|
||||
@section scripts {
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/site")
|
||||
@using GCI.PortalCondomino.Models
|
||||
@model HomeViewModel
|
||||
<header id = "hero" class="container-fluid row extra-padding bg-cover">
|
||||
<div class="container">
|
||||
<h3 class="oswald">Gerir o seu condomínio <br>parece uma encruzilhada?</h3>
|
||||
<p>Estamos aqui para o ajudar!</p>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@Html.Partial("_intro")
|
||||
@Html.Partial("_quemsomos")
|
||||
@Html.Partial("_servicos")
|
||||
@Html.Partial("_formulario", Model.Formulario)
|
||||
|
||||
|
||||
<footer id="main-footer" class="container">
|
||||
<div class="col-xs-12 ac">
|
||||
<img src="~/Content/images/logotipo_footer.png" width="250">
|
||||
<h3 class="oswald mt20 mb40">ADMINISTRAÇÃO DE CONDOMÍNIOS E SERVIÇOS, LDA</h3>
|
||||
</div>
|
||||
@Html.Partial("_ContactosAdminPartial", Model.DadosAdmin)
|
||||
@Html.Partial("_CommonFooterPartial")
|
||||
</footer>
|
||||
|
||||
@section scripts {
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/site")
|
||||
}
|
||||
@ -1,82 +1,82 @@
|
||||
@using GCI.UTL
|
||||
@using GCI.PortalCondomino.Models
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
@model RecibosModel
|
||||
@{
|
||||
ViewBag.Title = "Recibos";
|
||||
Layout = "~/Views/Backoffice/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<h3 class="oswald mt0 mb40 ac">@ViewBag.Title</h3>
|
||||
|
||||
<section class="col-xs-12 col-md-10">
|
||||
<div class="row filtros mb20 form-inline">
|
||||
@using (Html.BeginForm("Index", "Recibos", FormMethod.Get, null))
|
||||
{
|
||||
<div class="col-xs-12 xs-ac al mb20 form-group">
|
||||
@Html.Hidden("commonholdid", @Model.CodCondominio, new { id="commonholdid" })
|
||||
<label for="f_ordenar" class="control-label">Ano:</label>
|
||||
@Html.DropDownList("year", ViewBag.Years as List<SelectListItem>, new { id="year", @class = "form-control" })
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
@using (Html.BeginForm("Details"))
|
||||
{
|
||||
<div class="table-responsive">
|
||||
<table id="recibos" border="0" cellspacing="0" cellpadding="0" class="table table-striped mb40">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center" colspan="4" style="border-right: 2px solid #ddd">Documento</th>
|
||||
<th class="text-center" colspan="3" style="border-left: 2px solid #ddd">Pagamento</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Número</th>
|
||||
<th>Data</th>
|
||||
<th>Valor</th>
|
||||
<th>Forma</th>
|
||||
<th>Banco</th>
|
||||
<th align="right">Nº Documento</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var linha in Model.Registos)
|
||||
{
|
||||
@Html.HiddenFor(model => linha.CodRecibo, new { id = "recibo-" + linha.CodRecibo, name = "recibo-" + linha.CodRecibo })
|
||||
<tr id=@("recibo-"+linha.CodRecibo)>
|
||||
<td align="right">
|
||||
<a class="glyphicon glyphicon-plus"
|
||||
data-recibo=@("recibo-"+linha.CodRecibo)
|
||||
data-toggle="collapse"
|
||||
data-target=@("#detalhe-recibo-"+linha.CodRecibo)></a>
|
||||
</td>
|
||||
<td>@linha.NRecibo</td>
|
||||
<td>@linha.Data.ToShortDateString()</td>
|
||||
<td>@linha.Valor.ToString("C2")</td>
|
||||
<td>@linha.DadosPagamento.Tipo.GetDescription()</td>
|
||||
<td>@linha.DadosPagamento.ContaBancaria.Nome</td>
|
||||
<td>@linha.DadosPagamento.ContaBancaria.ID</td>
|
||||
</tr>
|
||||
<tr name="filler"><!-- Criado para que o estilo da tabela não seja afectado (even/odd) --></tr>
|
||||
<tr>
|
||||
<td class="detalhe" colspan="7">
|
||||
<div id=@("detalhe-recibo-"+linha.CodRecibo) class="collapse">
|
||||
<p>A Carregar...</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@section scripts {
|
||||
<script src="~/Content/js/binder.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
<script src="~/Content/js/grid-details.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
}
|
||||
</section>
|
||||
|
||||
@section footer {
|
||||
@Html.Partial("_ContactosAdminPartial", Model.AdminData)
|
||||
@using GCI.UTL
|
||||
@using GCI.PortalCondomino.Models
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
@model RecibosModel
|
||||
@{
|
||||
ViewBag.Title = "Recibos";
|
||||
Layout = "~/Views/Backoffice/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<h3 class="oswald mt0 mb40 ac">@ViewBag.Title</h3>
|
||||
|
||||
<section class="col-xs-12 col-md-10">
|
||||
<div class="row filtros mb20 form-inline">
|
||||
@using (Html.BeginForm("Index", "Recibos", FormMethod.Get, null))
|
||||
{
|
||||
<div class="col-xs-12 xs-ac al mb20 form-group">
|
||||
@Html.Hidden("commonholdid", @Model.CodCondominio, new { id="commonholdid" })
|
||||
<label for="f_ordenar" class="control-label">Ano:</label>
|
||||
@Html.DropDownList("year", ViewBag.Years as List<SelectListItem>, new { id="year", @class = "form-control" })
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
@using (Html.BeginForm("Details"))
|
||||
{
|
||||
<div class="table-responsive">
|
||||
<table id="recibos" border="0" cellspacing="0" cellpadding="0" class="table table-striped mb40">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center" colspan="4" style="border-right: 2px solid #ddd">Documento</th>
|
||||
<th class="text-center" colspan="3" style="border-left: 2px solid #ddd">Pagamento</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Número</th>
|
||||
<th>Data</th>
|
||||
<th>Valor</th>
|
||||
<th>Forma</th>
|
||||
<th>Banco</th>
|
||||
<th align="right">Nº Documento</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var linha in Model.Registos)
|
||||
{
|
||||
@Html.HiddenFor(model => linha.CodRecibo, new { id = "recibo-" + linha.CodRecibo, name = "recibo-" + linha.CodRecibo })
|
||||
<tr id=@("recibo-"+linha.CodRecibo)>
|
||||
<td align="right">
|
||||
<a class="glyphicon glyphicon-plus"
|
||||
data-recibo=@("recibo-"+linha.CodRecibo)
|
||||
data-toggle="collapse"
|
||||
data-target=@("#detalhe-recibo-"+linha.CodRecibo)></a>
|
||||
</td>
|
||||
<td>@linha.NRecibo</td>
|
||||
<td>@linha.Data.ToShortDateString()</td>
|
||||
<td>@linha.Valor.ToString("C2")</td>
|
||||
<td>@linha.DadosPagamento.Tipo.GetDescription()</td>
|
||||
<td>@linha.DadosPagamento.ContaBancaria.Nome</td>
|
||||
<td>@linha.DadosPagamento.ContaBancaria.ID</td>
|
||||
</tr>
|
||||
<tr name="filler"><!-- Criado para que o estilo da tabela não seja afectado (even/odd) --></tr>
|
||||
<tr>
|
||||
<td class="detalhe" colspan="7">
|
||||
<div id=@("detalhe-recibo-"+linha.CodRecibo) class="collapse">
|
||||
<p>A Carregar...</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@section scripts {
|
||||
<script src="~/Content/js/binder.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
<script src="~/Content/js/grid-details.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
}
|
||||
</section>
|
||||
|
||||
@section footer {
|
||||
@Html.Partial("_ContactosAdminPartial", Model.AdminData)
|
||||
}
|
||||
@ -1,35 +1,35 @@
|
||||
@using GCI.DTO.MovimentosFinanceiros
|
||||
@using GCI.PortalCondomino.Models
|
||||
@model RecibosDetalheModel
|
||||
|
||||
<div class="table-responsive col-xs-11">
|
||||
<table border="0" cellspacing="0" cellpadding="0" class="table table-striped last-cell-right mb40">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><b>Documento</b></td>
|
||||
<td><b>Descrição</b></td>
|
||||
<td><b>Valor</b></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var linha in Model.Registos)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@if (linha.Tipo == ReciboDetalhe.TipoReciboDetalhe.Aviso)
|
||||
{
|
||||
<span>A </span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span>C </span>
|
||||
}
|
||||
@linha.NDocumento
|
||||
</td>
|
||||
<td>@linha.Descricao</td>
|
||||
<td>@linha.Valor.ToString("C2")</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@using GCI.DTO.MovimentosFinanceiros
|
||||
@using GCI.PortalCondomino.Models
|
||||
@model RecibosDetalheModel
|
||||
|
||||
<div class="table-responsive col-xs-11">
|
||||
<table border="0" cellspacing="0" cellpadding="0" class="table table-striped last-cell-right mb40">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><b>Documento</b></td>
|
||||
<td><b>Descrição</b></td>
|
||||
<td><b>Valor</b></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var linha in Model.Registos)
|
||||
{
|
||||
<tr>
|
||||
<td>
|
||||
@if (linha.Tipo == ReciboDetalhe.TipoReciboDetalhe.Aviso)
|
||||
{
|
||||
<span>A </span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span>C </span>
|
||||
}
|
||||
@linha.NDocumento
|
||||
</td>
|
||||
<td>@linha.Descricao</td>
|
||||
<td>@linha.Valor.ToString("C2")</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
@model System.Web.Mvc.HandleErrorInfo
|
||||
|
||||
@{
|
||||
ViewBag.Title = "Erro";
|
||||
}
|
||||
|
||||
<h1 class="text-danger">Erro.</h1>
|
||||
<h2 class="text-danger">Não foi possível processar o seu pedido. Por favor contacte a Administração.</h2>
|
||||
|
||||
@model System.Web.Mvc.HandleErrorInfo
|
||||
|
||||
@{
|
||||
ViewBag.Title = "Erro";
|
||||
}
|
||||
|
||||
<h1 class="text-danger">Erro.</h1>
|
||||
<h2 class="text-danger">Não foi possível processar o seu pedido. Por favor contacte a Administração.</h2>
|
||||
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
@model System.Web.Mvc.HandleErrorInfo
|
||||
|
||||
@{
|
||||
ViewBag.Title = "Desactivado";
|
||||
}
|
||||
|
||||
<hgroup>
|
||||
<h1 class="text-danger">Desactivado.</h1>
|
||||
<h2 class="text-danger">A sua conta foi desactivada.</h2>
|
||||
</hgroup>
|
||||
@model System.Web.Mvc.HandleErrorInfo
|
||||
|
||||
@{
|
||||
ViewBag.Title = "Desactivado";
|
||||
}
|
||||
|
||||
<hgroup>
|
||||
<h1 class="text-danger">Desactivado.</h1>
|
||||
<h2 class="text-danger">A sua conta foi desactivada.</h2>
|
||||
</hgroup>
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
<div class="row">
|
||||
<div class="credits col-xs-12 col-md-5 al xs-ac sm-ac">© 2017 DENARIU | Todos os direitos reservados</div>
|
||||
<div class="credits col-xs-12 col-md-5 col-md-push-2 ar xs-ac sm-ac">Webdesign <a href="http://www.tiagorio.com" target="_blank" rel="noreferrer">TIAGO RIO</a></div>
|
||||
<div class="facebook col-xs-12 col-md-2 col-md-pull-5 ac">
|
||||
<a href="https://www.facebook.com/denariu.pt/" target="_blank" rel="noreferrer">
|
||||
<img src="~/Content/images/facebook.png">
|
||||
</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="credits col-xs-12 col-md-5 al xs-ac sm-ac">© 2017 DENARIU | Todos os direitos reservados</div>
|
||||
<div class="credits col-xs-12 col-md-5 col-md-push-2 ar xs-ac sm-ac">Webdesign <a href="http://www.tiagorio.com" target="_blank" rel="noreferrer">TIAGO RIO</a></div>
|
||||
<div class="facebook col-xs-12 col-md-2 col-md-pull-5 ac">
|
||||
<a href="https://www.facebook.com/denariu.pt/" target="_blank" rel="noreferrer">
|
||||
<img src="~/Content/images/facebook.png">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@ -1 +1 @@
|
||||
<p>VERSAO DA BASE DE DADOS</p>
|
||||
<p>VERSAO DA BASE DE DADOS</p>
|
||||
|
||||
@ -1,103 +1,103 @@
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
|
||||
<!doctype html>
|
||||
<html lang="pt">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Denariu</title>
|
||||
<meta name="title" content="Denariu - Administração de Condomínios e Serviços, Lda.">
|
||||
<meta name="description" content="A Denariu oferece aos seus clientes todo o acompanhamento na administração do seu Condomínio.">
|
||||
<meta name="author" content="Denariu">
|
||||
|
||||
<meta name="robots" content="INDEX, FOLLOW">
|
||||
<meta name="keywords" content="administração, condomínios, serviços, porto, gaia">
|
||||
|
||||
<link href="~/Content/images/favicon.ico" rel="shortcut icon">
|
||||
|
||||
<!-- Facebook share information -->
|
||||
<meta property="og:url" content="http://www.denariu.pt">
|
||||
<meta property="og:title" content="Denariu - Administração de Condomínios e Serviços, Lda.">
|
||||
<meta property="og:description" content="A Denariu oferece aos seus clientes todo o acompanhamento na administração do seu Condomínio.">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:locale" content="pt_PT">
|
||||
|
||||
<!-- CSS STYLES AND FONTS -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Oswald:500|Source+Sans+Pro:300,400,700" rel="stylesheet" nonce="@Html.ScriptNonce()">
|
||||
<link href="~/Content/css/styles.min.css" rel="stylesheet" media="screen" nonce="@Html.ScriptNonce()">
|
||||
|
||||
@Styles.Render("~/Content/toastr")
|
||||
|
||||
<!-- FOR MOBILE DEVICES-->
|
||||
<meta name="viewport" content="width=device-width">
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js" integrity="sha256-9uAoNWHdszsUDhSXf/rVcWOqKPfi5/8V5R4UdbZle2A=" crossorigin="anonymous"></script>
|
||||
<![endif]-->
|
||||
|
||||
<script src="https://www.google.com/recaptcha/api.js?render=6Lca7-wUAAAAAPuB4RxJt7KXZXTvon4usCkwhlOx" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
<script src="~/Content/js/recaptcha.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav id="main-menu" class="navbar navbar-default navbar-fixed-top">
|
||||
<div class="container">
|
||||
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header">
|
||||
<button aria-expanded="false" class="navbar-toggle collapsed" data-target="#bs-example-navbar-collapse-1" data-toggle="collapse" type="button"><span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></button>
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src=@Url.Content("~/Content/images/logotipo.png")>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
|
||||
<ul class="nav navbar-nav navbar-right oswald">
|
||||
<li>
|
||||
<a href="javascript:scrollToSection('hero')">Início</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:scrollToSection('quem-somos')">Quem Somos</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:scrollToSection('servicos')">Serviços</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:scrollOrcamento();">Orçamentos</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:scrollToSection('main-footer')">Contactos</a>
|
||||
</li>
|
||||
@if (ViewBag.LoggedIn != null && ViewBag.LoggedIn == true)
|
||||
{
|
||||
<li>
|
||||
<a href="@Url.Action("Index", "BackOffice", new { id = UrlParameter.Optional })">AREA DE CLIENTE</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="@Url.Action("LogOut", "Account", new { id = UrlParameter.Optional })">LOGOUT</a>
|
||||
</li>
|
||||
}
|
||||
else
|
||||
{
|
||||
<li class="active">
|
||||
<a href="@Url.Action("Login", "Account", new { id = UrlParameter.Optional })">LOGIN</a>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
</div><!-- /.navbar-collapse -->
|
||||
</div><!-- /.container -->
|
||||
</nav>
|
||||
|
||||
@RenderBody()
|
||||
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/jquery")
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/toastr")
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/bootstrap")
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/site")
|
||||
@RenderSection("scripts", required: false)
|
||||
|
||||
<script src="~/Content/js/toaster.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
</body>
|
||||
</html>
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
|
||||
<!doctype html>
|
||||
<html lang="pt">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Denariu</title>
|
||||
<meta name="title" content="Denariu - Administração de Condomínios e Serviços, Lda.">
|
||||
<meta name="description" content="A Denariu oferece aos seus clientes todo o acompanhamento na administração do seu Condomínio.">
|
||||
<meta name="author" content="Denariu">
|
||||
|
||||
<meta name="robots" content="INDEX, FOLLOW">
|
||||
<meta name="keywords" content="administração, condomínios, serviços, porto, gaia">
|
||||
|
||||
<link href="~/Content/images/favicon.ico" rel="shortcut icon">
|
||||
|
||||
<!-- Facebook share information -->
|
||||
<meta property="og:url" content="http://www.denariu.pt">
|
||||
<meta property="og:title" content="Denariu - Administração de Condomínios e Serviços, Lda.">
|
||||
<meta property="og:description" content="A Denariu oferece aos seus clientes todo o acompanhamento na administração do seu Condomínio.">
|
||||
<meta property="og:image" content="">
|
||||
<meta property="og:locale" content="pt_PT">
|
||||
|
||||
<!-- CSS STYLES AND FONTS -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Oswald:500|Source+Sans+Pro:300,400,700" rel="stylesheet" nonce="@Html.ScriptNonce()">
|
||||
<link href="~/Content/css/styles.min.css" rel="stylesheet" media="screen" nonce="@Html.ScriptNonce()">
|
||||
|
||||
@Styles.Render("~/Content/toastr")
|
||||
|
||||
<!-- FOR MOBILE DEVICES-->
|
||||
<meta name="viewport" content="width=device-width">
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js" integrity="sha256-9uAoNWHdszsUDhSXf/rVcWOqKPfi5/8V5R4UdbZle2A=" crossorigin="anonymous"></script>
|
||||
<![endif]-->
|
||||
|
||||
<script src="https://www.google.com/recaptcha/api.js?render=6Lca7-wUAAAAAPuB4RxJt7KXZXTvon4usCkwhlOx" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
<script src="~/Content/js/recaptcha.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav id="main-menu" class="navbar navbar-default navbar-fixed-top">
|
||||
<div class="container">
|
||||
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header">
|
||||
<button aria-expanded="false" class="navbar-toggle collapsed" data-target="#bs-example-navbar-collapse-1" data-toggle="collapse" type="button"><span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></button>
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src=@Url.Content("~/Content/images/logotipo.png")>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
|
||||
<ul class="nav navbar-nav navbar-right oswald">
|
||||
<li>
|
||||
<a href="javascript:scrollToSection('hero')">Início</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:scrollToSection('quem-somos')">Quem Somos</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:scrollToSection('servicos')">Serviços</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:scrollOrcamento();">Orçamentos</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:scrollToSection('main-footer')">Contactos</a>
|
||||
</li>
|
||||
@if (ViewBag.LoggedIn != null && ViewBag.LoggedIn == true)
|
||||
{
|
||||
<li>
|
||||
<a href="@Url.Action("Index", "BackOffice", new { id = UrlParameter.Optional })">AREA DE CLIENTE</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="@Url.Action("LogOut", "Account", new { id = UrlParameter.Optional })">LOGOUT</a>
|
||||
</li>
|
||||
}
|
||||
else
|
||||
{
|
||||
<li class="active">
|
||||
<a href="@Url.Action("Login", "Account", new { id = UrlParameter.Optional })">LOGIN</a>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
</div><!-- /.navbar-collapse -->
|
||||
</div><!-- /.container -->
|
||||
</nav>
|
||||
|
||||
@RenderBody()
|
||||
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/jquery")
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/toastr")
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/bootstrap")
|
||||
@Scripts.RenderFormat("<script src=\"{0}\" type=\"text/javascript\" crossorigin=\"anonymous\"></script>", "~/bundles/site")
|
||||
@RenderSection("scripts", required: false)
|
||||
|
||||
<script src="~/Content/js/toaster.js" type="text/javascript" nonce="@Html.ScriptNonce()"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -1,20 +1,20 @@
|
||||
<section id="intro" class="container-fluid">
|
||||
<article class="row row-eq-height-md">
|
||||
|
||||
<div class="col-xs-12 col-md-4 col-md-offset-1 extra-padding flex-center">
|
||||
<div class="intro-text">
|
||||
<p class="texto">
|
||||
No fim de um dia de trabalho cansativo, a última coisa que deseja é ter de resolver os problemas do seu condomínio.
|
||||
Deixe esse fardo na mão dos especialistas!
|
||||
</p>
|
||||
<p class="texto">
|
||||
Não precisa de se preocupar em manter-se actualizado com a legislação em vigor, nem ter de aturar aquele vizinho mais problemático.
|
||||
</p>
|
||||
<h3 class="oswald mt40">DESCONTRAIA ENQUANTO TRATAMOS DE TUDO POR SI</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6 col-md-offset-1 intro-foto bg-cover"></div>
|
||||
|
||||
</article>
|
||||
</section>
|
||||
<section id="intro" class="container-fluid">
|
||||
<article class="row row-eq-height-md">
|
||||
|
||||
<div class="col-xs-12 col-md-4 col-md-offset-1 extra-padding flex-center">
|
||||
<div class="intro-text">
|
||||
<p class="texto">
|
||||
No fim de um dia de trabalho cansativo, a última coisa que deseja é ter de resolver os problemas do seu condomínio.
|
||||
Deixe esse fardo na mão dos especialistas!
|
||||
</p>
|
||||
<p class="texto">
|
||||
Não precisa de se preocupar em manter-se actualizado com a legislação em vigor, nem ter de aturar aquele vizinho mais problemático.
|
||||
</p>
|
||||
<h3 class="oswald mt40">DESCONTRAIA ENQUANTO TRATAMOS DE TUDO POR SI</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-md-6 col-md-offset-1 intro-foto bg-cover"></div>
|
||||
|
||||
</article>
|
||||
</section>
|
||||
|
||||
@ -1,23 +1,23 @@
|
||||
<section id="quem-somos">
|
||||
<div class="container extra-padding">
|
||||
<article>
|
||||
<div class="col-xs-12 col-md-7 col-md-offset-5 col-lg-6 col-lg-offset-6">
|
||||
<h2 class="oswald mb30">
|
||||
DENARIU - ADMINISTRAÇÃO<br>
|
||||
DE CONDOMÍNIOS E SERVIÇOS, LDA
|
||||
</h2>
|
||||
<p class="texto">
|
||||
O nome DENARIU surge de uma moeda de prata da época romana, e foi escolhido porque Prata é o apelidos dos sócios desta empresa.
|
||||
A DENARIU surge da necessidade de gerir, orientar, criar e administrar o “Denariu” dos seus clientes.
|
||||
</p>
|
||||
<p class="texto">
|
||||
Os nossos instrumentos de gestão asseguraram o controlo rigoroso e assíduo das partes comuns. Somos uma equipa rigorosa e profissonal
|
||||
que luta pelos interesses dos nossos clientes independentemente do grau de dificuldade.
|
||||
</p>
|
||||
<p class="texto">
|
||||
Visitamos frequentemente os edifícios para assegurar que tudo se encontra dentro da normalidade.
|
||||
</p>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</section>
|
||||
<section id="quem-somos">
|
||||
<div class="container extra-padding">
|
||||
<article>
|
||||
<div class="col-xs-12 col-md-7 col-md-offset-5 col-lg-6 col-lg-offset-6">
|
||||
<h2 class="oswald mb30">
|
||||
DENARIU - ADMINISTRAÇÃO<br>
|
||||
DE CONDOMÍNIOS E SERVIÇOS, LDA
|
||||
</h2>
|
||||
<p class="texto">
|
||||
O nome DENARIU surge de uma moeda de prata da época romana, e foi escolhido porque Prata é o apelidos dos sócios desta empresa.
|
||||
A DENARIU surge da necessidade de gerir, orientar, criar e administrar o “Denariu” dos seus clientes.
|
||||
</p>
|
||||
<p class="texto">
|
||||
Os nossos instrumentos de gestão asseguraram o controlo rigoroso e assíduo das partes comuns. Somos uma equipa rigorosa e profissonal
|
||||
que luta pelos interesses dos nossos clientes independentemente do grau de dificuldade.
|
||||
</p>
|
||||
<p class="texto">
|
||||
Visitamos frequentemente os edifícios para assegurar que tudo se encontra dentro da normalidade.
|
||||
</p>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@ -1,91 +1,91 @@
|
||||
<section id="servicos" class="clearfix">
|
||||
|
||||
<div class="grid-wrapper grid-double-height grid-cell flex-column flex-left-center">
|
||||
<h1>
|
||||
<span class="line">ADMINISTRAÇÃO</span>
|
||||
<span class="line">E GESTÃO DE</span>
|
||||
<span class="line">CONDOMÍNIOS</span>
|
||||
</h1>
|
||||
<ul>
|
||||
<li>Constituição do Condomínio</li>
|
||||
<li>Abertura de contas bancárias</li>
|
||||
<li>Elaboração de Regulamento Interno</li>
|
||||
<li>Elaboração orçamento anual</li>
|
||||
<li>Criação de Seguro obrigatório</li>
|
||||
<li>Contratação de Serviços (contadores água, electricidade, Etc)</li>
|
||||
<li>Celebração dos contratos com prestadores de serviços ao prédio</li>
|
||||
<li>Realização de convocatórias assembleias Gerais de condóminos e presidência nas reuniões</li>
|
||||
<li>Execução das deliberações tomadas</li>
|
||||
<li>Recolha e organização de correspondência e documentos dos condóminos</li>
|
||||
<li>Visitas periódicas ao prédio</li>
|
||||
<li>Conservação, manutenção e limpeza de zonas comuns</li>
|
||||
<li>Representação do condomínio perante as autoridades administrativas</li>
|
||||
<li>Gestão dos devedores</li>
|
||||
<li>Liquidação das despesas do condomínio</li>
|
||||
<li>Cobrança de quotas e emissão de recibos</li>
|
||||
<li>Mediação de conflitos referentes a partes comuns</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="grid-wrapper grid-double-height grid-color-1">
|
||||
<div class="grid-cell thumbWrapper grid-bg-1"></div>
|
||||
<div class="grid-cell flex-column flex-left-center">
|
||||
<h3>
|
||||
<span class="line">Serviços</span>
|
||||
<span class="line">de Jardins</span>
|
||||
</h3>
|
||||
<ul>
|
||||
<li>Projecção, execução e manutenção de espaços verdes</li>
|
||||
<li>Projecção, montagem e manutenção de sistemas de rega</li>
|
||||
<li>Iluminação de jardins</li>
|
||||
<li>Decoração de jardins</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="grid-wrapper grid-double-height grid-color-2">
|
||||
<div class="grid-cell flex-column flex-left-center">
|
||||
<h3>
|
||||
<span class="line">Serviços</span>
|
||||
<span class="line">de Gestão de</span>
|
||||
<span class="line">Arrendamentos</span>
|
||||
</h3>
|
||||
<ul>
|
||||
<li>Tratamos tudo que necessita para seu conforto</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="grid-cell thumbWrapper grid-bg-2"></div>
|
||||
</div>
|
||||
|
||||
<div class="grid-wrapper grid-color-3">
|
||||
<div class="grid-cell flex-column flex-left-center">
|
||||
<h3>Serviços apoio <br>ao particular</h3>
|
||||
<ul>
|
||||
<li>Pintura de interior e exteriores</li>
|
||||
<li>Serviços de canalizador</li>
|
||||
<li>Serviços de electricista</li>
|
||||
<li>Serviços de carpintaria</li>
|
||||
<li>Qualquer tipo de avaria em pequenos automatismos</li>
|
||||
<li>Substituição vidros e outras avarias</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="grid-wrapper thumbWrapper grid-bg-3">
|
||||
</div>
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid-cell flex-column flex-left-center">
|
||||
<h3>
|
||||
<span class="line">Serviços</span>
|
||||
<span class="line">de diagnóstico</span>
|
||||
<span class="line">Imobiliário</span>
|
||||
</h3>
|
||||
<ul>
|
||||
<li>Vistorias de zonas comuns do prédio</li>
|
||||
<li>Vistoria de apartamentos, moradias, lojas, etc.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
<section id="servicos" class="clearfix">
|
||||
|
||||
<div class="grid-wrapper grid-double-height grid-cell flex-column flex-left-center">
|
||||
<h1>
|
||||
<span class="line">ADMINISTRAÇÃO</span>
|
||||
<span class="line">E GESTÃO DE</span>
|
||||
<span class="line">CONDOMÍNIOS</span>
|
||||
</h1>
|
||||
<ul>
|
||||
<li>Constituição do Condomínio</li>
|
||||
<li>Abertura de contas bancárias</li>
|
||||
<li>Elaboração de Regulamento Interno</li>
|
||||
<li>Elaboração orçamento anual</li>
|
||||
<li>Criação de Seguro obrigatório</li>
|
||||
<li>Contratação de Serviços (contadores água, electricidade, Etc)</li>
|
||||
<li>Celebração dos contratos com prestadores de serviços ao prédio</li>
|
||||
<li>Realização de convocatórias assembleias Gerais de condóminos e presidência nas reuniões</li>
|
||||
<li>Execução das deliberações tomadas</li>
|
||||
<li>Recolha e organização de correspondência e documentos dos condóminos</li>
|
||||
<li>Visitas periódicas ao prédio</li>
|
||||
<li>Conservação, manutenção e limpeza de zonas comuns</li>
|
||||
<li>Representação do condomínio perante as autoridades administrativas</li>
|
||||
<li>Gestão dos devedores</li>
|
||||
<li>Liquidação das despesas do condomínio</li>
|
||||
<li>Cobrança de quotas e emissão de recibos</li>
|
||||
<li>Mediação de conflitos referentes a partes comuns</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="grid-wrapper grid-double-height grid-color-1">
|
||||
<div class="grid-cell thumbWrapper grid-bg-1"></div>
|
||||
<div class="grid-cell flex-column flex-left-center">
|
||||
<h3>
|
||||
<span class="line">Serviços</span>
|
||||
<span class="line">de Jardins</span>
|
||||
</h3>
|
||||
<ul>
|
||||
<li>Projecção, execução e manutenção de espaços verdes</li>
|
||||
<li>Projecção, montagem e manutenção de sistemas de rega</li>
|
||||
<li>Iluminação de jardins</li>
|
||||
<li>Decoração de jardins</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="grid-wrapper grid-double-height grid-color-2">
|
||||
<div class="grid-cell flex-column flex-left-center">
|
||||
<h3>
|
||||
<span class="line">Serviços</span>
|
||||
<span class="line">de Gestão de</span>
|
||||
<span class="line">Arrendamentos</span>
|
||||
</h3>
|
||||
<ul>
|
||||
<li>Tratamos tudo que necessita para seu conforto</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="grid-cell thumbWrapper grid-bg-2"></div>
|
||||
</div>
|
||||
|
||||
<div class="grid-wrapper grid-color-3">
|
||||
<div class="grid-cell flex-column flex-left-center">
|
||||
<h3>Serviços apoio <br>ao particular</h3>
|
||||
<ul>
|
||||
<li>Pintura de interior e exteriores</li>
|
||||
<li>Serviços de canalizador</li>
|
||||
<li>Serviços de electricista</li>
|
||||
<li>Serviços de carpintaria</li>
|
||||
<li>Qualquer tipo de avaria em pequenos automatismos</li>
|
||||
<li>Substituição vidros e outras avarias</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="grid-wrapper thumbWrapper grid-bg-3">
|
||||
</div>
|
||||
|
||||
<div class="grid-wrapper">
|
||||
<div class="grid-cell flex-column flex-left-center">
|
||||
<h3>
|
||||
<span class="line">Serviços</span>
|
||||
<span class="line">de diagnóstico</span>
|
||||
<span class="line">Imobiliário</span>
|
||||
</h3>
|
||||
<ul>
|
||||
<li>Vistorias de zonas comuns do prédio</li>
|
||||
<li>Vistoria de apartamentos, moradias, lojas, etc.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
@ -1,127 +1,127 @@
|
||||
@using GCI.PortalCondomino.Entities.Users
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
|
||||
@model GCI.PortalCondomino.Models.UserAccessRequestModel
|
||||
@{
|
||||
ViewBag.Title = "Pedido de registo no site";
|
||||
Layout = "";
|
||||
}
|
||||
|
||||
<!doctype html>
|
||||
<html lang="pt">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Denariu - Área de cliente</title>
|
||||
<meta name="title" content="Denariu - Administração de Condomínios e Serviços, Lda.">
|
||||
<meta name="description" content="Área reservada a clientes Denariu.">
|
||||
<meta name="author" content="Denariu">
|
||||
|
||||
<meta name="robots" content="NOINDEX, NOFOLLOW">
|
||||
|
||||
<link href="~/Content/images/favicon.ico" rel="shortcut icon">
|
||||
|
||||
<!-- CSS STYLES AND FONTS -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Oswald:500|Source+Sans+Pro:300,400,700" rel="stylesheet" nonce="@Html.ScriptNonce()">
|
||||
<link href="~/Content/css/styles.min.css" rel="stylesheet" media="screen">
|
||||
|
||||
|
||||
<!-- FOR MOBILE DEVICES-->
|
||||
<meta name="viewport" content="width=device-width">
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js" integrity="sha256-9uAoNWHdszsUDhSXf/rVcWOqKPfi5/8V5R4UdbZle2A=" crossorigin="anonymous"></script>
|
||||
<![endif]-->
|
||||
|
||||
</head>
|
||||
<body class="backoffice">
|
||||
<nav id="main-menu" class="navbar navbar-default navbar-fixed-top">
|
||||
<div class="container">
|
||||
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header">
|
||||
<button aria-expanded="false" class="navbar-toggle collapsed" data-target="#bs-example-navbar-collapse-1" data-toggle="collapse" type="button"><span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></button>
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src=@Url.Content("~/Content/images/logotipo.png")>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
|
||||
<ul class="nav navbar-nav navbar-right oswald">
|
||||
<li>
|
||||
<a href="/#hero">Início</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#quem-somos">Quem Somos</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#servicos">Serviços</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#formulario">Orçamentos</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#main-footer">Contactos</a>
|
||||
</li>
|
||||
@if (ViewBag.LoggedIn != null && ViewBag.LoggedIn == true)
|
||||
{
|
||||
<li>
|
||||
<a href="@Url.Action("LogOut", "Account", new { id = UrlParameter.Optional })">LOG OUT</a>
|
||||
</li>
|
||||
}
|
||||
else
|
||||
{
|
||||
<li class="active">
|
||||
<a href="@Url.Action("Login", "Account", new { id = UrlParameter.Optional })">LOGIN</a>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
</div><!-- /.navbar-collapse -->
|
||||
</div><!-- /.container -->
|
||||
</nav>
|
||||
|
||||
<div class="condo-selection container-fluid">
|
||||
<h3 class="col-md-6 col-md-offset-3">@ViewBag.Title</h3>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<section>
|
||||
@if (Model.MsgId == 0)
|
||||
{
|
||||
<h2 class="col-md-12">Ocorreu um erro ao registar o seu pedido. Por favor contacte a Administração!</h2>
|
||||
@*TODO: Controlar por CSS*@
|
||||
<p class="col-md-12" style="height: 100px;"></p>
|
||||
@* ***** *@
|
||||
@Html.Partial("_ContactosAdminPartial", Model.DadosAdmin)
|
||||
}
|
||||
else if (Model.MsgId == (int)UserAccessRequest.RequestStatus.Ok || Model.MsgId == (int)UserAccessRequest.RequestStatus.OkAutomatico)
|
||||
{
|
||||
<h2 class="col-md-12">Registo efectuado com sucesso.</h2>
|
||||
<br />
|
||||
<h4 class="col-md-12">Receberá em breve um email para a caixa de correio indicada com os dados de acesso!</h4>
|
||||
}
|
||||
else if (Model.MsgId == (int)UserAccessRequest.RequestStatus.NoMorePlease)
|
||||
{
|
||||
<h2 class="col-md-12">Registo já existente no sistema.</h2>
|
||||
<br />
|
||||
<h4 class="col-md-12">
|
||||
Caso se tenha esquecido da password poderá recuperá-la através do sistema de
|
||||
@Html.ActionLink("recuperação de password!", "ForgotPassword", "Account", new { username = Model.FiscalNumber }, null)
|
||||
</h4>
|
||||
}
|
||||
else
|
||||
{
|
||||
<h2 class="col-md-12">Detetado conflito com registos da Denariu!</h2>
|
||||
<br />
|
||||
<h4 class="col-md-12">Registo sujeito a validação pela Administração.</h4>
|
||||
<br />
|
||||
<span class="col-md-12">Receberá em breve um contacto para confirmação de dados ou comunicação de resolução manual.</span>
|
||||
}
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@using GCI.PortalCondomino.Entities.Users
|
||||
@using GCI.PortalCondomino.Helpers
|
||||
|
||||
@model GCI.PortalCondomino.Models.UserAccessRequestModel
|
||||
@{
|
||||
ViewBag.Title = "Pedido de registo no site";
|
||||
Layout = "";
|
||||
}
|
||||
|
||||
<!doctype html>
|
||||
<html lang="pt">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Denariu - Área de cliente</title>
|
||||
<meta name="title" content="Denariu - Administração de Condomínios e Serviços, Lda.">
|
||||
<meta name="description" content="Área reservada a clientes Denariu.">
|
||||
<meta name="author" content="Denariu">
|
||||
|
||||
<meta name="robots" content="NOINDEX, NOFOLLOW">
|
||||
|
||||
<link href="~/Content/images/favicon.ico" rel="shortcut icon">
|
||||
|
||||
<!-- CSS STYLES AND FONTS -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Oswald:500|Source+Sans+Pro:300,400,700" rel="stylesheet" nonce="@Html.ScriptNonce()">
|
||||
<link href="~/Content/css/styles.min.css" rel="stylesheet" media="screen">
|
||||
|
||||
|
||||
<!-- FOR MOBILE DEVICES-->
|
||||
<meta name="viewport" content="width=device-width">
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js" integrity="sha256-9uAoNWHdszsUDhSXf/rVcWOqKPfi5/8V5R4UdbZle2A=" crossorigin="anonymous"></script>
|
||||
<![endif]-->
|
||||
|
||||
</head>
|
||||
<body class="backoffice">
|
||||
<nav id="main-menu" class="navbar navbar-default navbar-fixed-top">
|
||||
<div class="container">
|
||||
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header">
|
||||
<button aria-expanded="false" class="navbar-toggle collapsed" data-target="#bs-example-navbar-collapse-1" data-toggle="collapse" type="button"><span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></button>
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src=@Url.Content("~/Content/images/logotipo.png")>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
|
||||
<ul class="nav navbar-nav navbar-right oswald">
|
||||
<li>
|
||||
<a href="/#hero">Início</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#quem-somos">Quem Somos</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#servicos">Serviços</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#formulario">Orçamentos</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/#main-footer">Contactos</a>
|
||||
</li>
|
||||
@if (ViewBag.LoggedIn != null && ViewBag.LoggedIn == true)
|
||||
{
|
||||
<li>
|
||||
<a href="@Url.Action("LogOut", "Account", new { id = UrlParameter.Optional })">LOG OUT</a>
|
||||
</li>
|
||||
}
|
||||
else
|
||||
{
|
||||
<li class="active">
|
||||
<a href="@Url.Action("Login", "Account", new { id = UrlParameter.Optional })">LOGIN</a>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
</div><!-- /.navbar-collapse -->
|
||||
</div><!-- /.container -->
|
||||
</nav>
|
||||
|
||||
<div class="condo-selection container-fluid">
|
||||
<h3 class="col-md-6 col-md-offset-3">@ViewBag.Title</h3>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<section>
|
||||
@if (Model.MsgId == 0)
|
||||
{
|
||||
<h2 class="col-md-12">Ocorreu um erro ao registar o seu pedido. Por favor contacte a Administração!</h2>
|
||||
@*TODO: Controlar por CSS*@
|
||||
<p class="col-md-12" style="height: 100px;"></p>
|
||||
@* ***** *@
|
||||
@Html.Partial("_ContactosAdminPartial", Model.DadosAdmin)
|
||||
}
|
||||
else if (Model.MsgId == (int)UserAccessRequest.RequestStatus.Ok || Model.MsgId == (int)UserAccessRequest.RequestStatus.OkAutomatico)
|
||||
{
|
||||
<h2 class="col-md-12">Registo efectuado com sucesso.</h2>
|
||||
<br />
|
||||
<h4 class="col-md-12">Receberá em breve um email para a caixa de correio indicada com os dados de acesso!</h4>
|
||||
}
|
||||
else if (Model.MsgId == (int)UserAccessRequest.RequestStatus.NoMorePlease)
|
||||
{
|
||||
<h2 class="col-md-12">Registo já existente no sistema.</h2>
|
||||
<br />
|
||||
<h4 class="col-md-12">
|
||||
Caso se tenha esquecido da password poderá recuperá-la através do sistema de
|
||||
@Html.ActionLink("recuperação de password!", "ForgotPassword", "Account", new { username = Model.FiscalNumber }, null)
|
||||
</h4>
|
||||
}
|
||||
else
|
||||
{
|
||||
<h2 class="col-md-12">Detetado conflito com registos da Denariu!</h2>
|
||||
<br />
|
||||
<h4 class="col-md-12">Registo sujeito a validação pela Administração.</h4>
|
||||
<br />
|
||||
<span class="col-md-12">Receberá em breve um contacto para confirmação de dados ou comunicação de resolução manual.</span>
|
||||
}
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -1,43 +1,43 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
|
||||
<system.web.webPages.razor>
|
||||
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
<pages pageBaseType="System.Web.Mvc.WebViewPage">
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Mvc" />
|
||||
<add namespace="System.Web.Mvc.Ajax" />
|
||||
<add namespace="System.Web.Mvc.Html" />
|
||||
<add namespace="System.Web.Optimization"/>
|
||||
<add namespace="System.Web.Routing" />
|
||||
<add namespace="GCI.PortalCondomino" />
|
||||
</namespaces>
|
||||
</pages>
|
||||
</system.web.webPages.razor>
|
||||
|
||||
<appSettings>
|
||||
<add key="webpages:Enabled" value="false" />
|
||||
</appSettings>
|
||||
|
||||
<system.webServer>
|
||||
<handlers>
|
||||
<remove name="BlockViewHandler"/>
|
||||
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
|
||||
<system.web>
|
||||
<compilation>
|
||||
<assemblies>
|
||||
<add assembly="System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
</assemblies>
|
||||
</compilation>
|
||||
</system.web>
|
||||
</configuration>
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
|
||||
<system.web.webPages.razor>
|
||||
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
<pages pageBaseType="System.Web.Mvc.WebViewPage">
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Mvc" />
|
||||
<add namespace="System.Web.Mvc.Ajax" />
|
||||
<add namespace="System.Web.Mvc.Html" />
|
||||
<add namespace="System.Web.Optimization"/>
|
||||
<add namespace="System.Web.Routing" />
|
||||
<add namespace="GCI.PortalCondomino" />
|
||||
</namespaces>
|
||||
</pages>
|
||||
</system.web.webPages.razor>
|
||||
|
||||
<appSettings>
|
||||
<add key="webpages:Enabled" value="false" />
|
||||
</appSettings>
|
||||
|
||||
<system.webServer>
|
||||
<handlers>
|
||||
<remove name="BlockViewHandler"/>
|
||||
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
|
||||
<system.web>
|
||||
<compilation>
|
||||
<assemblies>
|
||||
<add assembly="System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
</assemblies>
|
||||
</compilation>
|
||||
</system.web>
|
||||
</configuration>
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
@{
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
@{
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue