put svgs in icons.svg and reference appropriately, still not happy with pa_logo, but otherwise all working

This commit is contained in:
2021-07-25 13:19:01 +10:00
parent 4f9e03f99e
commit b40ecbf208
6 changed files with 53 additions and 180 deletions

View File

@@ -1,13 +1,4 @@
{% extends "base.html" %} {% block main_content %}
<svg style="display:none">
<svg id="info" fill="currentColor" viewBox="0 0 16 16">
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>
<path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>
</svg>
</svg>
<div class="container-fluid">
<h3 class="offset-2">{{page_title}}</h3>
<div class="row">
@@ -26,7 +17,9 @@
{% endfor %}
</select>
<span class="input-group-text">&nbsp;duplicates at a time &nbsp;
<svg width="16" height="16" fill="currentColor"><use xlink:href="#info" onMouseOver="$('#dbox').modal('show'); return false;"></svg>
<svg width="16" height="16" fill="currentColor">
<use xlink:href="{{url_for('static', filename='upstream/icons.svg')}}#info" onMouseOver="$('#dbox').modal('show'); return false;"/>
</svg>
</span>
</div class="input-group">
</h6>