* [DEV] UI tweaks
* [DEV] Alertify replacement. * [DEV] New dialog for help text. * [DEV] Removed unused files * [DEV] Classic theme deprecated
205
css/alertify.css
@@ -1,205 +0,0 @@
|
||||
.alertify-logs > * {
|
||||
padding: 12px 24px;
|
||||
color: #fff;
|
||||
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
.alertify-logs > *, .alertify-logs > *.default {
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
.alertify-logs > *.error {
|
||||
background: rgba(244, 67, 54, 0.8);
|
||||
}
|
||||
|
||||
.alertify-logs > *.success {
|
||||
background: rgba(76, 175, 80, 0.9);
|
||||
}
|
||||
|
||||
.alertify {
|
||||
position: fixed;
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
.alertify.hide {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.alertify, .alertify.show {
|
||||
box-sizing: border-box;
|
||||
-webkit-transition: all 0.33s cubic-bezier(0.25, 0.8, 0.25, 1);
|
||||
transition: all 0.33s cubic-bezier(0.25, 0.8, 0.25, 1);
|
||||
}
|
||||
|
||||
.alertify, .alertify * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.alertify .dialog {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.alertify .dialog, .alertify .alert {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
top: 50%;
|
||||
-webkit-transform: translateY(-50%);
|
||||
-ms-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.alertify .dialog > *, .alertify .alert > * {
|
||||
width: 400px;
|
||||
max-width: 95%;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
padding: 12px;
|
||||
background: #fff;
|
||||
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.14), 0 4px 5px 0 rgba(0, 0, 0, 0.098), 0 1px 10px 0 rgba(0, 0, 0, 0.084);
|
||||
}
|
||||
|
||||
.alertify .dialog .msg, .alertify .alert .msg {
|
||||
padding: 12px;
|
||||
margin-bottom: 12px;
|
||||
margin: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.alertify .dialog input:not(.form-control), .alertify .alert input:not(.form-control) {
|
||||
margin-bottom: 15px;
|
||||
width: 100%;
|
||||
font-size: 100%;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.alertify .dialog input:not(.form-control):focus, .alertify .alert input:not(.form-control):focus {
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
.alertify .dialog nav, .alertify .alert nav {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button), .alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button) {
|
||||
background: transparent;
|
||||
box-sizing: border-box;
|
||||
color: rgba(0, 0, 0, 0.87);
|
||||
position: relative;
|
||||
outline: 0;
|
||||
border: 0;
|
||||
display: inline-block;
|
||||
-webkit-box-align: center;
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
padding: 0 6px;
|
||||
margin: 6px 8px;
|
||||
line-height: 36px;
|
||||
min-height: 36px;
|
||||
white-space: nowrap;
|
||||
min-width: 88px;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover, .alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active, .alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover, .alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active {
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus, .alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus {
|
||||
border: 1px dashed rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.alertify-logs {
|
||||
position: fixed;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.alertify-logs.bottom, .alertify-logs:not(.top) {
|
||||
bottom: 16px;
|
||||
}
|
||||
|
||||
.alertify-logs.left, .alertify-logs:not(.right) {
|
||||
left: 16px;
|
||||
}
|
||||
|
||||
.alertify-logs.left > *, .alertify-logs:not(.right) > * {
|
||||
float: left;
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.alertify-logs.left > *.show, .alertify-logs:not(.right) > *.show {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.alertify-logs.left > *, .alertify-logs.left > *.hide, .alertify-logs:not(.right) > *, .alertify-logs:not(.right) > *.hide {
|
||||
left: -110%;
|
||||
}
|
||||
|
||||
.alertify-logs.right {
|
||||
right: 16px;
|
||||
}
|
||||
|
||||
.alertify-logs.right > * {
|
||||
float: right;
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
.alertify-logs.right > *.show {
|
||||
right: 0;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.alertify-logs.right > *, .alertify-logs.right > *.hide {
|
||||
right: -110%;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.alertify-logs.top {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.alertify-logs > * {
|
||||
box-sizing: border-box;
|
||||
-webkit-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
||||
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
|
||||
position: relative;
|
||||
clear: both;
|
||||
-webkit-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
-webkit-perspective: 1000;
|
||||
perspective: 1000;
|
||||
}
|
||||
|
||||
.alertify-logs > * {
|
||||
max-height: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.alertify-logs > *.show {
|
||||
margin-top: 12px;
|
||||
opacity: 1;
|
||||
max-height: 1000px;
|
||||
padding: 12px;
|
||||
}
|
||||
@@ -41,11 +41,11 @@ if (!$file) {
|
||||
->addFile('reset.min.css')
|
||||
->addFile('jquery-ui.min.css')
|
||||
->addFile('jquery-ui.structure.min.css')
|
||||
->addFile('alertify.min.css')
|
||||
->addFile('jquery.tagsinput.min.css')
|
||||
->addFile('jquery.fancybox.min.css')
|
||||
->addFile('fonts.min.css')
|
||||
->addFile('material-icons.min.css')
|
||||
->addFile('toastr.min.css')
|
||||
->getMinified();
|
||||
} elseif ($file && $base) {
|
||||
$base = Request::analyze('b');
|
||||
|
||||
228
css/toastr.css
Normal file
@@ -0,0 +1,228 @@
|
||||
.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);
|
||||
line-height: 1;
|
||||
}
|
||||
.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);
|
||||
}
|
||||
.rtl .toast-close-button {
|
||||
left: -0.3em;
|
||||
float: left;
|
||||
right: 0.3em;
|
||||
}
|
||||
/*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;
|
||||
pointer-events: none;
|
||||
/*overrides*/
|
||||
}
|
||||
#toast-container * {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
#toast-container > div {
|
||||
position: relative;
|
||||
pointer-events: auto;
|
||||
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 > div.rtl {
|
||||
direction: rtl;
|
||||
padding: 15px 50px 15px 15px;
|
||||
background-position: right 15px center;
|
||||
}
|
||||
#toast-container > div: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-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
#toast-container.toast-top-full-width > div,
|
||||
#toast-container.toast-bottom-full-width > div {
|
||||
width: 96%;
|
||||
margin-left: auto;
|
||||
margin-right: 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 > div.rtl {
|
||||
padding: 8px 50px 8px 8px;
|
||||
}
|
||||
#toast-container .toast-close-button {
|
||||
right: -0.2em;
|
||||
top: -0.2em;
|
||||
}
|
||||
#toast-container .rtl .toast-close-button {
|
||||
left: -0.2em;
|
||||
right: 0.2em;
|
||||
}
|
||||
}
|
||||
@media all and (min-width: 241px) and (max-width: 480px) {
|
||||
#toast-container > div {
|
||||
padding: 8px 8px 8px 50px;
|
||||
width: 18em;
|
||||
}
|
||||
#toast-container > div.rtl {
|
||||
padding: 8px 50px 8px 8px;
|
||||
}
|
||||
#toast-container .toast-close-button {
|
||||
right: -0.2em;
|
||||
top: -0.2em;
|
||||
}
|
||||
#toast-container .rtl .toast-close-button {
|
||||
left: -0.2em;
|
||||
right: 0.2em;
|
||||
}
|
||||
}
|
||||
@media all and (min-width: 481px) and (max-width: 768px) {
|
||||
#toast-container > div {
|
||||
padding: 15px 15px 15px 50px;
|
||||
width: 25em;
|
||||
}
|
||||
#toast-container > div.rtl {
|
||||
padding: 15px 50px 15px 15px;
|
||||
}
|
||||
}
|
||||
BIN
imgs/action.png
|
Before Width: | Height: | Size: 1.5 KiB |
BIN
imgs/add.png
|
Before Width: | Height: | Size: 1.8 KiB |
BIN
imgs/appmgmt.png
|
Before Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 596 B |
|
Before Width: | Height: | Size: 799 B |
|
Before Width: | Height: | Size: 816 B |
|
Before Width: | Height: | Size: 639 B |
|
Before Width: | Height: | Size: 641 B |
|
Before Width: | Height: | Size: 577 B |
BIN
imgs/attach.png
|
Before Width: | Height: | Size: 1.3 KiB |
BIN
imgs/back.png
|
Before Width: | Height: | Size: 23 KiB |
BIN
imgs/backup.png
|
Before Width: | Height: | Size: 1.7 KiB |
BIN
imgs/bar.png
|
Before Width: | Height: | Size: 173 B |
|
Before Width: | Height: | Size: 575 B |
|
Before Width: | Height: | Size: 1.2 KiB |
BIN
imgs/bg_h2.png
|
Before Width: | Height: | Size: 362 B |
|
Before Width: | Height: | Size: 343 B |
|
Before Width: | Height: | Size: 345 B |
|
Before Width: | Height: | Size: 353 B |
|
Before Width: | Height: | Size: 338 B |
|
Before Width: | Height: | Size: 441 B |
|
Before Width: | Height: | Size: 335 B |
|
Before Width: | Height: | Size: 363 B |
|
Before Width: | Height: | Size: 421 B |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 15 KiB |
BIN
imgs/check.png
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
BIN
imgs/clear.png
|
Before Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
BIN
imgs/clock.png
|
Before Width: | Height: | Size: 4.0 KiB |
BIN
imgs/config.png
|
Before Width: | Height: | Size: 3.9 KiB |
BIN
imgs/delete.png
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
BIN
imgs/edit.png
|
Before Width: | Height: | Size: 3.8 KiB |
BIN
imgs/exit.png
|
Before Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 5.9 KiB |
BIN
imgs/genpass.png
|
Before Width: | Height: | Size: 13 KiB |
BIN
imgs/h2_bg.png
|
Before Width: | Height: | Size: 292 B |
BIN
imgs/help.png
|
Before Width: | Height: | Size: 2.8 KiB |
BIN
imgs/info.png
|
Before Width: | Height: | Size: 423 B |
1758
imgs/info.svg
|
Before Width: | Height: | Size: 55 KiB |
BIN
imgs/key.png
|
Before Width: | Height: | Size: 1.6 KiB |
BIN
imgs/ldap.png
|
Before Width: | Height: | Size: 1.1 KiB |
BIN
imgs/loading.gif
|
Before Width: | Height: | Size: 2.5 KiB |
BIN
imgs/log.png
|
Before Width: | Height: | Size: 1.6 KiB |
BIN
imgs/login.png
|
Before Width: | Height: | Size: 1.4 KiB |
BIN
imgs/notes.png
|
Before Width: | Height: | Size: 1.4 KiB |
BIN
imgs/ok.png
|
Before Width: | Height: | Size: 653 B |
|
Before Width: | Height: | Size: 1.8 KiB |
BIN
imgs/refresh.png
|
Before Width: | Height: | Size: 4.9 KiB |
BIN
imgs/request.png
|
Before Width: | Height: | Size: 2.1 KiB |
BIN
imgs/restore.png
|
Before Width: | Height: | Size: 4.4 KiB |
BIN
imgs/save.png
|
Before Width: | Height: | Size: 2.7 KiB |
BIN
imgs/search.png
|
Before Width: | Height: | Size: 6.1 KiB |
BIN
imgs/show.png
|
Before Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
BIN
imgs/start.png
|
Before Width: | Height: | Size: 14 KiB |
BIN
imgs/update.png
|
Before Width: | Height: | Size: 5.8 KiB |
BIN
imgs/upload.png
|
Before Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 15 KiB |
BIN
imgs/users.png
|
Before Width: | Height: | Size: 3.9 KiB |
BIN
imgs/view.png
|
Before Width: | Height: | Size: 30 KiB |
BIN
imgs/warning.png
|
Before Width: | Height: | Size: 2.4 KiB |
BIN
imgs/wiki.png
|
Before Width: | Height: | Size: 4.3 KiB |
@@ -1,72 +0,0 @@
|
||||
<?php
|
||||
use SP\Util\Checks;
|
||||
/** @var $icons \Theme\Icons */
|
||||
?>
|
||||
|
||||
<div class="action">
|
||||
<?php if ($showDelete): ?>
|
||||
<button type="button" title="<?php echo _('Eliminar Cuenta'); ?>" class="button-action"
|
||||
OnClick="sysPassUtil.Common.delAccount(<?php echo $accountId; ?>,<?php echo \SP\Core\ActionsInterface::ACTION_ACC_DELETE; ?>,'<?php echo $sk; ?>');">
|
||||
<img src="<?php echo $icons->getIconDelete()->getIcon();?>" alt="save"/>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($showRestore): ?>
|
||||
<button type="submit" form="frmAccount" title="<?php echo _('Restaurar cuenta desde este punto'); ?>"
|
||||
class="button-action">
|
||||
<img src="<?php echo $icons->getIconRestore()->getIcon();?>" alt="save"/>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($showViewPass): ?>
|
||||
<button type="button" title="<?php echo _('Ver Clave'); ?>" class="button-action"
|
||||
onClick="sysPassUtil.Common.viewPass(<?php echo $accountId; ?>,1,<?php echo $accountIsHistory; ?>)">
|
||||
<img src="<?php echo $icons->getIconViewPass()->getIcon();?>" alt="save"/>
|
||||
</button>
|
||||
|
||||
<?php if (!Checks::accountPassToImageIsEnabled()): ?>
|
||||
<button type="button" title="<?php echo _('Copiar Clave en Portapapeles'); ?>"
|
||||
class="button-action clip-pass-button"
|
||||
data-account-id="<?php echo $accountId; ?>">
|
||||
<img src="<?php echo $icons->getIconClipboard()->getIcon();?>" alt="save"/>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($showEditPass): ?>
|
||||
<button type="button" title="<?php echo _('Modificar Clave de Cuenta'); ?>" class="button-action"
|
||||
OnClick="sysPassUtil.Common.doAction(<?php echo \SP\Core\ActionsInterface::ACTION_ACC_EDIT_PASS; ?>, <?php echo $actionId; ?>,<?php echo $accountId; ?>)">
|
||||
<img src="<?php echo $icons->getIconEditPass()->getIcon();?>" alt="save"/>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($gotData && $accountIsHistory): ?>
|
||||
<button type="button" title="<?php echo _('Ver Actual'); ?>" class="button-action"
|
||||
OnClick="sysPassUtil.Common.doAction(<?php echo \SP\Core\ActionsInterface::ACTION_ACC_VIEW; ?>,<?php echo \SP\Core\ActionsInterface::ACTION_ACC_SEARCH; ?>,<?php echo $accountParentId; ?>)">
|
||||
<img src="<?php echo $icons->getIconBack()->getIcon();?>" alt="save"/>
|
||||
</button>
|
||||
<?php else: ?>
|
||||
<button type="button" title="<?php echo _('Volver'); ?>" class="button-action"
|
||||
OnClick="sysPassUtil.Common.doAction(<?php echo $lastAction; ?>, <?php echo $actionId; ?>,<?php echo $accountParentId; ?>)">
|
||||
<img src="<?php echo $icons->getIconBack()->getIcon();?>" alt="save"/>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($showEdit): ?>
|
||||
<button type="button" title="<?php echo _('Modificar Cuenta'); ?>" class="button-action"
|
||||
OnClick="sysPassUtil.Common.doAction(<?php echo \SP\Core\ActionsInterface::ACTION_ACC_EDIT; ?>,<?php echo \SP\Core\ActionsInterface::ACTION_ACC_VIEW; ?>,<?php echo $accountId; ?>)">
|
||||
<img src="<?php echo $icons->getIconEdit()->getIcon();?>" alt="save"/>
|
||||
</button>
|
||||
<?php elseif (!$showEdit && $actionId == \SP\Core\ActionsInterface::ACTION_ACC_VIEW && Checks::mailrequestIsEnabled()): ?>
|
||||
<button type="button" title="<?php echo _('Solicitar Modificación'); ?>" class="button-action"
|
||||
OnClick="sysPassUtil.Common.doAction(<?php echo \SP\Core\ActionsInterface::ACTION_ACC_REQUEST; ?>,<?php echo \SP\Core\ActionsInterface::ACTION_ACC_VIEW; ?>,<?php echo $accountId; ?>)">
|
||||
<img src="<?php echo $icons->getIconEmail()->getIcon();?>" alt="save"/>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($showSave): ?>
|
||||
<button type="submit" form="frmAccount" title="<?php echo $icons->getIconSave()->getTitle();?>" class="button-action">
|
||||
<img src="<?php echo $icons->getIconSave()->getIcon();?>" alt="save"/>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
@@ -1,67 +0,0 @@
|
||||
<table class="data round extra-info">
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Visitas'); ?></td>
|
||||
<td class="valField"><?php echo $accountData->account_countView . "(" . $accountData->account_countDecrypt . ")"; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Fecha Alta'); ?></td>
|
||||
<td class="valField"><?php echo $accountData->account_dateAdd ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Creador'); ?></td>
|
||||
<td class="valField"><?php echo ($accountData->user_name) ? $accountData->user_name : $accountData->user_login; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Grupo Principal'); ?></td>
|
||||
<td class="valField"><?php echo $accountData->usergroup_name; ?></td>
|
||||
</tr>
|
||||
<?php if (is_array($accountOtherUsers) && count($accountOtherUsers) > 0): ?>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Usuarios Secundarios'); ?></td>
|
||||
<td class="valField">
|
||||
<?php
|
||||
foreach ($accountOtherUsersName as $userId => $userName) {
|
||||
if ($userId != $accountData->account_userId) {
|
||||
if (in_array($userId, $accountOtherUsers)) {
|
||||
$accUsers[] = $userName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$usersEdit = ($accountData->account_otherUserEdit) ? '(+)' : '';
|
||||
echo $usersEdit . ' ' . implode(" | ", $accUsers);
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php if (is_array($accountOtherGroups) && count($accountOtherGroups) > 0): ?>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Grupos Secundarios'); ?></td>
|
||||
<td class="valField">
|
||||
<?php
|
||||
foreach ($accountOtherGroupsName as $groupId => $groupName) {
|
||||
if ($groupId != $accountData->account_userGroupId) {
|
||||
if (in_array($groupId, $accountOtherGroups)) {
|
||||
$accGroups[] = $groupName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$groupsEdit = ($accountData->account_otherGroupEdit) ? '(+)' : '';
|
||||
|
||||
echo $groupsEdit . ' ' . implode(" | ", $accGroups);
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php if ($isModified): ?>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Fecha Edición'); ?></td>
|
||||
<td class="valField"><?php echo $accountData->account_dateEdit; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Editor'); ?></td>
|
||||
<td class="valField"><?php echo ($accountData->user_editName) ? $accountData->user_editName : $accountData->user_editLogin; ?></td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
@@ -1,58 +0,0 @@
|
||||
<div id="title" class="midroundup <?php use SP\Core\Acl;
|
||||
|
||||
echo $title['class']; ?>"><?php echo $title['name']; ?></div>
|
||||
|
||||
<form method="post" name="editpass" id="frmEditPass" onsubmit="sysPassUtil.Common.saveAccount('frmEditPass'); return false;">
|
||||
<table class="data round">
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Nombre'); ?></td>
|
||||
<td class="valField"><?php echo $accountData->account_name; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Cliente'); ?></td>
|
||||
<td class="valField"><?php echo $accountData->customer_name; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('URL / IP'); ?></td>
|
||||
<td class="valField"><A href="<?php echo $accountData->account_url; ?>"
|
||||
target="_blank"><?php echo $accountData->account_url; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Usuario'); ?></td>
|
||||
<td class="valField"><?php echo $accountData->account_login; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Clave'); ?></td>
|
||||
<td class="valField">
|
||||
<input type="password" maxlength="255" id="accountpass" name="pass" class="password passwordfield__input" autocomplete="off">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Clave (repetir)'); ?></td>
|
||||
<td class="valField"><input type="password" class="password" maxlength="255" id="accountpassR" name="passR" autocomplete="off">
|
||||
<span class="passLevel fullround" title="<?php echo _('Nivel de fortaleza de la clave'); ?>"></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="actionId" value="<?php echo $actionId; ?>"/>
|
||||
<input type="hidden" name="accountid" value="<?php echo $accountId; ?>"/>
|
||||
<input type="hidden" name="next" value="<?php echo $nextaction; ?>">
|
||||
<input type="hidden" name="sk" value="<?php echo $sk; ?>">
|
||||
<input type="hidden" name="isAjax" value="1">
|
||||
</form>
|
||||
|
||||
<div class="action">
|
||||
<button type="button" title="<?php echo _('Volver'); ?>" class="button-action"
|
||||
OnClick="sysPassUtil.Common.doAction(<?php echo $lastAction; ?>, <?php echo \SP\Core\ActionsInterface::ACTION_ACC_SEARCH; ?>,<?php echo $accountId; ?>)">
|
||||
<img src="<?php \SP\Core\Init::$WEBURI; ?>imgs/back.png" alt="save" />
|
||||
</button>
|
||||
|
||||
<button type="submit" form="frmEditPass" title="<?php echo _('Guardar'); ?>" class="button-action">
|
||||
<img src="<?php \SP\Core\Init::$WEBURI; ?>imgs/check.png" alt="save" />
|
||||
</button>
|
||||
</div>
|
||||
<script>
|
||||
$(function(){
|
||||
$('input:password:visible:first').focus();
|
||||
});
|
||||
</script>
|
||||
@@ -1,37 +0,0 @@
|
||||
<table class="data round extra-info">
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Archivos'); ?></td>
|
||||
<td class="valField">
|
||||
<div id="downFiles"></div>
|
||||
<?php if ($accountIsHistory): ?>
|
||||
<script>sysPassUtil.Common.getFiles(<?php echo $accountParentId; ?>, <?php echo intval($showDelete); ?>, '<?php echo $sk; ?>');</script>
|
||||
<?php else: ?>
|
||||
<script>sysPassUtil.Common.getFiles(<?php echo $accountId; ?>, <?php echo intval($showDelete); ?>, '<?php echo $sk; ?>'); </script>
|
||||
<?php if ($actionId == \SP\Core\ActionsInterface::ACTION_ACC_EDIT): ?>
|
||||
<div id="dropzone" class="round active-tooltip"
|
||||
data-files-ext="<?php echo $filesAllowedExts; ?>"
|
||||
title="<?php echo _('Soltar archivos aquí (max. 5) o click para seleccionar') . '<br><br>' . _('Tamaño máximo de archivo') . ' ' . $maxFileSize . ' MB'; ?>">
|
||||
<img src="imgs/upload.png" alt="upload" class="opacity50"/>
|
||||
</div>
|
||||
<form method="post" enctype="multipart/form-data" name="upload_form" id="fileUploadForm">
|
||||
<input type="file" id="inFile" multiple name="inFile"/>
|
||||
</form>
|
||||
<script>
|
||||
var upload = sysPassUtil.Common.fileUpload({
|
||||
targetId: 'dropzone',
|
||||
url: '/ajax/ajax_files.php'
|
||||
});
|
||||
upload.setRequestData({
|
||||
accountId: <?php echo $accountId; ?>,
|
||||
sk: '<?php echo $sk; ?>',
|
||||
actionId: <?php echo \SP\Core\ActionsInterface::ACTION_ACC_FILES_UPLOAD; ?>
|
||||
});
|
||||
upload.setRequestDoneAction(function () {
|
||||
sysPassUtil.Common.getFiles(<?php echo $accountId; ?>, <?php echo intval($showDelete); ?>, '<?php echo $sk; ?>');
|
||||
});
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -1,45 +0,0 @@
|
||||
<div id="title" class="midroundup titleNormal"><?php echo _('Solicitar Modificación de Cuenta'); ?></div>
|
||||
|
||||
<form method="post" name="requestmodify" id="frmRequestModify" class="form-action" data-onsubmit="account/request">
|
||||
<table class="data round">
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Nombre'); ?></td>
|
||||
<td class="valField"><?php echo $accountData->account_name; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Cliente'); ?></td>
|
||||
<td class="valField"><?php echo $accountData->customer_name; ?></td>
|
||||
</tr>
|
||||
<?php if ($lastAction == \SP\Core\ActionsInterface::ACTION_ACC_SEARCH): ?>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('URL / IP'); ?></td>
|
||||
<td class="valField"><A href="<?php echo $accountData->account_url; ?>"
|
||||
target="_blank"><?php echo $accountData->account_url; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Usuario'); ?></td>
|
||||
<td class="valField"><?php echo $accountData->account_login; ?></td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Petición'); ?></td>
|
||||
<td class="valField">
|
||||
<textarea name="description" cols="30" rows="5"
|
||||
placeholder="<?php echo _('Descripción de la petición'); ?>" maxlength="1000"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="accountid" value="<?php echo $accountId; ?>"/>
|
||||
<input type="hidden" name="sk" value="<?php echo $sk; ?>">
|
||||
<input type="hidden" name="isAjax" value="1">
|
||||
</form>
|
||||
<div class="action">
|
||||
<button type="button" title="<?php echo $icons->getIconBack()->getTitle(); ?>" class="button-action"
|
||||
OnClick="sysPassUtil.Common.doAction('<?php echo $lastAction; ?>', <?php echo \SP\Core\ActionsInterface::ACTION_ACC_SEARCH; ?>)">
|
||||
<img src="<?php echo $icons->getIconBack()->getIcon(); ?>" alt="save"/>
|
||||
</button>
|
||||
|
||||
<button type="submit" form="frmUpdUsrPass" title="<?php echo _('Enviar'); ?>" class="button-action">
|
||||
<img src="<?php echo $icons->getIconSave()->getIcon(); ?>" alt="save"/>
|
||||
</button>
|
||||
</div>
|
||||
@@ -1,299 +0,0 @@
|
||||
<div id="title" class="midroundup <?php echo $title['class']; ?>"><?php echo $title['name']; ?></div>
|
||||
<?php if (!$isView): ?>
|
||||
<form method="post" name="frmaccount" id="frmAccount"
|
||||
onsubmit="sysPassUtil.Common.saveAccount('frmAccount'); return false;">
|
||||
<input type="hidden" name="hash" value="<?php echo $changesHash; ?>">
|
||||
<input type="hidden" name="next" value="<?php echo $nextaction; ?>">
|
||||
<input type="hidden" name="actionId" value="<?php echo $actionId; ?>">
|
||||
<?php if ($gotData): ?>
|
||||
<input type="hidden" name="accountid" value="<?php echo $accountId; ?>"/>
|
||||
<?php endif; ?>
|
||||
<input type="hidden" name="sk" value="<?php echo $sk; ?>">
|
||||
<input type="hidden" name="isAjax" value="1">
|
||||
<?php endif; ?>
|
||||
|
||||
<table class="data round <?php echo ($gotData && $accountIsHistory) ? 'tblIcon' : ''; ?>">
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Nombre'); ?></td>
|
||||
<td class="valField">
|
||||
<?php if (!$isView): ?>
|
||||
<input name="name" type="text" placeholder="<?php echo _('Nombre de cuenta'); ?>" required
|
||||
maxlength="50"
|
||||
value="<?php echo ($gotData) ? $accountData->account_name : ''; ?>">
|
||||
<?php else: ?>
|
||||
<?php echo $accountData->account_name; ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Cliente'); ?></td>
|
||||
<td class="valField">
|
||||
<?php if (!$isView): ?>
|
||||
<select id="selCustomer" name="customerId" class="select-box sel-chosen-customer" required>
|
||||
<option value=""></option>
|
||||
<?php foreach ($customers as $id => $name): ?>
|
||||
<option
|
||||
value="<?php echo $id; ?>" <?php echo ($gotData && $id == $accountData->account_customerId) ? 'selected' : ''; ?>><?php echo $name; ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<br><br>
|
||||
<input type="text" name="customer_new" maxlength="50"
|
||||
placeholder="<?php echo _('Buscar en desplegable o introducir'); ?>"/>
|
||||
<?php else: ?>
|
||||
<?php echo $accountData->customer_name; ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Categoría'); ?></td>
|
||||
<td class="valField">
|
||||
<?php if (!$isView): ?>
|
||||
<select id="selCategory" name="categoryId" class="select-box sel-chosen-category" required>
|
||||
<option value=""></option>
|
||||
<?php foreach ($categories as $id => $name): ?>
|
||||
<option
|
||||
value="<?php echo $id; ?>" <?php echo ($gotData && $id == $accountData->account_categoryId) ? 'selected' : ''; ?>><?php echo $name; ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<?php if (\SP\Core\Acl::checkUserAccess(\SP\Core\ActionsInterface::ACTION_MGM_CATEGORIES)): ?>
|
||||
<i class="material-icons" title="<?php echo _('Nueva Categoría'); ?>"
|
||||
onclick="sysPassUtil.Common.doAction(<?php echo \SP\Core\ActionsInterface::ACTION_MGM; ?>,<?php echo $actionId; ?>, 0)">add</i>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<?php echo $accountData->category_name; ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('URL / IP'); ?></td>
|
||||
<td class="valField">
|
||||
<?php if (!$isView): ?>
|
||||
<input name="url" type="text" placeholder="<?php echo _('URL o IP de acceso'); ?>"
|
||||
maxlength="255"
|
||||
value="<?php echo ($gotData) ? $accountData->account_url : ''; ?>">
|
||||
<?php else: ?>
|
||||
<?php echo $accountData->account_url; ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Usuario'); ?></td>
|
||||
<td class="valField">
|
||||
<?php if (!$isView): ?>
|
||||
<input name="login" type="text" placeholder="<?php echo _('Usuario de acceso'); ?>"
|
||||
maxlength="50"
|
||||
value="<?php echo ($gotData) ? $accountData->account_login : ''; ?>">
|
||||
<?php else: ?>
|
||||
<?php echo $accountData->account_login; ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ($showPass): ?>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Clave'); ?></td>
|
||||
<td class="valField">
|
||||
<input name="pass" type="password" id="pass" class="password passwordfield__input"
|
||||
maxlength="255"
|
||||
OnKeyUp="checkPassLevel(this.value)" autocomplete="off">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Clave (repetir)'); ?></td>
|
||||
<td class="valField">
|
||||
<input name="passR" type="password" id="passR" class="password" maxlength="255"
|
||||
autocomplete="off">
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Notas'); ?></td>
|
||||
<td class="valField">
|
||||
<textarea name="notice" cols="30" rows="5" placeholder="<?php echo _('Notas sobre la cuenta'); ?>"
|
||||
maxlength="1000" <?php echo ($isView) ? 'READONLY' : ''; ?> ><?php echo ($gotData) ? $accountData->account_notes : ''; ?></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if (!$isView): ?>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Permisos'); ?></td>
|
||||
<td class="valField">
|
||||
<div class="account-permissions">
|
||||
<fieldset class="round5">
|
||||
<legend><?php echo _('Usuarios'); ?></legend>
|
||||
<select id="selUsers" name="otherusers[]" multiple="multiple">
|
||||
<?php
|
||||
$users = array_flip($otherUsers);
|
||||
|
||||
foreach ($users as $otherUserName => $otherUserId) {
|
||||
$userSelected = '';
|
||||
|
||||
if ($gotData && $otherUserId != $accountData->account_userId) {
|
||||
if (is_array($accountOtherUsers)) {
|
||||
$userSelected = (in_array($otherUserId, $accountOtherUsers)) ? "selected" : "";
|
||||
}
|
||||
echo "<option value='" . $otherUserId . "' $userSelected>" . $otherUserName . "</option>";
|
||||
} else {
|
||||
if ($userId === $otherUserId) {
|
||||
continue;
|
||||
}
|
||||
echo "<option value='" . $otherUserId . "' $userSelected>" . $otherUserName . "</option>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<br><br>
|
||||
<span><?php echo _('Hablitar edición'); ?></span>
|
||||
<label for="ueditenabled"><?php echo ($chkUserEdit) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="ueditenabled" id="ueditenabled"
|
||||
class="checkbox" <?php echo $chkUserEdit; ?> />
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="account-permissions">
|
||||
<fieldset class="round5">
|
||||
<legend><?php echo _('Grupos'); ?></legend>
|
||||
<select id="selGroups" name="othergroups[]" multiple="multiple">
|
||||
<?php
|
||||
$groups = array_flip($otherGroups);
|
||||
|
||||
foreach ($groups as $otherGroupName => $otherGroupId) {
|
||||
$uGroupSelected = '';
|
||||
|
||||
if ($gotData && $otherGroupId != $accountData->account_userGroupId) {
|
||||
if (is_array($accountOtherGroups)) {
|
||||
$uGroupSelected = (in_array($otherGroupId, $accountOtherGroups)) ? "selected" : "";
|
||||
}
|
||||
echo "<option value='" . $otherGroupId . "' $uGroupSelected>" . $otherGroupName . "</option>";
|
||||
} else {
|
||||
if ($userGroupId === $otherGroupId) {
|
||||
continue;
|
||||
}
|
||||
echo "<option value='" . $otherGroupId . "' $uGroupSelected>" . $otherGroupName . "</option>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<br><br>
|
||||
<span><?php echo _('Hablitar edición'); ?></span>
|
||||
<label for="geditenabled"><?php echo ($chkGroupEdit) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="geditenabled" id="geditenabled"
|
||||
class="checkbox" <?php echo $chkGroupEdit; ?> />
|
||||
</fieldset>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php if ($userIsAdminApp || $userIsAdminAcc): ?>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Grupo Principal'); ?></td>
|
||||
<td class="valField">
|
||||
<select id="selMainGroupId" name="mainGroupId" class="select-box sel-chosen-usergroup" required>
|
||||
<option value="0"></option>
|
||||
<?php foreach ($otherGroups as $id => $name): ?>
|
||||
<option
|
||||
value="<?php echo $id; ?>" <?php echo ($gotData && $id == $accountData->account_userGroupId) ? 'selected' : ''; ?>><?php echo $name; ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($showHistory && is_array($historyData) && count($historyData) > 0): ?>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Historial'); ?></td>
|
||||
<td class="valField">
|
||||
<select id="selHistory" name="historyId" class="select-box">
|
||||
<option value="0"></option>
|
||||
<?php foreach ($historyData as $id => $name): ?>
|
||||
<option
|
||||
value="<?php echo $id; ?>" <?php echo ($gotData && $accountIsHistory && $id === $accountId) ? 'selected' : ''; ?>><?php echo $name; ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<script>
|
||||
$('#selHistory').on('change', function (e) {
|
||||
var historyId = $('#selHistory').val();
|
||||
|
||||
if (historyId > 0) {
|
||||
sysPassUtil.Common.doAction(<?php echo \SP\Core\ActionsInterface::ACTION_ACC_VIEW_HISTORY; ?>, <?php echo \SP\Core\ActionsInterface::ACTION_ACC_VIEW; ?>, historyId);
|
||||
}
|
||||
});
|
||||
|
||||
$('#selHistory').chosen({
|
||||
disable_search: true,
|
||||
placeholder_text_single: "<?php echo _('Seleccionar fecha'); ?>"
|
||||
});
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($actionId == \SP\Core\ActionsInterface::ACTION_ACC_EDIT && $accountData->user_editName): ?>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Última Modificación'); ?></td>
|
||||
<?php if ($accountData->user_editName): ?>
|
||||
<td class="valField"><?php echo $accountData->account_dateEdit, ' ', _('por'), ' ', $accountData->user_editName; ?></td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
|
||||
</table>
|
||||
|
||||
<?php if ($customFields): ?>
|
||||
<table class="data round extra-info">
|
||||
<?php include 'aux-customfields.inc'; ?>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!$isView): ?>
|
||||
</form>
|
||||
<?php endif; ?>
|
||||
|
||||
<!--Files boxes-->
|
||||
<?php if ($showFiles): include 'account-files.inc'; endif; ?>
|
||||
|
||||
<!--More info about account details-->
|
||||
<?php if ($showDetails): include 'account-details.inc'; endif; ?>
|
||||
|
||||
<?php if ($gotData && $accountIsHistory): ?>
|
||||
<form method="post" name="frmAccount" id="frmAccount"
|
||||
onsubmit="sysPassUtil.Common.saveAccount('frmAccount'); return false;">
|
||||
<input type="hidden" name="hash" value="<?php echo $changesHash; ?>">
|
||||
<input type="hidden" name="actionId"
|
||||
value="<?php echo \SP\Core\ActionsInterface::ACTION_ACC_EDIT_RESTORE; ?>">
|
||||
<input type="hidden" name="accountid" value="<?php echo $accountId; ?>"/>
|
||||
<input type="hidden" name="sk" value="<?php echo $sk; ?>">
|
||||
<input type="hidden" name="isAjax" value="1">
|
||||
</form>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php include 'account-actions.inc'; ?>
|
||||
|
||||
<?php if (!$isView): ?>
|
||||
<script>
|
||||
$(function () {
|
||||
$("#selGroups").chosen({
|
||||
placeholder_text_multiple: "<?php echo _('Seleccionar grupos secundarios'); ?>"
|
||||
});
|
||||
|
||||
$("#selUsers").chosen({
|
||||
placeholder_text_multiple: "<?php echo _('Seleccionar usuarios'); ?>"
|
||||
});
|
||||
|
||||
$('input:text:visible:first').focus();
|
||||
|
||||
$('.checkbox').button().click(
|
||||
function () {
|
||||
if ($(this).attr('checked') == undefined) {
|
||||
$(this).button('option', 'label', '<?php echo _('NO'); ?>');
|
||||
} else {
|
||||
$(this).button('option', 'label', '<?php echo _('SI'); ?>');
|
||||
}
|
||||
}
|
||||
);
|
||||
});
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($showViewPass): ?>
|
||||
<div id="clip-pass-text" style="visibility: hidden"></div>
|
||||
<?php endif; ?>
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
|
||||
use SP\Mgmt\CustomFields\CustomFieldTypes;
|
||||
|
||||
/** @var $icons \Theme\Icons */
|
||||
/** @var \SP\DataModel\CustomFieldData $field */
|
||||
|
||||
foreach ($customFields as $index => $field):
|
||||
?>
|
||||
<?php if ($index !== 'hash'): ?>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo $field->getDefinition()->getName(); ?>
|
||||
<?php if ($field->getDefinition()->getHelp()): ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip"/>
|
||||
<div class="tooltip" for="help-<?php echo $field->getDefinition()->getFormId(); ?>" style="display: none;">
|
||||
<p><?php echo $field->getDefinition()->getHelp(); ?></p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<?php if (!$isView): ?>
|
||||
<input id="<?php echo $field->getDefinition()->getName(); ?>"
|
||||
name="customfield[<?php echo $field->getDefinitionId(); ?>]"
|
||||
type="<?php echo $field->getTypeName(); ?>"
|
||||
class="<?php echo ($field->getDefinition()->getType() === CustomFieldTypes::TYPE_PASSWORD) ? 'passwordfield__input-show passwordfield__no-pki' : ''; ?>"
|
||||
maxlength="500"
|
||||
value="<?php echo $field->getCleanValue(); ?>"
|
||||
<?php echo ($field->getDefinition()->isRequired()) ? 'required' : ''; ?>>
|
||||
<?php else: ?>
|
||||
<?php if ($field->getDefinition()->getType() === CustomFieldTypes::TYPE_PASSWORD && !$showViewPass): ?>
|
||||
****
|
||||
<?php else: ?>
|
||||
<?php echo $field->getValue(); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
@@ -1,143 +0,0 @@
|
||||
<?php /** @var $icons \Theme\Icons */ ?>
|
||||
|
||||
<!-- Start Tab - Backup -->
|
||||
<div id="tabs-<?php echo $backup_tabIndex; ?>">
|
||||
<div id="title" class="midroundup titleNormal">
|
||||
<?php echo _('Copia de Seguridad'); ?>
|
||||
</div>
|
||||
|
||||
<table class="data round">
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Resultado'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<?php echo $lastBackupTime; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Descargar Actual'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<?php if (file_exists($backupFile['absolute']) && file_exists($backupDbFile['absolute'])): ?>
|
||||
<a href="<?php echo $backupDbFile['relative']; ?>"
|
||||
download="<?php echo $backupDbFile['filename']; ?>" class="download">
|
||||
Backup BBDD
|
||||
</a>
|
||||
|
||||
<a href="<?php echo $backupFile['relative']; ?>"
|
||||
download="<?php echo $backupFile['filename']; ?>" class="download">
|
||||
Backup <?php echo $siteName; ?>
|
||||
</a>
|
||||
<?php else: echo _('No hay backups para descargar'); ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<form method="post" name="frmBackup" id="frmBackup" onsubmit="sysPassUtil.Common.configMgmt('export', this); return false;">
|
||||
<input type="hidden" name="activeTab" value="<?php echo $backup_tabIndex; ?>"/>
|
||||
<input type="hidden" name="isAjax" value="1"/>
|
||||
<input type="hidden" name="actionId" value="<?php echo \SP\Core\ActionsInterface::ACTION_CFG_BACKUP; ?>"/>
|
||||
<input type="hidden" name="sk" value="<?php echo $sk; ?>">
|
||||
</form>
|
||||
|
||||
<div class="action">
|
||||
<button id="help_backup_button" type="button" title="<?php echo _('Ayuda'); ?>"
|
||||
class="button-action">
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" alt="save"/>
|
||||
</button>
|
||||
<div id="help_backup" class="help-box" title="<?php echo _('Ayuda'); ?>">
|
||||
<p class="help-text"><?php echo _('La copia de seguridad permite guardar y descargar tanto la base de datos de sysPass como los archivos de la aplicación y su configuración.'); ?></p>
|
||||
|
||||
<p class="help-text"><?php echo _('Con este método es posible guardar todos los datos de sysPass en otro lugar o utilizarlos para hacer la aplicación portable.'); ?></p>
|
||||
</div>
|
||||
<button type="submit" form="frmBackup" title="<?php echo _('Realizar Backup'); ?>" class="button-action">
|
||||
<img src="<?php echo $icons->getIconPlay()->getIcon(); ?>" alt="save"/>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div id="title" class="midroundup titleNormal">
|
||||
<?php echo _('Exportar Cuentas'); ?>
|
||||
</div>
|
||||
|
||||
<form method="post" name="frmExport" id="frmExport" onsubmit="sysPassUtil.Common.configMgmt('export', this); return false;">
|
||||
<table class="data round">
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Resultado'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<?php echo $lastExportTime; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Descargar Actual'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<?php if (file_exists($exportFile['absolute'])): ?>
|
||||
<a href="<?php echo $exportFile['relative']; ?>"
|
||||
download="<?php echo $exportFile['filename']; ?>"
|
||||
class="download">
|
||||
XML <?php echo $siteName; ?></>
|
||||
</a>
|
||||
<?php else: echo _('No hay archivos XML para descargar'); ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Clave de Exportación'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="password" id="exportPwd" name="exportPwd" class="passwordfield__input" maxlength="255">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Clave de Exportación (repetir)'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="password" id="exportPwdR" name="exportPwdR" maxlength="255">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<input type="hidden" name="activeTab" value="<?php echo $backup_tabIndex; ?>"/>
|
||||
<input type="hidden" name="isAjax" value="1"/>
|
||||
<input type="hidden" name="actionId" value="<?php echo \SP\Core\ActionsInterface::ACTION_CFG_EXPORT; ?>"/>
|
||||
<input type="hidden" name="sk" value="<?php echo $sk; ?>">
|
||||
</form>
|
||||
|
||||
<div class="action">
|
||||
<button id="help_export_button" type="button" title="<?php echo _('Ayuda'); ?>"
|
||||
class="button-action">
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" alt="save"/>
|
||||
</button>
|
||||
<div id="help_export" class="help-box" title="<?php echo _('Ayuda'); ?>">
|
||||
<p class="help-text"><?php echo _('La exportación de cuentas permite guardar las cuentas y sus datos en formato XML para posteriormente poder ser importados en otras instancias de sysPass.'); ?></p>
|
||||
|
||||
<p class="help-text"><?php echo _('Los elementos exportados son cuentas, clientes y categorías.'); ?></p>
|
||||
|
||||
<p class="help-text"><?php echo _('Las claves de las cuentas son exportadas de forma encriptada para mayor seguridad.'); ?></p>
|
||||
|
||||
<p class="help-text"><?php echo _('Es posible establecer una clave de exportación para guardar todos los datos encriptados en el archivo XML.'); ?></p>
|
||||
</div>
|
||||
<button type="submit" form="frmExport" title="<?php echo _('Exportar Cuentas'); ?>" class="button-action">
|
||||
<img src="<?php echo $icons->getIconPlay()->getIcon(); ?>" alt="save"/>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
$("#help_backup_button").click(function () {
|
||||
$("#help_backup").dialog("open");
|
||||
});
|
||||
$("#help_export_button").click(function () {
|
||||
$("#help_export").dialog("open");
|
||||
});
|
||||
})
|
||||
</script>
|
||||
</div> <!-- End Tab - Backup -->
|
||||
@@ -1,7 +0,0 @@
|
||||
<script type="text/javascript" src="<?php echo $jsLink; ?>"></script>
|
||||
<?php if (isset($jsLinkTheme)): ?>
|
||||
<script type="text/javascript" src="<?php echo $jsLinkTheme; ?>"></script>
|
||||
<?php endif; ?>
|
||||
</body> <!-- Close BODY...almost done..go..go..go -->
|
||||
</html> <!-- Close HTML...ufff too much work!! :)) -->
|
||||
<!-- Insert coin . . . -->
|
||||
@@ -1,6 +0,0 @@
|
||||
<body onload="<?php echo isset($onLoad) ? $onLoad : ''; ?>">
|
||||
<div id="wrap">
|
||||
<noscript>
|
||||
<div id="nojs"><?php echo _('Javascript es necesario para el correcto funcionamiento'); ?></div>
|
||||
</noscript>
|
||||
<div id="container" class="<?php echo $page; ?>">
|
||||
@@ -1,42 +0,0 @@
|
||||
<div id="fancyContainer" align="center">
|
||||
<h2 class="midround"><?php echo $header; ?></H2>
|
||||
|
||||
<form method="post" name="frmCategories" id="frmCategories" onsubmit="sysPassUtil.Common.appMgmtSave('frmCategories'); return false;">
|
||||
<table class="fancydata">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Nombre'); ?></td>
|
||||
<td class="valField">
|
||||
<input type="text" id="grpname" name="name" title="<?php echo _('Nombre de la categoría'); ?>"
|
||||
value="<?php echo $category["category_name"] ?>"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Descripción'); ?></td>
|
||||
<td class="valField"><input type="text" id="grpdesc" name="description"
|
||||
title="<?php echo _('Descripción de la categoría'); ?>"
|
||||
value="<?php echo $category["category_description"]; ?>"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php if ($customFields): ?>
|
||||
<?php include 'aux-customfields.inc'; ?>
|
||||
<?php endif; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<input type="hidden" name="activeTab" value="<?php echo $activeTab ?>"/>
|
||||
<input type="hidden" name="onCloseAction" value="<?php echo $onCloseAction ?>"/>
|
||||
<input type="hidden" name="itemId" value="<?php echo $category["category_id"]; ?>"/>
|
||||
<input type="hidden" name="actionId" value="<?php echo $actionId; ?>"/>
|
||||
<input type="hidden" name="sk" value="<?php echo $sk; ?>">
|
||||
<input type="hidden" name="isAjax" value="1">
|
||||
</form>
|
||||
<div id="resCheck"><span id="resFancyAccion"></span></div>
|
||||
<div class="action-in-box">
|
||||
<button type="submit" form="frmCategories" title="<<?php echo $icons->getIconSave()->getTitle(); ?>" class="button-action">
|
||||
<img src="<?php echo $icons->getIconSave()->getIcon(); ?>" alt="save"/>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,61 +0,0 @@
|
||||
<div id="title" class="midroundup titleNormal">
|
||||
<?php echo _('Eventos'); ?>
|
||||
</div>
|
||||
|
||||
<table id="tblEvents" class="data tblConfig round">
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Habilitar log de eventos'); ?>
|
||||
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-eventlog" style="display: none;">
|
||||
<p>
|
||||
<?php echo _('Guarda las acciones realizadas en la aplicación.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="log_enabled"><?php echo ($chkLog) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="log_enabled" id="log_enabled"
|
||||
class="checkbox" <?php echo $chkLog, ' ', $isDisabled; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Habilitar Syslog'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="syslog_enabled"><?php echo ($chkSyslog) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="syslog_enabled" id="syslog_enabled"
|
||||
class="checkbox" <?php echo $chkSyslog, ' ', $isDisabled; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Habilitar Syslog Remoto'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="remotesyslog_enabled"><?php echo ($chkRemoteSyslog) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="remotesyslog_enabled" id="remotesyslog_enabled"
|
||||
class="checkbox" <?php echo $chkRemoteSyslog, ' ', $isDisabled; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Servidor'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="text" name="remotesyslog_server" value="<?php echo $remoteSyslogServer; ?>"
|
||||
maxlength="128"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Puerto'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="number" name="remotesyslog_port" size="20" pattern="[0-9]{1,5}" step="1" max="65535"
|
||||
value="<?php echo $remoteSyslogPort; ?>" maxlength="5"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -1,66 +0,0 @@
|
||||
<div id="title" class="midroundup titleNormal">
|
||||
<?php echo _('Enlaces Públicos'); ?>
|
||||
</div>
|
||||
|
||||
<table id="tblFiles" class="data tblConfig round">
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Habilitar Enlaces Públicos'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-publinks" style="display: none;">
|
||||
<p>
|
||||
<?php echo _('Habilita la posibilidad de generar enlaces públicos para ver los detalles de una cuenta.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('Las cuentas enlazadas serán visibles por cualquiera que disponga del enlace.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('Para crear enlaces, los usuarios tienen que tener activada la opción en su perfl.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="publinks_enabled"><?php echo ($chkPubLinks) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="publinks_enabled" id="publinks_enabled"
|
||||
class="checkbox" <?php echo $chkPubLinks, ' ', $isDisabled; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Tiempo de caducidad'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="number" name="publinks_maxtime"
|
||||
pattern="[0-9]{1,5}" step="5" maxlength="5"
|
||||
value="<?php echo $pubLinksMaxTime; ?>" title="<?php echo _('Tiempo en minutos'); ?>"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Número máximo de visitas'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="number" name="publinks_maxviews"
|
||||
pattern="[0-9]{1,5}" step="1" maxlength="5"
|
||||
value="<?php echo $pubLinksMaxViews; ?>" title="<?php echo _('Tiempo en minutos'); ?>"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Usar imagen para clave'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-publinksimage" style="display: none;">
|
||||
<p>
|
||||
<?php echo _('La clave de la cuenta es visualizada como una imagen.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="publinks_image_enabled"><?php echo ($chkPubLinksImage) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="publinks_image_enabled" id="publinks_image_enabled"
|
||||
class="checkbox" <?php echo $chkPubLinksImage, ' ', $isDisabled; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -1,53 +0,0 @@
|
||||
<div id="title" class="midroundup titleNormal">
|
||||
<?php echo _('Proxy'); ?>
|
||||
</div>
|
||||
|
||||
<table id="tblProxy" class="data tblConfig round">
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Usar Proxy'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="proxy_enabled"><?php echo ($chkProxy) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="proxy_enabled" id="proxy_enabled"
|
||||
class="checkbox" <?php echo $chkProxy, ' ', $isDisabled; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Servidor'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="text" name="proxy_server" value="<?php echo $proxyServer; ?>"
|
||||
maxlength="128"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Puerto'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="number" name="proxy_port" size="20" pattern="[0-9]{1,5}" step="1" max="65535"
|
||||
value="<?php echo $proxyPort; ?>" maxlength="5"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Usuario'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="text" name="proxy_user" value="<?php echo $proxyServer; ?>"
|
||||
maxlength="128"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Clave'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="password" name="proxy_pass" class="passwordfield__input"
|
||||
value="<?php echo $proxyServer; ?>" maxlength="128"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
@@ -1,334 +0,0 @@
|
||||
<!-- Start Tab - Config -->
|
||||
<div id="tabs-<?php echo $config_tabIndex; ?>">
|
||||
<div id="title" class="midroundup titleNormal">
|
||||
<?php echo _('Sitio'); ?>
|
||||
</div>
|
||||
|
||||
<form method="post" name="frmConfig" id="frmConfig" onsubmit="sysPassUtil.Common.configMgmt('config', this); return false;">
|
||||
<table id="tblSite" class="data tblConfig round">
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Idioma'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-sitelang" style="display: none;">
|
||||
<p>
|
||||
<?php echo _('Establece el idioma global de la aplicación. Es posible establecer un idioma por usuario en las preferencias.'); ?>
|
||||
</p>
|
||||
<p>
|
||||
<?php echo _('Para mejorar/añadir las traducciones, puede colaborar en http:://translate.syspass.org'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<select name="sitelang" id="sel-sitelang" size="1" class="sel-chosen-ns">
|
||||
<?php foreach ($langsAvailable as $langName => $langValue): ?>
|
||||
<option
|
||||
value='<?php echo $langValue; ?>' <?php echo ($currentLang == $langValue) ? "SELECTED" : ""; ?>><?php echo $langName; ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Tema Visual'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-sitetheme" style="display: none;">
|
||||
<p>
|
||||
<?php echo _('Establece el tema visual global de la aplicación. Es posible establecer un tema visual por usuario en las preferencias.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<select name="sitetheme" id="sel-sitetheme" size="1" class="sel-chosen-ns">
|
||||
<?php foreach ($themesAvailable as $themeDir => $themeName): ?>
|
||||
<option
|
||||
value='<?php echo $themeDir; ?>' <?php echo ($currentTheme == $themeDir) ? "SELECTED" : ""; ?>><?php echo $themeName; ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Timeout de sesión (s)'); ?>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="text" name="session_timeout" id="session_timeout"
|
||||
value="<?php echo $sessionTimeout; ?>" maxlength="4" <?php echo $isDisabled; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Habilitar log de eventos'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-eventlog" style="display: none;">
|
||||
<p>
|
||||
<?php echo _('Guarda las acciones realizadas en la aplicación.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="logenabled"><?php echo ($chkLog) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="log_enabled" id="logenabled"
|
||||
class="checkbox" <?php echo $chkLog, ' ', $isDisabled; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Habilitar depuración'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-debug" style="display:none;">
|
||||
<p>
|
||||
<?php echo _('Muestra información relativa a la configuración de la aplicación y rendimiento.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="debug"><?php echo ($chkDebug) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="debug" id="debug"
|
||||
class="checkbox" <?php echo $chkDebug, ' ', $isDisabled; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Modo mantenimiento'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-maintenance" style="display:none;">
|
||||
<p>
|
||||
<?php echo _('En este modo no se puede acceder a la aplicación. Para deshabilitarlo es necesario modificar el archivo de configuración.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="maintenance"><?php echo ($chkMaintenance) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="maintenance" id="maintenance"
|
||||
class="checkbox" <?php echo $chkMaintenance, ' ', $isDisabled; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Comprobar actualizaciones'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-updates" style="display: none;">
|
||||
<p>
|
||||
<?php echo _('Comprobar actualizaciones de la aplicación (sólo para los usuarios administradores).'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="updates"><?php echo ($chkUpdates) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="updates" id="updates"
|
||||
class="checkbox" <?php echo $chkUpdates; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Comprobar notificaciones'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-notices" style="display: none;">
|
||||
<p>
|
||||
<?php echo _('Comprobar si existen notificaciones de seguridad o avisos de sysPass (sólo para los usuarios administradores).'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="notices"><?php echo ($chkNotices) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="notices" id="notices"
|
||||
class="checkbox" <?php echo $chkNotices; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Nombre de cuenta como enlace'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-account_link" style="display: none;">
|
||||
<p>
|
||||
<?php echo _('Habilita el nombre de la cuenta de la búsqueda, como enlace a los detalles de la cuenta.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="account_link"><?php echo ($chkAccountLink) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="account_link" id="account_link"
|
||||
class="checkbox" <?php echo $chkAccountLink; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Gestión de archivos'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-files" style="display:none;">
|
||||
<p>
|
||||
<?php echo _('Habilita la subida/descarga de archivos para las cuentas.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="filesenabled"><?php echo ($chkFiles) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="files_enabled" id="filesenabled"
|
||||
class="checkbox" <?php echo $chkFiles, ' ', $isDisabled; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Búsquedas globales'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-globalsearch" style="display:none;">
|
||||
<p>
|
||||
<?php echo _('Permite que todos los usuarios puedan realizar búsquedas en todas las cuentas, pero no pueden ver el contenido de las que no tienen permisos.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="globalsearch"><?php echo ($chkGlobalSearch) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="globalsearch" id="globalsearch"
|
||||
class="checkbox" <?php echo $chkGlobalSearch; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Extensiones de archivos permitidas'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-allowed_exts" style="display:none;">
|
||||
<p>
|
||||
<?php echo _('Extensiones permitidas para la subida de archivos.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('Se permite un máximo de 4 caracteres.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('Escribir extensión y pulsar intro para añadir. Es necesario guardar la configuración.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="text" name="files_allowed_exts" id="allowed_exts"
|
||||
value="<?php echo $filesAllowedExts; ?>"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Tamaño máximo de archivo'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-files_allowed_size" style="display:none;">
|
||||
<p>
|
||||
<?php echo _('Establece el tamaño máximo para subir archivos.'); ?>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<?php echo _('El máximo absuluto es de 16MB.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="text" name="files_allowed_size" id="files_allowed_size"
|
||||
value="<?php echo $filesAllowedSize; ?>" maxlength="5" <?php echo $isDisabled; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Resultados por página'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" for="help-account_count" style="display:none;">
|
||||
<p>
|
||||
<?php echo _('Número de resultados por página a mostrar, al realizar una búsqueda.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<input type="text" name="account_count" id="sel-account_count" value="<?php echo $accountCount; ?>"
|
||||
maxlength="5" <?php echo $isDisabled; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Resultados en Tarjetas'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" style="display:none;">
|
||||
<p>
|
||||
<?php echo _('Muestra los resultados de búsqueda de cuentas en formato tarjeta.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="resultsascards"><?php echo ($chkResultsAsCards) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="resultsascards" id="resultsascards"
|
||||
class="checkbox" <?php echo $chkResultsAsCards, ' ', $isDisabled; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField">
|
||||
<?php echo _('Imagen para mostrar clave'); ?>
|
||||
<img src="<?php echo $icons->getIconHelp()->getIcon(); ?>" title="" class="inputImgMini help-tooltip" />
|
||||
<div class="tooltip" style="display:none;">
|
||||
<p>
|
||||
<?php echo _('Generar una imagen con el texto de la clave de la cuenta.'); ?>
|
||||
</p>
|
||||
<p>
|
||||
<?php echo _('Util para entornos donde copiar la clave supone un riesgo de seguridad.'); ?>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td class="valField">
|
||||
<label for="account_passtoimage"><?php echo ($chkAccountPassToImage) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" name="account_passtoimage" id="account_passtoimage"
|
||||
class="checkbox" <?php echo $chkAccountPassToImage; ?> />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?php include 'config-events.inc'; ?>
|
||||
<?php include 'config-links.inc'; ?>
|
||||
<?php include 'config-proxy.inc'; ?>
|
||||
|
||||
<?php if ($isDemoMode): ?>
|
||||
<input type="hidden" name="log_enabled" value="1"/>
|
||||
<input type="hidden" name="files_enabled" value="1"/>
|
||||
<input type="hidden" name="wiki_enabled" value="1"/>
|
||||
<?php endif; ?>
|
||||
<input type="hidden" name="activeTab" value="<?php echo $config_tabIndex; ?>"/>
|
||||
<input type="hidden" name="actionId"
|
||||
value="<?php echo \SP\Core\ActionsInterface::ACTION_CFG_GENERAL; ?>"/>
|
||||
<input type="hidden" name="isAjax" value="1"/>
|
||||
<input type="hidden" name="sk" value="<?php echo $sk; ?>">
|
||||
</form>
|
||||
|
||||
<div class="action">
|
||||
<button type="submit" form="frmConfig" title="<?php echo $icons->getIconSave()->getTitle(); ?>" class="button-action">
|
||||
<img src="<?php echo $icons->getIconSave()->getIcon(); ?>" alt="save" />
|
||||
</button>
|
||||
</div>
|
||||
</div> <!-- End Tab - Config -->
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
$('#allowed_exts').tagsInput({
|
||||
'width': '350px',
|
||||
'defaultText': '<?php echo _('Añadir extensión'); ?>',
|
||||
'defaultRemoveText': '<?php echo _('Eliminar extensión'); ?>',
|
||||
'removeWithBackspace': false,
|
||||
'tagsToUpper': true,
|
||||
'maxChars': 4,
|
||||
'onAddTag': function () {
|
||||
// Fix scrolling to bottom
|
||||
var $tagsbox = $(this).next();
|
||||
$tagsbox.animate({scrollTop: $tagsbox.height()});
|
||||
|
||||
if ($tagsbox.find('img:last').attr('alt') != 'warning') {
|
||||
$tagsbox.find('div:last').prev().append('<img src="<?php echo $icons->getIconWarning()->getIcon(); ?>" alt="warning" class="iconMini" title="' + LANG[5] + '" />');
|
||||
}
|
||||
},
|
||||
'onRemoveTag': function () {
|
||||
var $tagsbox = $(this).next();
|
||||
|
||||
if ($tagsbox.find('img:last').attr('alt') != 'warning') {
|
||||
$tagsbox.find('div:last').prev().append('<img src="<?php echo $icons->getIconWarning()->getIcon(); ?>" alt="warning" class="iconMini" title="' + LANG[5] + '"/>');
|
||||
}
|
||||
}
|
||||
});
|
||||
$("#session_timeout").spinner({step: 300, min: 300, numberFormat: "n"});
|
||||
$("#files_allowed_size").spinner({step: 1024, min: 1024, numberFormat: "n"});
|
||||
$("#sel-account_count").spinner({step: 6, max: 100, min: 6, numberFormat: "n"});
|
||||
})
|
||||
</script>
|
||||
@@ -1,13 +0,0 @@
|
||||
.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button).ok,
|
||||
.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button).ok {
|
||||
color: #fff;
|
||||
background-color: #5cb85c;
|
||||
border-color: #4cae4c
|
||||
}
|
||||
|
||||
.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button).cancel,
|
||||
.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button).cancel {
|
||||
color: #fff;
|
||||
background-color: #d9534f;
|
||||
border-color: #d43f3a
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button).ok,.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button).ok{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button).cancel,.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button).cancel{color:#fff;background-color:#d9534f;border-color:#d43f3a}
|
||||
@@ -1,56 +0,0 @@
|
||||
/* Estilos para mostrar busquedas en formato de cuadrícula */
|
||||
|
||||
#content #data-search .account-info img,
|
||||
#content #data-search .account-actions img {width: 24px; height: 24px;margin: 0 0.5em;}
|
||||
|
||||
#content #data-search {text-align: center; padding: 0.5em 0; width: 100%;margin: 0 auto;}
|
||||
#content #data-search .account-label{
|
||||
width: 100%;
|
||||
height: 70px;
|
||||
text-align: left;
|
||||
margin: 0 auto;
|
||||
margin-bottom: 0.2em;
|
||||
padding: 0.5em;
|
||||
color: #696969;
|
||||
background-color: #fcfcfc;
|
||||
display: inline-block;
|
||||
}
|
||||
#content #data-search .account-label .label-field{float: left; width: 18%; height: 3em;}
|
||||
#content #data-search .account-label .field-name{float: left; width: 80px; padding: 0.3em 0.2em; color: #b9b9b9; display: none}
|
||||
#content #data-search .account-label .field-text{float: left; width: 95%; padding: 0.3em 0.3em; word-wrap: break-word;}
|
||||
#content #data-search .account-label .header .field-name{color: white; font-weight: bold}
|
||||
|
||||
#content #data-search .account-label .field-text a{color: #4895FA}
|
||||
#content #data-search .account-label .no-link,
|
||||
#content #data-search .account-label .no-link a{color: white; font-weight: bold;}
|
||||
|
||||
#content #data-search .account-label .field-customer .field-text{height: 2.5em; width: 95%;}
|
||||
#content #data-search .account-label .field-category{width: 10% !important;}
|
||||
|
||||
#content #data-search .account-info{
|
||||
float: left;
|
||||
clear: left;
|
||||
width: 20%;
|
||||
/*height: 2em;*/
|
||||
padding: 0.5em 0;
|
||||
text-align: left;
|
||||
/*border-top: 1px solid #d9d9d9;*/
|
||||
border: none;
|
||||
}
|
||||
|
||||
#content #data-search .account-actions{
|
||||
float: right;
|
||||
position: relative;
|
||||
top: -3em;
|
||||
width: auto;
|
||||
max-width: 18%;
|
||||
height: auto;
|
||||
padding: 0.5em;
|
||||
text-align: right;
|
||||
/*border-top: 1px solid #c9c9c9;*/
|
||||
background-color: transparent;
|
||||
box-shadow: 0 0 8px rgba(0, 0, 0, 0.075) inset;
|
||||
}
|
||||
#content #data-search .account-actions img{margin:3px 5px;}
|
||||
#content .actions-optional{display: none;}
|
||||
#content #data-search .account-spacer{float: left; clear: left; height: 2em; width: 20%}
|
||||
1
inc/themes/classic/css/search-grid.min.css
vendored
@@ -1 +0,0 @@
|
||||
#content #data-search .account-info img,#content #data-search .account-actions img{width:24px;height:24px;margin:0 .5em}#content #data-search{text-align:center;padding:.5em 0;width:100%;margin:0 auto}#content #data-search .account-label{width:100%;height:70px;text-align:left;margin:0 auto;margin-bottom:.2em;padding:.5em;color:#696969;background-color:#fcfcfc;display:inline-block}#content #data-search .account-label .label-field{float:left;width:18%;height:3em}#content #data-search .account-label .field-name{float:left;width:80px;padding:.3em .2em;color:#b9b9b9;display:none}#content #data-search .account-label .field-text{float:left;width:95%;padding:.3em .3em;word-wrap:break-word}#content #data-search .account-label .header .field-name{color:white;font-weight:bold}#content #data-search .account-label .field-text a{color:#4895fa}#content #data-search .account-label .no-link,#content #data-search .account-label .no-link a{color:white;font-weight:bold}#content #data-search .account-label .field-customer .field-text{height:2.5em;width:95%}#content #data-search .account-label .field-category{width:10% !important}#content #data-search .account-info{float:left;clear:left;width:20%;padding:.5em 0;text-align:left;border:0}#content #data-search .account-actions{float:right;position:relative;top:-3em;width:auto;max-width:18%;height:auto;padding:.5em;text-align:right;background-color:transparent;box-shadow:0 0 8px rgba(0,0,0,0.075) inset}#content #data-search .account-actions img{margin:3px 5px}#content .actions-optional{display:none}#content #data-search .account-spacer{float:left;clear:left;height:2em;width:20%}
|
||||
@@ -1,94 +0,0 @@
|
||||
#fancyContainer #wikiPage {
|
||||
text-align: left;
|
||||
min-width: 300px;
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
#fancyContainer #wikiPage li,
|
||||
#fancyContainer #wikiPage ol {
|
||||
padding: 0;
|
||||
margin: 0 0 0 1.5em;
|
||||
}
|
||||
|
||||
#fancyContainer #wikiPage ul li {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
#fancyContainer #wikiPage ol li {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
#fancyContainer #wikiPage li .li {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#fancyContainer #wikiPage pre {
|
||||
overflow: auto;
|
||||
word-wrap: normal;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 2px;
|
||||
box-shadow: inset 0 0 .5em #ccc;
|
||||
padding: .7em 1em;
|
||||
}
|
||||
|
||||
#fancyContainer #wikiPage h1 {
|
||||
font-size: 2em;
|
||||
margin: 0 0 .444em;
|
||||
}
|
||||
|
||||
#fancyContainer #wikiPage h2 {
|
||||
font-size: 1.5em;
|
||||
margin: 0 0 .666em;
|
||||
}
|
||||
|
||||
#fancyContainer #wikiPage h3 {
|
||||
font-size: 1.125em;
|
||||
margin: 0 0 .888em;
|
||||
}
|
||||
|
||||
#fancyContainer #wikiPage h4 {
|
||||
font-size: 1em;
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
#fancyContainer #wikiPage h5 {
|
||||
font-size: .875em;
|
||||
margin: 0 0 1.1428em;
|
||||
}
|
||||
|
||||
#fancyContainer #wikiPage h6 {
|
||||
font-size: .75em;
|
||||
margin: 0 0 1.333em;
|
||||
}
|
||||
|
||||
#fancyContainer #wikiPage h1,
|
||||
#fancyContainer #wikiPage h2,
|
||||
#fancyContainer #wikiPage h3,
|
||||
#fancyContainer #wikiPage h4,
|
||||
#fancyContainer #wikiPage h5,
|
||||
#fancyContainer #wikiPage h6 {
|
||||
font-weight: bold;
|
||||
padding: 0;
|
||||
line-height: 1.2;
|
||||
clear: left;
|
||||
background: none;
|
||||
color: #555;
|
||||
border-bottom: 1px solid #777;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#fancyContainer #wikiPageInfo {
|
||||
margin: 1em 0;
|
||||
border-top: 1px solid #bbb;
|
||||
color: #bbb;
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
#fancyContainer #wikiPageInfo ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#fancyContainer #wikiPageInfo li {
|
||||
float: left;
|
||||
padding: .5em;
|
||||
}
|
||||
1
inc/themes/classic/css/styles-wiki.min.css
vendored
@@ -1 +0,0 @@
|
||||
#fancyContainer #wikiPage{text-align:left;min-width:300px;line-height:2em}#fancyContainer #wikiPage li,#fancyContainer #wikiPage ol{padding:0;margin:0 0 0 1.5em}#fancyContainer #wikiPage ul li{color:#999}#fancyContainer #wikiPage ol li{color:#666}#fancyContainer #wikiPage li .li{color:#333}#fancyContainer #wikiPage pre{overflow:auto;word-wrap:normal;border:1px solid #ccc;border-radius:2px;box-shadow:inset 0 0 .5em #ccc;padding:.7em 1em}#fancyContainer #wikiPage h1{font-size:2em;margin:0 0 .444em}#fancyContainer #wikiPage h2{font-size:1.5em;margin:0 0 .666em}#fancyContainer #wikiPage h3{font-size:1.125em;margin:0 0 .888em}#fancyContainer #wikiPage h4{font-size:1em;margin:0 0 1em}#fancyContainer #wikiPage h5{font-size:.875em;margin:0 0 1.1428em}#fancyContainer #wikiPage h6{font-size:.75em;margin:0 0 1.333em}#fancyContainer #wikiPage h1,#fancyContainer #wikiPage h2,#fancyContainer #wikiPage h3,#fancyContainer #wikiPage h4,#fancyContainer #wikiPage h5,#fancyContainer #wikiPage h6{font-weight:bold;padding:0;line-height:1.2;clear:left;background:0;color:#555;border-bottom:1px solid #777;width:100%}#fancyContainer #wikiPageInfo{margin:1em 0;border-top:1px solid #bbb;color:#bbb;line-height:2em}#fancyContainer #wikiPageInfo ul{list-style:none}#fancyContainer #wikiPageInfo li{float:left;padding:.5em}
|
||||
1
inc/themes/classic/css/styles.min.css
vendored
@@ -1,43 +0,0 @@
|
||||
<div id="fancyContainer" align="center">
|
||||
<h2 class="midround"><?php echo $header; ?></H2>
|
||||
|
||||
<form method="post" name="frmCustomers" id="frmCustomers"
|
||||
onsubmit="sysPassUtil.Common.appMgmtSave('frmCustomers'); return false;">
|
||||
<table class="fancydata">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Nombre'); ?></td>
|
||||
<td class="valField">
|
||||
<input type="text" id="grpname" name="name" title="<?php echo _('Nombre del cliente'); ?>"
|
||||
value="<?php echo $customer["customer_name"] ?>"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Descripción'); ?></td>
|
||||
<td class="valField"><input type="text" id="grpdesc" name="description"
|
||||
title="<?php echo _('Descripción del cliente'); ?>"
|
||||
value="<?php echo $customer["customer_description"]; ?>"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php if ($customFields): ?>
|
||||
<?php include 'aux-customfields.inc'; ?>
|
||||
<?php endif; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<input type="hidden" name="activeTab" value="<?php echo $activeTab ?>"/>
|
||||
<input type="hidden" name="onCloseAction" value="<?php echo $onCloseAction ?>"/>
|
||||
<input type="hidden" name="itemId" value="<?php echo $customer["customer_id"]; ?>"/>
|
||||
<input type="hidden" name="actionId" value="<?php echo $actionId; ?>"/>
|
||||
<input type="hidden" name="sk" value="<?php echo $sk; ?>">
|
||||
<input type="hidden" name="isAjax" value="1">
|
||||
</form>
|
||||
<div id="resCheck"><span id="resFancyAccion"></span></div>
|
||||
<div class="action-in-box">
|
||||
<button type="submit" form="frmCustomers" title="<?php echo $icons->getIconSave()->getTitle(); ?>" class="button-action">
|
||||
<img src="<?php echo $icons->getIconSave()->getIcon(); ?>" alt="save"/>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,73 +0,0 @@
|
||||
<div id="fancyContainer" align="center">
|
||||
<h2 class="midround"><?php echo $header; ?></H2>
|
||||
|
||||
<form method="post" name="frmCustomFields" id="frmCustomFields"
|
||||
onsubmit="sysPassUtil.Common.appMgmtSave('frmCustomFields'); return false;">
|
||||
<table class="fancydata">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Nombre'); ?></td>
|
||||
<td class="valField">
|
||||
<input id="name" name="name" type="text" required maxlength="50"
|
||||
value="<?php echo ($gotData) ? $field->getName() : ''; ?>">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Tipo'); ?></td>
|
||||
<td class="valField">
|
||||
<select name="type" id="sel-type" size="1" class="sel-chosen-ns">
|
||||
<?php foreach ($types as $id => $type): ?>
|
||||
<option
|
||||
value='<?php echo $id; ?>' <?php echo ($gotData && $id === $field->getType()) ? 'selected' : ''; ?>><?php echo strtoupper($type); ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Módulo'); ?></td>
|
||||
<td class="valField">
|
||||
<select name="module" id="sel-module" size="1" class="sel-chosen-ns">
|
||||
<?php foreach ($modules as $id => $module): ?>
|
||||
<option
|
||||
value='<?php echo $id; ?>' <?php echo ($gotData && $id === $field->getModule()) ? 'selected' : ''; ?>><?php echo strtoupper($module); ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Texto Ayuda'); ?></td>
|
||||
<td class="valField">
|
||||
<input id="help" name="help" type="text" value="<?php echo ($gotData) ? $field->getHelp() : ''; ?>">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="descField"><?php echo _('Obligatorio'); ?></td>
|
||||
<td class="valField">
|
||||
<label for="required"><?php echo ($gotData && $field->isRequired()) ? _('SI') : _('NO'); ?></label>
|
||||
<input type="checkbox" id="required" class="checkbox"
|
||||
name="required" <?php echo ($gotData && $field->isRequired()) ? 'checked' : ''; ?>/>
|
||||
</td>
|
||||
</tr
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<input type="hidden" name="activeTab" value="<?php echo $activeTab ?>"/>
|
||||
<input type="hidden" name="onCloseAction" value="<?php echo $onCloseAction ?>"/>
|
||||
<input type="hidden" name="itemId" value="<?php echo $itemId; ?>"/>
|
||||
<input type="hidden" name="actionId" value="<?php echo $actionId; ?>"/>
|
||||
<input type="hidden" name="sk" value="<?php echo $sk; ?>">
|
||||
<input type="hidden" name="isAjax" value="1">
|
||||
</form>
|
||||
<div id="resCheck"><span id="resFancyAccion"></span></div>
|
||||
<div class="action-in-box">
|
||||
<button type="submit" form="frmCustomFields" title="<?php echo $icons->getIconSave()->getTitle(); ?>" class="button-action">
|
||||
<img src="<?php echo $icons->getIconSave()->getIcon(); ?>" alt="save"/>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(function () {
|
||||
sysPassUtil.Common.chosenDetect();
|
||||
sysPassUtil.Common.checkboxDetect('#fancyContainer');
|
||||
});
|
||||
</script>
|
||||
@@ -1,35 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* @var $data SP\Html\DataGrid\DataGridInterface
|
||||
* @var $this SP\Core\Template
|
||||
*/
|
||||
?>
|
||||
<div id="pageNav" class="round shadow">
|
||||
<div id="pageNavLeft">
|
||||
<?php echo $data->getData()->getDataCount(); ?> @ <?php echo $data->getTime(); ?>s
|
||||
<?php if ($data->getPager()->getFilterOn()): ?>
|
||||
<span class="filterOn round"><?php echo _('Filtro ON'); ?></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div id="pageNavRight">
|
||||
<?php if ($data->getPager()->getLimitStart() > 1): ?>
|
||||
<i class="material-icons <?php echo $data->getPager()->getIconFirst()->getClass(); ?>"
|
||||
title="<?php echo $data->getPager()->getIconFirst()->getTitle(); ?>"
|
||||
Onclick="<?php echo $data->getPager()->getOnClickFirst(); ?>"><?php echo $data->getPager()->getIconFirst()->getIcon(); ?></i>
|
||||
<i class="material-icons <?php echo $data->getPager()->getIconPrev()->getClass(); ?>"
|
||||
title="<?php echo $data->getPager()->getIconPrev()->getTitle(); ?>"
|
||||
Onclick="<?php echo $data->getPager()->getOnClickPrev(); ?>"><?php echo $data->getPager()->getIconPrev()->getIcon(); ?></i>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $data->getPager()->getFirstPage(), '/', $data->getPager()->getLastPage(); ?>
|
||||
|
||||
<?php if ($data->getPager()->getLimitStart() < $data->getPager()->getTotalRows() && $data->getPager()->getFirstPage() != $data->getPager()->getLastPage()): ?>
|
||||
<i class="material-icons <?php echo $data->getPager()->getIconNext()->getClass(); ?>"
|
||||
title="<?php echo $data->getPager()->getIconNext()->getTitle(); ?>"
|
||||
Onclick="<?php echo $data->getPager()->getOnClickNext(); ?>"><?php echo $data->getPager()->getIconNext()->getIcon(); ?></i>
|
||||
<i class="material-icons <?php echo $data->getPager()->getIconLast()->getClass(); ?>"
|
||||
title="<?php echo $data->getPager()->getIconLast()->getTitle(); ?>"
|
||||
Onclick="<?php echo $data->getPager()->getOnClickLast(); ?>"><?php echo $data->getPager()->getIconLast()->getIcon(); ?></i>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||