Splitting templates in files.

This commit is contained in:
Sergiotarxz 2024-01-14 04:36:36 +01:00
parent 30188a1a76
commit 5f70116da2
4 changed files with 16 additions and 14 deletions

View File

@ -0,0 +1,3 @@
<div id="conquer-select-team-list-template" class="conquer-display-none conquer-interface-element-padded conquer-display-block">
<h1>Encuentra tu equipo ideal.</h1>
</div>

View File

@ -0,0 +1,5 @@
<div id="conquer-team-to-select-template" class="conquer-team-to-select conquer-display-none">
<p class="conquer-name"></p>
<p class="conquer-description"></p>
<button class="conquer-submit">Elegir este equipo.</button>
</div>

View File

@ -0,0 +1,5 @@
<div id="conquer-view-node-template" class="conquer-display-none conquer-interface-element-padded conquer-display-block">
<h1>Vista de nodo.</h1>
<h2 class="node-name"></h2>
<p class="node-description"></p>
</div>

View File

@ -16,20 +16,9 @@
%= include 'conquer/_login-template';
%= include 'conquer/_register-template';
%= include 'conquer/_new-team-form-creation-template';
<div id="conquer-select-team-list-template" class="conquer-display-none conquer-interface-element-padded conquer-display-block">
<h1>Encuentra tu equipo ideal.</h1>
</div>
<div id="conquer-team-to-select-template" class="conquer-team-to-select conquer-display-none">
<p class="conquer-name"></p>
<p class="conquer-description"></p>
<button class="conquer-submit">Elegir este equipo.</button>
</div>
<div id="conquer-view-node-template" class="conquer-display-none conquer-interface-element-padded conquer-display-block">
<h1>Vista de nodo.</h1>
<h2 class="node-name"></h2>
<p class="node-description"></p>
</div>
%= include 'conquer/_conquer-select-team-list-template';
%= include 'conquer/_conquer-team-to-select-template';
%= include 'conquer/_conquer-view-node-template';
<div class="conquer-container">
</div>
</body>