File tree Expand file tree Collapse file tree 3 files changed +50
-7
lines changed Expand file tree Collapse file tree 3 files changed +50
-7
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,13 @@ input#submit {
34
34
padding : 5px 25px ; /*add some padding to the inside of the button*/
35
35
background : # 2e64fe ; /*the colour of the button*/
36
36
border : 1px solid # ffffff ; /*required or the default border for the browser will appear*/
37
- /*give the button curved corners, alter the size as required*/
38
- -moz-border-radius : 10px ;
39
- -webkit-border-radius : 10px ;
40
- border-radius : 10px ;
41
- /*style the text*/
42
37
color : # f3f3f3 ;
43
38
font-size : 1.1em ;
44
39
}
45
40
input # submit : hover , input # submit : focus {
46
41
background-color : # 0431b4 ; /*make the background a little darker*/
47
42
}
48
43
44
+ .qsl-img {
45
+ border : 5px solid # eaeaea ;
46
+ }
Original file line number Diff line number Diff line change 30
30
<body>
31
31
<header class="shadow-md bg-dark px-3">
32
32
<div class="row">
33
- <h4 ><?php echo $ club_call ; ?> QSL Print System</h4 >
33
+ <h3 ><?php echo $ club_call ; ?> QSL Print System</h3 >
34
34
</div>
35
35
</header>
36
36
Original file line number Diff line number Diff line change 20
20
# Emit!
21
21
$ imgfile = sprintf ("cards/%s.jpg " , uniqid ("$ club_call- " , true ));
22
22
$ image ->writeImages ($ imgfile , true );
23
- printf ("<html><head><meta http-equiv= \"refresh \" content= \"0; url=%s \" /></head></html> " , $ imgfile );
23
+ // printf("<html><head><meta http-equiv=\"refresh\" content=\"0; url=%s\" /></head></html>", $imgfile);
24
24
?>
25
+
26
+ <!DOCTYPE html>
27
+ <html lang="en">
28
+ <head>
29
+ <meta charset="utf-8">
30
+ <meta name="viewport" content="width=device-width, initial-scale=1">
31
+ <title><?php echo $ club_call ; ?> QSL Print System</title>
32
+ <link href="css/bootstrap.min.css" rel="stylesheet">
33
+ <link href="css/qsl.css" rel="stylesheet">
34
+ </head>
35
+
36
+ <body>
37
+ <header class="shadow-md bg-dark px-3">
38
+ <div class="row">
39
+ <h4><?php echo $ club_call ; ?> QSL Print System</h4>
40
+ </div>
41
+ </header>
42
+
43
+ <main>
44
+ <div class="container">
45
+ <div class="row p-3">
46
+ <center>
47
+ <a class="btn btn-secondary" role="button" href="<?php print $ imgfile ; ?> " download>Click Here to Download Image for Printing</a>
48
+ </center>
49
+ </div>
50
+ <div class="row">
51
+ <div class="col-12">
52
+ <center>
53
+ <img class="img-fluid qsl-img" src="<?php print $ imgfile ; ?> " alt="QSL Card Image">
54
+ </center>
55
+ </div>
56
+ </div>
57
+ </div>
58
+ </main>
59
+ <footer>
60
+ <div class="d-flex">
61
+ <p class="text-muted">Site information © <?php print date ("Y " ); ?> <?php print $ club_name ; ?> <br/>
62
+ Powered by <a href="https://github.com/jxmx/smooth-qsl" target="_blank">Smooth QSL</a></p>
63
+ </div>
64
+ </footer>
65
+ <script src="js/bootstrap.min.js"></script>
66
+ <script src="js/smoothqsl.js"></script>
67
+ </body>
68
+ </html>
69
+
You can’t perform that action at this time.
0 commit comments