]> git.tnoah.ca Git - lora-radio.git/commitdiff
Updated console site
authorMark Qvist <mark@unsigned.io>
Thu, 12 Jan 2023 18:03:15 +0000 (19:03 +0100)
committerMark Qvist <mark@unsigned.io>
Thu, 12 Jan 2023 18:03:15 +0000 (19:03 +0100)
Console/build.py
Console/source/guides.md [new file with mode: 0644]
Console/source/index.md

index d379877b6be273d08e7afb6a1e3c6042c334d131..91b8dfaf93d614d64453cf48f0c0435b26d46ce5 100644 (file)
@@ -35,7 +35,7 @@ document_start = """
 
 document_end = """</body></html>"""
 
-menu_md = """<center><span class="menu">[Start]({CONTENT_PATH}index.html) | [Replicate]({CONTENT_PATH}replicate.html) | [Guides]({CONTENT_PATH}guides.html) | [Software]({CONTENT_PATH}software.html) | [Help](help.html) | [Contribute]({CONTENT_PATH}contribute.html)</span></center>"""
+menu_md = """<center><span class="menu">[Start]({CONTENT_PATH}index.html) | [Replicate]({CONTENT_PATH}replicate.html) | [Software]({CONTENT_PATH}software.html) | [Guides]({CONTENT_PATH}guides.html) | [Help](help.html) | [Contribute]({CONTENT_PATH}contribute.html)</span></center>"""
 
 url_maps = [
     # { "path": "", "target": "/.md"},    
@@ -148,8 +148,10 @@ source_files = scan_pages(SOURCES_PATH)
 
 def fetch_reticulum_site():
     r_site_path = BUILD_PATH+"/r"
-    shutil.copytree(PACKAGES_PATH+"/reticulum.network", r_site_path)
-    shutil.rmtree(r_site_path+"/manual")
+    if not os.path.isdir(r_site_path):
+        shutil.copytree(PACKAGES_PATH+"/reticulum.network", r_site_path)
+    if os.path.isdir(r_site_path+"/manual"):
+        shutil.rmtree(r_site_path+"/manual")
 
 def gz_all():
     import gzip
diff --git a/Console/source/guides.md b/Console/source/guides.md
new file mode 100644 (file)
index 0000000..e69de29
index d3f8a90b667ea45aa683a6e81b62b0a89d501d0f..d7ebf664b872605d7d7c040211f6053c979171c6 100644 (file)
@@ -1,21 +1,28 @@
-**Hello!** You have connected to the **RNode Bootstrap Console**.
-
-This repository contains all the tools, software and information necessary to bootstrap networks and communications systems based on Reticulum. The tools and information contained in this RNode will also allow you to replicate the design, build more RNodes and grow your communications ecosystems.
-
+<table>
+<tbody>
+<tr>
+<td style="vertical-align:middle;"><b>Hello!</b><br/>
+You have connected to the <b>RNode Bootstrap Console</b>.<br/>
 <br/>
-<center><img src="{ASSET_PATH}gfx/rnode_iso.png" width="50%"/></center>
+This repository contains all the tools, software and information necessary to bootstrap networks and communications systems based on Reticulum.<br/>
 <br/>
+The tools and information contained in this RNode will also allow you to replicate the design, build more RNodes and grow your communications ecosystems.
+</td>
+<td width="33%" style="vertical-align:middle;">
+<img src="{ASSET_PATH}gfx/rnode_iso.png" width="100%"/></td>
+</tr>
+</tbody>
+</table>
+<hr>
 <center>
-
-### What would you like to do?
+<h3>What would you like to do?</h3>
 This repository contains resources for a variety of different tasks. You can browse this repository freely, or jump straight into a task-oriented workflow by selecting one of the starting points below.
 <br/>
 <br/>
-<button type="button" id="task-rns">Install Reticulum</button>
-<button type="button" id="task-rns">Download Programs</button>
-<button type="button" id="task-rns">Create RNodes</button>
-<button type="button" id="task-rns">Build A Network</button>
-<button type="button" id="task-rns">Learn More</button>
-<button type="button" id="task-rns">Get Help</button>
-<button type="button" id="task-rns">Contribute</button>
-</center>
\ No newline at end of file
+<a href="./replicate.html"><button type="button" id="task-replicate">Create RNodes</button></a>
+<a href="./software.html"><button type="button" id="task-rns">Install Software</button></a>
+<a href="./guides.html"><button type="button" id="task-rns">Learn More</button></a>
+<a href="./networks.html"><button type="button" id="task-rns">Build A Network</button></a>
+<a href="./help.html"><button type="button" id="task-rns">Get Help</button></a>
+<a href="./contribute.html"><button type="button" id="task-rns">Contribute</button></a>
+</center>