Skip to content

Commit

Permalink
feat: test remote images in branch (fixed remote URL, not final solut…
Browse files Browse the repository at this point in the history
…ion)
  • Loading branch information
chizmw committed Aug 29, 2023
1 parent 361efc1 commit d17ca30
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions templates/full-fat-night-order.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<!-- First Night Info -->
{%- for character in first_night %}
<div class="character-block character-block-nightinfo">
<img src="file://{{icon_folder}}/{{character.id_slug}}.png" alt="{{ character.name }}" class="character-icon-nightinfo"/>
<img src="https://raw.githubusercontent.com/chizmw/json-on-the-clocktower/host-character-icons/data/icons/{{character.id_slug}}.png" alt="{{ character.name }}" class="character-icon-nightinfo"/>
<span class="character-name character-name-{{ character.team }}">{{ character.name }}</span>
<span class="character-ability-reminder">{{ character.ability }}</span>
<div class="character-reminder">{{ character.first_night_reminder }}</div>
Expand Down Expand Up @@ -48,7 +48,7 @@
<!-- Other Night Info -->
{%- for character in other_nights %}
<div class="character-block character-block-nightinfo">
<img src="file://{{icon_folder}}/{{character.id_slug}}.png" alt="{{ character.name }}" class="character-icon-nightinfo"/>
<img src="https://raw.githubusercontent.com/chizmw/json-on-the-clocktower/host-character-icons/data/icons/{{character.id_slug}}.png" alt="{{ character.name }}" class="character-icon-nightinfo"/>
<span class="character-name character-name-{{ character.team }}">{{ character.name }}</span>
<span class="character-ability-reminder">{{ character.ability }}</span>
<div class="character-reminder">{{ character.other_night_reminder }}</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/night-fabled.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="cols-3">
{%- for role in fabled %}
<div class="fabled-reminder-block">
<img src="file://{{icon_folder}}/{{role.id_slug}}.png" alt="{{ role.slug_id }}" class="night-icon fabled-night-icon"/>
<img src="https://raw.githubusercontent.com/chizmw/json-on-the-clocktower/host-character-icons/data/icons/{{role.id_slug}}.png" alt="{{ role.slug_id }}" class="night-icon fabled-night-icon"/>
<span class="character-name character-name-night character-name-{{ role.team }}">{{ role.name }}</span>
<span class="fabled-night-ability">{{ role.ability }}</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/night-jinx.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="jinx-night-icon">
{%- set slugs = tag.split("-") %}
{%- for slug in slugs %}
<img src="file://{{icon_folder}}/{{slug}}.png" alt="{{ reason }}" class="night-icon"/>
<img src="https://raw.githubusercontent.com/chizmw/json-on-the-clocktower/host-character-icons/data/icons/{{slug}}.png" alt="{{ reason }}" class="night-icon"/>
{%- endfor %}
</div>
<div class="jinx-simple-night-reason">{{ reason }}</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/night-traveler.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="cols-3">
{%- for role in travelers %}
<div class="traveler-reminder-block">
<img src="file://{{icon_folder}}/{{role.id_slug}}.png" alt="{{ role.slug_id }}" class="night-icon traveler-night-icon"/>
<img src="https://raw.githubusercontent.com/chizmw/json-on-the-clocktower/host-character-icons/data/icons/{{role.id_slug}}.png" alt="{{ role.slug_id }}" class="night-icon traveler-night-icon"/>
<span class="character-name character-name-night character-name-{{ role.team }}">{{ role.name }}</span>
<span class="traveler-night-ability">{{ role.ability }}</span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions templates/player-reference.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
<div class="cols-2">
{%- for character in characters[type] %}
<div class="character-block character-block-player">
<img src="file://{{icon_folder}}/{{character.id_slug}}.png" alt="{{ character.name }}" class="character-icon"/>
<img src="https://raw.githubusercontent.com/chizmw/json-on-the-clocktower/host-character-icons/data/icons/{{character.id_slug}}.png" alt="{{ character.name }}" class="character-icon"/>
<div class="character-name character-name-{{type}}">
{{ character.name }}
{%- if hatred[character.id_slug] %}
<div class="jinxes">
<span class="jinxes-label-text">JINXES</span>
{%- for hater in hatred[character.id_slug] %}
<img src="file://{{icon_folder}}/{{hater}}.png" alt="{{ hater }}" class="hatred-icon"/>
<img src="https://raw.githubusercontent.com/chizmw/json-on-the-clocktower/host-character-icons/data/icons/{{hater}}.png" alt="{{ hater }}" class="hatred-icon"/>
{%- endfor %}
</div>
{%- endif %}
Expand Down
10 changes: 5 additions & 5 deletions templates/simple-night-order.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<h2 class="simple-first-night">First Night</h2>
{%- for character in first_night %}
<div class="character-block character-block-nightinfo">
<img src="file://{{icon_folder}}/{{character.id_slug}}.png" alt="{{ character.name }}" class="character-icon-nightinfo"/>
<img src="https://raw.githubusercontent.com/chizmw/json-on-the-clocktower/host-character-icons/data/icons/{{character.id_slug}}.png" alt="{{ character.name }}" class="character-icon-nightinfo"/>
<span class="character-name character-name-{{ character.team }}">{{ character.name }}</span>
</div>
{%- endfor %}
Expand All @@ -13,7 +13,7 @@
<h2 class="simple-first-night">Other Nights</h2>
{%- for character in other_nights %}
<div class="character-block character-block-nightinfo">
<img src="file://{{icon_folder}}/{{character.id_slug}}.png" alt="{{ character.name }}" class="character-icon-nightinfo"/>
<img src="https://raw.githubusercontent.com/chizmw/json-on-the-clocktower/host-character-icons/data/icons/{{character.id_slug}}.png" alt="{{ character.name }}" class="character-icon-nightinfo"/>
<span class="character-name character-name-{{ character.team }}">{{ character.name }}</span>
</div>
{%- endfor %}
Expand All @@ -26,7 +26,7 @@
<div class="jinx-simple-night-icon">
{%- set slugs = tag.split("-") %}
{%- for slug in slugs %}
<img src="file://{{icon_folder}}/{{slug}}.png" alt="{{ reason }}" class="night-icon"/>
<img src="https://raw.githubusercontent.com/chizmw/json-on-the-clocktower/host-character-icons/data/icons/{{slug}}.png" alt="{{ reason }}" class="night-icon"/>
{%- endfor %}
</div><!-- end of jinx-simple-night-icon -->
<div class="jinx-simple-night-reason">{{ reason }}</div>
Expand All @@ -37,7 +37,7 @@
<div class="line-pretraveler-nightinfo"></div>
{%- for role in travelers %}
<div class="traveler-reminder-block">
<img src="file://{{icon_folder}}/{{role.id_slug}}.png" alt="{{ role.slug_id }}" class="night-icon traveler-night-icon"/>
<img src="https://raw.githubusercontent.com/chizmw/json-on-the-clocktower/host-character-icons/data/icons/{{role.id_slug}}.png" alt="{{ role.slug_id }}" class="night-icon traveler-night-icon"/>
<span class="character-name character-name-night character-name-{{ role.team }}">{{ role.name }}</span>
<span class="traveler-night-ability">{{ role.ability }}</span>
</div><!-- end of traveler-reminder-block -->
Expand All @@ -48,7 +48,7 @@
<div class="line-pretraveler-nightinfo"></div>
{%- for role in fabled %}
<div class="traveler-reminder-block">
<img src="file://{{icon_folder}}/{{role.id_slug}}.png" alt="{{ role.slug_id }}" class="night-icon traveler-night-icon"/>
<img src="https://raw.githubusercontent.com/chizmw/json-on-the-clocktower/host-character-icons/data/icons/{{role.id_slug}}.png" alt="{{ role.slug_id }}" class="night-icon traveler-night-icon"/>
<span class="character-name character-name-night character-name-{{ role.team }}">{{ role.name }}</span>
<span class="traveler-night-ability">{{ role.ability }}</span>
</div><!-- end of traveler-reminder-block -->
Expand Down

0 comments on commit d17ca30

Please sign in to comment.