forked from rDrama/rDrama
remove role="button" from button tags
parent
582a29232b
commit
11ad9a4a0a
|
@ -72,7 +72,7 @@
|
||||||
<p>Two accounts controlled by different people should have most uniqueness percentages at or above 70-80%</p>
|
<p>Two accounts controlled by different people should have most uniqueness percentages at or above 70-80%</p>
|
||||||
<p>A sockpuppet account will have its uniqueness percentages significantly lower.</p>
|
<p>A sockpuppet account will have its uniqueness percentages significantly lower.</p>
|
||||||
|
|
||||||
<button role="button" class="btn btn-secondary" onclick="document.getElementById('linkbtn').classList.toggle('d-none');">Link Accounts</button>
|
<button class="btn btn-secondary" onclick="document.getElementById('linkbtn').classList.toggle('d-none');">Link Accounts</button>
|
||||||
<form action="/admin/link_accounts" method="post">
|
<form action="/admin/link_accounts" method="post">
|
||||||
<input type="hidden" name="formkey" value="{{v.formkey}}">
|
<input type="hidden" name="formkey" value="{{v.formkey}}">
|
||||||
<input type="hidden" name="u1" value="{{u1.id}}">
|
<input type="hidden" name="u1" value="{{u1.id}}">
|
||||||
|
|
|
@ -34,12 +34,12 @@
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
{% if not app.client_id%}
|
{% if not app.client_id%}
|
||||||
|
|
||||||
<button role="button" class="btn btn-primary ml-auto mr-2" onclick="post_toast(this,'/admin/app/approve/{{app.id}}',true)">Approve</button>
|
<button class="btn btn-primary ml-auto mr-2" onclick="post_toast(this,'/admin/app/approve/{{app.id}}',true)">Approve</button>
|
||||||
<button role="button" class="btn btn-secondary mr-0" onclick="post_toast(this,'/admin/app/reject/{{app.id}}',true)">Reject</button>
|
<button class="btn btn-secondary mr-0" onclick="post_toast(this,'/admin/app/reject/{{app.id}}',true)">Reject</button>
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
<button role="button" class="btn btn-primary ml-auto" onclick="post_toast(this,'/admin/app/revoke/{{app.id}}'),true">Revoke</button>
|
<button class="btn btn-primary ml-auto" onclick="post_toast(this,'/admin/app/revoke/{{app.id}}'),true">Revoke</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -40,12 +40,12 @@
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
{% if not app.client_id %}
|
{% if not app.client_id %}
|
||||||
|
|
||||||
<button role="button" class="btn btn-primary ml-auto mr-2" onclick="post_toast(this,'/admin/app/approve/{{app.id}}',true)">Approve</button>
|
<button class="btn btn-primary ml-auto mr-2" onclick="post_toast(this,'/admin/app/approve/{{app.id}}',true)">Approve</button>
|
||||||
<button role="button" class="btn btn-secondary mr-0" onclick="post_toast(this,'/admin/app/reject/{{app.id}}',true)">Reject</button>
|
<button class="btn btn-secondary mr-0" onclick="post_toast(this,'/admin/app/reject/{{app.id}}',true)">Reject</button>
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
<button role="button" class="btn btn-primary ml-auto" onclick="post_toast(this,'/admin/app/revoke/{{app.id}}',true)">Revoke</button>
|
<button class="btn btn-primary ml-auto" onclick="post_toast(this,'/admin/app/revoke/{{app.id}}',true)">Revoke</button>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
<button role="button" class="btn btn-secondary ml-auto" onclick="post_toast(this,'/reroll/{{app.id}}', true)">Reroll Client ID</button>
|
<button class="btn btn-secondary ml-auto" onclick="post_toast(this,'/reroll/{{app.id}}', true)">Reroll Client ID</button>
|
||||||
<input type="submit" onclick="disable(this)" class="btn btn-primary ml-2" value="Save Changes">
|
<input type="submit" onclick="disable(this)" class="btn btn-primary ml-2" value="Save Changes">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -109,7 +109,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
<button role="button" class="btn btn-primary ml-auto text-white" onclick="post_toast(this,'/rescind/{{auth.application.id}}',true)">Revoke</button>
|
<button class="btn btn-primary ml-auto text-white" onclick="post_toast(this,'/rescind/{{auth.application.id}}',true)">Revoke</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -188,9 +188,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex my-4 mx-3">
|
<div class="d-flex my-4 mx-3">
|
||||||
<button role="button" class="btn btn-primary ml-auto" onclick="remove_hat(this, '{{hat.name}}')">Remove</button>
|
<button class="btn btn-primary ml-auto" onclick="remove_hat(this, '{{hat.name}}')">Remove</button>
|
||||||
{% if v.admin_level >= PERMS['MODERATE_PENDING_SUBMITTED_HATS'] %}
|
{% if v.admin_level >= PERMS['MODERATE_PENDING_SUBMITTED_HATS'] %}
|
||||||
<button role="button" class="btn btn-primary ml-3" onclick="approve_hat(this, '{{hat.name}}')">Approve</button>
|
<button class="btn btn-primary ml-3" onclick="approve_hat(this, '{{hat.name}}')">Approve</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -181,9 +181,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex my-4 mx-3">
|
<div class="d-flex my-4 mx-3">
|
||||||
<button role="button" class="btn btn-primary ml-auto" onclick="remove_marsey(this, '{{marsey.name}}')">Remove</button>
|
<button class="btn btn-primary ml-auto" onclick="remove_marsey(this, '{{marsey.name}}')">Remove</button>
|
||||||
{% if v.admin_level >= PERMS['MODERATE_PENDING_SUBMITTED_MARSEYS'] %}
|
{% if v.admin_level >= PERMS['MODERATE_PENDING_SUBMITTED_MARSEYS'] %}
|
||||||
<button role="button" class="btn btn-primary ml-3" onclick="approve_marsey(this, '{{marsey.name}}')">Approve</button>
|
<button class="btn btn-primary ml-3" onclick="approve_marsey(this, '{{marsey.name}}')">Approve</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue