diff options
| -rw-r--r-- | Jenkinsfile | 24 | ||||
| -rw-r--r-- | index.html | 66 | 
2 files changed, 90 insertions, 0 deletions
| diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..f452d6b --- /dev/null +++ b/Jenkinsfile | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | pipeline { | ||
| 2 | agent { label "c++" } | ||
| 3 | |||
| 4 | stages { | ||
| 5 | stage('Checkout') { | ||
| 6 | steps { | ||
| 7 | checkout scm | ||
| 8 | } | ||
| 9 | } | ||
| 10 | stage('Build') { | ||
| 11 | steps { | ||
| 12 | sh 'make main' | ||
| 13 | } | ||
| 14 | } | ||
| 15 | } | ||
| 16 | |||
| 17 | post { | ||
| 18 | always { | ||
| 19 | archiveArtifacts artifacts: 'main' | ||
| 20 | } | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | // vim: ft=groovy cindent expandtab tabstop=4 shiftwidth=4 | ||
| diff --git a/index.html b/index.html new file mode 100644 index 0000000..9b5ffdf --- /dev/null +++ b/index.html | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | ||
| 2 | "http://www.w3.org/TR/html4/strict.dtd"> | ||
| 3 | |||
| 4 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
| 5 | <head> | ||
| 6 | <title>print label</title> | ||
| 7 | <style> | ||
| 8 | html,body { | ||
| 9 | font: caption; | ||
| 10 | background-color: Background; | ||
| 11 | margin:0; | ||
| 12 | height:100%; | ||
| 13 | overflow:hidden; | ||
| 14 | } | ||
| 15 | body { | ||
| 16 | padding:2em; | ||
| 17 | } | ||
| 18 | h1 { | ||
| 19 | margin-top:0; | ||
| 20 | } | ||
| 21 | label { | ||
| 22 | font-size:x-small; | ||
| 23 | color:GrayText; | ||
| 24 | } | ||
| 25 | form { | ||
| 26 | border:2px solid Background; | ||
| 27 | border-radius: 1em; | ||
| 28 | padding: 2em; | ||
| 29 | background: AppWorkspace; | ||
| 30 | } | ||
| 31 | input { | ||
| 32 | background: AppWorkspace; | ||
| 33 | cursor:pointer; | ||
| 34 | font: caption; | ||
| 35 | padding: 0.3em 0.5em; | ||
| 36 | width:20ex; | ||
| 37 | border: 3px ridge; | ||
| 38 | border-width: 0px 0px 3px 0px; | ||
| 39 | border-color: ButtonShadow; | ||
| 40 | } | ||
| 41 | |||
| 42 | input[type="submit"] { | ||
| 43 | width:inherit; | ||
| 44 | background: AppWorkspace; | ||
| 45 | margin-left:2em; | ||
| 46 | border-radius:0.5em; | ||
| 47 | border-width:3px; | ||
| 48 | font-weight:bold; | ||
| 49 | } | ||
| 50 | |||
| 51 | </style> | ||
| 52 | </head> | ||
| 53 | |||
| 54 | <body> | ||
| 55 | |||
| 56 | <form method="post" enctype="multipart/form-data"> | ||
| 57 | <h1>Simple label</h1> | ||
| 58 | <label>line1<br/><input type="text" name="line1" /></label><br/> | ||
| 59 | <label>line2<br/><input type="text" name="line2" /></label> | ||
| 60 | <input type="submit" value="print" /> | ||
| 61 | </form> | ||
| 62 | </body> | ||
| 63 | </html> | ||
| 64 | |||
| 65 | <!-- vim: tabstop=4 shiftwidth=4 | ||
| 66 | --> | ||
