|
14 | 14 | </head> |
15 | 15 |
|
16 | 16 | <body> |
17 | | - <script src="{{ static }}js/main.js"></script> |
18 | | - <a id="gotothetop" href="#top" title={{ _(trans["back"]) }}></a> |
19 | | - <div id="cartouche"> |
20 | | - <div id="header"> |
21 | | - <h1>{{ _(trans["mod_list"]) }}</h1> |
22 | | - <div class="language-picker"> |
23 | | - {% for language_url, flag in language_flags.items() %} |
24 | | - <a href="https://riwspy.github.io/lcc-docs/{{ language_url }}/">{{ flag }}{% if not loop.last %} • {% endif %}</a> |
25 | | - {% endfor %} |
26 | | - </div> |
27 | | - <hr> |
28 | | - <div class="nav-2"> |
29 | | - <img class="main" |
30 | | - src="{{ static }}img/logo_lcc.avif" |
31 | | - title="La Couronne de Cuivre" |
32 | | - alt="La Couronne de Cuivre" |
33 | | - height="215" |
34 | | - width="885" /> |
35 | | - <div class="credits"> |
36 | | - <p> |
37 | | - <strong>{{ _(trans["author"]) }}</strong> <a href="https://www.baldursgateworld.fr/memberlist.php?mode=viewprofile&u=12382">Freddy_Gwendo (aka Gwendolyne)</a> |
38 | | - </p> |
39 | | - <p> |
40 | | - <strong>{{ _(trans["maintainer"]) }}</strong> <a href="https://www.baldursgateworld.fr/memberlist.php?mode=viewprofile&u=12905">rivvers</a> |
41 | | - </p> |
42 | | - <p> |
43 | | - <strong>Version :</strong> <span id="version">3.9.0</span> |
44 | | - </p> |
45 | | - <p> |
46 | | - <a href="https://www.baldursgateworld.fr/viewtopic.php?t=34779">{{ _(trans["discussion"]) }} CC</a> • <a href="https://www.gibberlings3.net/forums/topic/40557-the-copper-coronet-mods-list/">{{ _(trans["discussion"]) }} G3</a> • <a href="https://github.com/RiwsPy/lcc-docs">GitHub</a> |
47 | | - </p> |
48 | | - </div> |
49 | | - </div> |
50 | | - </div> |
51 | | - |
52 | | - <section id="maindiv"> |
53 | | - <!-- ================== I n t r o d u c t i o n ================== --> |
54 | | - <a name="intro" id="intro"></a> |
55 | | - <div class="content"> |
56 | | - <h2 class="background">{{ _(trans["introduction"]) }}</h2> |
57 | | - <div class="text"> |
58 | | - <div class="intro"> |
59 | | - {% for intro in trans["intros"] %} |
60 | | - <p>{{ _(intro) }}</p> |
61 | | - {% endfor %} |
62 | | - </div> |
63 | | - <p class="title">{{ _(trans["mod_nb"]) }}<strong>{{ mod_length }}</strong></p> |
64 | | - <div class="tables"> |
65 | | - <div class="legend"> |
66 | | - <p class="title">{{ _(trans["legend"]) }}</p> |
67 | | - <p> |
68 | | - <strong>{{ _(trans["mod_quality"]) }}</strong> |
69 | | - </p> |
70 | | - <ul> |
71 | | - {% for icon_data in attrs_icon_data.safe.values() %} |
72 | | - <li>{{ icon_data.icon }} {{ _(icon_data.label) }}</li> |
73 | | - {% endfor %} |
74 | | - </ul> |
75 | | - <p> |
76 | | - <strong>{{ _(trans["translation_state"]) }}</strong> |
77 | | - </p> |
78 | | - <ul> |
79 | | - {% for icon_data in attrs_icon_data.translation_state_auto.values() %} |
80 | | - <li>{{ icon_data.icon }} {{ _(icon_data.label) }}</li> |
81 | | - {% endfor %} |
82 | | - </ul> |
83 | | - |
84 | | - <p> |
85 | | - <strong>{{ _(trans["weidu_mod"]) }}</strong> |
86 | | - </p> |
87 | | - <ul> |
88 | | - {% for icon_data in attrs_icon_data.is_weidu.values() %} |
89 | | - <li>{{ icon_data.icon }} {{ _(icon_data.label) }}</li> |
90 | | - {% endfor %} |
91 | | - </ul> |
92 | | - </div> |
93 | | - <div class="warning"> |
94 | | - <p class="titre">⚠️ {{ _(trans["wargning_title"]) }} ⚠️</p> |
95 | | - <ul> |
96 | | - {% for warning in trans["warnings"] %} |
97 | | - <li>{{ _(warning) }}</li> |
98 | | - {% endfor %} |
99 | | - </ul> |
100 | | - </div> |
101 | | - </div> |
102 | | - </div> |
103 | | - </div> |
104 | | - </section> |
105 | | - <section class="table"> |
106 | | - <h2 id="top" class="background">{{ _(trans["advanced_filters"]) }}</h2> |
107 | | - <div id="search">{% include "search.html" %}</div> |
108 | | - </section> |
109 | | - <section id="search_text" class="table"> |
110 | | - <h3>{{ _(trans["search"]) }}</h3> |
111 | | - <input id="search-text" |
112 | | - type="text" |
113 | | - placeholder={{ _(trans["mod_name"]) }} |
114 | | - oninput="filterMod()"> |
115 | | - </section> |
116 | | - |
117 | | - {% for category, mods in categories.items() %}<section class="table">{% include "category.html" %}</section>{% endfor %} |
118 | | - |
119 | | - </div> |
| 17 | + {% include "header.html" %} |
| 18 | + |
| 19 | + {% if is_home_page %} |
| 20 | + {% include "home_page.html" %} |
| 21 | + {% else %} |
| 22 | + {% include "list_page.html" %} |
| 23 | + {% endif %} |
120 | 24 | </body> |
121 | 25 | </html> |
0 commit comments