diff options
Diffstat (limited to 'templates')
53 files changed, 0 insertions, 1408 deletions
diff --git a/templates/404.html b/templates/404.html deleted file mode 100644 index d65d1a7..0000000 --- a/templates/404.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - The page you requested does not exist.<br /> - <a href="javascript:history.go(-1)">Click here</a> to get back to the previous page. -{% endblock %} diff --git a/templates/about/addmentors.html b/templates/about/addmentors.html deleted file mode 100644 index e0d19ea..0000000 --- a/templates/about/addmentors.html +++ /dev/null @@ -1,24 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - PyTasks - About - Add Reviewers -{% endblock %} -{% block content %} - - A Reviewer <sup><a href="/about/reviewer/" target="_blank">learn more</a></sup> - of the task can request other users to reviewer the task by clicking the link "Add more reviewers" available on the task page. - A request will be sent to the user. If a user has claimed the task or is working on the task, he cannot be requested to be a reviewer. - If the requested user accepts the request, he will also become the reviewer of the task.<br /><br /> - - Since reviewers can view unpublished tasks, reviewers can be requested to view, edit and comment upon unpublished tasks. - They can also add or remove subtasks/dependencies in unpublished state. Thereby, the creator of task can fix on the task. - Publishing/Deleting of an unpublished task is available only to the creator of the task.<br /><br /> - - Users can also be requested to reviewer an published task. If the user accepts the request, he also becomes the reviewer of the task. - In this case, the reviewer is equivalent to the creator of the task. He can select/remove users; request pynts; close/complete the task. - He will have complete control over the task.<br /><br /> - - If a reviewer requests a user to act as a reviewer, he cannot make the same request to the same user again untill the previous one is - rejected. However, another reviewer in the task can request the same user to be a reviewer, unless there is already a similar request to the user - from this reviewer also. - -{% endblock %} diff --git a/templates/about/admin.html b/templates/about/admin.html deleted file mode 100644 index e618d3e..0000000 --- a/templates/about/admin.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - PyTasks - About - Admin -{% endblock %} -{% block content %} - Admin is the user who has to approve assign of pynts to any user for his/her work on the task.<br /> - An Admin also has the right to request normal users to become admins or managers or developers. -{% endblock %} diff --git a/templates/about/developer.html b/templates/about/developer.html deleted file mode 100644 index b0a7713..0000000 --- a/templates/about/developer.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - PyTasks - About - Developer -{% endblock %} -{% block content %} - A Developer has the right to post a task. The link is available on your homepage.<br /> - <a href="/about/tasklife/" target="_blank">click here</a> to know the complete life cycle of a task. -{% endblock %} diff --git a/templates/about/manager.html b/templates/about/manager.html deleted file mode 100644 index 804cda5..0000000 --- a/templates/about/manager.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - PyTasks - About - Manager -{% endblock %} -{% block content %} - A Manager has the right to request normal users to become managers or developers. -{% endblock %} diff --git a/templates/about/mentor.html b/templates/about/mentor.html deleted file mode 100644 index 9e2609e..0000000 --- a/templates/about/mentor.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - PyTasks - About - Reviewer -{% endblock %} -{% block content %} - Reviewering is a right specific to the task. The user who creates a task will become the reviewer for the task. A Reviewer can request - other <sup><a href="/about/addreviewers/" target="_blank">learn more</a></sup> users also to reviewer the task. - Reviewer is a person who reviewers the task. Reviewer has all the rights over the task.<br /> - - <ul> - <li>Reviewer can view the task even if it is unpublished.</li> - <li>Reviewer can edit the task when it is in unpublished state.</li> - <li>Reviewer can add/remove subtasks/dependencies to a task.</li> - <li>Reviewer decides whom to assign the task (choose from claimed users).</li> - <li>Reviewer also has the rights to remove a working user from a task.</li> - <li>Reviewer requests assigning of pynts to users/reviewers for the task.</li> - <li>Reviewer has the rights to close a task or mark the task as complete.</li> - <li>Publishing/Deleting an unpublished task is a special right available only to the creator of the task.</li> - </ul> - <a href="/about/tasklife/" target="_blank">click here</a> to know the complete life cycle of a task. -{% endblock %} diff --git a/templates/about/notification.html b/templates/about/notification.html deleted file mode 100644 index 3fce3ce..0000000 --- a/templates/about/notification.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - PyTasks - About - Notification -{% endblock %} -{% block content %} - Notification is a message generated by the system to inform you about any events. -{% endblock %} diff --git a/templates/about/request.html b/templates/about/request.html deleted file mode 100644 index 9776b3a..0000000 --- a/templates/about/request.html +++ /dev/null @@ -1,25 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - PyTasks - About - Request -{% endblock %} -{% block content %} - Request is a request made by a user, requesting you to become someone else. It can also be request of assigning pynts to a user - for a task ( goes to all the admins only ). - You can accept or reject a request. You can also provide optional remarks when rejecting. When you respond to a request, it is - automatically removed from your requests and you will be redirected to browse requests page. - Redundant requests are automatically removed.<br /><br /> - The following can be redundant requests. - <ul> - <li>You are requested to act as a reviewer and the task is published or deleted or closed or completed</li> - <li>There are requests for assigning pynts to a user for a task and the task is closed or completed</li> - <li>There are requests for assigning pynts to a user and the user is removed from the working users of the task</li> - </ul> - These redundant requests when removed, a notification is sent to the requested user. - <ul> - <li>You accept a request to act as reviewer for a task and there are similar requests </li> - <li>You accept a request to act as an admin and there are similar or less privileged requests ("Manager", "Developer")</li> - <li>You accept a request to act as a manager and there are similar or less privileged requests ("Developer")</li> - <li>You accept a request to act as a developer and there are similar requests</li> - </ul> - -{% endblock %} diff --git a/templates/about/starthere.html b/templates/about/starthere.html deleted file mode 100644 index 26130a3..0000000 --- a/templates/about/starthere.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - PyTasks - Start here -{% endblock %} -{% block content %} - PyTasks is a website designed to encourage open source participation of people. Now that you are registered, you are a - contributor in the website. - You can see your notifications and requests from the links available in side bar. - You can browse all the tasks through the tasks link in the side bar.<br /> - Choose a task <sup><a href="/about/task/" target="_blank">learn more</a></sup> of your choice and claim it to start working on it.<br /> - - <!-- To know more on your rights in the website <a href="/about/contributor" target="_blank">click here</a>.<br /> --> - <!-- To know more on tasks <a href="/about/task/" target="_blank">click here</a>.<br /> --> -{% endblock %} diff --git a/templates/about/task.html b/templates/about/task.html deleted file mode 100644 index b744b56..0000000 --- a/templates/about/task.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - PyTasks - About - Task -{% endblock %} -{% block content %} - A task is an entity that people can work on and get pynts for their work. Every task has pynts which are given to - users working on the task. A task is created by a privileged user and he becomes a - reviewer <sup><a href="/about/reviewer/" target="_blank">learn more</a></sup> for the task. - The task if open, can be claimed by other users if they would like to work on the task.<br /><br /> - - The task can be claimed by submitting a proposal in the view claims page. The link to view claims page is available on the task page. - By claiming the task, you are actually proposing that you would like to do the task and hence the reviewer of the task will - be given an option to choose you for the task. A user can only submit one claim per task. But if a user is assigned a task - and for some reason, is removed from the task later on, he can submit a second claim requesting to continue working on the task.<br /><br /> - - A task can also have subtasks and dependencies. - The task can only be calimed when it is open for people to work on. If the link is unavailable it implies that the task is locked - since it has subtasks or it has dependencies that are not complete or the task is closed or the task is complete.<br /><br /> - - <a href="/about/tasklife/" target="_blank">click here</a> to know the complete life cycle of a task. - -{% endblock %} diff --git a/templates/about/tasklife.html b/templates/about/tasklife.html deleted file mode 100644 index 448b9d9..0000000 --- a/templates/about/tasklife.html +++ /dev/null @@ -1,39 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - PyTasks - About - Task life cycle -{% endblock %} -{% block content %} - The task is created by a user and will start life in unpublished state. The creator has all rights over the task. The task in this - stage will be visible only to the creator. He can anyways request other users to view and review the task. Then the requested user - can view the task untill he does not reply to the request. If the user accepts the request, he can view, edit and comment on the task. - The user can also add/remove subtasks or dependencies. If he rejects the request he is just like other users and cannot view the task. - When the creator decides the task is ready to be published, he publishes the task. Through out this phase, - the creator of the task can delete the task at any point in time. - <br /><br /> - - If the task survives and is published, the task is available to be viewed by all the users. The task cannot be edited after this - point but subtasks/dependencies can be added/removed. If the task has subtasks, the task is locked forever. It implies that the task - cannot be claimed by anyone and exists only to show all of its subtasks in one place.<br /><br /> - If a task has dependencies, the task is locked untill all of its dependencies are completed. If all its dependencies are completed, - the task is open for claims and can be claimed by users. - If a task has neither subtasks nor dependencies, it is open as well and users claim the task. Any of the reviewers can select user(s) - from the claimed users to work on the task . Dependencies can be added/removed only untill a user is selected to work on the task. This is due - to the fact that user had a chance to claim when the task had no dependencies or all its dependencies were satisfied. - Also selecting a user to work on the task implies the task has all its dependencies satisfied.<br /><br /> - - During the working stage of task, a reviewer can request assign of pynts to users working on task or the reviewers. The assign pynts link - will be available to reviewer on the task page. If there are no users working, the reviewer can request assign of pynts to himself - or one of the other reviewers, who ever has done work on the task. Even if there are no users working on task, if there is a - request for assign of pynts to the task implies that someone has worked on the task and hence dependencies cannot be - added after that.<br /><br /> - - The users can be selected to work or removed from working users at any point in time. If a user is removed, he can claim again - to request to continue working on the task. If a user is removed, all the pending requests for assigning pynts to user will be made invalid. - After a considerable amount of work has been done and all the users and reviewers have been assigned pynts properly, any reviewer in the - task can mark the task as complete. The link is available on assign pynts page just in case - the reviewer wants to assign more pynts before marking the task as complete.<br/> - If a reviewer feels that the task is invalid or decides to delete the task, he will not be allowed to do it. Instead he can close the task - by providing a closing message. The link to close task will be available to reviewers on the task page itself.<br /><br/> - - Now all this can be done by any of the reviewers and hence think twice before you request a user to reviewer the task. -{% endblock %} diff --git a/templates/admin/login.html b/templates/admin/login.html deleted file mode 100644 index 6085dab..0000000 --- a/templates/admin/login.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} - -{% block extrastyle %}{% load adminmedia %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/login.css" />{% endblock %} - -{% block bodyclass %}login{% endblock %} - -{% block content_title %}{% endblock %} - -{% block breadcrumbs %}{% endblock %} - -{% block content %} -{% if error_message %} -<p class="errornote">{{ error_message }}</p> -{% endif %} -<div id="content-main"> -<form action="{{ app_path }}" method="post" id="login-form"> - <div class="form-row"> - <label for="id_username">{% trans 'Username:' %}</label> <input type="text" name="username" id="id_username" /> - </div> - <div class="form-row"> - <label for="id_password">{% trans 'Password:' %}</label> <input type="password" name="password" id="id_password" /> - <input type="hidden" name="this_is_the_login_form" value="1" /> - </div> - <div class="submit-row"> - <label> </label><input type="submit" value="{% trans 'Log in' %}" /> - </div> -</form> - -<script type="text/javascript"> -document.getElementById('id_username').focus() -</script> -</div> -{% endblock %} diff --git a/templates/base.html b/templates/base.html deleted file mode 100644 index 5ddab25..0000000 --- a/templates/base.html +++ /dev/null @@ -1,177 +0,0 @@ -<html> -<head> - <title>{% block title %}PyTasks{% endblock %}</title> - {% block js_script %} {% endblock %} -<style type="text/css"> - body { - font-family: Verdana, Arial, Helvetica, sans-serif; - font-size: 11px; - color: #333; - text-align: center; - margin: 0px; - padding: 20px 0px 20px 0px; - } - #wrapper { - width: 956px; - padding: 10px; - margin: 0px auto 0px auto; - height: auto; - text-align: left; - border: 1px solid #ddd; - } - #header { - margin: 0px; - padding: 5px 0px 5px 0px; - height: auto; - width: auto; - text-align: center; - background-color: #f1f1f1; - } - #container { - padding: 0px; - margin: 10px 0px 0px 0px; - background-attachment: scroll; - background-image: url(back.gif); - background-repeat: repeat-y; - background-position: 0px 0px; - height: auto; #default was 1% - width: auto; - } - #left { - margin: 0px; - width: 160px; - padding: 10px 20px 10px 20px; - float: left; - } - #nav { - margin: 0px; - padding: 0px; - list-style-image: none; - list-style-type: none; - } - #nav li { - margin: 0px; - padding: 0px; - display: block; - background-attachment: scroll; - background-image: url(bullet.gif); - background-repeat: no-repeat; - background-position: 0px 50%; - } - #nav li a:link, #nav li a:visited, #nav li a:active { - color: #666; - text-decoration: none; - display: block; - margin: 0px; - padding: 3px 15px 3px 15px; - width: 130px; - } - #nav li a:hover { - color: #999; - text-decoration: none; - } - #center { - height: auto; - width: 504px; - padding: 10px 20px 10px 20px; - float: left; - margin: 0px 0px 0px 6px; - line-height: 1.8em; - } - h1 { - font-size: 14px; - margin: 0px; - padding: 0px; - } - #right { - padding: 10px 20px 10px 20px; - height: auto; - width: 160px; - float: left; - margin: 0px 0px 0px 6px; - } - .clearer { - font-size: 0px; - line-height: 0px; - display: block; - margin: 0px; - padding: 0px; - clear: both; - height: 0px; - width: auto; - } - #footer { - margin: 10px 0px 0px 0px; - text-align: left; - padding: 5px 0px 5px 0px; - background-color: #f1f1f1; - } - #footer p { - color: #999; - margin: 0px auto 0px auto; - padding: 0px; - } - #footer a:link, #footer a:visited, #footer a:active { - color: #999; - text-decoration: none; - } - #footer a:hover { - color: #ccc; - text-decoration: none; - } -</style> -</head> - -<body> -<div id="wrapper"> - <div id="header"> - <h2><a href="/">PyTasks</a></h2> - </div> - <div id="container"> - <div id="left"> - <ul id="nav"> - <li><a href="/" title="home">home</a></li> - {% if user.is_authenticated %} - <li><a href="/task/browse/" title="tasks">tasks</a></li> - <li><a href="/textbook/" title="textbook">textbooks</a></li> - <br /> - <li><a href="/user/notifications/" title="notifications"> - {% if user.unread_notifications.count %} - notifications({{user.unread_notifications.count}}) - {% else %} - notifications - {% endif %} - </a></li> - <li><a href="/user/requests/" title="Requests"> - {% if user.unread_requests.count %} - requests({{user.unread_requests.count}}) - {% else %} - requests - {% endif %} - </a></li> - <br> - <li><a href="/user/view/uid={{user.id}}">my profile</a></li> - <li><a href="/accounts/logout/">logout</a></li> - {% else %} - <li><a href="/accounts/login/" title="login">login</a></li> - {% endif %} - </ul> - </div> - <div id="center"> - {% block content %}This is the default content{% endblock %} - </div> - <div id="right"> - <!--{% if user.is_authenticated %} - <a href="/accounts/logout">logout</a> - {% endif %}--> - </div> - <div class="clearer"> - </div> - </div> - <div id="footer"> - Designed by <a href="http://fossee.in">FOSSEE</a> - </div> -</div> - -</body> -</html> diff --git a/templates/index.html b/templates/index.html deleted file mode 100644 index 0fe5b02..0000000 --- a/templates/index.html +++ /dev/null @@ -1,124 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - {% if is_guest %} - Welcome Guest<br> - <a href="/accounts/register/">Register</a> - <a href="/accounts/login/">Login</a><br /><br /> - Recent Tasks:<br /> - {% for task in task_list %} - <a href="/task/view/tid={{ task.id }}">{{ task.title }}</a><br /> - {% endfor %} - {% else %} - Logged in as {{ user.username }} <br /><br /> - {% endif %} - - {% if can_create_task %} - <a href="/task/create/">Create a task</a><br /> - <br /> - {% endif %} - {% ifequal user.get_profile.rights "MG" %} - <a href="/user/make/dv/">Request another user to be a Developer</a><br /> - <a href="/user/make/mg/">Request another user to act as manager</a><br /> - <br /> - {% endifequal %} - {% ifequal user.get_profile.rights "AD" %} - <a href="/user/make/dv/">Request another user to be a Developer</a><br /> - <a href="/user/make/mg/">Request another user to act as a Manager</a><br /> - <a href="/user/make/ad">Request another user to act as an Admin</a><br /> - <br /> - {% endifequal %} - - - {% if user.unread_notifications.count %} - You have {{ user.unread_notifications.count }} <a href='/user/notifications/'>unread</a> - {% ifnotequal user.unread_notifications.count 1 %} - notifications - {% else %} - notification - {% endifnotequal %} - <br /> - {% endif %} - - {% if user.unread_requests.count %} - You have {{ user.unread_requests.count }} <a href='/user/requests/'>unread</a> - {% ifnotequal user.unread_requests.count 1 %} - requests - {% else %} - request - {% endifnotequal %} - <br /><br /> - {% else %} - {% if user.unread_notifications.count %} - <br /> - {% endif %} - {% endif %} - - -<!-- - {% if user.task_claimed_users.count %} - {{ user.task_claimed_users.count }} <a href='/user/claimed/'>claimed</a> - {% ifnotequal user.task_claimed_users.count 1 %} - tasks - {% else %} - task - {% endifnotequal %}<br /> - {% endif %} - - {% if user.task_assigned_users.count %} - You are currently <a href='/user/assigned/'>working</a> on {{ user.task_assigned_users.count }} - {% ifnotequal user.task_assigned_users.count 1 %} - tasks - {% else %} - task - {% endifnotequal %}<br /> - {% endif %} - - {% if user.task_reviewers.count %} - <a href="/user/reviewer/">Reviewering {{ user.task_reviewers.count }} - {% ifnotequal user.task_reviewers.count 1 %} - tasks - {% else %} - task - {% endifnotequal %}</a> - <br /> - {% endif %} - - --> - - {% if unpublished_tasks %} - Unpublished tasks viewable by you:<ul> - {% for a_task in unpublished_tasks %} - <li><a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a></li> - {% endfor %} - </ul> - <br /> - {% endif %} - - {% if reviewered_tasks %} - Tasks you are reviewering:<ul> - {% for a_task in reviewered_tasks %} - <li><a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a></li> - {% endfor %} - </ul> - <br /> - {% endif %} - - {% if working_tasks %} - Tasks that have been assigned to you:<ul> - {% for a_task in working_tasks %} - <li><a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a></li> - {% endfor %} - </ul> - <br /> - {% endif %} - - {% if claimed_tasks %} - Tasks claimed but still not assigned to you:<ul> - {% for a_task in claimed_tasks %} - <li><a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a></li> - {% endfor %} - </ul> - <br /> - {% endif %} - -{% endblock %} diff --git a/templates/registration/activate.html b/templates/registration/activate.html deleted file mode 100644 index 27181d5..0000000 --- a/templates/registration/activate.html +++ /dev/null @@ -1,4 +0,0 @@ -{% extends 'base.html' %} -{% block content %} -Your account has been successfully activated. -{% endblock %} diff --git a/templates/registration/activation_email.txt b/templates/registration/activation_email.txt deleted file mode 100644 index dfc5216..0000000 --- a/templates/registration/activation_email.txt +++ /dev/null @@ -1,9 +0,0 @@ -Welcome to PyTasks: - -Click on the following link -http://{{site}}/accounts/activate/{{activation_key}} -and activate your account. -Note that the account has to activated within {{expiration_days}} days - -Regards, -PyTasks Team diff --git a/templates/registration/activation_email_subject.txt b/templates/registration/activation_email_subject.txt deleted file mode 100644 index c73db7e..0000000 --- a/templates/registration/activation_email_subject.txt +++ /dev/null @@ -1 +0,0 @@ -Welcome to PyTasks! diff --git a/templates/registration/logged_out.html b/templates/registration/logged_out.html deleted file mode 100644 index 9b37497..0000000 --- a/templates/registration/logged_out.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} - -{% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a></div>{% endblock %} - -{% block content %} - -<p>{% trans "Thanks for spending some quality time with the Web site today." %}</p> - -<p><a href="../">{% trans 'Log in again' %}</a></p> - -{% endblock %} diff --git a/templates/registration/login.html b/templates/registration/login.html deleted file mode 100644 index b2e60d6..0000000 --- a/templates/registration/login.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends 'base.html' %} -{% block content %} -<form action="/accounts/login/" method="post"> -{{ form.as_p }} -<input type="submit" value="Login" /> -</form> -<a href="/accounts/password/reset">Forgot password?</a> -{% endblock %} diff --git a/templates/registration/logout.html b/templates/registration/logout.html deleted file mode 100644 index 480adfe..0000000 --- a/templates/registration/logout.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends 'base.html' %} -{% block content %} -You have successfully logged out of PyTasks. -<br><br> -<a href="/">Click here</a> to go back to PyTask Homepage -{% endblock %} diff --git a/templates/registration/password_change_done.html b/templates/registration/password_change_done.html deleted file mode 100644 index db1484f..0000000 --- a/templates/registration/password_change_done.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} -{% block userlinks %}{% url django-admindocs-docroot as docsroot %}{% if docsroot %}<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / {% endif %}{% trans 'Change password' %} / <a href="../../logout/">{% trans 'Log out' %}</a>{% endblock %} -{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">{% trans 'Home' %}</a> › {% trans 'Password change' %}</div>{% endblock %} - -{% block title %}{% trans 'Password change successful' %}{% endblock %} - -{% block content %} - -<h1>{% trans 'Password change successful' %}</h1> - -<p>{% trans 'Your password was changed.' %}</p> - -{% endblock %} diff --git a/templates/registration/password_change_form.html b/templates/registration/password_change_form.html deleted file mode 100644 index 71f221c..0000000 --- a/templates/registration/password_change_form.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} -{% block userlinks %}{% url django-admindocs-docroot as docsroot %}{% if docsroot %}<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / {% endif %} {% trans 'Change password' %} / <a href="../logout/">{% trans 'Log out' %}</a>{% endblock %} -{% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> › {% trans 'Password change' %}</div>{% endblock %} - -{% block title %}{% trans 'Password change' %}{% endblock %} - -{% block content %} - -<h1>{% trans 'Password change' %}</h1> - -<p>{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}</p> - -<form action="" method="post"> - -{{ form.old_password.errors }} -<p class="aligned wide"><label for="id_old_password">{% trans 'Old password:' %}</label>{{ form.old_password }}</p> -{{ form.new_password1.errors }} -<p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p> -{{ form.new_password2.errors }} -<p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p> - -<p><input type="submit" value="{% trans 'Change my password' %}" /></p> -</form> - -{% endblock %} diff --git a/templates/registration/password_reset_complete.html b/templates/registration/password_reset_complete.html deleted file mode 100644 index ee66d81..0000000 --- a/templates/registration/password_reset_complete.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} - -{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">{% trans 'Home' %}</a> › {% trans 'Password reset' %}</div>{% endblock %} - -{% block title %}{% trans 'Password reset complete' %}{% endblock %} - -{% block content %} - -<h1>{% trans 'Password reset complete' %}</h1> - -<p>{% trans "Your password has been set. You may go ahead and log in now." %}</p> - -<p><a href="{{ login_url }}">{% trans 'Log in' %}</a></p> - -{% endblock %} diff --git a/templates/registration/password_reset_confirm.html b/templates/registration/password_reset_confirm.html deleted file mode 100644 index b581a7f..0000000 --- a/templates/registration/password_reset_confirm.html +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} - -{% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> › {% trans 'Password reset confirmation' %}</div>{% endblock %} - -{% block title %}{% trans 'Password reset' %}{% endblock %} - -{% block content %} - -{% if validlink %} - -<h1>{% trans 'Enter new password' %}</h1> - -<p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p> - -<form action="" method="post"> -{{ form.new_password1.errors }} -<p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p> -{{ form.new_password2.errors }} -<p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p> -<p><input type="submit" value="{% trans 'Change my password' %}" /></p> -</form> - -{% else %} - -<h1>{% trans 'Password reset unsuccessful' %}</h1> - -<p>{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}</p> - -{% endif %} - -{% endblock %} diff --git a/templates/registration/password_reset_done.html b/templates/registration/password_reset_done.html deleted file mode 100644 index 8da70e9..0000000 --- a/templates/registration/password_reset_done.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} - -{% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> › {% trans 'Password reset' %}</div>{% endblock %} - -{% block title %}{% trans 'Password reset successful' %}{% endblock %} - -{% block content %} - -<h1>{% trans 'Password reset successful' %}</h1> - -<p>{% trans "We've e-mailed you instructions for setting your password to the e-mail address you submitted. You should be receiving it shortly." %}</p> - -{% endblock %} diff --git a/templates/registration/password_reset_email.html b/templates/registration/password_reset_email.html deleted file mode 100644 index 4e4bd6d..0000000 --- a/templates/registration/password_reset_email.html +++ /dev/null @@ -1,15 +0,0 @@ -{% load i18n %}{% autoescape off %} -{% trans "You're receiving this e-mail because you requested a password reset" %} -{% blocktrans %}for your user account at {{ site_name }}{% endblocktrans %}. - -{% trans "Please go to the following page and choose a new password:" %} -{% block reset_link %} -{{ protocol }}://{{ domain }}{% url django.contrib.auth.views.password_reset_confirm uidb36=uid, token=token %} -{% endblock %} -{% trans "Your username, in case you've forgotten:" %} {{ user.username }} - -{% trans "Thanks for using our site!" %} - -{% blocktrans %}The {{ site_name }} team{% endblocktrans %} - -{% endautoescape %} diff --git a/templates/registration/password_reset_form.html b/templates/registration/password_reset_form.html deleted file mode 100644 index 38eec4c..0000000 --- a/templates/registration/password_reset_form.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} - -{% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> › {% trans 'Password reset' %}</div>{% endblock %} - -{% block title %}{% trans "Password reset" %}{% endblock %} - -{% block content %} - -<h1>{% trans "Password reset" %}</h1> - -<p>{% trans "Forgotten your password? Enter your e-mail address below, and we'll e-mail instructions for setting a new one." %}</p> - -<form action="" method="post"> -{{ form.email.errors }} -<p><label for="id_email">{% trans 'E-mail address:' %}</label> {{ form.email }} <input type="submit" value="{% trans 'Reset my password' %}" /></p> -</form> - -{% endblock %} diff --git a/templates/registration/registration_complete.html b/templates/registration/registration_complete.html deleted file mode 100644 index 53e85bc..0000000 --- a/templates/registration/registration_complete.html +++ /dev/null @@ -1,4 +0,0 @@ -{% extends 'base.html' %} -{% block content %} -Please check your email for instructions on activating your account. -{% endblock %} diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html deleted file mode 100644 index ed116d3..0000000 --- a/templates/registration/registration_form.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends 'base.html' %} -{% block content %} -<form action="/accounts/register/" method="post"> -{{ form.as_p }} -<input type="submit" value="Submit" /> -</form> -{% endblock %} diff --git a/templates/show_msg.html b/templates/show_msg.html deleted file mode 100644 index dc7e472..0000000 --- a/templates/show_msg.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends 'base.html' %} -{% block js_script %} - <script language="JavaScript"> - <!-- - function getgoing() - { - window.location="{{redirect_url}}"; - } - - setTimeout('getgoing()',5000); - //--> - </script> -{% endblock %} -{% block content %} - - {% if message %} - {{message}}<br /> - {% endif %} - You will be redirected to {{url_desc}} page in 5 seconds - <!-- - {% if redirect_url %} - <a href="{{redirect_url}}">click here</a> to return to {{url_desc}} - {% else %} - <a href="/">click here</a> to return to Homepage - {% endif %} - --> -{% endblock %} diff --git a/templates/task/addmentor.html b/templates/task/addmentor.html deleted file mode 100644 index 9bab81c..0000000 --- a/templates/task/addmentor.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - <a href="/task/view/tid={{task.id}}">Click here</a> to return to the task.<br /><br /> - Requesting a user to act as a reviewer for the task sends him a request. If he accepts the request, he will also be the reviewer for this task - {% ifequal task.status "UP" %} - and can view/edit<sup><a href="/about/reviewer/" target="_blank">learn more</a></sup> the task. But only the creator of a task can publish the task. - {% else %} - and will have all the rights<sup><a href="/about/reviewer/" target="_blank">learn more</a></sup> you posses over the task. - {% endifequal %} - <br /> - <br /> - <form action="" method="post"> - {{form.as_table}} - <input type="submit" value="Submit"> - </form> - {% if pending_requests %} - Pending requests:<br /> - {% for req in pending_requests %} - <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> requested - {% for a_user in req.sent_to.all %} - <a href="/user/view/uid={{a_user.id}}">{{a_user.username}}</a> to act as a reviewer - {% endfor %} - on {{req.creation_date|date:"D d M Y"}} at {{req.creation_date|time:"H:i"}}<br /> - {% endfor %} - {% endif %} -{% endblock %} diff --git a/templates/task/addtask.html b/templates/task/addtask.html deleted file mode 100644 index 460b449..0000000 --- a/templates/task/addtask.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - Add tasks for {{task.title}} -{% endblock %} -{% block content %} - {% if errors %} - Please correct the following errors.<br /> - {% for err in errors %} - {{err}}<br /> - {% endfor %} - {% endif %} - <form action="" method="post"> - {{form.as_p}} - <input value="Submit" type="submit"> - </form> -{% endblock %} diff --git a/templates/task/assign.html b/templates/task/assign.html deleted file mode 100644 index 8c4e3d2..0000000 --- a/templates/task/assign.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - <a href="/task/claim/tid={{task.id}}">click here</a> to return to the claims page.<br /><br /> - Select a user to assign this task.<br /> - <form action="" method="POST"> - {{form.as_table}} - <input type="submit" value="Assign Task"> - </form> -{% endblock %} diff --git a/templates/task/assignpynts.html b/templates/task/assignpynts.html deleted file mode 100644 index cbd0f84..0000000 --- a/templates/task/assignpynts.html +++ /dev/null @@ -1,42 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - {{task.title}} -{% endblock %} -{% block content %} - <a href="/task/view/tid={{task.id}}">Click here</a> to return to the task.<br /> - - <form action="" method="post"> - {{form.as_p}} - <input type="submit" value="Submit"> - </form> - {% if prev_pynts %} - <a href="/task/complete/tid={{task.id}}">Mark task as complete.</a> - <hr /> - {% endif %} - {% if pynt_requests %} - <br/>Previous pynts:<br /> - {% for req in pynt_requests %} - <hr /> - <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> requested assigning of {{req.pynts}} pynts to - <a href="/user/view/uid={{req.receiving_user.id}}">{{req.receiving_user.username}}</a> - on {{req.creation_date|date:"D d M Y"}} at {{req.creation_date|time:"H:i"}}<br /> - {% if req.is_replied %} - status: - {% if req.reply %} - Approved by <a href="/user/view/uid={{req.replied_by.id}}">{{req.replied_by.username}}</a> - on {{req.reply_date|date:"D d M Y"}} at {{req.reply_date|time:"H:i"}}<br /> - {% else %} - Rejected by <a href="/user/view/uid={{req.replied_by.id}}">{{req.replied_by.username}}</a> - on {{req.reply_date|date:"D d M Y"}} at {{req.reply_date|time:"H:i"}}<br /> - {% if req.remarks %} - Reason: {{req.remarks}} - {% endif %} - {% endif %} - {% else %} - status: Request pending - {% endif %} - {% endfor %} - {% else %} - No assigning of pynts has been made for this task. - {% endif %} -{% endblock %} diff --git a/templates/task/browse.html b/templates/task/browse.html deleted file mode 100644 index 7ca8705..0000000 --- a/templates/task/browse.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - List of all the tasks:<ul> - {% for task in task_list %} - <li><a href="/task/view/tid={{ task.id }}">{{ task.title }}</a></li> - {% endfor %} - </ul> -{% endblock %} diff --git a/templates/task/claim.html b/templates/task/claim.html deleted file mode 100644 index c67c0e6..0000000 --- a/templates/task/claim.html +++ /dev/null @@ -1,52 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - {% if user_can_claim %} - Propose a claim to work on this task.<sup><a href="/about/claimtask/" target="_blank">learn more</a></sup><br /><br /> - {% endif %} - {% if claims %} - List of all the claims for the task <a href="/task/view/tid={{task.id}}">{{task.title}}</a><br /> - {% for claim in claims %} - <hr /> - <a href="/user/view/uid={{claim.sent_from.id}}">{{claim.sent_from.username}}</a> - on {{claim.sent_date|date:"D d M Y"}} at {{claim.sent_date|time:"H:i"}} wrote:<br /> - {{claim.remarks}}<br /> - {% endfor %} - {% else %} - {% if task_claimable %} - There are no claims for this task yet.<br /> - {% if user_can_claim %} - Be the first to claim the task.<br /> - {% endif %} - {% else %} - The task cannot be claimed at this stage.<br /> - {% endif %} - <a href="/task/view/tid={{task.id}}">Click here</a> to view the task.<br /> - {% endif %} - {% if task_claimed and is_reviewer %} - <a href="/task/assign/tid={{task.id}}">Select a user to assign the work.</a><sup><a href="/about/assigntask/" target="_blank">learn more</a></sup> - {% endif %} - {% if user_can_claim %} - <!-- - {% if errors %} - {% for error in errors %} - {{error}}<br /> - {% endfor %} - {% endif %} - - <hr /> - Claim proposal:<br /> - <form action="" method="post"> - <textarea name="message"></textarea><br /> - <input type="submit" value="Submit Claim"><br /> - - </form> - --> - <hr /> - <form action="" method="post"> - {{form.as_p}} - <input type="submit" value="Submit Claim"><br /> - Please note that you can claim only once and so write your proposal carefully.<br /> - </form> - {% endif %} - -{% endblock %} diff --git a/templates/task/close.html b/templates/task/close.html deleted file mode 100644 index ea4cef0..0000000 --- a/templates/task/close.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - {{task.title}} -{% endblock %} -{% block content %} - <b>Disclaimer:</b><br /> - If a task is closed, it implies the task is no more a valid task. The task cannot be edited or added subtasks/dependencies. - Please <a href="/task/assignpynts/tid={{task.id}}">click here</a> to return to assign pynts page if you want to request assign of pynts. - You cannot request assign of pynts and all the pending requests on this task will be made invalid when a task is closed.<br /><br /> - - The only difference between marking a task as closed and completed is that the tasks depending on completed tasks will be free to be claimed - and worked on. This action cannot be undone. If you have double checked every thing, please provide a reason and close the task.<br /> - - <br /> - {% if error %} - Please provide a reason for closing the task. - {% endif %} - <form action="" method="post"> - Reason: <input type="text" name="reason"> - <input value="Close the task" type="submit"> - </form> -{% endblock %} diff --git a/templates/task/complete.html b/templates/task/complete.html deleted file mode 100644 index a8aedd3..0000000 --- a/templates/task/complete.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - {{task.title}} -{% endblock %} -{% block content %} - <b>Disclaimer:</b><br /> - Marking a task as complete implies the task has been completed successfully. It implies that all the required files - are available as attatchments in comments and all the users worked on this task were pynted accordingly.<br /><br /> - This action sets the task as completed and frees all the tasks depending on this task. Henceforth, the task <strong>can not</strong> be - commented upon or edited by anyone.<br /><br /> - If there are pending requests for assigning pynts, they will be deleted and admins will not be able to approve those requests. - Hence you cannot assign pynts to anyone for this task anymore. You must wait for the requests to be approved by any of the admins. - If you would like to request for assigning more pynts, return to assign pynts page by clicking - <a href="/task/assignpynts/tid={{task.id}}">here</a>.<br /><br /> - If you have double checked everything, confirm this action by clicking the button below. - <form action="" method="post"> - <input value="Mark as Complete" type="submit"> - </form> -{% endblock %} diff --git a/templates/task/create.html b/templates/task/create.html deleted file mode 100644 index 7ae29ab..0000000 --- a/templates/task/create.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - {% if error_msg %} - {{ error_msg }}<br /> - {% endif %} - <form action="" method="post"> - {{form.as_p}} - <input type="submit" value="Submit"> - </form> -{% endblock %} diff --git a/templates/task/delete.html b/templates/task/delete.html deleted file mode 100644 index dffe900..0000000 --- a/templates/task/delete.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - {{task.title}} -{% endblock %} -{% block content %} - Are you sure you want to delete the task. This action cannot be undone.<br /> - - <form action="" method="post"> - Reason: <input type="text" name="reason"> - <input value="Delete" type="submit"> - </form> -{% endblock %} diff --git a/templates/task/edittask.html b/templates/task/edittask.html deleted file mode 100644 index 7ae29ab..0000000 --- a/templates/task/edittask.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - {% if error_msg %} - {{ error_msg }}<br /> - {% endif %} - <form action="" method="post"> - {{form.as_p}} - <input type="submit" value="Submit"> - </form> -{% endblock %} diff --git a/templates/task/publish.html b/templates/task/publish.html deleted file mode 100644 index 7f6c062..0000000 --- a/templates/task/publish.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - {{task.title}} -{% endblock %} -{% block content %} - <b>Disclaimer:</b><br /> - Publishing a task will make the task visible to every one and cannot be edited there after.<br /><br /> - Only you will have reviewering rights on this task. But you can request other users also to reviewer the task. - <sup><a href="/about/addreviewers/" target="_blank">learn more</a></sup><br /><br /> - This action cannot be undone. - <br /> - Please confirm if you want to publish. - <form action="" method="post"> - <input value="Publish" type="submit"> - </form> -{% endblock %} diff --git a/templates/task/remove_user.html b/templates/task/remove_user.html deleted file mode 100644 index 5ea2b19..0000000 --- a/templates/task/remove_user.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - Remove users for {{task.title}} -{% endblock %} -{% block content %} - <a href="/task/view/tid={{task.id}}">Click here</a> to return to {{task.title}} - <form action="" method="post"> - {{form.as_p}} - <input value="Submit" type="submit"> - </form> -{% endblock %} diff --git a/templates/task/removetask.html b/templates/task/removetask.html deleted file mode 100644 index 0131520..0000000 --- a/templates/task/removetask.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - Remove tasks for {{task.title}} -{% endblock %} -{% block content %} - <a href="/task/view/tid={{task.id}}">Click here</a> to return to task.<br /> - {% if errors %} - Please correct the following errors.<br /> - {% for err in errors %} - {{err}}<br /> - {% endfor %} - {% endif %} - <form action="" method="post"> - {{form.as_p}} - <input value="Submit" type="submit"> - </form> -{% endblock %} diff --git a/templates/task/report.html b/templates/task/report.html deleted file mode 100644 index e1a2aa3..0000000 --- a/templates/task/report.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - {{task.title}} -{% endblock %} -{% block content %} -{% if not old_reports %} -There are no reports submitted as of now -{% else %} -{% for rep in old_reports %} -{{rep.submitted_by}} | <a href="{{rep.attachment.url}}">{{rep.attachment.name}}</a> <br /> -{% endfor %} -{% endif %} -<hr /> -{% if can_upload %} -Submit a report: <br /> -<form action='' method=post enctype="multipart/form-data"> -{{ form.as_p }} -<input type=submit value=submit /> -</form> -{% endif %} -{% endblock %} diff --git a/templates/task/view.html b/templates/task/view.html deleted file mode 100644 index 52346de..0000000 --- a/templates/task/view.html +++ /dev/null @@ -1,173 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - {{task.title}} -{% endblock %} -{% block content %} - <h3>{{ task.title }}</h3> - - {% if can_edit %} - <a href="/task/edit/tid={{task.id}}">Edit task</a> - {% endif %} - - {% if can_publish %} - <a href="/task/publish/tid={{task.id}}">Publish task</a> - {% endif %} - - {% if can_close %} - <a href="/task/close/tid={{task.id}}">Close this task</a> - {% endif %} - - {% if can_delete %} - <a href="/task/delete/tid={{task.id}}">Delete task</a> - {% endif %} - - <hr />created by <a href="/user/view/uid={{ task.created_by.id }}">{{ task.created_by.username }}</a> - on {{task.creation_datetime|date:"D d M Y"}} at {{task.creation_datetime|time:"H:i"}}<br /> - - {% ifequal task.status "UP" %} - Task can be viewed by: - {% else %} - Reviewers: - {% endifequal %} - - {% for reviewer in reviewers %} - <a href="/user/view/uid={{reviewer.id}}">{{reviewer.username}}</a> - {% endfor %} - - {% if can_mod_reviewers %} - <a href="/task/addreviewer/tid={{task.id}}"> - {% ifequal task.status "UP" %} - Request others to view/edit the task - {% else %} - Add another Reviewer to this task - {% endifequal %}</a> - {% endif %} - <br /> - - <hr /> - <b>Description:</b><br /> - {{ task.desc|linebreaksbr }} - <br /><br /><hr /> - {% if task.tags.count %} - Tags: - {% for tag in task.tags %} - {{tag}} - {% endfor %} - <hr /> - {% endif %} - - {% if deps %} - - <br />The task has following dependencies.<ul> - {% for dep in deps %} - <li><a href="/task/view/tid={{dep.id}}">{{dep.title}}</a></li> - {% endfor %} - </ul> - - {% if can_mod_tasks %} - <a href="/task/addtask/tid={{task.id}}">add more dependencies</a> - <a href="/task/remtask/tid={{task.id}}">remove an existing dependency</a> - {% endif %} - - {% else %} - - {% if subs %} - The task has following sub tasks.<ul> - {% for sub in subs %} - <li><a href="/task/view/tid={{sub.id}}">{{sub.title}}</a></li> - {% endfor %} - </ul> - - {% if can_mod_tasks %} - <a href="/task/addtask/tid={{task.id}}">add more subtasks</a> - <a href="/task/remtask/tid={{task.id}}">remove an existing subtask</a> - {% endif %} - - {% else %} - - {% if can_mod_tasks %} - <a href="/task/addtask/tid={{task.id}}">add a subtask/dependency </a> - {% endif %} - - {% endif %} - {% endif %} - - {% ifequal task.status "CD" %} - Task has been closed by <a href="/user/view={{closing_notification.sent_from.id}}">{{closing_notification.sent_from.username}}</a> - on {{closing_notification.sent_date|date:"D d M Y"}} at {{closing_notification.sent_date|time:"H:i"}}<br /> - <b>Reason: </b>{{closing_notification.remarks}}<br /> - {% endifequal %} - - {% ifequal task.status "CM" %} - Task has been marked complete by <a href="/user/view={{completed_notification.sent_from.id}}"> - {{completed_notification.sent_from.username}}</a> - on {{completed_notification.sent_date|date:"D d M Y"}} at {{completed_notification.sent_date|time:"H:i"}}<br /> - {% endifequal %} - - {% ifequal task.status "OP" %} - <br />There are no users working on this task.<br /> - {% endifequal %} - - {% if subs %} - <br />This task cannot be claimed.. It exists only to show all of its sub tasks in one place.<br /> - {% endif %} - - {% if assigned_users %} - Users working on this task: - {% for user in assigned_users %} - <a href="/user/view/uid={{user.id}}">{{user.username}}</a> - {% endfor %} - {% if is_reviewer %} - <a href="/task/remuser/tid={{task.id}}">Remove an existing user</a> - {% endif %} - <br /> - {% endif %} - - {% if can_assign_pynts %} - <a href="/task/assignpynts/tid={{task.id}}">View/Assign pynts</a> - {% endif %} - - {% if task_claimable %} - <a href="/task/claim/tid={{task.id}}"> - {% if is_reviewer %} - View claims - {% else %} - <a href="/task/report/tid={{task.id}}">Submit Work</a> - Claim the task - {% endif %}</a> - {% endif %} - - {% if comments %} - <hr /> - comments:<br /><br /> - {% for comment in comments %} - <a href="/user/view/uid={{comment.created_by.id}}">{{ comment.created_by.username }}</a> - on {{ comment.creation_datetime|date:"D d M Y"}} at {{comment.creation_datetime|time:"H:i"}} wrote:<br /> - {{ comment.data|linebreaksbr }}<br /><br /> - {% endfor %} - {% endif %} - - {% if not is_guest %} - <hr /> - {% if error_msg %} - {{error_msg}}<br /> - {% endif %} - {% ifnotequal task.status "UP" %} - Add comment:<br /> - <form action="" method="post"> - <!-- we might even want to use forms here --> - <textarea name="data"></textarea><br /> - <input type="submit" value="Submit"> - </form> - {% else %} - {% if is_reviewer %} - Add comment:<br /> - <form action="" method="post"> - <!-- we might even want to use forms here --> - <textarea name="data"></textarea><br /> - <input type="submit" value="Submit"> - </form> - {% endif %} - {% endifnotequal %} - {% endif %} -{% endblock %} diff --git a/templates/user/browse_notifications.html b/templates/user/browse_notifications.html deleted file mode 100644 index 210fad2..0000000 --- a/templates/user/browse_notifications.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - {% if not notifications %} - You have no notifications.<sup><a href="/about/notification/" target="_blank">learn more</a></sup><br /> - {% else %} - Notifications for you: <sup><a href="/about/notification/" target="_blank">learn more</a></sup><br /> - {% for notification in notifications %} - <a href="/user/notifications/nid={{notification.id}}"> - {% if not notification.is_read %} <b> {% endif %} - {{notification.sub}} - {% if not notification.is_read %} </b> {% endif %}</a><br /> - {% endfor %} - {% endif %} -{% endblock %} diff --git a/templates/user/browse_requests.html b/templates/user/browse_requests.html deleted file mode 100644 index 6bdef9b..0000000 --- a/templates/user/browse_requests.html +++ /dev/null @@ -1,36 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - {% if not reqs %} - You have no unreplied requests <sup><a href="/about/request/" target="_blank">learn more</a></sup><br /> - {% else %} - You have not yet replied to these requests.<sup><a href="/about/request/" target="_blank">learn more</a></sup><br /><br /> - {% for req in reqs %} - <a href="/user/requests/rid={{req.id}}"> - {% if not req.is_read %}<b>{% endif %} - - {% ifequal req.role "PY" %} - Assign of pynts to {{req.receiving_user}} for the task "{{req.task.title|slice:":20"}}" - {% endifequal %} - - {% ifequal req.role "MT" %} - Request to reviewer the task "{{req.task.title|slice:":20"}}" - {% endifequal %} - - {% ifequal req.role "DV" %} - Request to act as a developer in the website - {% endifequal %} - - {% ifequal req.role "MG" %} - Request to act as a manager in the website - {% endifequal %} - - {% ifequal req.role "AD" %} - Request to act as an admin in the website - {% endifequal %} - - - {% if not req.is_read %}</b>{% endif %}<br /> - </a> - {% endfor %} - {% endif %} -{% endblock %} diff --git a/templates/user/changerole.html b/templates/user/changerole.html deleted file mode 100644 index 3f7ecbd..0000000 --- a/templates/user/changerole.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends 'base.html' %} -{% block title %} - {{task.title}} -{% endblock %} -{% block content %} - <a href="/">Click here</a> to return to home page.<br /> - <form action="" method="post"> - {{form.as_p}} - <input type="submit" value="Submit"> - </form> -{% endblock %} diff --git a/templates/user/edit_profile.html b/templates/user/edit_profile.html deleted file mode 100644 index 43501ac..0000000 --- a/templates/user/edit_profile.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - <form action="/user/edit/" enctype = "multipart/form-data" method="post"> - {{ edit_profile_form.as_p }} - <input type="submit" value="Apply Changes" /> - </form> -{% endblock %} diff --git a/templates/user/my_profile.html b/templates/user/my_profile.html deleted file mode 100644 index 4f7e389..0000000 --- a/templates/user/my_profile.html +++ /dev/null @@ -1,64 +0,0 @@ -{% extends 'base.html' %} - -{% block title %} - {{ profile.user }}'s Profile -{% endblock %} - -{% block content %} - <!--{{ view_profile_form.as_p }}--> - - <h2>{{ profile }}'s Profile</h2> - <hr> - {% if edit_profile %} - <a href="/user/edit/">edit profile</a> | <a href="/accounts/password/change">change password</a> - <hr> - {% endif %} - {% if profile.photo %} - <a href={{ profile.photo.url }}> - <img border="0" height="200" src={{ profile.photo.url }}> - </a> - {% endif %} - {% if privilege or edit_profile %} - <br><h4>E-Mail</h4><hr>{{ profile.user.email }} - {% endif %} - {% if profile.aboutme %} - <br><h4>About Me</h4><hr>{{ profile.aboutme }} - {% endif %} - {% if profile.nick %} - <br><h4>Nick Name</h4><hr>{{ profile.nick }} - {% endif %} - {% if profile.dob %} - <br><h4>Date of Birth</h4><hr>{{ profile.dob }} - {% endif %} - {% if profile.pynts %} - <br><h4>Pynts</h4><hr>{{ profile.pynts }} - {% endif %} - {% if profile.foss_comm %} - <br><h4>Foss Community</h4><hr>{{ profile.foss_comm }} - {% endif %} - {% if privilege or edit_profile %} - {% if profile.phonenum %} - <br><h4>Phone Number</h4><hr>{{ profile.phonenum }} - {% endif %} - {% endif %} - {% if profile.homepage %} - <br><h4>Homepage</h4><hr>{{ profile.homepage }} - {% endif %} - {% if privilege or edit_profile %} - {% if profile.street or profile.city or profile.country %} - <br><h4>Address</h4><hr> - {% if profile.street %} - {{ profile.street }} - <br> - {% endif %} - {% if profile.city %} - {{ profile.city }} - <br> - {% endif %} - {% if profile.country %} - {{ profile.country }} - {% endif %} - {% endif %} - {% else %} - {% endif %} -{% endblock %} diff --git a/templates/user/view_notification.html b/templates/user/view_notification.html deleted file mode 100644 index 4738238..0000000 --- a/templates/user/view_notification.html +++ /dev/null @@ -1,24 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - {% if newest %} - <a href="/user/notifications/nid={{newest.id}}"><<newest</a> - {% endif %} - {% if newer %} - <a href="/user/notifications/nid={{newer.id}}"><newer</a> - {% endif %} - {% if older %} - <a href="/user/notifications/nid={{older.id}}">older></a> - {% endif %} - {% if oldest %} - <a href="/user/notifications/nid={{oldest.id}}">oldest>></a> - {% endif %} - <br /> - - <form action="delete/" method="post"> <input type="submit" value="Delete"> </form> - <form action="unread/" method="post"> <input type="submit" value="Keep Unread"> </form> - <br /> - sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}<br /> - Sub: {{notification.sub}}<br /> - <br /> - {{notification.message|safe}} -{% endblock %} diff --git a/templates/user/view_request.html b/templates/user/view_request.html deleted file mode 100644 index f1f08b1..0000000 --- a/templates/user/view_request.html +++ /dev/null @@ -1,59 +0,0 @@ -{% extends 'base.html' %} -{% block content %} - {% if newest %} - <a href="/user/requests/rid={{newest.id}}"><<newest</a> - {% endif %} - {% if newer %} - <a href="/user/requests/rid={{newer.id}}"><newer</a> - {% endif %} - {% if older %} - <a href="/user/requests/rid={{older.id}}">older></a> - {% endif %} - {% if oldest %} - <a href="/user/requests/rid={{oldest.id}}">oldest>></a> - {% endif %} - <br /> - From: <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a><br /> - To: - {% for to_user in sent_users %} - <a href="/user/view/uid={{to_user.id}}">{{to_user.username}}</a> - {% endfor %} - <br /> - sent on {{req.sent_date|date:"D d M Y"}} at {{req.sent_date|time:"H:i"}}<br /> - Message: <br /> - {% ifequal "PY" req.role %} - <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> assigned {{req.pynts}} pynts to - <a href="/user/view/uid={{req.receiving_user.id}}">{{req.receiving_user.username}}</a> for the task - <a href="/task/view/tid={{req.task.id}}">{{req.task.title}}</a><br /> - {% else %} - - {% ifequal "MT" req.role %} - <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> requested you to act as a reviewer for the task - <a href="/task/view/tid={{req.task.id}}">{{req.task.title}}</a><br /> - {% else %} - You have been requested to act as - {% ifequal "AD" req.role %} - an Admin - {% else %} - {% ifequal "MG" req.role %} - a Manager - {% else %} - a Developer - {% endifequal %} - {% endifequal %} - for the website by <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a>.<br /> - {% endifequal %} - {% endifequal %} - <br /> - - Please accept or reject the request.<br /> - <form action="yes/" method="post"> - <input value="Accept" type="submit"> - </form> - <form action="no/" method="post"> - Remarks: <input type="text" name="remarks"> - <input value="Reject" type="submit"> - </form> - <a href="/user/requests/">Click here</a> to return to the requests page. - -{% endblock %} |