diff options
author | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-04-06 01:00:35 +0530 |
---|---|---|
committer | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-04-06 01:00:35 +0530 |
commit | d070353cad69b1de7721e101410305660a590312 (patch) | |
tree | 0c504cc12e46d07f4c006882ea3ef8af5128c1e6 | |
parent | 99739ac77e13ebb5c71d1f616ea4d5052109f005 (diff) | |
download | hyperkitty-d070353cad69b1de7721e101410305660a590312.tar.gz hyperkitty-d070353cad69b1de7721e101410305660a590312.tar.xz hyperkitty-d070353cad69b1de7721e101410305660a590312.zip |
removed the mockup files
-rw-r--r-- | templates/mockup/base.html | 61 | ||||
-rw-r--r-- | templates/mockup/base_thread.html | 75 | ||||
-rw-r--r-- | templates/mockup/index.html | 17 | ||||
-rw-r--r-- | templates/mockup/month_view.html | 71 | ||||
-rw-r--r-- | templates/mockup/recent_activities.html | 139 | ||||
-rw-r--r-- | templates/mockup/search.html | 73 | ||||
-rw-r--r-- | templates/mockup/thread.html | 134 |
7 files changed, 0 insertions, 570 deletions
diff --git a/templates/mockup/base.html b/templates/mockup/base.html deleted file mode 100644 index 9445add..0000000 --- a/templates/mockup/base.html +++ /dev/null @@ -1,61 +0,0 @@ -<!DOCTYPE HTML> -<html> -<head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <meta name="ROBOTS" content="INDEX, FOLLOW" /> - - <title>{% block title %}Mail app{% endblock %}</title> - <meta name="author" content="" /> - - <meta name="dc.language" content="en" /> - - <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/style.css" /> - - {% block additional_headers %} - {% endblock %} -</head> - -<body> - <!-- Header --> - <div class="header"> - {% block header %} - <div id="headline"> - <ul class="inline-block"> - <li id="list_name"><a href="/">{{list_name}}</a></li> - <li id="page_date">{{month}}</li> - </ul> - {% if month_participants and month_discussions %} - <ul class="inline-block" id="top_right"> - <li class="participant"> {{month_participants}} participants</li> - <li class="discussion"> {{month_discussions}} discussions</li> - <li class="saved"> 1 saved</li> - </ul> - {% endif %} - </div> - <p id="list_email"> - <a href="mailto:{{list_address}}"> - {{list_address}} - </a> - </p> - <div id="searchbox"> - <form action="/search" method="get"> - {{ search_form }} - </form> - </div> - <div id="newthread"> - <a href="#Create_new_thread"> - <img src="{{ STATIC_URL }}img/newthread.png" alt="New thread" /> - </a> - </div> - <hr id="white"/> - <hr /> - </div> - {% endblock %} - - <div class="content"> - {% block content %} - {% endblock %} - </div> - -</body> -</html> diff --git a/templates/mockup/base_thread.html b/templates/mockup/base_thread.html deleted file mode 100644 index 31ed8af..0000000 --- a/templates/mockup/base_thread.html +++ /dev/null @@ -1,75 +0,0 @@ -<!DOCTYPE HTML> -<html> -<head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <meta name="ROBOTS" content="INDEX, FOLLOW" /> - - <title>{% block title %}Mail app{% endblock %}</title> - <meta name="author" content="" /> - - <meta name="dc.language" content="en" /> - - <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/style.css" /> - - {% block additional_headers %} - {% endblock %} -</head> - -<body> - - <!-- Header --> - <div class="header"> - <div id="headline"> - <ul class="inline-block"> - <li id="list_name"><a href="/">{{list_name}}</a></li> - <li id="page_date">{{month}}</li> - </ul> - <div id="top_right"> - <form action="/search/{{list_address}}" method="get"> - {{ search_form }} - </form> - </div> - </div> - - <div id="thread_nav"> - <div id="newewthread" class="inline-block"> - <a href="{{ next_thread_id }}"> - <img src="{{ STATIC_URL }}img/button_newer.png" alt="New thread" /> - </a> - <br /> - {{next_thread}} - </div> - - <div class="inline-block thread_title"> - <span class="type type_question"> - <a href="/tag/question"> question </a> - </span> - <br /> - {{first_mail.email.Subject}} - <ul class="inline thread_info"> - <li class="participant"> {{participants|length}} participants</li> - <li class="discussion"> {{answers}} comments</li> - </ul> - </div> - - <div id="olderhread" class="inline-block right"> - <a href="{{ prev_thread_id }}"> - <img src="{{ STATIC_URL }}img/button_older.png" alt="New thread" /> - </a> - <br /> - {{prev_thread}} - </div> - </div> - - - <hr id="white"/> - <hr /> - </div> - - <div class="content"> - {% block content %} - {% endblock %} - </div> - -</body> -</html> diff --git a/templates/mockup/index.html b/templates/mockup/index.html deleted file mode 100644 index caae906..0000000 --- a/templates/mockup/index.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ app_name }}{% endblock %} - -{% block content %} - <ul> - <li> - <a href="archives">Archives current month</a> - </li> - <li> - <a href="archives/2012/01/">Archives January 2012</a> - </li> - <li> - <a href="recent">Recent activities</a> - </li> - </ul> -{% endblock %} diff --git a/templates/mockup/month_view.html b/templates/mockup/month_view.html deleted file mode 100644 index 24cbf37..0000000 --- a/templates/mockup/month_view.html +++ /dev/null @@ -1,71 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ app_name }}{% endblock %} - -{% block additional_headers %} - <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script> - <script src="{{ STATIC_URL }}jquery.expander.js"></script> - <script> - $(document).ready(function() { - $('span.expander').expander({ - userCollapseText: 'View Less', - expandText: 'View More' - }); - }); - </script> -{% endblock %} - -{% block content %} - - {% for email in threads %} - <!-- New thread --> - <div class="thread"> - <div class="notsaved"> - <span class="thread_title">{{email.title}}</span> - <span class="thread_date"> {{email.age}} ago</span> - </div> - <div class="thread_content"> - {% if email.category_tag %} - <div class="inline-block type type_{{email.category_tag}}"> - <a href="/tag/{{email.category_tag}}"> {{email.category}} </a> - </div> - {% else %} - <div class="inline-block type type_{{email.category}}"> - <a href="/tag/{{email.category}}"> {{email.category}} </a> - </div> - {% endif %} - <div class="inline-block gravatar"> - {% if email.avatar %} - <img src="{{email.avatar}}" alt="avatar" /> <br /> - {% endif %} - {{email.author}} - </div> - <div class="inline-block thread_email"> - <span class="expander"> - {{email.body}} - </span> - </div> - </div> - <div class="thread_info"> - <ul class="tags inline"> - <li>Tags:</li> - {% for tag in email.tags %} - <li> <a href="/tag/{{tag}}">{{tag}}</a></li> - {% endfor %} - </ul> - <ul class="inline-block"> - <li class="participant"> {{email.participants|length}} participants</li> - <li class="discussion"> {{email.answers|length}} comments</li> - </ul> - <ul class="inline-block"> - <li class="like"> +{{email.liked}}</li> - <li class="youlike"> <a href="#like"> Like</a></li> - <li class="youdislike"> <a href="#dislike"> Dislike</a></li> - <li class="showdiscussion"> <a href="#show"> Show discussion</a></li> - </ul> - </div> - </div> - <!-- End of thread --> - {% endfor %} - -{% endblock %} diff --git a/templates/mockup/recent_activities.html b/templates/mockup/recent_activities.html deleted file mode 100644 index 009f2a9..0000000 --- a/templates/mockup/recent_activities.html +++ /dev/null @@ -1,139 +0,0 @@ -{% extends "base.html" %} -{% load poll_extras %} - -{% block title %} {{ app_name }} {% endblock %} - -{% block additional_headers %} -<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/stats.css" /> -<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/jquery-ui-1.8.18.custom.css" /> -<script src="{{ STATIC_URL }}jquery-1.7.1.min.js" type="text/javascript"></script> -<script src="{{ STATIC_URL }}jquery-ui-1.8.18.custom.min.js" type="text/javascript"></script> - -<script> -$(function() { - $( "#accordion" ).accordion(); -}); -</script> -{% endblock %} - -{% block content %} - - <section id="recent_activities"> - <section id="most_active"> - <h2>Recently active discussions</h2> - {% for email in most_active_threads %} - <!-- Start thread --> - <div class="thread"> - <span class="thread_id">#{{forloop.counter}}</span> - <span class="thread_title">{{email.Subject}}</span> - <div class="thread_stats"> - <ul class="inline-block"> - {% if email.category_tag %} - <li class="type type_{{email.category_tag}}"> - <a href="/tag/{{list_address}}/{{email.category_tag}}"> - {{email.Category}} - </a> - </li> - {% else %} - <li class="type type_{{email.Category|lower}}"> - <a href="/tag/{{list_address}}/{{email.Category|lower}}"> - {{email.Category}} - </a> - </li> - {% endif %} - <li class="neutral"> 0 </li> - <li class="participant"> {{email.participants}} </li> - <li class="discussion"> {{email.answers}} </li> - </ul> - </div> - </div> - <!-- End thread --> - {% endfor %} - </section> - - - <section id="top_discussion"> - <h2>Top discussions the last 30 days</h2> - {% for email in top_threads %} - <!-- Start thread --> - <div class="thread"> - <span class="thread_id">#{{forloop.counter}}</span> - <span class="thread_title">{{email.Subject}}</span> - <div class="thread_stats"> - <ul class="inline-block"> - {% if email.category_tag %} - <li class="type type_{{email.category_tag}}"> - <a href="/tag/{{list_address}}/{{email.category_tag}}"> - {{email.Category}} - </a> - </li> - {% else %} - <li class="type type_{{email.Category|lower}}"> - <a href="/tag/{{list_address}}/{{email.Category|lower}}"> - {{email.Category}} - </a> - </li> - {% endif %} - <li class="neutral"> 0 </li> - <li class="participant"> {{email.participants}} </li> - <li class="discussion"> {{email.answers}} </li> - </ul> - </div> - </div> - <!-- End thread --> - {% endfor %} - </section> - - <section id="discussion_marker"> - <h2>Prominent discussion maker</h2> - {% for author in top_author %} - <!-- Start discussion maker --> - <div class="maker"> - <div class="inline-block maker_id"> #{{forloop.counter}} </div> - <div class="inline-block gravatar"> - {% if author.avatar %} - <img src="{{author.avatar}}" alt="avatar" /> - {% endif %} - </div> - <div class="inline-block"> - <span class="marker_name">{{author.name}}</span> <br /> - <span class="score">+{{author.kudos}}</span> kudos - </div> - </div> - <!-- End discussion maker --> - {% endfor %} - - <h2>Tag cloud</h2> - </section> - - <section id="discussion_by_topic"> - <h2>Discussion by topic the last 30 days</h2> - {% for category, thread in threads_per_category.items %} - <div> - <h2 class="category type_{{category}}"> {{category}} </h2> - <ul class="category_entry"> - {% for email in thread %} - <li>{{email.title}}</li> - {% endfor %} - </ul> - </div> - {% endfor %} - </section> - </section> - <section id="archives"> - {% for key, value in archives_length|sort %} - <h3>{{ key }}</h3> - <div> - <ul> - {% for ar_month in value %} - <li> - <a href="/archives/{{list_address}}/{{key}}/{{ar_month}}"> - {{ ar_month|tomonth }} - </a> - </li> - {% endfor %} - </ul> - </div> - {% endfor %} - </section> -{% endblock %} diff --git a/templates/mockup/search.html b/templates/mockup/search.html deleted file mode 100644 index f3b44cf..0000000 --- a/templates/mockup/search.html +++ /dev/null @@ -1,73 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ app_name }}{% endblock %} - -{% block additional_headers %} - <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script> - <script src="{{ STATIC_URL }}jquery.expander.js"></script> - <script> - $(document).ready(function() { - $('span.expander').expander({ - userCollapseText: 'View Less', - expandText: 'View More' - }); - }); - </script> -{% endblock %} - -{% block content %} - - {% for email in threads %} - <!-- New thread --> - <div class="thread"> - <div class="notsaved"> - <span class="thread_title">{{email.title}}</span> - <span class="thread_date"> 6 hours ago</span> - </div> - <div class="thread_content"> - {% if email.category_tag %} - <div class="inline-block type type_{{email.category_tag}}"> - <a href="/tag/{{email.category_tag}}"> {{email.category}} </a> - </div> - {% else %} - <div class="inline-block type type_{{email.category}}"> - <a href="/tag/{{email.category}}"> {{email.category}} </a> - </div> - {% endif %} - <div class="inline-block gravatar"> - {% if email.avatar %} - <img src="{{email.avatar}}" alt="avatar" /> <br /> - {% endif %} - {{email.author}} - </div> - <div class="inline-block thread_email"> - <span class="expander"> - {{email.body}} - </span> - </div> - </div> - <div class="thread_info"> - <ul class="tags inline"> - <li>Tags:</li> - {% for tag in email.tags %} - <li> <a href="/tag/{{tag}}">{{tag}}</a></li> - {% endfor %} - </ul> - <ul class="inline-block"> - <li class="participant"> {{email.participants|length}} participants</li> - <li class="discussion"> {{email.answers|length}} comments</li> - </ul> - <ul class="inline-block"> - <li class="like"> +1</li> - <li class="youlike"> <a href="#like"> Like</a></li> - <li class="youdislike"> <a href="#dislike"> Dislike</a></li> - <li class="showdiscussion"> <a href="#show"> Show discussion</a></li> - </ul> - </div> - </div> - <!-- End of thread --> - {% empty %} - Sorry no emails could be found for your search. - {% endfor %} - -{% endblock %} diff --git a/templates/mockup/thread.html b/templates/mockup/thread.html deleted file mode 100644 index 423ea4c..0000000 --- a/templates/mockup/thread.html +++ /dev/null @@ -1,134 +0,0 @@ -{% extends "base_thread.html" %} - -{% block title %}{{ app_name }}{% endblock %} - -{% block additional_headers %} - <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/thread.css" /> - - <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script> - <script src="{{ STATIC_URL }}jquery.expander.js"></script> - <script> - $(document).ready(function() { - $('div.email_body').expander({ - userCollapseText: 'View Less', - expandText: 'View More' - }); - }); - </script> -{% endblock %} - -{% block content %} - - <div class="content"> - - <!-- right column --> - <section id="thread_overview_info"> - <!-- Start dates --> - <div id="thread_date_info"> - <div class="days_num inline-block">21</div> - <div class="days_text inline-block"> - days<br /> inactive - </div> - <div id="days_old" class="days_num inline-block">24</div> - <div class="days_text inline-block"> - days <br /> old - </div> - </div> - <p id="add_to_fav"> - <a href="#AddFav" class="notsaved">Add to favorite discussions</a> - </p> - <!-- End dates --> - <hr id="grey"/> - <div id="tags"> - <span id="tag_title">tags </span>({{tags|length}}) - <ul class="inline"> - {% for tag in tags %} - <li> {{ tag }} |</li> - {% endfor %} - </ul> - </div> - <div id="add_tag"> - <form action="#add_tag" method="get" > - <input id="add_tag_field" type="text" name="add_tag" class="inline-block"/> - <input id="add_tag_button" type="submit" value="ADD" class="inline-block"/> - </form> - </div> - <div id="participants"> - <span id="participants_title"> participants </span>({{participants|length}}) - <ul> - {% for ppl in participants %} - <li> - <img src="http://planet.fedoraproject.org/images/heads/default.png" alt="avatar" /> - {{ppl}} - </li> - {% endfor %} - </ul> - </div> - </section> - - <!-- main section, the email thread --> - <section id="thread_content"> - - <!-- Start first email --> - <div class="first_email"> - <div class="email_header"> - <img src="http://planet.fedoraproject.org/images/heads/default.png" alt="avatar" /> - <div class="email_author inline-block"> - <span class="name">{{first_mail.email.From}}</span> - <br /> - <span class="rank">Rank 10</span> - </div> - <div class="email_date inline-block right"> - <span class="date">{{first_mail.email.Date}}</span> - <br /> - <span class="time"></span> - </div> - </div> - <div id="first_email_body"> - {{first_mail.email.Content}} - </div> - <ul class="email_info inline"> - <li class="neutral"> 0</li> - <li class="youlike"> <a href="#like"> Like</a></li> - <li class="youdislike"> <a href="#dislike"> Dislike</a></li> - <li class="discussion add_comment"> <a href="#comment"> Add your own comment</a></li> - </ul> - </div> - <!-- End first email --> - - {% for email in threads %} - <!-- Start email --> - <div class="even"> - <!-- Start email --> - <div class="email" style="padding-left: {{email.level}}em"> - <div class="email_header"> - <img src="http://planet.fedoraproject.org/images/heads/default.png" alt="avatar" /> - <div class="email_author inline-block"> - <span class="name">{{email.email.From}}</span> - <br /> - <span class="rank">Rank 8</span> - </div> - <div class="email_date inline-block right"> - <span class="date">{{email.email.Date}}</span> - <br /> - </div> - </div> - <div class="email_body"> - {{email.email.Content}} - </div> - <ul class="email_info inline"> - <li class="neutral"> 0</li> - <li class="youlike"> <a href="#like"> Like</a></li> - <li class="youdislike"> <a href="#dislike"> Dislike</a></li> - <li class="discussion add_comment"> <a href="#comment">Reply</a></li> - </ul> - </div> - <!-- End of email --> - {% empty %} - Sorry no emails could be found for your search. - {% endfor %} - - </section> - - </div> <!-- end of content --> -{% endblock %} |