fix: trim / prefix in static image url
This prefix does not cause any issue but it's unnecessary.
This commit is contained in:
parent
c719af6ecd
commit
0ce05a9cd7
@ -13,7 +13,7 @@
|
||||
{% block searchbar %}
|
||||
<div class="search-and-button">
|
||||
<div class="search">
|
||||
<img src="{{ url_for('static', filename='/img/search.svg') }}"/>
|
||||
<img src="{{ url_for('static', filename='img/search.svg') }}"/>
|
||||
<input
|
||||
id="search-input"
|
||||
type="text"
|
||||
@ -31,7 +31,7 @@
|
||||
{% endblock %}
|
||||
{% block warning %}
|
||||
<div id="warning-main">
|
||||
<img src="{{ url_for('static', filename='/img/Featured icon.svg')}}" alt="">
|
||||
<img src="{{ url_for('static', filename='img/Featured icon.svg')}}" alt="">
|
||||
<span>Changes have been made to some plugins that will only take effect after running launch platform.</span>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@ -8,9 +8,9 @@
|
||||
<div class="description">{{ plugin.description|safe }}</div>
|
||||
</div>
|
||||
<div class="warning" hx-preserve="true" id="warning-cookie-{{plugin.name}}">
|
||||
<img src="{{ url_for('static', filename='/img/Featured icon.svg')}}" alt="" title="Run launch platform for changes to this plugin to take effect">
|
||||
<img src="{{ url_for('static', filename='img/Featured icon.svg')}}" alt="" title="Run launch platform for changes to this plugin to take effect">
|
||||
</div>
|
||||
|
||||
{{ switch(plugin.name, plugin.is_enabled)}}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
{% if pagination.previous_page %}
|
||||
<a hx-get="{{ url_for('plugin_store_list', page=pagination.previous_page)}}" hx-target="#plugins-list">
|
||||
<div class="pagination-button">
|
||||
<img src="{{ url_for('static', filename='/img/arrow-left.svg')}}" alt="">
|
||||
<img src="{{ url_for('static', filename='img/arrow-left.svg')}}" alt="">
|
||||
</div>
|
||||
</a>
|
||||
{% endif %}
|
||||
@ -56,10 +56,10 @@
|
||||
{% if pagination.next_page %}
|
||||
<a hx-get="{{ url_for('plugin_store_list', page=pagination.next_page)}}" hx-target="#plugins-list">
|
||||
<div class="pagination-button">
|
||||
<img src="{{ url_for('static', filename='/img/arrow-right.svg')}}" alt="">
|
||||
<img src="{{ url_for('static', filename='img/arrow-right.svg')}}" alt="">
|
||||
</div>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
<title>Tutor Deck</title>
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='/img/favicon.png') }}">
|
||||
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='img/favicon.png') }}">
|
||||
<!-- CSS -->
|
||||
<!-- <link rel="stylesheet" href="css/normalize.css"> -->
|
||||
<!-- <link rel="stylesheet" href="css/styles.css"> -->
|
||||
@ -22,26 +22,26 @@
|
||||
<main>
|
||||
<nav>
|
||||
<header>
|
||||
<img id="web-logo" src="{{ url_for('static', filename='/img/tutor deck logo.svg') }}"/>
|
||||
<img id="mobile-logo" src="{{ url_for('static', filename='/img/Mobile Logo.svg') }}"/>
|
||||
<a href="{{ url_for('home') }}"><img id="web-logo" src="{{ url_for('static', filename='img/tutor deck logo.svg') }}"/></a>
|
||||
<a href="{{ url_for('home') }}"><img id="mobile-logo" src="{{ url_for('static', filename='img/Mobile Logo.svg') }}"/></a>
|
||||
</header>
|
||||
<menu>
|
||||
<a href="{{ url_for('plugin_store') }}" id="plugin-marketplace">
|
||||
<img id="plugin-marketplace-logo" src="{{ url_for('static', filename='/img/shopping-bag.svg') }}"/>
|
||||
<img src="{{ url_for('static', filename='img/shopping-bag.svg') }}"/>
|
||||
<h4>Plugin Marketplace</h4>
|
||||
</a>
|
||||
<a href="{{ url_for('plugin_installed') }}" id="my-plugins">
|
||||
<img id="my-plugins-logo" src="{{ url_for('static', filename='/img/stack.svg') }}"/>
|
||||
<img src="{{ url_for('static', filename='img/stack.svg') }}"/>
|
||||
<h4>Installed Plugins</h4>
|
||||
</a>
|
||||
<a href="{{ url_for('advanced') }}" id="advanced">
|
||||
<img id="advanced-logo" src="{{ url_for('static', filename='/img/advanced-mode.svg') }}"/>
|
||||
<img src="{{ url_for('static', filename='img/advanced-mode.svg') }}"/>
|
||||
<h4>Developer Mode</h4>
|
||||
</a>
|
||||
</menu>
|
||||
<menu>
|
||||
<a href="{{ url_for('local_launch_view') }}" id="local-launch">
|
||||
<img id="local-launch-logo" src="{{ url_for('static', filename='/img/local-launch.svg') }}"/>
|
||||
<img src="{{ url_for('static', filename='img/local-launch.svg') }}"/>
|
||||
<h4>Apply changes</h4>
|
||||
</a>
|
||||
<p>Run launch platform to save all changes.</p>
|
||||
@ -51,7 +51,7 @@
|
||||
<section>
|
||||
<header>
|
||||
<div id="warning-command-running">
|
||||
<img src="{{ url_for('static', filename='/img/Featured icon.svg')}}" alt="">
|
||||
<img src="{{ url_for('static', filename='img/Featured icon.svg')}}" alt="">
|
||||
<span>Command execution in progress. <a href="{{ url_for('advanced') }}">Click here</a> to view details.</span>
|
||||
</div>
|
||||
{% block workspace_header %}{% endblock %}
|
||||
@ -70,7 +70,7 @@
|
||||
<div class="modal-container" id="modal_container">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<img src="{{ url_for('static', filename='/img/Featured icon.svg') }}" alt="">
|
||||
<img src="{{ url_for('static', filename='img/Featured icon.svg') }}" alt="">
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<h3>Apply Changes to Your Platform?</h3>
|
||||
@ -89,9 +89,9 @@
|
||||
<div class="toast">
|
||||
<div class="toast-content">
|
||||
<div class="title">
|
||||
<img src="{{ url_for('static', filename='/img/Icon.svg' )}}">
|
||||
<img src="{{ url_for('static', filename='img/Icon.svg' )}}">
|
||||
<span class="text text-1" id="toast-title"> {{ toast }} </span>
|
||||
<img class="close-toast-button" src="{{ url_for('static', filename='/img/X.svg' )}}">
|
||||
<img class="close-toast-button" src="{{ url_for('static', filename='img/X.svg' )}}">
|
||||
</div>
|
||||
<div class="message">
|
||||
<span class="text text-2" id="toast-description">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user