|
35 | 35 | border: 1px solid red; |
36 | 36 | } |
37 | 37 |
|
| 38 | +.btn { |
| 39 | + background: #3498db; |
| 40 | + background-image: -webkit-linear-gradient(top, #3498db, #2980b9); |
| 41 | + background-image: -moz-linear-gradient(top, #3498db, #2980b9); |
| 42 | + background-image: -ms-linear-gradient(top, #3498db, #2980b9); |
| 43 | + background-image: -o-linear-gradient(top, #3498db, #2980b9); |
| 44 | + background-image: linear-gradient(to bottom, #3498db, #2980b9); |
| 45 | + -webkit-border-radius: 28; |
| 46 | + -moz-border-radius: 28; |
| 47 | + border-radius: 28px; |
| 48 | + font-family: Arial; |
| 49 | + color: #ffffff; |
| 50 | + font-size: 20px; |
| 51 | + padding: 10px 20px 10px 20px; |
| 52 | + text-decoration: none; |
| 53 | +} |
| 54 | + |
| 55 | +.btn:hover { |
| 56 | + background: #3cb0fd; |
| 57 | + background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db); |
| 58 | + background-image: -moz-linear-gradient(top, #3cb0fd, #3498db); |
| 59 | + background-image: -ms-linear-gradient(top, #3cb0fd, #3498db); |
| 60 | + background-image: -o-linear-gradient(top, #3cb0fd, #3498db); |
| 61 | + background-image: linear-gradient(to bottom, #3cb0fd, #3498db); |
| 62 | + text-decoration: none; |
| 63 | +} |
38 | 64 |
|
39 | 65 | @media print { |
40 | 66 | .no-print {display:none} |
|
50 | 76 | </head> |
51 | 77 | <body> |
52 | 78 | <div class='no-print'> |
53 | | - 현재 발권횟수: {{ registration.issueticket_set.count }} |
| 79 | + <div> |
| 80 | + 현재 발권횟수: {{ registration.issueticket_set.count }} |
| 81 | + </div> |
| 82 | + <button id='ticket_issue' class='btn'>발권</button> |
54 | 83 | </div> |
55 | | - <button id='ticket_issue' class='no-print'>발권</button> |
56 | 84 | <div class='print name-tag preview-border'> |
57 | | - <div class='name'>{{ registration.name }}</div> |
58 | | - <div class='org'>{{ registration.company }}</div> |
| 85 | + <div class='name'>{{ name }}</div> |
| 86 | + <div class='org'>{{ company }}</div> |
59 | 87 | </div> |
60 | 88 | <script src="{% static "components/jquery/dist/jquery.min.js" %}"></script> |
61 | 89 | <script src="{% static "components/js-cookie/src/js.cookie.js" %}" charset="utf-8"></script> |
|
0 commit comments