diff --git a/public/assets/images/qrcode.png b/public/assets/images/qrcode.png new file mode 100644 index 00000000..92ad0cc8 Binary files /dev/null and b/public/assets/images/qrcode.png differ diff --git a/public/assets/stylesheet/ticket.css b/public/assets/stylesheet/ticket.css new file mode 100644 index 00000000..7e438f7a --- /dev/null +++ b/public/assets/stylesheet/ticket.css @@ -0,0 +1,102 @@ +.ticket { + /*page-break-after: always;*/ + padding: 10px; + border: 1px solid #000; + width: 700px; + margin: 0 auto; + margin-top: 20px; + background: #000; + position: relative; + height: 330px; + font-size: 12px; + color: #999; + border-left-width: 3px; + border-left-color: #000; + overflow: hidden; +} + +.ticket table { + width: 100%; +} + +.ticket h1 { + margin-bottom: 5px; + margin-top: 0px; +} + +.ticket hr { + border: none; + border-bottom: 1px solid #ccc; + margin: 5px 0; +} + +.ticket .barcode { + width: 150px; + height: 150px; + position: absolute; + left: 1px; + bottom: 85px; + overflow: hidden; + padding: 10px; + border: 1px solid #000; + border-left: none; + background-color: #fdfdfd; +} + +.ticket .barcode_vertical { + position: absolute; + right: -40px; + -webkit-transform: rotate(90deg); + top: 171px; +} + +.ticket .top_barcode { + margin-bottom: 15px; +} + +.ticket h4 { + font-size: 17px; + margin: 6px auto; + text-transform: uppercase; + color: #999; + +} + +.ticket .event_details, .ticket .attendee_details { + position: absolute; + top: 15px; +} + +.ticket .event_details { + left: 175px; + overflow: hidden; + max-width: 210px; + white-space: nowrap; + text-overflow: ellipsis; + top: 50px; +} + +.ticket .attendee_details { + left: 390px; + overflow: hidden; + max-width: 195px; + white-space: nowrap; + text-overflow: ellipsis; + top: 50px; +} + +.ticket .logo { + position: absolute; + right: 1px; + top: 1px; + border: 1px solid #000; + border-top: none; + border-right: none; + padding: 5px; + background-color: #fdfdfd; + text-align: center; +} + +.ticket .logo img { + max-width: 110px; +} \ No newline at end of file diff --git a/resources/views/ManageEvent/Partials/TicketDesignPreview.blade.php b/resources/views/ManageEvent/Partials/TicketDesignPreview.blade.php index 70041f5e..52067c21 100644 --- a/resources/views/ManageEvent/Partials/TicketDesignPreview.blade.php +++ b/resources/views/ManageEvent/Partials/TicketDesignPreview.blade.php @@ -106,14 +106,10 @@
-
- barcode -

Event

Demo Event

Organiser

Demo Organiser

Venue

Demo Location

Start Date / Time

Mar 18th 4:08PM

End Date / Time

@@ -132,259 +128,6 @@
- - - - 236434278 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - 236434278 - - - - - - - - - - + {!! HTML::image(asset('assets/images/qrcode.png')) !!}
\ No newline at end of file diff --git a/resources/views/Public/ViewEvent/Partials/PDFTicket.blade.php b/resources/views/Public/ViewEvent/Partials/PDFTicket.blade.php index 75c68809..d94e1700 100644 --- a/resources/views/Public/ViewEvent/Partials/PDFTicket.blade.php +++ b/resources/views/Public/ViewEvent/Partials/PDFTicket.blade.php @@ -9,6 +9,9 @@ + + {!! HTML::style(asset('assets/stylesheet/ticket.css')) !!} +