Added repeat icon and fixed css path

This commit is contained in:
Carlos Galindo 2020-10-14 09:18:06 +02:00
parent 791f010f68
commit 4d5181ef18
3 changed files with 4 additions and 3 deletions

1
res/repeat-sign.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 54 54"><rect x="33" width="12" height="54"/><rect x="21" width="6" height="54"/><circle cx="12" cy="34" r="3"/><circle cx="12" cy="22" r="3"/></svg>

After

Width:  |  Height:  |  Size: 201 B

View file

@ -39,14 +39,14 @@ table.chordedline {
transform: scaleX(-1); transform: scaleX(-1);
filter: FlipV; filter: FlipV;
-ms-filter: "FlipV"; -ms-filter: "FlipV";
background-image: url(img/repeat-sign.svg); background-image: url(repeat-sign.svg);
display: inline-block; display: inline-block;
width: 1em; width: 1em;
height: 2em; height: 2em;
} }
.rrep { .rrep {
background-image: url(img/repeat-sign.svg); background-image: url(repeat-sign.svg);
display: inline-block; display: inline-block;
width: 1em; width: 1em;
height: 2em; height: 2em;

View file

@ -255,7 +255,7 @@ class SongLoader:
def copy_static(source_dir, target_dir): def copy_static(source_dir, target_dir):
for f in os.listdir(source_dir): for f in os.listdir(source_dir):
if re.search(r"\.(css|js)$", f): if re.search(r"\.(css|js|svg)$", f):
shutil.copy2(join(source_dir, f), target_dir) shutil.copy2(join(source_dir, f), target_dir)