disable buttons that will require js
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<legend>Actions</legend>
|
||||
{%- if is_logged_in() -%}
|
||||
<button>Subscribe</button>
|
||||
<button>Bookmark…</button>
|
||||
<button disabled title="This feature requires JavaScript to be enabled.">Bookmark…</button>
|
||||
{%- endif -%}
|
||||
<a href="{{url_for('threads.feed', slug=thread.slug)}}" class="linkbutton rss">Subscribe via RSS</a>
|
||||
</fieldset>
|
||||
@@ -35,9 +35,10 @@
|
||||
<input type="submit" class="warn" value="{{'Unsticky' if thread.stickied() else 'Sticky'}}" formaction="{{url_for('mod.sticky_thread', thread_id=thread.id)}}">
|
||||
</form>
|
||||
<form class="horizontal wrap" method="POST" action="{{url_for('mod.move_thread', thread_id=thread.id)}}">
|
||||
<select name="new_topic_id" id="new-topic-id">
|
||||
<select name="new_topic_id" id="new-topic-id" autocomplete="off" required>
|
||||
<option selected disabled value="">Move to topic:</option>
|
||||
{%- for t in topics -%}
|
||||
<option value="{{t.id}}" {{'selected disabled' if t.id == topic.id else ''}} autocomplete="off">{{t.name}}</option>
|
||||
<option value="{{t.id}}" {{'disabled' if t.id==topic.id else ''}}>{{t.name}}</option>
|
||||
{%- endfor -%}
|
||||
</select>
|
||||
<input type="submit" value="Move" class="warn">
|
||||
|
||||
Reference in New Issue
Block a user