summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-02-13 19:07:00 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-02-13 19:22:02 +0100
commitbda9d815d07a68bfaa747cce2c435e4b4c2c2b94 (patch)
treefff71596a0c9fe0766168dd195a51f73a74fb3fe /hyperkitty/templates
parent0de68afc823627fa20bfad7cc7c04d24a2017865 (diff)
downloadhyperkitty-bda9d815d07a68bfaa747cce2c435e4b4c2c2b94.tar.gz
hyperkitty-bda9d815d07a68bfaa747cce2c435e4b4c2c2b94.tar.xz
hyperkitty-bda9d815d07a68bfaa747cce2c435e4b4c2c2b94.zip
Minor CSS refactoring
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/message.html2
-rw-r--r--hyperkitty/templates/recent_activities.html6
-rw-r--r--hyperkitty/templates/thread.html2
-rw-r--r--hyperkitty/templates/threads/right_col.html16
-rw-r--r--hyperkitty/templates/threads/summary_thread.html4
-rw-r--r--hyperkitty/templates/threads/summary_thread_large.html10
-rw-r--r--hyperkitty/templates/threads/tags.html2
7 files changed, 21 insertions, 21 deletions
diff --git a/hyperkitty/templates/message.html b/hyperkitty/templates/message.html
index 3a19268..800162b 100644
--- a/hyperkitty/templates/message.html
+++ b/hyperkitty/templates/message.html
@@ -23,7 +23,7 @@
<h1>{{ message.subject }}</h1>
</div>
- <section id="thread_content">
+ <section id="thread-content">
{% include 'messages/message.html' with email=message unfolded='True' %}
</section>
diff --git a/hyperkitty/templates/recent_activities.html b/hyperkitty/templates/recent_activities.html
index 0daa6e3..ad75253 100644
--- a/hyperkitty/templates/recent_activities.html
+++ b/hyperkitty/templates/recent_activities.html
@@ -33,7 +33,7 @@
<div class="row-fluid">
<div class="span6">
- <section id="most_active">
+ <section id="most-active">
<h2>Recently active discussions</h2>
{% for thread in most_active_threads %}
{% include "threads/summary_thread.html" with counter=forloop.counter %}
@@ -42,7 +42,7 @@
</div>
<div class="span6">
- <section id="top_discussion">
+ <section id="top-discussion">
<h2>Top discussions the last 30 days</h2>
{% for thread in top_threads %}
{% include "threads/summary_thread.html" with counter=forloop.counter %}
@@ -86,7 +86,7 @@
<div class="span6">
{% if threads_per_category %}
- <section id="discussion_by_topic">
+ <section id="discussion-by-topic">
<h2>Discussion by topic the last 30 days</h2>
{% for category, thread in threads_per_category.items %}
<div>
diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html
index 41cee97..6c59d7a 100644
--- a/hyperkitty/templates/thread.html
+++ b/hyperkitty/templates/thread.html
@@ -32,7 +32,7 @@
<div class="span9">
<!-- main section, the email thread -->
- <section id="thread_content">
+ <section id="thread-content">
<!-- Start first email -->
{% include 'messages/message.html' with email=first_mail unfolded='True' %}
diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html
index 15a5fec..7c34c18 100644
--- a/hyperkitty/templates/threads/right_col.html
+++ b/hyperkitty/templates/threads/right_col.html
@@ -2,21 +2,21 @@
{% load hk_generic %}
<!-- right column -->
-<section id="thread_overview_info">
+<section id="thread-overview-info">
<!-- Start dates -->
- <div id="thread_date_info" class="row-fluid">
- <div class="days_num">
+ <div id="thread-date-info" class="row-fluid">
+ <div class="days-num">
{{ days_inactive }}
</div>
- <div class="days_text">
+ <div class="days-text">
days
<br />
inactive
</div>
- <div class="days_num">
+ <div class="days-num">
{{ days_old }}
</div>
- <div class="days_text">
+ <div class="days-text">
days
<br />
old
@@ -35,8 +35,8 @@
<div id="tags">
{% include 'threads/tags.html' %}
</div>
- <div id="add_tag">
- <form id="add_tag_form" name="addtag" method="post"
+ <div id="add-tag">
+ <form id="add-tag-form" name="addtag" method="post"
action="{% url add_tag mlist_fqdn=mlist.name, threadid=threadid %}">
{% csrf_token %}
{{ addtag_form.as_p }}
diff --git a/hyperkitty/templates/threads/summary_thread.html b/hyperkitty/templates/threads/summary_thread.html
index 578b051..f6bd1d9 100644
--- a/hyperkitty/templates/threads/summary_thread.html
+++ b/hyperkitty/templates/threads/summary_thread.html
@@ -2,8 +2,8 @@
{% load storm %}
<div class="thread">
- <span class="thread_id">#{{counter}}</span>
- <span class="thread_title"><a name="{{thread.thread_id}}"
+ <span class="thread-id">#{{counter}}</span>
+ <span class="thread-title"><a name="{{thread.thread_id}}"
href="{% url thread threadid=thread.thread_id, mlist_fqdn=mlist.name %}"
>{{ thread.subject|strip_subject:mlist }}</a></span>
<div class="thread_stats">
diff --git a/hyperkitty/templates/threads/summary_thread_large.html b/hyperkitty/templates/threads/summary_thread_large.html
index b42f76d..ad10a27 100644
--- a/hyperkitty/templates/threads/summary_thread_large.html
+++ b/hyperkitty/templates/threads/summary_thread_large.html
@@ -4,12 +4,12 @@
<div class="thread">
<div class="{% if thread.favorite %}saved{% else %}notsaved{% endif %}">
- <span class="thread_title"><a name="{{thread.thread_id}}"
+ <span class="thread-title"><a name="{{thread.thread_id}}"
href="{% url thread threadid=thread.thread_id, mlist_fqdn=mlist.name %}"
>{{ thread.starting_email.subject|strip_subject:mlist }}</a></span>
- <span class="thread_date">{{thread.date_active|timesince }}</span>
+ <span class="thread-date">{{thread.date_active|timesince }}</span>
</div>
- <div class="thread_content">
+ <div class="thread-content">
{% if thread.category_tag %}
<div class="inline-block type type_{{thread.category_tag}}">
<a href="{% url search_tag mlist_fqdn=mlist.name, tag=thread.category_tag %}"
@@ -29,13 +29,13 @@
{% endif %}
{{ thread.starting_email.sender_name|escapeemail }}
</div>
- <div class="thread_email">
+ <div class="thread-email">
<span class="expander collapsed">
{{ thread.starting_email.content|urlizetrunc:76|escapeemail }}
</span>
</div>
</div>
- <div class="thread_info">
+ <div class="thread-info">
<div class="tags">
{% if thread.tags|length %}
Tags:
diff --git a/hyperkitty/templates/threads/tags.html b/hyperkitty/templates/threads/tags.html
index df0bbde..68fabf2 100644
--- a/hyperkitty/templates/threads/tags.html
+++ b/hyperkitty/templates/threads/tags.html
@@ -1,4 +1,4 @@
- <span id="tag_title">tags </span>({{tags|length}})
+ <span id="tag-title">tags </span>({{tags|length}})
{% if tags|length %}
<ul class="inline">
{% for tag in tags %}