Added new website
This commit is contained in:
1 parent
293b7727e2
commit
df26a3fe96
34 files changed
+10488
No files matched your search
@@ -0,0 +1,68 @@
|
||||
<div id="game-{{ game.id }}">
|
||||
|
||||
{{set prettyGameDate = new Date(game.date).toLocaleString("fr-CA", { month: 'long', year: 'numeric', day: 'numeric', timeZone: 'UTC'}) }}
|
||||
|
||||
|
||||
|
||||
<h3> {{ game.away }} vs {{ game.home }} | {{ prettyGameDate }} | {{ game.time }}</h3>
|
||||
<form style="font-size: 1.1em;"
|
||||
hx-trigger="input delay:250ms"
|
||||
hx-post="/member/games/{{game.id}}"
|
||||
hx-target="#saving-result">
|
||||
|
||||
<div class="uk-form-row">
|
||||
<label>
|
||||
Points {{ game.away }} : <input type=number
|
||||
min=0
|
||||
name="away-score"
|
||||
value="{{ game.awayScore || 0 }}"
|
||||
{{if game.rain || game.practice }}disabled{{ /if}}>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="uk-form-row">
|
||||
<label>
|
||||
Points {{ game.home }} : <input type=number
|
||||
min=0
|
||||
name="home-score"
|
||||
value="{{ game.homeScore || 0 }}"
|
||||
{{if game.rain || game.practice }}disabled{{ /if}}>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="uk-form-row">
|
||||
<label>
|
||||
Partie reguliere <input type=radio
|
||||
name="game-type"
|
||||
value="regular-game"
|
||||
{{if ! game.practice && ! game.rain }} checked {{/if}}>
|
||||
</label>
|
||||
<label>
|
||||
Pluie <input type=radio
|
||||
name="game-type"
|
||||
value="rain"
|
||||
{{if game.rain }}checked{{/if}}>
|
||||
</label>
|
||||
<label>
|
||||
Pratique <input
|
||||
type=radio
|
||||
name="game-type"
|
||||
value="practice"
|
||||
{{if game.practice && ! game.rain }}checked{{/if}}>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div id="saving-result">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<div style="text-align: right">
|
||||
<button class="uk-button-danger"
|
||||
hx-delete="/membre/games/{{game.id}}"
|
||||
hx-confirm="Certain de vouloir supprimer la partie?"
|
||||
hx-target="#game-{{ game.id }}"
|
||||
hx-swap="delete"
|
||||
>Supprimer</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,11 @@
|
||||
<h3 class="uk-panel-title">
|
||||
<a href="#/nouvelles" class="uk-link-muted">
|
||||
<h2 id="saison-2023">Saison 2023</h2>
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
<p>
|
||||
<p>Bonne saison à tous et toutes!</p>
|
||||
<p>N'oubliez pas de consulter la page facebook: <a href="https://www.facebook.com/SportsPhenixMtl/">https://www.facebook.com/SportsPhenixMtl/</a> pour toutes mises à jour, y compris les annulations due à la météo.</p>
|
||||
<p><strong><a href="#/nouvelles">lire la suite ...</a></strong></p>
|
||||
</p>
|
||||
@@ -0,0 +1,10 @@
|
||||
{{ set selectedTeam = selectedTeam || "" }}
|
||||
{{set isDisabled = isDisabled || false }}
|
||||
{{set teams = ['jaune', 'rouge', 'bleu', 'gris', 'vert', 'noir', 'orange', 'mauve'] }}
|
||||
|
||||
|
||||
<select name="{{- name -}}" class="uk-select" {{if isDisabled}} disabled {{ /if }}>
|
||||
{{ for team of teams }}
|
||||
<option name="{{team}}" {{if selectedTeam == team}} selected {{ /if }}>{{ team }}</option>
|
||||
{{ /for }}
|
||||
</select>
|
||||
@@ -0,0 +1,15 @@
|
||||
<div>
|
||||
<iframe
|
||||
style="border: 1px solid black; min-height: 300px;"
|
||||
width="100%"
|
||||
frameborder="0"
|
||||
scrolling="no"
|
||||
marginheight="0"
|
||||
src="//www.openstreetmap.org/export/embed.html?bbox=-73.55936229228975%2C45.53102667048665%2C-73.55230271816255%2C45.53444249585723&layer=mapnik"; // "//www.openstreetmap.org/export/embed.html?bbox=-73.56355190277101%2C45.5294483312637%2C-73.54943275451662%2C45.53627996625677&layer=mapnik"; // "//www.openstreetmap.org/export/embed.html?bbox=-73.56355190277101%2C45.5294483312637%2C-73.54943275451662%2C45.53627996625677&layer=mapnik"
|
||||
></iframe>
|
||||
|
||||
<br>
|
||||
<small>
|
||||
<a href="http://www.openstreetmap.org/#map=17/45.53216/-73.55692">Voir la carte</a>
|
||||
</small>
|
||||
</div>
|
||||
Reference in new issue
Block a user