aboutsummaryrefslogtreecommitdiff
path: root/contrib/Makefile.am
diff options
context:
space:
mode:
authorAlessio Vanni <vannilla@firemail.cc>2021-10-14 21:22:40 +0200
committerAlessio Vanni <vannilla@firemail.cc>2021-11-21 15:23:26 +0100
commit48ccb35c9aea178d7103c3f198946c1bcbcc080c (patch)
treeefa23246d4b5a657d2a311a326346483ff1a5e54 /contrib/Makefile.am
parent5cbf93d3c6c7a058d9a7893e2a3583a2b5b30d0e (diff)
downloadgnunet-48ccb35c9aea178d7103c3f198946c1bcbcc080c.tar.gz
gnunet-48ccb35c9aea178d7103c3f198946c1bcbcc080c.zip
Improve gnunet-bcd and update logo used in generated cards
The HTML forms now use a custom CSS instead of importing Bootstrap 4. This new CSS is basd on Bootstrap 5 with some minimal differences to make it look a bit like the older theme. Bootstrap was removed because these pages don't need its full power and also because it was difficult for some text editors to handle the one-long-line minified CSS embedded in the HTML. Since the forms are just a series of label + input elements, using a specific set of directives doesn't add any significant maintenance cost while making editing easiers. A new form to generate a simplified card was added. This card is desgined to reduce the leftover whitespace when some optional entries are left blank in the "full" form, while at the same time giving importance to the QR code containing the GNS address. Its layout can be improved. The simplified form can also be used to generate a PNG picture of the QR code, so that it can be included in other graphical media other than a business card, for example on a flyer or in the signature of a HTML-based e-mail. Generally, the gnunet-bcd service should provide a slightly better user experience, even if it's just to provide different pages for different errors but with a unified style. The logo used in the cards has been changed from the previous "gnu in front of a spiderweb" illustration to the new "gnu-shaped network of peers" image. It is also now a pure TikZ picture instead of being made using PSTricks, because, apparently, there is an incompatibility between the two packages in recent versions which made it impossible to compile the file. As a consequence of the incompatibility between TikZ and PSTricks, the QR code is now generated using the 'qrcode' package. This commit contains some changes to FCFS, but they're just some minor fixes and are unrelated to the changes to BCD.
Diffstat (limited to 'contrib/Makefile.am')
-rw-r--r--contrib/Makefile.am12
1 files changed, 8 insertions, 4 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index fa31d96f7..3841f20a8 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -6,12 +6,16 @@ SUBDIRS = scripts hellos services
6include Makefile.inc 6include Makefile.inc
7 7
8dist_pkgdata_DATA = \ 8dist_pkgdata_DATA = \
9 gns/gns-form.xslt \
10 gns/gns-bcd.html \
11 gns/def.tex \ 9 gns/def.tex \
12 gns/bootstrap.min.css \ 10 gns/gns-bcd.html \
13 gns/gns-form-fields.xml \
14 gns/gns-bcd.tex \ 11 gns/gns-bcd.tex \
12 gns/gns-bcd-forbidden.html \
13 gns/gns-bcd-internal-error.html \
14 gns/gns-bcd-invalid-key.html \
15 gns/gns-bcd-not-found.html \
16 gns/gns-bcd-png.tex \
17 gns/gns-bcd-simple.html \
18 gns/gns-bcd-simple.tex \
15 fcfsd/fcfsd-index.html \ 19 fcfsd/fcfsd-index.html \
16 fcfsd/fcfsd-forbidden.html \ 20 fcfsd/fcfsd-forbidden.html \
17 fcfsd/fcfsd-notfound.html \ 21 fcfsd/fcfsd-notfound.html \