upgrade
This commit is contained in:
11
plugin/customcertificate/resources/css/certificate.css
Normal file
11
plugin/customcertificate/resources/css/certificate.css
Normal file
@@ -0,0 +1,11 @@
|
||||
body {background-repeat:no-repeat; margin:0; padding: 0;}
|
||||
td { font-family:arial, sans-serif; font-size:18px; }
|
||||
.logo {height: 150px; vertical-align: middle; }
|
||||
.seals { font-size: 16px; text-align:center;}
|
||||
.logo-seals { height: 100px; text-align:center; vertical-align: middle;}
|
||||
@page caraA { height: 210mm; margin:0; padding:0; page-break-before:always;}
|
||||
.caraA {box-decoration-break: slice; page: caraA}
|
||||
@page caraB { background:#FFFFFF; }
|
||||
.caraB {box-decoration-break: slice; page: caraB}
|
||||
.contents-learnpath td {background: #FFFFFF; font-size: 12px; height: 160mm; vertical-align: top;}
|
||||
ol {margin: 0; padding:0;}
|
||||
18
plugin/customcertificate/resources/css/form.css
Normal file
18
plugin/customcertificate/resources/css/form.css
Normal file
@@ -0,0 +1,18 @@
|
||||
.form-control-cert {
|
||||
background-color: #fff;
|
||||
background-image: none;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
|
||||
color: #555;
|
||||
font-size: 14px;
|
||||
line-height: 1.42857143;
|
||||
padding: 6px 12px;
|
||||
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
|
||||
}
|
||||
.certificado-text-label {
|
||||
font-weight: 700;
|
||||
margin: 0 10px 0 10px;
|
||||
}
|
||||
input:disabled { background: #eee; }
|
||||
label { font-size: 13px; }
|
||||
BIN
plugin/customcertificate/resources/img/22/customcertificate.png
Normal file
BIN
plugin/customcertificate/resources/img/22/customcertificate.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 843 B |
BIN
plugin/customcertificate/resources/img/64/customcertificate.png
Normal file
BIN
plugin/customcertificate/resources/img/64/customcertificate.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
38
plugin/customcertificate/resources/js/certificate.js
Normal file
38
plugin/customcertificate/resources/js/certificate.js
Normal file
@@ -0,0 +1,38 @@
|
||||
function dateCertificateSwitchRadioButton2(){
|
||||
$("#date_start").prop("disabled", true).val("");
|
||||
$("#date_end").prop("disabled", true).val("");
|
||||
}
|
||||
|
||||
function dateCertificateSwitchRadioButton1(){
|
||||
$("#date_start").prop("disabled", false);
|
||||
$("#date_end").prop("disabled", false);
|
||||
}
|
||||
|
||||
function dateCertificateSwitchRadioButton0(){
|
||||
$("#date_start").prop("disabled", true).val("");
|
||||
$("#date_end").prop("disabled", true).val("");
|
||||
}
|
||||
|
||||
function typeDateExpedictionSwitchRadioButton(){
|
||||
$("[name=\"type_date_expediction\"]").each(function( index ) {
|
||||
if ( $(this).is(":checked") && $(this).val() === "2") {
|
||||
$("#day, #month, #year").prop("disabled", false);
|
||||
} else {
|
||||
$("#day, #month, #year").prop("disabled", true);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function contentsTypeSwitchRadioButton(){
|
||||
$("[name=\"contents_type\"]").each(function( index ) {
|
||||
if ( $(this).is(":checked") && $(this).val() === "2") {
|
||||
$("#contents").prop("disabled", false);
|
||||
} else {
|
||||
$("#contents").prop("disabled", true);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$( ".datepicker" ).datepicker();
|
||||
});
|
||||
Reference in New Issue
Block a user