From 95fc5a3e05eff03fffe4b763d5f89ea976a8ff90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Lanzend=C3=B6rfer?= <leviathan@libresilicon.com> Date: Thu, 13 Jul 2023 02:22:47 +0100 Subject: [PATCH] Updating page --- index.html | 14 +++++++------- index_de.html | 14 +++++++------- index_en.html | 14 +++++++------- index_zh.html | 14 +++++++------- index_zh_big5.html | 14 +++++++------- templates/index.tpl | 14 +++++++------- translate.py | 2 +- 7 files changed, 43 insertions(+), 43 deletions(-) diff --git a/index.html b/index.html index ef4c319..793e8c2 100644 --- a/index.html +++ b/index.html @@ -493,7 +493,7 @@ </div> <div class="row center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/propaganda/talk.pdf" target="_blank"> + <a rel="noreferrer" href="files/propaganda/talk.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Lightning talk slides</u></p> </a> @@ -517,19 +517,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_lowtech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/files/process/v1/process_lowtech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (low tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process design</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design_rules.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design_rules.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Design rules</u></p> </a> @@ -537,19 +537,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_hightech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_hightech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (high tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_testing.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_testing.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process testing guide</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/HKUST_steps_dry.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/HKUST_steps_dry.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>HKUST implementation</u></p> </a> diff --git a/index_de.html b/index_de.html index 4023873..594629a 100644 --- a/index_de.html +++ b/index_de.html @@ -373,7 +373,7 @@ We intend to change that!</p> </div> <div class="row center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/propaganda/talk.pdf" target="_blank"> + <a rel="noreferrer" href="files/propaganda/talk.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Lightning talk slides</u></p> </a> @@ -397,19 +397,19 @@ We intend to change that!</p> </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_lowtech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/files/process/v1/process_lowtech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (low tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process design</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design_rules.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design_rules.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Design rules</u></p> </a> @@ -417,19 +417,19 @@ We intend to change that!</p> </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_hightech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_hightech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (high tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_testing.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_testing.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process testing guide</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/HKUST_steps_dry.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/HKUST_steps_dry.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>HKUST implementation</u></p> </a> diff --git a/index_en.html b/index_en.html index ef4c319..793e8c2 100644 --- a/index_en.html +++ b/index_en.html @@ -493,7 +493,7 @@ </div> <div class="row center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/propaganda/talk.pdf" target="_blank"> + <a rel="noreferrer" href="files/propaganda/talk.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Lightning talk slides</u></p> </a> @@ -517,19 +517,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_lowtech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/files/process/v1/process_lowtech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (low tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process design</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design_rules.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design_rules.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Design rules</u></p> </a> @@ -537,19 +537,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_hightech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_hightech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (high tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_testing.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_testing.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process testing guide</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/HKUST_steps_dry.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/HKUST_steps_dry.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>HKUST implementation</u></p> </a> diff --git a/index_zh.html b/index_zh.html index 12c61e5..c1f4017 100644 --- a/index_zh.html +++ b/index_zh.html @@ -362,7 +362,7 @@ </div> <div class="row center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/propaganda/talk.pdf" target="_blank"> + <a rel="noreferrer" href="files/propaganda/talk.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Lightning talk slides</u></p> </a> @@ -386,19 +386,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_lowtech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/files/process/v1/process_lowtech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (low tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process design</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design_rules.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design_rules.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Design rules</u></p> </a> @@ -406,19 +406,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_hightech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_hightech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (high tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_testing.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_testing.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process testing guide</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/HKUST_steps_dry.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/HKUST_steps_dry.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>HKUST implementation</u></p> </a> diff --git a/index_zh_big5.html b/index_zh_big5.html index 258014c..9522aab 100644 --- a/index_zh_big5.html +++ b/index_zh_big5.html @@ -362,7 +362,7 @@ </div> <div class="row center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/propaganda/talk.pdf" target="_blank"> + <a rel="noreferrer" href="files/propaganda/talk.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Lightning talk slides</u></p> </a> @@ -386,19 +386,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_lowtech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/files/process/v1/process_lowtech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (low tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process design</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design_rules.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design_rules.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Design rules</u></p> </a> @@ -406,19 +406,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_hightech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_hightech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (high tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_testing.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_testing.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process testing guide</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/HKUST_steps_dry.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/HKUST_steps_dry.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>HKUST implementation</u></p> </a> diff --git a/templates/index.tpl b/templates/index.tpl index 11f2828..a2b62bd 100644 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -355,7 +355,7 @@ </div> <div class="row center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/propaganda/talk.pdf" target="_blank"> + <a rel="noreferrer" href="files/propaganda/talk.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Lightning talk slides</u></p> </a> @@ -379,19 +379,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_lowtech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/files/process/v1/process_lowtech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (low tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process design</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_design_rules.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_design_rules.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Design rules</u></p> </a> @@ -399,19 +399,19 @@ </div> <div class="row text-center"> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_hightech_steps.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_hightech_steps.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process steps (high tech)</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/process_testing.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/process_testing.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>Process testing guide</u></p> </a> </div> <div class="col-xs-4 text-center"> - <a rel="noreferrer" href="https://download.libresilicon.com/process/v1/HKUST_steps_dry.pdf" target="_blank"> + <a rel="noreferrer" href="files/process/v1/HKUST_steps_dry.pdf" target="_blank"> <img width="120px" style="margin-top: 20px;" src="img/LSA-pdf.svg"> <p><u>HKUST implementation</u></p> </a> diff --git a/translate.py b/translate.py index 2ee0ed3..d24454b 100755 --- a/translate.py +++ b/translate.py @@ -15,7 +15,7 @@ languages = [False,'zh','zh_big5','en','de'] def render_template(jinja_env, template_filename, language): print("Language: "+language) try: - json_content = json.load(fp=open("lang/"+language+".json"),encoding="utf-8") + json_content = json.load(fp=open("lang/"+language+".json"))#,encoding="utf-8") except Exception as e: print("Error rendering language: "+language) print(e) -- GitLab