diff --git a/README.md b/README.md index 0f42549..d4d34b0 100644 --- a/README.md +++ b/README.md @@ -80,3 +80,4 @@ Ces dossiers ne sont pas indexés par le dépôt : * Télécharger les manuels et les héberger sur Planète Casio. * Télécharger tous les OS updaters, les héberger sur Planète Casio, et les ajouter à la base de données. +* Compléter les icônes pixel art. diff --git a/images/pixel.xcf b/images/pixel.xcf new file mode 100644 index 0000000..44d50fd Binary files /dev/null and b/images/pixel.xcf differ diff --git a/images/pixel/cg10.png b/images/pixel/cg10.png new file mode 100644 index 0000000..94c0b83 Binary files /dev/null and b/images/pixel/cg10.png differ diff --git a/images/pixel/cg20.png b/images/pixel/cg20.png new file mode 100644 index 0000000..94c0b83 Binary files /dev/null and b/images/pixel/cg20.png differ diff --git a/images/pixel/cp300.png b/images/pixel/cp300.png new file mode 100644 index 0000000..122e2a9 Binary files /dev/null and b/images/pixel/cp300.png differ diff --git a/images/pixel/cp330+.png b/images/pixel/cp330+.png new file mode 100644 index 0000000..29768e0 Binary files /dev/null and b/images/pixel/cp330+.png differ diff --git a/images/pixel/cp330.png b/images/pixel/cp330.png new file mode 100644 index 0000000..7d99b24 Binary files /dev/null and b/images/pixel/cp330.png differ diff --git a/images/pixel/cp400+e.png b/images/pixel/cp400+e.png new file mode 100644 index 0000000..fe1bd5d Binary files /dev/null and b/images/pixel/cp400+e.png differ diff --git a/images/pixel/cp400.png b/images/pixel/cp400.png new file mode 100644 index 0000000..4bc7df0 Binary files /dev/null and b/images/pixel/cp400.png differ diff --git a/images/pixel/g100+.png b/images/pixel/g100+.png new file mode 100644 index 0000000..4e1009b Binary files /dev/null and b/images/pixel/g100+.png differ diff --git a/images/pixel/g100.png b/images/pixel/g100.png new file mode 100644 index 0000000..e46c165 Binary files /dev/null and b/images/pixel/g100.png differ diff --git a/images/pixel/g25+.png b/images/pixel/g25+.png new file mode 100644 index 0000000..ddba244 Binary files /dev/null and b/images/pixel/g25+.png differ diff --git a/images/pixel/g25+e.png b/images/pixel/g25+e.png new file mode 100644 index 0000000..0684f36 Binary files /dev/null and b/images/pixel/g25+e.png differ diff --git a/images/pixel/g25+pro.png b/images/pixel/g25+pro.png new file mode 100644 index 0000000..87af47b Binary files /dev/null and b/images/pixel/g25+pro.png differ diff --git a/images/pixel/g25.png b/images/pixel/g25.png new file mode 100644 index 0000000..0da3111 Binary files /dev/null and b/images/pixel/g25.png differ diff --git a/images/pixel/g35+.png b/images/pixel/g35+.png new file mode 100644 index 0000000..aa0b751 Binary files /dev/null and b/images/pixel/g35+.png differ diff --git a/images/pixel/g35+e.png b/images/pixel/g35+e.png new file mode 100644 index 0000000..61e1ce9 Binary files /dev/null and b/images/pixel/g35+e.png differ diff --git a/images/pixel/g35+usb3.png b/images/pixel/g35+usb3.png new file mode 100644 index 0000000..6004a67 Binary files /dev/null and b/images/pixel/g35+usb3.png differ diff --git a/images/pixel/g35+usb4.png b/images/pixel/g35+usb4.png new file mode 100644 index 0000000..6004a67 Binary files /dev/null and b/images/pixel/g35+usb4.png differ diff --git a/images/pixel/g35.png b/images/pixel/g35.png new file mode 100644 index 0000000..c10afeb Binary files /dev/null and b/images/pixel/g35.png differ diff --git a/images/pixel/g65.png b/images/pixel/g65.png new file mode 100644 index 0000000..c16d85a Binary files /dev/null and b/images/pixel/g65.png differ diff --git a/images/pixel/g75+.png b/images/pixel/g75+.png new file mode 100644 index 0000000..d4fea4b Binary files /dev/null and b/images/pixel/g75+.png differ diff --git a/images/pixel/g75+e.png b/images/pixel/g75+e.png new file mode 100644 index 0000000..cec0f1c Binary files /dev/null and b/images/pixel/g75+e.png differ diff --git a/images/pixel/g75.png b/images/pixel/g75.png new file mode 100644 index 0000000..9a0d269 Binary files /dev/null and b/images/pixel/g75.png differ diff --git a/images/pixel/g85.png b/images/pixel/g85.png new file mode 100644 index 0000000..fc6cace Binary files /dev/null and b/images/pixel/g85.png differ diff --git a/images/pixel/g85sd.png b/images/pixel/g85sd.png new file mode 100644 index 0000000..fc6cace Binary files /dev/null and b/images/pixel/g85sd.png differ diff --git a/images/pixel/g90+e.png b/images/pixel/g90+e.png new file mode 100644 index 0000000..85e7604 Binary files /dev/null and b/images/pixel/g90+e.png differ diff --git a/images/pixel/g95.png b/images/pixel/g95.png new file mode 100644 index 0000000..eed4fd3 Binary files /dev/null and b/images/pixel/g95.png differ diff --git a/lang/en.yaml b/lang/en.yaml index 1542920..f64024b 100644 --- a/lang/en.yaml +++ b/lang/en.yaml @@ -151,7 +151,7 @@ enums: brightness_5levels: "5 brightness levels" color_mode: mono: "Black and white" - rgb565: "65536 colors (`RGB565`)" + rgb565: "65536 colors (RGB565)" display_size_text: variable: "Variable" serial_connection: diff --git a/lang/fr.yaml b/lang/fr.yaml index 0c17661..dee034f 100644 --- a/lang/fr.yaml +++ b/lang/fr.yaml @@ -151,7 +151,7 @@ enums: brightness_5levels: "5 niveaux de luminosité" color_mode: mono: "Noir et blanc" - rgb565: "65536 couleurs (`RGB565`)" + rgb565: "65536 couleurs (RGB565)" display_size_text: variable: "Variable" serial_connection: diff --git a/tools/render-html.py b/tools/render-html.py index 6d5edd3..e305557 100755 --- a/tools/render-html.py +++ b/tools/render-html.py @@ -104,14 +104,18 @@ for (name, calc) in db.all_calcs(): else: url = "https://gitea.planet-casio.com/Lephenixnoir/CalcDB/raw/"\ f"branch/master/images/small/{name}.jpg" - print(f"") + + cssname = "calc calc-" + name.replace("+", "p") + print(f"") print("") # Full name print(f"") for (name, calc) in db.all_calcs(): value = calc["general"]["full_name"] active = " st-active" if calc["general"]["active"] else "" - print(f"{value}") + + cssname = "calc calc-" + name.replace("+", "p") + print(f"{value}") print("") for category in db.all_categories(): @@ -135,11 +139,9 @@ for category in db.all_categories(): r = lang.filter(r) r = md.convert(r) - classes = "" - if styles != []: - classes = " class='" + " ".join(f"st-{c}" for c in styles)+"'" - - print(f"{r}") + classes = " ".join(f"st-{c}" for c in styles) + cssname = "calc calc-" + name.replace("+", "p") + print(f"{r}") print("") print("")