Website update

New eclipse logo
Stickers no longer available due to Moo API going.
Fix manpage generation.
Add rr manpage
Update version support on index.
This commit is contained in:
Roger A. Light 2019-04-25 22:02:12 +01:00
parent 4555ee79e5
commit 2c1ce45e9d
5 changed files with 10 additions and 28 deletions

View File

@ -94,6 +94,7 @@ NAVIGATION_LINKS = {
("/man/mosquitto-conf-5.html", "mosquitto.conf"),
("/man/mosquitto_passwd-1.html", "mosquitto_passwd"),
("/man/mosquitto_pub-1.html", "mosquitto_pub"),
("/man/mosquitto_rr-1.html", "mosquitto_rr"),
("/man/mosquitto_sub-1.html", "mosquitto_sub"),
("/man/mosquitto-tls-7.html", "mosquitto-tls"),
("/man/mqtt-7.html", "mqtt"),
@ -155,7 +156,7 @@ PAGES = (
("pages/*.txt", "", "story.tmpl"),
("pages/*.html", "", "story.tmpl"),
("pages/*.md", "", "story.tmpl"),
("../man/*.xml", "man", "story.tmpl"),
("man/*.xml", "man", "story.tmpl"),
)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -11,39 +11,19 @@
<div style="width:500px; text-align:center; margin: 0 auto;">
<h1>Eclipse Mosquitto&trade; Sticker Generator</h1>
<p>This page allows you to create a book of square stickers to buy from <a href="http://moo.com/">Moo</a>.</p>
<p>This page used to allow you to create a book of square stickers to buy
from <a href="http://moo.com/">Moo</a>. Unfortunately they have
discontinued their API, so if you want Mosquitto stickers you can use the
images and create your own sticker book manually.</p>
<p>Click the logos to choose which to include, then click submit to be
taken to the Moo site with a stickerbook ready in your basket. If you
choose both logos you will get 45 of each, otherwise you will get 90 of the
one you choose.</p>
<span style="margin: 0 auto; width: 200px; text-align: center">
<img id="mono" src="mosquitto-mono.png" width="100" height="100" onclick="changeImg('mono')">
<img id="colour" src="mosquitto-colour.png" width="100" height="100" onclick="changeImg('colour')"><br/>
<img id="mono" src="mosquitto-mono.png" width="100" height="100">
<img id="colour" src="mosquitto-colour.png" width="100" height="100">
</span>
<form action="submit.php" method="get">
<input type="hidden" id="mono-check" name="mono" value="1">
<input type="hidden" id="colour-check" name="colour" value="1">
<input type="submit" value="Submit">
</form>
</div>
<script>
function changeImg(id){
var img = document.getElementById(id),
inp = document.getElementById(id+"-check"),
x = img.src.split("/"),
t = x.length-1,
y = x[t];
if(y.indexOf('deselected') > -1){
img.src = "mosquitto-"+id+".png";
inp.value = "1";
}else{
img.src = "mosquitto-"+id+"-deselected.png";
inp.value = "0";
}
}
</script>
</body>
</html>

1
www/man Symbolic link
View File

@ -0,0 +1 @@
../man

View File

@ -12,7 +12,7 @@
<section class="section is-small">
<div class="container">
<p>Eclipse Mosquitto is an open source (EPL/EDL licensed) message broker that
implements the MQTT protocol versions 3.1 and 3.1.1. Mosquitto
implements the MQTT protocol versions 5.0, 3.1.1 and 3.1. Mosquitto
is lightweight and is suitable for use on all devices from low
power single board computers to full servers.</p>