Skip to content

Commit

Permalink
ver 1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Kintoyyy committed Aug 8, 2022
1 parent 5763ff3 commit db1fa86
Show file tree
Hide file tree
Showing 6 changed files with 135 additions and 1 deletion.
7 changes: 7 additions & 0 deletions css/bootstrap.min.css

Large diffs are not rendered by default.

68 changes: 68 additions & 0 deletions css/voucher.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
body {
color: #000;
background-color: #fff;
font-size: 14px;
font-family: "Helvetica", arial, sans-serif;
margin: 0;
-webkit-print-color-adjust: exact
}

table.voucher {
display: inline-block;
border: 2px solid #000;
margin: 2px
}

@page {
size: auto;
margin-left: 7mm;
margin-right: 3mm;
margin-top: 9mm;
margin-bottom: 3mm
}

@media print {
table,
td,
tr {
page-break-after: auto
}
td,
tr {
page-break-inside: avoid
}
thead {
display: table-header-group
}
tfoot {
display: table-footer-group
}
}

.qrc {
width: 30px;
height: 30px;
margin-top: 1px
}

.rotate {
vertical-align: bottom;
text-align: center
}

.rotate span {
-ms-writing-mode: tb-rl;
-webkit-writing-mode: vertical-rl;
writing-mode: vertical-rl;
transform: rotate(180deg);
white-space: nowrap
}

.qrcode {
height: 70px;
width: 70px
}

label {
font-weight: 700
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,4 @@ <h5 class=modal-title>Voucher Customization</h5><button class=btn-close type=but
</div>
</div>
<script src=js/generate.js></script>
<script src=js/config.js></script>
<script src=js/config.js></script>
7 changes: 7 additions & 0 deletions js/bootstrap.min.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions js/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
var _0x6476 = ["\x76\x61\x6C\x75\x65", "\x54\x61\x67\x43\x6F\x6C\x6F\x72", "\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64", "\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64", "\x73\x74\x79\x6C\x65", "\x76\x6F\x75\x63\x68\x65\x72\x31", "\x76\x6F\x75\x63\x68\x65\x72\x32", "\x72\x65\x73\x65\x74", "\x72\x73\x74", "\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C", "\x62\x6F\x64\x79", "\x70\x72\x69\x6E\x74", "\x73\x65\x6C\x65\x63\x74\x41\x6C\x6C\x43\x68\x69\x6C\x64\x72\x65\x6E", "\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E", "\x43\x6F\x70\x79", "\x65\x78\x65\x63\x43\x6F\x6D\x6D\x61\x6E\x64"];

function color() { var _0xb381x2 = document[_0x6476[2]](_0x6476[1])[_0x6476[0]];
document[_0x6476[2]](_0x6476[5])[_0x6476[4]][_0x6476[3]] = _0xb381x2, document[_0x6476[2]](_0x6476[6])[_0x6476[4]][_0x6476[3]] = _0xb381x2 }

function rst() { document[_0x6476[2]](_0x6476[8])[_0x6476[7]]() }

function printDiv(_0xb381x2) { var _0xb381x5 = document[_0x6476[10]][_0x6476[9]],
_0xb381x6 = document[_0x6476[2]](_0xb381x2)[_0x6476[9]];
document[_0x6476[10]][_0x6476[9]] = _0xb381x6, window[_0x6476[11]](), document[_0x6476[10]][_0x6476[9]] = _0xb381x5 }

function copyCode(_0xb381x2) { var _0xb381x5 = document[_0x6476[2]](_0xb381x2);
window[_0x6476[13]]()[_0x6476[12]](_0xb381x5), document[_0x6476[15]](_0x6476[14]) }
39 changes: 39 additions & 0 deletions js/generate.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit db1fa86

Please sign in to comment.