diff options
Diffstat (limited to 'contrib/gns')
-rw-r--r-- | contrib/gns/def.tex | 15 | ||||
-rw-r--r-- | contrib/gns/gns-bcd-forbidden.html | 72 | ||||
-rw-r--r-- | contrib/gns/gns-bcd-internal-error.html | 72 | ||||
-rw-r--r-- | contrib/gns/gns-bcd-invalid-key.html | 72 | ||||
-rw-r--r-- | contrib/gns/gns-bcd-not-found.html | 72 | ||||
-rw-r--r-- | contrib/gns/gns-bcd-png.tex | 10 | ||||
-rw-r--r-- | contrib/gns/gns-bcd-simple.html | 177 | ||||
-rw-r--r-- | contrib/gns/gns-bcd-simple.tex | 160 | ||||
-rw-r--r-- | contrib/gns/gns-bcd.html | 205 | ||||
-rw-r--r-- | contrib/gns/gns-bcd.tex | 179 |
10 files changed, 0 insertions, 1034 deletions
diff --git a/contrib/gns/def.tex b/contrib/gns/def.tex deleted file mode 100644 index 51649c149..000000000 --- a/contrib/gns/def.tex +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | \def\prefix{} | ||
2 | \def\name{Sree Harsha Totakura} | ||
3 | \def\suffix{M.Sc.} | ||
4 | \def\phone{+49-89-289-18011} | ||
5 | \def\fax{+49-89-289-18033} | ||
6 | \def\email{sreeharsha@totakura.in} | ||
7 | \def\homepage{http://sreeharsha.totakura.in/} | ||
8 | \def\org{Technische Universit\"at M\"unchen} | ||
9 | \def\department{Department of Computer Science} | ||
10 | \def\subdepartment{Network Architectures and Services} | ||
11 | \def\jobtitle{Free Secure Network Systems Group} | ||
12 | \def\gpglineone{8E68 1D8A 25AB B102 AFB5} | ||
13 | \def\gpglinetwo{4B40 3B6F 8AF1 43C2 1F3B} | ||
14 | \def\gns{LOC36VTJD3IRULMM6C20TGE6D3SVEAJOHI9KRI5KAQVQ87UJGPJG/totakura} | ||
15 | |||
diff --git a/contrib/gns/gns-bcd-forbidden.html b/contrib/gns/gns-bcd-forbidden.html deleted file mode 100644 index 59cdf3b04..000000000 --- a/contrib/gns/gns-bcd-forbidden.html +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <meta charset="utf-8"/> | ||
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
6 | <title>Error</title> | ||
7 | <style> | ||
8 | /* "Reset" values */ | ||
9 | html { | ||
10 | box-sizing: border-box; | ||
11 | } | ||
12 | *, *:before, *:after { | ||
13 | box-sizing: inherit; | ||
14 | } | ||
15 | body { | ||
16 | font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif; | ||
17 | font-size: 1rem; | ||
18 | font-weight: 400; | ||
19 | line-height: 1.5; | ||
20 | background-color: #ffffff; | ||
21 | color: #212121; | ||
22 | margin: 0; | ||
23 | } | ||
24 | h1, h2, h3, h4, h5 { | ||
25 | margin-top: 0px; | ||
26 | margin-bottom: 0.5rem; | ||
27 | font-weight: 500; | ||
28 | } | ||
29 | p { | ||
30 | margin-top: 0px; | ||
31 | margin-bottom: 1rem; | ||
32 | } | ||
33 | /* "Component" values */ | ||
34 | .gns-container { | ||
35 | max-width: 100%; | ||
36 | margin-left: auto; | ||
37 | margin-right: auto; | ||
38 | } | ||
39 | @media (min-width: 576px) { | ||
40 | .gns-container { | ||
41 | max-width: 540px; | ||
42 | } | ||
43 | } | ||
44 | @media (min-width: 768px) { | ||
45 | .gns-container { | ||
46 | max-width: 720px; | ||
47 | } | ||
48 | } | ||
49 | @media (min-width: 992px) { | ||
50 | .gns-container { | ||
51 | max-width: 960px; | ||
52 | } | ||
53 | } | ||
54 | @media (min-width: 1200px) { | ||
55 | .gns-container { | ||
56 | max-width: 1140px; | ||
57 | } | ||
58 | } | ||
59 | @media (min-width: 1400px) { | ||
60 | .gns-container { | ||
61 | max-width: 1320px; | ||
62 | } | ||
63 | } | ||
64 | </style> | ||
65 | </head> | ||
66 | <body> | ||
67 | <div class="gns-container"> | ||
68 | <h1>Forbidden</h1> | ||
69 | <p>You do not have the rights to access this resource.</p> | ||
70 | </div> | ||
71 | </body> | ||
72 | </html> | ||
diff --git a/contrib/gns/gns-bcd-internal-error.html b/contrib/gns/gns-bcd-internal-error.html deleted file mode 100644 index 460d41213..000000000 --- a/contrib/gns/gns-bcd-internal-error.html +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <meta charset="utf-8"/> | ||
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
6 | <title>Error</title> | ||
7 | <style> | ||
8 | /* "Reset" values */ | ||
9 | html { | ||
10 | box-sizing: border-box; | ||
11 | } | ||
12 | *, *:before, *:after { | ||
13 | box-sizing: inherit; | ||
14 | } | ||
15 | body { | ||
16 | font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif; | ||
17 | font-size: 1rem; | ||
18 | font-weight: 400; | ||
19 | line-height: 1.5; | ||
20 | background-color: #ffffff; | ||
21 | color: #212121; | ||
22 | margin: 0; | ||
23 | } | ||
24 | h1, h2, h3, h4, h5 { | ||
25 | margin-top: 0px; | ||
26 | margin-bottom: 0.5rem; | ||
27 | font-weight: 500; | ||
28 | } | ||
29 | p { | ||
30 | margin-top: 0px; | ||
31 | margin-bottom: 1rem; | ||
32 | } | ||
33 | /* "Component" values */ | ||
34 | .gns-container { | ||
35 | max-width: 100%; | ||
36 | margin-left: auto; | ||
37 | margin-right: auto; | ||
38 | } | ||
39 | @media (min-width: 576px) { | ||
40 | .gns-container { | ||
41 | max-width: 540px; | ||
42 | } | ||
43 | } | ||
44 | @media (min-width: 768px) { | ||
45 | .gns-container { | ||
46 | max-width: 720px; | ||
47 | } | ||
48 | } | ||
49 | @media (min-width: 992px) { | ||
50 | .gns-container { | ||
51 | max-width: 960px; | ||
52 | } | ||
53 | } | ||
54 | @media (min-width: 1200px) { | ||
55 | .gns-container { | ||
56 | max-width: 1140px; | ||
57 | } | ||
58 | } | ||
59 | @media (min-width: 1400px) { | ||
60 | .gns-container { | ||
61 | max-width: 1320px; | ||
62 | } | ||
63 | } | ||
64 | </style> | ||
65 | </head> | ||
66 | <body> | ||
67 | <div class="gns-container"> | ||
68 | <h1>Internal Server Error</h1> | ||
69 | <p>The server could not process your request.</p> | ||
70 | </div> | ||
71 | </body> | ||
72 | </html> | ||
diff --git a/contrib/gns/gns-bcd-invalid-key.html b/contrib/gns/gns-bcd-invalid-key.html deleted file mode 100644 index 25c8ba092..000000000 --- a/contrib/gns/gns-bcd-invalid-key.html +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <meta charset="utf-8"/> | ||
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
6 | <title>Error</title> | ||
7 | <style> | ||
8 | /* "Reset" values */ | ||
9 | html { | ||
10 | box-sizing: border-box; | ||
11 | } | ||
12 | *, *:before, *:after { | ||
13 | box-sizing: inherit; | ||
14 | } | ||
15 | body { | ||
16 | font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif; | ||
17 | font-size: 1rem; | ||
18 | font-weight: 400; | ||
19 | line-height: 1.5; | ||
20 | background-color: #ffffff; | ||
21 | color: #212121; | ||
22 | margin: 0; | ||
23 | } | ||
24 | h1, h2, h3, h4, h5 { | ||
25 | margin-top: 0px; | ||
26 | margin-bottom: 0.5rem; | ||
27 | font-weight: 500; | ||
28 | } | ||
29 | p { | ||
30 | margin-top: 0px; | ||
31 | margin-bottom: 1rem; | ||
32 | } | ||
33 | /* "Component" values */ | ||
34 | .gns-container { | ||
35 | max-width: 100%; | ||
36 | margin-left: auto; | ||
37 | margin-right: auto; | ||
38 | } | ||
39 | @media (min-width: 576px) { | ||
40 | .gns-container { | ||
41 | max-width: 540px; | ||
42 | } | ||
43 | } | ||
44 | @media (min-width: 768px) { | ||
45 | .gns-container { | ||
46 | max-width: 720px; | ||
47 | } | ||
48 | } | ||
49 | @media (min-width: 992px) { | ||
50 | .gns-container { | ||
51 | max-width: 960px; | ||
52 | } | ||
53 | } | ||
54 | @media (min-width: 1200px) { | ||
55 | .gns-container { | ||
56 | max-width: 1140px; | ||
57 | } | ||
58 | } | ||
59 | @media (min-width: 1400px) { | ||
60 | .gns-container { | ||
61 | max-width: 1320px; | ||
62 | } | ||
63 | } | ||
64 | </style> | ||
65 | </head> | ||
66 | <body> | ||
67 | <div class="gns-container"> | ||
68 | <h1>Invalid key</h1> | ||
69 | <p>The given GNS public key is not valid.</p> | ||
70 | </div> | ||
71 | </body> | ||
72 | </html> | ||
diff --git a/contrib/gns/gns-bcd-not-found.html b/contrib/gns/gns-bcd-not-found.html deleted file mode 100644 index 999d6f604..000000000 --- a/contrib/gns/gns-bcd-not-found.html +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <meta charset="utf-8"/> | ||
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
6 | <title>Error</title> | ||
7 | <style> | ||
8 | /* "Reset" values */ | ||
9 | html { | ||
10 | box-sizing: border-box; | ||
11 | } | ||
12 | *, *:before, *:after { | ||
13 | box-sizing: inherit; | ||
14 | } | ||
15 | body { | ||
16 | font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif; | ||
17 | font-size: 1rem; | ||
18 | font-weight: 400; | ||
19 | line-height: 1.5; | ||
20 | background-color: #ffffff; | ||
21 | color: #212121; | ||
22 | margin: 0; | ||
23 | } | ||
24 | h1, h2, h3, h4, h5 { | ||
25 | margin-top: 0px; | ||
26 | margin-bottom: 0.5rem; | ||
27 | font-weight: 500; | ||
28 | } | ||
29 | p { | ||
30 | margin-top: 0px; | ||
31 | margin-bottom: 1rem; | ||
32 | } | ||
33 | /* "Component" values */ | ||
34 | .gns-container { | ||
35 | max-width: 100%; | ||
36 | margin-left: auto; | ||
37 | margin-right: auto; | ||
38 | } | ||
39 | @media (min-width: 576px) { | ||
40 | .gns-container { | ||
41 | max-width: 540px; | ||
42 | } | ||
43 | } | ||
44 | @media (min-width: 768px) { | ||
45 | .gns-container { | ||
46 | max-width: 720px; | ||
47 | } | ||
48 | } | ||
49 | @media (min-width: 992px) { | ||
50 | .gns-container { | ||
51 | max-width: 960px; | ||
52 | } | ||
53 | } | ||
54 | @media (min-width: 1200px) { | ||
55 | .gns-container { | ||
56 | max-width: 1140px; | ||
57 | } | ||
58 | } | ||
59 | @media (min-width: 1400px) { | ||
60 | .gns-container { | ||
61 | max-width: 1320px; | ||
62 | } | ||
63 | } | ||
64 | </style> | ||
65 | </head> | ||
66 | <body> | ||
67 | <div class="gns-container"> | ||
68 | <h1>Not Found</h1> | ||
69 | <p>The requested resource could not be found.</p> | ||
70 | </div> | ||
71 | </body> | ||
72 | </html> | ||
diff --git a/contrib/gns/gns-bcd-png.tex b/contrib/gns/gns-bcd-png.tex deleted file mode 100644 index 4bf98e136..000000000 --- a/contrib/gns/gns-bcd-png.tex +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | \documentclass[convert={ghostscript}]{standalone} | ||
2 | \usepackage[utf8]{inputenc} | ||
3 | \usepackage[T1]{fontenc} | ||
4 | \usepackage{qrcode} | ||
5 | |||
6 | \input{def.tex} | ||
7 | |||
8 | \begin{document} | ||
9 | \qrcode[height=13cm,level=Q]{gnunet://gns/\gns} | ||
10 | \end{document} | ||
diff --git a/contrib/gns/gns-bcd-simple.html b/contrib/gns/gns-bcd-simple.html deleted file mode 100644 index 11b99e2b1..000000000 --- a/contrib/gns/gns-bcd-simple.html +++ /dev/null | |||
@@ -1,177 +0,0 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html lang="en"> | ||
3 | <head> | ||
4 | <meta charset="utf-8"/> | ||
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
6 | <title>Create your GNU Name System Business Card</title> | ||
7 | <style> | ||
8 | /* "Reset" values */ | ||
9 | html { | ||
10 | box-sizing: border-box; | ||
11 | } | ||
12 | *, *:before, *:after { | ||
13 | box-sizing: inherit; | ||
14 | } | ||
15 | body { | ||
16 | font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif; | ||
17 | font-size: 1rem; | ||
18 | font-weight: 400; | ||
19 | line-height: 1.5; | ||
20 | background-color: #ffffff; | ||
21 | color: #212121; | ||
22 | margin: 0; | ||
23 | } | ||
24 | h1, h2, h3, h4, h5 { | ||
25 | margin-top: 0px; | ||
26 | margin-bottom: 0.5rem; | ||
27 | font-weight: 500; | ||
28 | } | ||
29 | p { | ||
30 | margin-top: 0px; | ||
31 | margin-bottom: 1rem; | ||
32 | } | ||
33 | fieldset{ | ||
34 | margin: 0px; | ||
35 | padding: 0px; | ||
36 | border: 0px; | ||
37 | min-width: 0px; | ||
38 | } | ||
39 | label { | ||
40 | display: inline-block; | ||
41 | } | ||
42 | input { | ||
43 | margin: 0px; | ||
44 | font-family: inherit; | ||
45 | font-size: inherit; | ||
46 | line-height: inherit; | ||
47 | } | ||
48 | /* "Component" values */ | ||
49 | .gns-container { | ||
50 | max-width: 100%; | ||
51 | margin-left: auto; | ||
52 | margin-right: auto; | ||
53 | } | ||
54 | .gns-header { | ||
55 | padding-top: 1rem; | ||
56 | padding-bottom: 0.25rem; | ||
57 | } | ||
58 | .gns-form-group { | ||
59 | margin-bottom: 1.5rem; | ||
60 | } | ||
61 | .gns-field:not(:last-child) { | ||
62 | margin-bottom: 1rem; | ||
63 | } | ||
64 | .gns-label { | ||
65 | margin-bottom: 0.25rem; | ||
66 | } | ||
67 | .gns-text-input { | ||
68 | display: block; | ||
69 | width: 100%; | ||
70 | padding: 0.375rem 0.75rem; | ||
71 | color: #212121; | ||
72 | background-color: #ffffff; | ||
73 | border: 1px solid #ced4da; | ||
74 | border-radius: 0.20rem; | ||
75 | } | ||
76 | .gns-text-input:focus { | ||
77 | box-shadow: 0px 0px 9px rgba(102, 175, 233, 0.5); | ||
78 | border: 1px solid rgb(102, 175, 233); | ||
79 | } | ||
80 | .gns-check-input { | ||
81 | width: 1rem; | ||
82 | height: 1rem; | ||
83 | margin-top: 0.25rem; | ||
84 | margin-right: 0.25rem; | ||
85 | } | ||
86 | .gns-button { | ||
87 | display: inline-block; | ||
88 | text-align: center; | ||
89 | text-decoraton: none; | ||
90 | vertical-align: middle; | ||
91 | cursor: pointer; | ||
92 | border: 1px solid transparent; | ||
93 | padding: 0.375rem 0.75rem; | ||
94 | border-radius: 0.20rem; | ||
95 | } | ||
96 | .gns-button:focus { | ||
97 | box-shadow: 0px 0px 9px rgba(200, 200, 200, 0.75); | ||
98 | border: 1px solid rgb(98, 98, 98); | ||
99 | } | ||
100 | @media (min-width: 576px) { | ||
101 | .gns-container { | ||
102 | max-width: 540px; | ||
103 | } | ||
104 | } | ||
105 | @media (min-width: 768px) { | ||
106 | .gns-container { | ||
107 | max-width: 720px; | ||
108 | } | ||
109 | } | ||
110 | @media (min-width: 992px) { | ||
111 | .gns-container { | ||
112 | max-width: 960px; | ||
113 | } | ||
114 | } | ||
115 | @media (min-width: 1200px) { | ||
116 | .gns-container { | ||
117 | max-width: 1140px; | ||
118 | } | ||
119 | } | ||
120 | @media (min-width: 1400px) { | ||
121 | .gns-container { | ||
122 | max-width: 1320px; | ||
123 | } | ||
124 | } | ||
125 | </style> | ||
126 | </head> | ||
127 | <body> | ||
128 | <div class="gns-container"> | ||
129 | <div class="gns-header"> | ||
130 | <h1>GNU Name System Business Card</h1> | ||
131 | <p>Please fill in the information below to generate your business | ||
132 | card.</p> | ||
133 | <p>Want a more detailed card? Use the <a href="/full">full | ||
134 | form</a>.</p> | ||
135 | </div> | ||
136 | <form name="gnsinput" action="/submit/simple" method="get"> | ||
137 | <fieldset class="gns-form-group"> | ||
138 | <div class="gns-field"> | ||
139 | <label class="gns-label" for="name">Full Name:</label> | ||
140 | <input class="gns-text-input" name="name" type="text" required> | ||
141 | </div> | ||
142 | <div class="gns-field"> | ||
143 | <label class="gns-label" for="email">E-mail:</label> | ||
144 | <input class="gns-text-input" name="email" type="email" required> | ||
145 | </div> | ||
146 | <div class="gns-field"> | ||
147 | <label class="gns-label" for="homepage">Homepage:</label> | ||
148 | <input class="gns-text-input" name="homepage" type="text" required> | ||
149 | </div> | ||
150 | </fieldset> | ||
151 | <fieldset class="gns-form-group"> | ||
152 | <div class="gns-field"> | ||
153 | <label class="gns-label" for="gnskey">GNS Public Key</label> | ||
154 | <input class="gns-text-input" name="gnskey" type="text" required> | ||
155 | </div> | ||
156 | <div class="gns-field"> | ||
157 | <label class="gns-label" for="gnsnick">GNS Nickname:</label> | ||
158 | <input class="gns-text-input" name="gnsnick" type="text" required> | ||
159 | </div> | ||
160 | </fieldset> | ||
161 | <fieldset class="gns-form-group"> | ||
162 | <div class="gns-field"> | ||
163 | <input class="gns-check-input" name="gnspng" id="gnspng" type="checkbox" value="true"> | ||
164 | <label class="gns-label" for="gnspng">Generate only QR Code (as PNG)</label> | ||
165 | </div> | ||
166 | </fieldset> | ||
167 | <fieldset class="gns-form-group"> | ||
168 | <div class="gns-field"> | ||
169 | <input class="gns-button" | ||
170 | type="submit" | ||
171 | value="Generate Business Card"> | ||
172 | </div> | ||
173 | </fieldset> | ||
174 | </form> | ||
175 | </div> | ||
176 | </body> | ||
177 | </html> | ||
diff --git a/contrib/gns/gns-bcd-simple.tex b/contrib/gns/gns-bcd-simple.tex deleted file mode 100644 index 453fd6c47..000000000 --- a/contrib/gns/gns-bcd-simple.tex +++ /dev/null | |||
@@ -1,160 +0,0 @@ | |||
1 | \documentclass[a4paper,oneside]{scrartcl} | ||
2 | \usepackage[utf8]{inputenc} | ||
3 | \usepackage[T1]{fontenc} | ||
4 | \usepackage{tikz} | ||
5 | \usepackage{ifthen} | ||
6 | \usepackage{qrcode} | ||
7 | \usepackage[newdimens]{labels} | ||
8 | |||
9 | \LabelCols=2 | ||
10 | \LabelRows=5 | ||
11 | \LeftPageMargin=17.0mm | ||
12 | \RightPageMargin=17.0mm | ||
13 | \TopPageMargin=10.0mm | ||
14 | \BottomPageMargin=10.0mm | ||
15 | \InterLabelColumn=3.5mm | ||
16 | \InterLabelRow=3.0mm | ||
17 | \numberoflabels=10 | ||
18 | \LabelGridtrue | ||
19 | |||
20 | \renewcommand{\rmdefault}{phv} | ||
21 | \renewcommand{\seriesdefault}{m} | ||
22 | \renewcommand{\shapedefault}{n} | ||
23 | |||
24 | \input{def.tex} | ||
25 | |||
26 | \setlength\parindent{0pt} | ||
27 | |||
28 | \newcommand{\logo}{ | ||
29 | \begin{tikzpicture} | ||
30 | [every node/.style={circle,fill=black!73,inner sep=0pt,minimum size=2.2mm}, | ||
31 | every edge/.style={draw,semithick}, | ||
32 | x=1pt,y=1pt] | ||
33 | \node (p1) at (21.57,-219.43) {}; | ||
34 | \node (p2) at (41.44,-168.86) {} | ||
35 | edge (p1); | ||
36 | \node (p3) at (54.16,-130.86) {} | ||
37 | edge (p2); | ||
38 | \node (p4) at (-21.62,-219.43) {} | ||
39 | edge (p1); | ||
40 | \node (p5) at (10.41,-158.90) {} | ||
41 | edge (p2); | ||
42 | \node (p6) at (-22.20,-173.21) {} | ||
43 | edge (p4); | ||
44 | \node (p9) at (-147.32,-37.53) {}; | ||
45 | \node (p10) at (-97.30,-18.50) {} | ||
46 | edge (p9); | ||
47 | \node (p11) at (74.95,-89.64) {} | ||
48 | edge (p3); | ||
49 | \node (p12) at (-0.20,-182.48) {} | ||
50 | edge (p1) | ||
51 | edge (p4) | ||
52 | edge (p5) | ||
53 | edge (p6) | ||
54 | edge (p3); | ||
55 | \node (p13) at (18.79,-190.31) {} | ||
56 | edge (p2) | ||
57 | edge (p1) | ||
58 | edge (p5) | ||
59 | edge (p4); | ||
60 | \node (p14) at (-46.77,-141.82) {} | ||
61 | edge (p6) | ||
62 | edge (p4); | ||
63 | \node (p15) at (-14.08,-141.91) {} | ||
64 | edge (p5) | ||
65 | edge (p6) | ||
66 | edge (p12); | ||
67 | \node (p16) at (-96.66,-90.02) {}; | ||
68 | \node (p17) at (-71.34,-90.78) {} | ||
69 | edge (p16) | ||
70 | edge (p14); | ||
71 | \node (p18) at (-25.92,-109.84) {} | ||
72 | edge (p15) | ||
73 | edge (p17) | ||
74 | edge (p14); | ||
75 | \node (p19) at (-46.78,-94.06) {} | ||
76 | edge (p18) | ||
77 | edge (p17) | ||
78 | edge (p14) | ||
79 | edge (p15); | ||
80 | \node (p20) at (51.95,-67.01) {} | ||
81 | edge (p3) | ||
82 | edge (p11); | ||
83 | \node (p21) at (29.21,-103.63) {} | ||
84 | edge (p11) | ||
85 | edge (p20) | ||
86 | edge (p3) | ||
87 | edge (p5) | ||
88 | edge (p2); | ||
89 | \node (p22) at (-116.84,-55.89) {} | ||
90 | edge (p10) | ||
91 | edge (p9); | ||
92 | \node (p23) at (-61.14,-62.16) {} | ||
93 | edge (p18) | ||
94 | edge (p19) | ||
95 | edge (p17) | ||
96 | edge (p16); | ||
97 | \node (p24) at (107.08,-62.78) {} | ||
98 | edge (p20) | ||
99 | edge (p11); | ||
100 | \node (p25) at (131.66,-76.41) {} | ||
101 | edge (p24) | ||
102 | edge (p11) | ||
103 | edge (p20); | ||
104 | \node (p26) at (29.59,-139.18) {} | ||
105 | edge (p3) | ||
106 | edge (p21) | ||
107 | edge (p2) | ||
108 | edge (p5); | ||
109 | \node (p28) at (-137.12,-66.58) {} | ||
110 | edge (p22) | ||
111 | edge (p9) | ||
112 | edge (p10) | ||
113 | edge (p16); | ||
114 | \node (p29) at (-84.94,-72.38) {} | ||
115 | edge (p23) | ||
116 | edge (p22) | ||
117 | edge (p16) | ||
118 | edge (p28); | ||
119 | \node (p30) at (145.17,-37.49) {} | ||
120 | edge (p25) | ||
121 | edge (p24); | ||
122 | \node (p31) at (102.20,-18.50) {} | ||
123 | edge (p30) | ||
124 | edge (p25); | ||
125 | \end{tikzpicture} | ||
126 | } | ||
127 | |||
128 | \newcommand{\card}{ | ||
129 | \begin{tikzpicture} | ||
130 | [every node/.style={rectangle,fill=white,minimum height=7pt,inner sep=0pt}, | ||
131 | medium text/.style={text width=37.5mm}, | ||
132 | slight text/.style={text width=30mm}, | ||
133 | important text/.style={text width=41mm}, | ||
134 | font=\tiny] | ||
135 | \begin{scope}[xshift=10mm] | ||
136 | \node[important text] (prefix) at (0, 4mm) { | ||
137 | \ifthenelse{\equal{\prefix}{}}{}{\tiny \prefix} | ||
138 | }; | ||
139 | \node[important text] (name) at (0,0mm) { | ||
140 | \fontsize{9pt}{9pt}\selectfont | ||
141 | \textbf{\name}\ifthenelse{\equal{\suffix}{}}{}{, \tiny \suffix} | ||
142 | }; | ||
143 | \node[important text] (jobtitle) at (0, -4mm) {\jobtitle}; | ||
144 | \end{scope} | ||
145 | \begin{scope}[xshift=8.5mm,yshift=-1.23mm] | ||
146 | \node[medium text] (mail) at (0, -10mm) {\email}; | ||
147 | \node[medium text] (homepage) at (0, -13.25mm) {\homepage}; | ||
148 | \end{scope} | ||
149 | \begin{scope}[xshift=53.5mm] | ||
150 | \node (qrcode) at (0,-9mm) { | ||
151 | \qrcode[height=24.2mm,level=Q]{gnunet://gns/\gns} | ||
152 | }; | ||
153 | \node[scale=0.16] (logo) at (0,13mm) {\logo}; | ||
154 | \end{scope} | ||
155 | \end{tikzpicture} | ||
156 | } | ||
157 | |||
158 | \begin{document} | ||
159 | \addresslabel{\card} | ||
160 | \end{document} | ||
diff --git a/contrib/gns/gns-bcd.html b/contrib/gns/gns-bcd.html deleted file mode 100644 index 2046d159f..000000000 --- a/contrib/gns/gns-bcd.html +++ /dev/null | |||
@@ -1,205 +0,0 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html lang="en"> | ||
3 | <head> | ||
4 | <meta charset="utf-8"/> | ||
5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
6 | <title>Create your GNU Name System Business Card</title> | ||
7 | <style> | ||
8 | /* "Reset" values */ | ||
9 | html { | ||
10 | box-sizing: border-box; | ||
11 | } | ||
12 | *, *:before, *:after { | ||
13 | box-sizing: inherit; | ||
14 | } | ||
15 | body { | ||
16 | font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif; | ||
17 | font-size: 1rem; | ||
18 | font-weight: 400; | ||
19 | line-height: 1.5; | ||
20 | background-color: #ffffff; | ||
21 | color: #212121; | ||
22 | margin: 0; | ||
23 | } | ||
24 | h1, h2, h3, h4, h5 { | ||
25 | margin-top: 0px; | ||
26 | margin-bottom: 0.5rem; | ||
27 | font-weight: 500; | ||
28 | } | ||
29 | p { | ||
30 | margin-top: 0px; | ||
31 | margin-bottom: 1rem; | ||
32 | } | ||
33 | fieldset{ | ||
34 | margin: 0px; | ||
35 | padding: 0px; | ||
36 | border: 0px; | ||
37 | min-width: 0px; | ||
38 | } | ||
39 | label { | ||
40 | display: inline-block; | ||
41 | } | ||
42 | input { | ||
43 | margin: 0px; | ||
44 | font-family: inherit; | ||
45 | font-size: inherit; | ||
46 | line-height: inherit; | ||
47 | } | ||
48 | /* "Component" values */ | ||
49 | .gns-container { | ||
50 | max-width: 100%; | ||
51 | margin-left: auto; | ||
52 | margin-right: auto; | ||
53 | } | ||
54 | .gns-header { | ||
55 | padding-top: 1rem; | ||
56 | padding-bottom: 0.25rem; | ||
57 | } | ||
58 | .gns-form-group { | ||
59 | margin-bottom: 1.5rem; | ||
60 | } | ||
61 | .gns-form-group:not(:last-child) { | ||
62 | border-top: 1px solid #cecece; | ||
63 | } | ||
64 | .gns-form-group > :first-child { | ||
65 | margin-top: 1rem; | ||
66 | } | ||
67 | .gns-field:not(:last-child) { | ||
68 | margin-bottom: 1rem; | ||
69 | } | ||
70 | .gns-label { | ||
71 | margin-bottom: 0.25rem; | ||
72 | } | ||
73 | .gns-text-input { | ||
74 | display: block; | ||
75 | width: 100%; | ||
76 | padding: 0.375rem 0.75rem; | ||
77 | color: #212121; | ||
78 | background-color: #ffffff; | ||
79 | border: 1px solid #ced4da; | ||
80 | border-radius: 0.20rem; | ||
81 | } | ||
82 | .gns-text-input:focus { | ||
83 | box-shadow: 0px 0px 9px rgba(102, 175, 233, 0.5); | ||
84 | border: 1px solid rgb(102, 175, 233); | ||
85 | } | ||
86 | .gns-button { | ||
87 | display: inline-block; | ||
88 | text-align: center; | ||
89 | text-decoraton: none; | ||
90 | vertical-align: middle; | ||
91 | cursor: pointer; | ||
92 | border: 1px solid transparent; | ||
93 | padding: 0.375rem 0.75rem; | ||
94 | border-radius: 0.20rem; | ||
95 | } | ||
96 | .gns-button:focus { | ||
97 | box-shadow: 0px 0px 9px rgba(200, 200, 200, 0.75); | ||
98 | border: 1px solid rgb(98, 98, 98); | ||
99 | } | ||
100 | @media (min-width: 576px) { | ||
101 | .gns-container { | ||
102 | max-width: 540px; | ||
103 | } | ||
104 | } | ||
105 | @media (min-width: 768px) { | ||
106 | .gns-container { | ||
107 | max-width: 720px; | ||
108 | } | ||
109 | } | ||
110 | @media (min-width: 992px) { | ||
111 | .gns-container { | ||
112 | max-width: 960px; | ||
113 | } | ||
114 | } | ||
115 | @media (min-width: 1200px) { | ||
116 | .gns-container { | ||
117 | max-width: 1140px; | ||
118 | } | ||
119 | } | ||
120 | @media (min-width: 1400px) { | ||
121 | .gns-container { | ||
122 | max-width: 1320px; | ||
123 | } | ||
124 | } | ||
125 | </style> | ||
126 | </head> | ||
127 | <body> | ||
128 | <div class="gns-container"> | ||
129 | <div class="gns-header"> | ||
130 | <h1>GNU Name System Business Card</h1> | ||
131 | <p>Please fill in the information below to generate your business | ||
132 | card.</p> | ||
133 | </div> | ||
134 | <form name="gnsinput" action="/submit/full" method="get"> | ||
135 | <fieldset class="gns-form-group"> | ||
136 | <div class="gns-field"> | ||
137 | <label class="gns-label" for="prefix">Academic Title (prefix):</label> | ||
138 | <input class="gns-text-input" name="prefix" type="text"> | ||
139 | </div> | ||
140 | <div class="gns-field"> | ||
141 | <label class="gns-label" for="name">Full Name:</label> | ||
142 | <input class="gns-text-input" name="name" type="text" required> | ||
143 | </div> | ||
144 | </fieldset> | ||
145 | <fieldset class="gns-form-group"> | ||
146 | <div class="gns-field"> | ||
147 | <label class="gns-label" for="phone">Phone:</label> | ||
148 | <input class="gns-text-input" name="phone" type="text"> | ||
149 | </div> | ||
150 | <div class="gns-field"> | ||
151 | <label class="gns-label" for="fax">Fax:</label> | ||
152 | <input class="gns-text-input" name="fax" type="text"> | ||
153 | </div> | ||
154 | <div class="gns-field"> | ||
155 | <label class="gns-label" for="email">E-mail:</label> | ||
156 | <input class="gns-text-input" name="email" type="email" required> | ||
157 | </div> | ||
158 | <div class="gns-field"> | ||
159 | <label class="gns-label" for="homepage">Homepage:</label> | ||
160 | <input class="gns-text-input" name="homepage" type="text" required> | ||
161 | </div> | ||
162 | </fieldset> | ||
163 | <fieldset class="gns-form-group"> | ||
164 | <div class="gns-field"> | ||
165 | <label class="gns-label" for="org">Organization:</label> | ||
166 | <input class="gns-text-input" name="org" type="text" required> | ||
167 | </div> | ||
168 | <div class="gns-field"> | ||
169 | <label class="gns-label" for="department">Department:</label> | ||
170 | <input class="gns-text-input" name="department" type="text"> | ||
171 | </div> | ||
172 | <div class="gns-field"> | ||
173 | <label class="gns-label" for="subdepartment">Division:</label> | ||
174 | <input class="gns-text-input" name="subdepartment" type="text"> | ||
175 | </div> | ||
176 | <div class="gns-field"> | ||
177 | <label class="gns-label" for="jobtitle">Jobtitle:</label> | ||
178 | <input class="gns-text-input" name="jobtitle" type="text"> | ||
179 | </div> | ||
180 | </fieldset> | ||
181 | <fieldset class="gns-form-group"> | ||
182 | <div class="gns-field"> | ||
183 | <label class="gns-label" for="gpgfingerprint">GPG Fingerprint:</label> | ||
184 | <input class="gns-text-input" name="gpgfingerprint" type="text"> | ||
185 | </div> | ||
186 | <div class="gns-field"> | ||
187 | <label class="gns-label" for="gnskey">GNS Public Key</label> | ||
188 | <input class="gns-text-input" name="gnskey" type="text" required> | ||
189 | </div> | ||
190 | <div class="gns-field"> | ||
191 | <label class="gns-label" for="gnsnick">GNS Nickname:</label> | ||
192 | <input class="gns-text-input" name="gnsnick" type="text" required> | ||
193 | </div> | ||
194 | </fieldset> | ||
195 | <fieldset class="gns-form-group"> | ||
196 | <div class="gns-field"> | ||
197 | <input class="gns-button" | ||
198 | type="submit" | ||
199 | value="Generate Business Card"> | ||
200 | </div> | ||
201 | </fieldset> | ||
202 | </form> | ||
203 | </div> | ||
204 | </body> | ||
205 | </html> | ||
diff --git a/contrib/gns/gns-bcd.tex b/contrib/gns/gns-bcd.tex deleted file mode 100644 index de8c79de5..000000000 --- a/contrib/gns/gns-bcd.tex +++ /dev/null | |||
@@ -1,179 +0,0 @@ | |||
1 | \documentclass[a4paper,oneside]{scrartcl} | ||
2 | \usepackage[utf8]{inputenc} | ||
3 | \usepackage[T1]{fontenc} | ||
4 | \usepackage{tikz} | ||
5 | \usepackage{ifthen} | ||
6 | \usepackage{qrcode} | ||
7 | \usepackage[newdimens]{labels} | ||
8 | |||
9 | \LabelCols=2 | ||
10 | \LabelRows=5 | ||
11 | \LeftPageMargin=17.0mm | ||
12 | \RightPageMargin=17.0mm | ||
13 | \TopPageMargin=10.0mm | ||
14 | \BottomPageMargin=10.0mm | ||
15 | \InterLabelColumn=3.5mm | ||
16 | \InterLabelRow=3.0mm | ||
17 | \numberoflabels=10 | ||
18 | |||
19 | \renewcommand{\rmdefault}{phv} | ||
20 | \renewcommand{\seriesdefault}{m} | ||
21 | \renewcommand{\shapedefault}{n} | ||
22 | |||
23 | \input{def.tex} | ||
24 | |||
25 | \setlength\parindent{0pt} | ||
26 | |||
27 | \newcommand{\logo}{ | ||
28 | \begin{tikzpicture} | ||
29 | [every node/.style={circle,fill=black!73,inner sep=0pt,minimum size=2.2mm}, | ||
30 | every edge/.style={draw,semithick}, | ||
31 | x=1pt,y=1pt] | ||
32 | \node (p1) at (21.57,-219.43) {}; | ||
33 | \node (p2) at (41.44,-168.86) {} | ||
34 | edge (p1); | ||
35 | \node (p3) at (54.16,-130.86) {} | ||
36 | edge (p2); | ||
37 | \node (p4) at (-21.62,-219.43) {} | ||
38 | edge (p1); | ||
39 | \node (p5) at (10.41,-158.90) {} | ||
40 | edge (p2); | ||
41 | \node (p6) at (-22.20,-173.21) {} | ||
42 | edge (p4); | ||
43 | \node (p9) at (-147.32,-37.53) {}; | ||
44 | \node (p10) at (-97.30,-18.50) {} | ||
45 | edge (p9); | ||
46 | \node (p11) at (74.95,-89.64) {} | ||
47 | edge (p3); | ||
48 | \node (p12) at (-0.20,-182.48) {} | ||
49 | edge (p1) | ||
50 | edge (p4) | ||
51 | edge (p5) | ||
52 | edge (p6) | ||
53 | edge (p3); | ||
54 | \node (p13) at (18.79,-190.31) {} | ||
55 | edge (p2) | ||
56 | edge (p1) | ||
57 | edge (p5) | ||
58 | edge (p4); | ||
59 | \node (p14) at (-46.77,-141.82) {} | ||
60 | edge (p6) | ||
61 | edge (p4); | ||
62 | \node (p15) at (-14.08,-141.91) {} | ||
63 | edge (p5) | ||
64 | edge (p6) | ||
65 | edge (p12); | ||
66 | \node (p16) at (-96.66,-90.02) {}; | ||
67 | \node (p17) at (-71.34,-90.78) {} | ||
68 | edge (p16) | ||
69 | edge (p14); | ||
70 | \node (p18) at (-25.92,-109.84) {} | ||
71 | edge (p15) | ||
72 | edge (p17) | ||
73 | edge (p14); | ||
74 | \node (p19) at (-46.78,-94.06) {} | ||
75 | edge (p18) | ||
76 | edge (p17) | ||
77 | edge (p14) | ||
78 | edge (p15); | ||
79 | \node (p20) at (51.95,-67.01) {} | ||
80 | edge (p3) | ||
81 | edge (p11); | ||
82 | \node (p21) at (29.21,-103.63) {} | ||
83 | edge (p11) | ||
84 | edge (p20) | ||
85 | edge (p3) | ||
86 | edge (p5) | ||
87 | edge (p2); | ||
88 | \node (p22) at (-116.84,-55.89) {} | ||
89 | edge (p10) | ||
90 | edge (p9); | ||
91 | \node (p23) at (-61.14,-62.16) {} | ||
92 | edge (p18) | ||
93 | edge (p19) | ||
94 | edge (p17) | ||
95 | edge (p16); | ||
96 | \node (p24) at (107.08,-62.78) {} | ||
97 | edge (p20) | ||
98 | edge (p11); | ||
99 | \node (p25) at (131.66,-76.41) {} | ||
100 | edge (p24) | ||
101 | edge (p11) | ||
102 | edge (p20); | ||
103 | \node (p26) at (29.59,-139.18) {} | ||
104 | edge (p3) | ||
105 | edge (p21) | ||
106 | edge (p2) | ||
107 | edge (p5); | ||
108 | \node (p28) at (-137.12,-66.58) {} | ||
109 | edge (p22) | ||
110 | edge (p9) | ||
111 | edge (p10) | ||
112 | edge (p16); | ||
113 | \node (p29) at (-84.94,-72.38) {} | ||
114 | edge (p23) | ||
115 | edge (p22) | ||
116 | edge (p16) | ||
117 | edge (p28); | ||
118 | \node (p30) at (145.17,-37.49) {} | ||
119 | edge (p25) | ||
120 | edge (p24); | ||
121 | \node (p31) at (102.20,-18.50) {} | ||
122 | edge (p30) | ||
123 | edge (p25); | ||
124 | \end{tikzpicture} | ||
125 | } | ||
126 | |||
127 | \newcommand{\card}{ | ||
128 | \begin{tikzpicture} | ||
129 | [every node/.style={rectangle,fill=white,minimum height=7pt,inner sep=0pt}, | ||
130 | medium text/.style={text width=37.5mm}, | ||
131 | slight text/.style={text width=30mm}, | ||
132 | important text/.style={text width=40mm}, | ||
133 | font=\tiny] | ||
134 | \begin{scope}[xshift=64.25mm] | ||
135 | \node[medium text] (organization) at (0,-21mm) {\org}; | ||
136 | \ifthenelse{\equal{\department}{}}{}{ | ||
137 | \node[medium text] (department) at (0,-23.5mm) {\department}; | ||
138 | } | ||
139 | \ifthenelse{\equal{\subdepartment}{}}{}{ | ||
140 | \node[medium text] (subdepartment) at (0,-26.5mm) {\subdepartment}; | ||
141 | } | ||
142 | \ifthenelse{\equal{\phone}{}}{}{ | ||
143 | \node[medium text] (tel label) at (0,-30mm) {Tel}; | ||
144 | \node[slight text] (tel number) at (0.75mm,-30mm) {\phone}; | ||
145 | } | ||
146 | \ifthenelse{\equal{\fax}{}}{}{ | ||
147 | \node[medium text] (fax label) at (0,-32.5mm) {Fax}; | ||
148 | \node[slight text] (fax number) at (0.75mm,-32.5mm) {\fax}; | ||
149 | } | ||
150 | \node[medium text] (e-mail address) at (0,-35.5mm) {\email}; | ||
151 | \node[medium text] (homepage address) at (0,-38mm) {\homepage}; | ||
152 | \ifthenelse{\equal{\gpglineone}{}}{}{ | ||
153 | \node[medium text] (gpg label) at (0,-41mm) {GPG Fingerprint}; | ||
154 | \node[medium text] (gpg line one) at (0,-43.5mm) {\gpglineone}; | ||
155 | \node[medium text] (gpg line two) at (0,-46mm) {\gpglinetwo}; | ||
156 | } | ||
157 | \end{scope} | ||
158 | \node[scale=0.127] (logo) at (70mm, -10.5mm) {\logo}; | ||
159 | \node (qrcode) at (20mm,-17mm) { | ||
160 | \qrcode[height=20mm,level=Q]{gnunet://gns/\gns} | ||
161 | }; | ||
162 | \begin{scope}[xshift=24.25mm,yshift=-12mm] | ||
163 | \node[important text] (name prefix) at (0,-21mm) { | ||
164 | \ifthenelse{\equal{\prefix}{}}{}{\tiny \prefix} | ||
165 | }; | ||
166 | \node[important text] (name) at (0,-24mm) { | ||
167 | \fontsize{8pt}{8pt}\selectfont | ||
168 | \textbf{\name}\ifthenelse{\equal{\suffix}{}}{}{, \tiny \suffix} | ||
169 | }; | ||
170 | \ifthenelse{\equal{\jobtitle}{}}{}{ | ||
171 | \node[important text] (job title) at (0,-29mm) {\jobtitle}; | ||
172 | } | ||
173 | \end{scope} | ||
174 | \end{tikzpicture} | ||
175 | } | ||
176 | |||
177 | \begin{document} | ||
178 | \addresslabel{\card} | ||
179 | \end{document} | ||