##// END OF EJS Templates
Made quote button actually button so it is impossible to accidentally quote its text
neko259 -
r1909:004a4ff8 default
parent child Browse files
Show More
@@ -1,81 +1,81 b''
1 1 {% extends "boards/thread.html" %}
2 2
3 3 {% load i18n %}
4 4 {% load static from staticfiles %}
5 5 {% load board %}
6 6 {% load tz %}
7 7
8 8 {% block thread_content %}
9 9 {% get_current_language as LANGUAGE_CODE %}
10 10 {% get_current_timezone as TIME_ZONE %}
11 11
12 <div id="quote-button">{% trans 'Quote' %}</div>
12 <button id="quote-button">{% trans 'Quote' %}</button>
13 13
14 14 <div class="tag_info">
15 15 <h2>
16 16 <form action="{% url 'thread' opening_post.id %}" method="post" class="post-button-form">
17 17 {% csrf_token %}
18 18 {% if is_favorite %}
19 19 <button id="thread-fav-button" name="method" value="unsubscribe" class="fav">β˜…</button>
20 20 {% else %}
21 21 <button id="thread-fav-button" name="method" value="subscribe" class="not_fav">β˜…</button>
22 22 {% endif %}
23 23 </form>
24 24 {{ opening_post.get_title_or_text }}
25 25 </h2>
26 26 </div>
27 27
28 28 {% if bumpable and thread.has_post_limit %}
29 29 <div class="bar-bg">
30 30 <div class="bar-value" style="width:{{ bumplimit_progress }}%" id="bumplimit_progress">
31 31 </div>
32 32 <div class="bar-text">
33 33 <span id="left_to_limit">{{ posts_left }}</span> {% trans 'posts to bumplimit' %}
34 34 </div>
35 35 </div>
36 36 {% endif %}
37 37
38 38 <div class="thread">
39 39 {% for post in thread.get_viewable_replies %}
40 40 {% post_view post reply_link=True thread=thread %}
41 41 {% endfor %}
42 42 </div>
43 43
44 44 {% if not thread.is_archived %}
45 45 <div class="post-form-w">
46 46 <script src="{% static 'js/panel.js' %}"></script>
47 47 <div class="form-title">{% trans "Reply to thread" %} #{{ opening_post.id }}<span class="reply-to-message"> {% trans "to message " %} #<span id="reply-to-message-id"></span></span></div>
48 48 <div class="post-form" id="compact-form" data-hasher="{% static 'js/3party/sha256.js' %}"
49 49 data-pow-script="{% static 'js/proof_of_work.js' %}">
50 50 <div class="swappable-form-full">
51 51 <form enctype="multipart/form-data" method="post" id="form">{% csrf_token %}
52 52 <div class="compact-form-text"></div>
53 53 {{ form.as_div }}
54 54 <div class="form-submit">
55 55 <input type="submit" value="{% trans "Post" %}"/>
56 56 <button id="preview-button" type="button" onclick="return false;">{% trans 'Preview' %}</button>
57 57 </div>
58 58 </form>
59 59 </div>
60 60 <div id="preview-text"></div>
61 61 <div>
62 62 {% with size=max_file_size|filesizeformat %}
63 63 {% blocktrans %}Max file size is {{ size }}.{% endblocktrans %}
64 64 {% endwith %}
65 65 {% blocktrans %}Max file number is {{ max_files }}.{% endblocktrans %}
66 66 </div>
67 67 <div><a href="{% url "staticpage" name="help" %}">
68 68 {% trans 'Text syntax' %}</a></div>
69 69 <div><a href="#" onClick="resetForm(); return false;">{% trans 'Reset form' %}</a></div>
70 70 </div>
71 71 </div>
72 72
73 73 <script src="{% static 'js/form.js' %}"></script>
74 74 <script src="{% static 'js/jquery.form.min.js' %}"></script>
75 75 <script src="{% static 'js/3party/jquery.blockUI.js' %}"></script>
76 76 <script src="{% static 'js/thread.js' %}"></script>
77 77 <script src="{% static 'js/thread_update.js' %}"></script>
78 78 {% endif %}
79 79
80 80 <script src="{% static 'js/3party/centrifuge.js' %}"></script>
81 81 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now