mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
More html fixing
This commit is contained in:
parent
898a9930bb
commit
115be57651
@ -45,7 +45,7 @@
|
|||||||
{% if issuedata.inconsistent %}
|
{% if issuedata.inconsistent %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>The current database wasn't built with all current rules in effect. Any problem below might be a false alarm and fixing it could create redundant rules.</td>
|
<td>The current database wasn't built with all current rules in effect. Any problem below might be a false alarm and fixing it could create redundant rules.</td>
|
||||||
<td class='button important' onclick="fullrebuild()"><div>Rebuild the database</div></td>
|
<td><button type="button" class='warning' onclick="fullrebuild()">Rebuild the database</button></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@ -53,10 +53,10 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>{{ links.link(issue[0]) }} is a possible duplicate of {{ links.link(issue[1]) }}</td>
|
<td>{{ links.link(issue[0]) }} is a possible duplicate of {{ links.link(issue[1]) }}</td>
|
||||||
<td>
|
<td>
|
||||||
<button onclick="newrule(this,'replaceartist','{{ issue[0] }}','{{ issue[1] }}')">{{ issue[1] }} is correct</button>
|
<button type="button" onclick="newrule(this,'replaceartist','{{ issue[0] }}','{{ issue[1] }}')">{{ issue[1] }} is correct</button>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<button onclick="newrule(this,'replaceartist','{{ issue[1] }}','{{ issue[0] }}')">{{ issue[0] }} is correct</button>
|
<button type="button" onclick="newrule(this,'replaceartist','{{ issue[1] }}','{{ issue[0] }}')">{{ issue[0] }} is correct</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@ -67,7 +67,7 @@
|
|||||||
{{ issue[1]|join(", ") }}
|
{{ issue[1]|join(", ") }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<button onclick="newrule(this,'replaceartist','{{ issue[0] }}','{{ issue[1] | join('␟') }}')">Fix it</button>
|
<button type="button" onclick="newrule(this,'replaceartist','{{ issue[0] }}','{{ issue[1] | join('␟') }}')">Fix it</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@ -76,7 +76,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>Is '{{ issue[0] }}' in '{{ links.link(issue[1]) }}' an artist?</td>
|
<td>Is '{{ issue[0] }}' in '{{ links.link(issue[1]) }}' an artist?</td>
|
||||||
<td>
|
<td>
|
||||||
<button onclick="newrule(this,'replaceartist','{{ issue[1] }}','{{ (issue[2] + [issue[0]]) | join('␟') }}')">Yes</button>
|
<button type="button" onclick="newrule(this,'replaceartist','{{ issue[1] }}','{{ (issue[2] + [issue[0]]) | join('␟') }}')">Yes</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<button onclick="scrobbleNew(event)">Scrobble!</button>
|
<button type="button" onclick="scrobbleNew(event)">Scrobble!</button>
|
||||||
<button onclick="repeatLast()">↻</button>
|
<button type="button" onclick="repeatLast()">↻</button>
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
|
@ -70,9 +70,9 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{% if adminmode %}
|
{% if adminmode %}
|
||||||
<button id="adminmodebutton" onclick="deactivate()">Deactivate</button>
|
<button type="button" id="adminmodebutton" onclick="deactivate()">Deactivate</button>
|
||||||
{% else %}
|
{% else %}
|
||||||
<button id="adminmodebutton" onclick="activate()">Activate</button>
|
<button type="button" id="adminmodebutton" onclick="activate()">Activate</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<h2>Links</h2>
|
<h2>Links</h2>
|
||||||
@ -85,6 +85,6 @@
|
|||||||
|
|
||||||
<input class="simpleinput" type="password" placeholder="New Password"></input><br/>
|
<input class="simpleinput" type="password" placeholder="New Password"></input><br/>
|
||||||
<input class="simpleinput" type="password" placeholder="Repeat"></input><br/><br/>
|
<input class="simpleinput" type="password" placeholder="Repeat"></input><br/><br/>
|
||||||
<button onclick="changepw()">Change</button>
|
<button type="button" onclick="changepw()">Change</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<p class="stats">
|
<p class="stats">
|
||||||
{% if adminmode %}<button onclick="scrobble('{{ encodedtrack }}')">Scrobble now</button>{% endif %}
|
{% if adminmode %}<button type="button" onclick="scrobble('{{ encodedtrack }}')">Scrobble now</button>{% endif %}
|
||||||
<a href="{{ mlj_uri.create_uri("/scrobbles",filterkeys) }}">{{ info['scrobbles'] }} Scrobbles</a>
|
<a href="{{ mlj_uri.create_uri("/scrobbles",filterkeys) }}">{{ info['scrobbles'] }} Scrobbles</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -430,7 +430,7 @@ button {
|
|||||||
color: var(--button-color-fg);
|
color: var(--button-color-fg);
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
}
|
}
|
||||||
button.important {
|
button.warning {
|
||||||
background-color:red;
|
background-color:red;
|
||||||
color:white;
|
color:white;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user