diff options
author | root <root@dev.spline.de> | 2008-08-17 12:08:12 +0200 |
---|---|---|
committer | root <root@dev.spline.de> | 2008-08-17 12:08:12 +0200 |
commit | 236ad4c8dbef414ef29348634fd0a6ccded1a1d6 (patch) | |
tree | b41990232be2235d87878c8f35fbc4a55b8448dc /templates | |
download | dev-account-236ad4c8dbef414ef29348634fd0a6ccded1a1d6.tar.gz dev-account-236ad4c8dbef414ef29348634fd0a6ccded1a1d6.tar.xz dev-account-236ad4c8dbef414ef29348634fd0a6ccded1a1d6.zip |
initial import
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.index.html.swp | bin | 0 -> 12288 bytes | |||
-rw-r--r-- | templates/activation_mail.txt | 13 | ||||
-rw-r--r-- | templates/base.html | 95 | ||||
-rw-r--r-- | templates/deleted_project_mail.txt | 11 | ||||
-rw-r--r-- | templates/imprint.html | 29 | ||||
-rw-r--r-- | templates/index.html | 17 | ||||
-rw-r--r-- | templates/members.html | 37 | ||||
-rw-r--r-- | templates/new_project.html | 35 | ||||
-rw-r--r-- | templates/new_project_mail.txt | 15 | ||||
-rw-r--r-- | templates/password.html | 19 | ||||
-rw-r--r-- | templates/password_mail.txt | 12 | ||||
-rw-r--r-- | templates/profile.html | 35 | ||||
-rw-r--r-- | templates/projects.html | 53 | ||||
-rw-r--r-- | templates/register.html | 40 | ||||
-rw-r--r-- | templates/registration_mail.txt | 11 |
15 files changed, 422 insertions, 0 deletions
diff --git a/templates/.index.html.swp b/templates/.index.html.swp Binary files differnew file mode 100644 index 0000000..9ff5d5f --- /dev/null +++ b/templates/.index.html.swp diff --git a/templates/activation_mail.txt b/templates/activation_mail.txt new file mode 100644 index 0000000..c11ffad --- /dev/null +++ b/templates/activation_mail.txt @@ -0,0 +1,13 @@ +From: {{ from_addr }} +Subject: dev.spline.de activation link +To: {{ to_addr }} + +You or someone else registered a dev.spline.de account for {{ to_addr }}. + +To confirm your registration, please visit the following website: +{{ activation_link }} + +If you did not register, you don't need to do anything and your request will be deleted within 24 hours. + +Yours, + the dev.spline.de team diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..0828ba4 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,95 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>dev.spline.de - {% block title %}Welcome{% endblock %}</title> + <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> + <link href="/css/layout.css" rel="stylesheet" type="text/css" /> + <!--[if lte IE 7]> + <link href="/css/patches/patch_layout.css" rel="stylesheet" type="text/css" /> + <![endif]--> + <script src="/js/form.js" type="text/javascript"></script> +</head> +<body> + <div id="page_margins"> + <div id="page"> + <div id="header"> + <div class="subcolumns"> + <div class="c50l"> + <a href="/"><img id="logo" src="/img/logo.png" alt="logo" /></a> + </div> + <div class="c50r" style="text-align: right;"> + {% if session.login %} + you are logged in as <em>{{ session.login }}</em> + {% endif %} + </div> + </div> + </div> + {% if info_msg %} + <div id="info"> + {{ info_msg }} + </div> + {% endif %} + {% if error_msg %} + <div id="error"> + {{ error_msg }} + </div> + {% endif %} + <div id="main"> + <div id="col1"> + <div id="col1_content" class="clearfix"> + <div class="nav navbox"> + <a href="/trac/">Project Listing</a> + </div> + {% if session.login %} + <div id="nav" class="nav navbox"> + <a href="new_project">New Project</a> + <a href="projects">My Projects</a> + <a href="profile">My Profile</a> + <a href="logout">Logout</a> + </div> + {% else %} + <div id="login" class="navbox"> + <p>Sign in with your dev.spline.de account</p> + <form action="login" method="post"> + <input id="login_input" type="text" name="login" value="login" onfocus="clearInput('login_input')" /> + <input id="password_input" type="password" name="password" value="password" onfocus="clearInput('password_input')" /> + <input type="submit" value="Login"/> + </form> + <p><a href="password">I forgot my password</a></p> + </div> + <div id="register" class="navbox"> + <p>Don't have a dev.spline.de account?<br/><br/> + <a href="register">Create an account now</a></p> + </div> + {% endif %} + </div> + </div> + <div id="col3"> + <div id="col3_content" class="clearfix"> + {% block content %}{% endblock %} + </div> + <!-- IE Column Clearing --> + <div id="ie_clearing">   </div> + </div> + </div> + <!-- begin: #footer --> + <div id="footer"> + <div class="subcolumns"> + <div class="c50l"> + dev.spline.de is operated by <a href="http://www.spline.de/">spline</a> + </div> + <div class="c50r" style="text-align: right"> + <a href="/">home</a> | + <a href="/account/imprint">imprint</a> + </div> + </div> + </div> + {% if debug_msg %} + <div id="debug"> + {{ debug_msg }} + </div> + {% endif %} + </div> + </div> +</body> +</html> diff --git a/templates/deleted_project_mail.txt b/templates/deleted_project_mail.txt new file mode 100644 index 0000000..712c72e --- /dev/null +++ b/templates/deleted_project_mail.txt @@ -0,0 +1,11 @@ +From: {{ from_addr }} +Subject: {{ session.login }} wants to delete project {{ project_name }} +To: {{ to_addr }} + +Hi dev.spline.de team, + +{{ session.login }} requested the deletion of project {{ project_name }}. +Please take care of it ASAP. + +Yours, + dev.spline.de diff --git a/templates/imprint.html b/templates/imprint.html new file mode 100644 index 0000000..3200652 --- /dev/null +++ b/templates/imprint.html @@ -0,0 +1,29 @@ +{% extends "base.html" %} +{% block title %}Imprint{% endblock %} +{% block content %} +<h1>Imprint</h1> + +<strong>Impressum gemäß § 6 TDG und § 10 Mediendienstestaatsvertrag</strong> +<table> + <tr> + <th>Institution:</th> + <td>Freie Universität Berlin - vertreten durch den Präsidenten Univ.-Prof. Dr. Dieter Lenzen</td> + </tr> + <tr> + <th>Anschrift:</th> + <td><address>Fachbereich Mathematik und Informatik, Arnimallee 14, 14195 Berlin</address></td> + </tr> + <tr> + <th>Kontakt:</th> + <td>fbv@mi.fu-berlin.de, Tel. +49-30-838-754 51</td> + </tr> + <tr> + <th>Rechtsform:</th> + <td>Die Freie Universität Berlin ist eine Körperschaft des öffentlichen Rechts gem. §§ 1 und 2 Berliner Hochschulgesetz (BerlHG)</td> + </tr> + <tr> + <th>UST-Id:</th> + <td>DE 811304768</td> + </tr> +</table> +{% endblock %} diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..f5c2107 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} +{% block title %}Welcome{% endblock %} +{% block content %} +<h1>Welcome to dev.spline.de</h1> +<p style="text-align: justify;"> +dev.spline.de is a collaborative workspace for the staff and students at the +<a href="http://www.fu-berlin.de">Freie Universität Berlin</a> +<a href="http://mi.fu-berlin.de">Department of Mathematics and Computer Science</a>. +It is based on +<a href="http://trac.edgewall.org">Trac</a>, +an enhanced wiki and issue tracking system for software development projects, +and maintained by the members of +<a href="http://www.spline.de">spline</a>. +The system has tools to help your team collaborate, like wiki pages and +mailing lists as well as tools to create and control access to source code management repositories. +</p> +{% endblock %} diff --git a/templates/members.html b/templates/members.html new file mode 100644 index 0000000..2da38c0 --- /dev/null +++ b/templates/members.html @@ -0,0 +1,37 @@ +{% extends "base.html" %} +{% block title %}Members of project {{ proj }}{% endblock %} +{% block content %} +<h1>Members of project {{ proj }}</h1> +<p style="font-size: small; padding-bottom: 5px;"> +Add or delete members to/from project {{ proj }} +</p> +<div class="subcolumns"> + <div class="c66l"> + <table> + <tr> + <th style="width: 100%">member name</th> + <th>delete?</th> + </tr> + {% for member in members %} + <tr> + <td>{{ member.0 }}</td> + <td><a href="members?action=delete&proj_name={{ proj }}&login={{ member.0 }}">delete</a></td> + </tr> + {% endfor %} + </table> + </div> + <div class="c33r"> + <form action="members" method="post"> + <div class="infobox" style="width:150px; border-color:#132E28; margin-left:0.4cm;"> + <p>add <input name="login" style="font-style:italic; color:grey;" + type="text" value="name of user to add" size="12" maxlength="64" id="mem" onclick="clearInput('mem')"/><br/> + to project <em>{{ proj }}</em><br/> + <input type="hidden" name="action" value="add" /> + <input type="hidden" name="proj_name" value="{{ proj }}" /> + <input type="submit" value="submit"/> + </p> + </div> + </form> + </div> +</div> +{% endblock %} diff --git a/templates/new_project.html b/templates/new_project.html new file mode 100644 index 0000000..f89ad0a --- /dev/null +++ b/templates/new_project.html @@ -0,0 +1,35 @@ +{% extends "base.html" %} +{% block title %}New project{% endblock %} +{% block content %} +<h1>Apply for a new project</h1> +<form action="new_project" method="post" class="cmxform"> + <p style="font-size: small; padding-bottom: 5px;"> + Please complete the form below to apply for a new project. + </p> + <fieldset> + <ol> + <li> + <label for="name">project name</label> + <input id="name" type="text" name="project_name" value="your project's name" onfocus="clearInput('name')"/> + </li> + <li> + <label for="desc">project description</label> + <textarea id="desc" style="width: 70%;" type="text" name="project_desc" onfocus="clearInput('desc')" rows="10" maxlength="500">describe your project here</textarea> + </li> + <li> + <fieldset> + <legend>i want my project to be <em>*</em></legend> + <label><input type="radio" name="priv" value="open" checked="checked" /> open</label> + <label><input type="radio" name="priv" value="private" /> private</label> + </fieldset> + </li> + </ol> + </fieldset> + <p><input type="submit" value="Submit" /></p> +</form> +<hr style="margin: 20px 0 10px; width: 40%; color: #C9DCA6;" /> +<p style="width: 85%; font-size:11px; color:dark-gray; text-align:justify;"> +<em>*</em> it is recommended that your project is <em>open</em>. this means read-access for everyone (<em>open source!</em>).<br/> +a <em>private</em> project will grant read- and write-access only to its members. +</p> +{% endblock %} diff --git a/templates/new_project_mail.txt b/templates/new_project_mail.txt new file mode 100644 index 0000000..e69a212 --- /dev/null +++ b/templates/new_project_mail.txt @@ -0,0 +1,15 @@ +From: {{ from_addr }} +Subject: new project application from {{ session.login }} ! +To: {{ to_addr }} + +hello dev.spline.de, + +{{ session.login }} has applied for a new project called {{ name }}. + +the description is: +{{ desc }} + +he or she wishes the project to be {{ priv }}. + +please attend to the matter soon, + dev.spline.de diff --git a/templates/password.html b/templates/password.html new file mode 100644 index 0000000..ec5b091 --- /dev/null +++ b/templates/password.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} +{% block title %}Request new password{% endblock %} +{% block content %} +<h1>Request new password</h1> +<form action="password" method="post" class="cmxform"> + <p style="font-size: small; padding-bottom: 5px;"> + Please complete the form below to get a new temporary password + </p> + <fieldset> + <ol> + <li> + <label for="email">E-Mail</label> + <input id="email_input" type="text" name="email" value="you@*.fu-berlin.de" onfocus="clearInput('email_input')"/> + </li> + </ol> + </fieldset> + <p><input type="submit" value="Submit" /></p> +</form> +{% endblock %} diff --git a/templates/password_mail.txt b/templates/password_mail.txt new file mode 100644 index 0000000..7b43726 --- /dev/null +++ b/templates/password_mail.txt @@ -0,0 +1,12 @@ +From: {{ from_addr }} +Subject: dev.spline.de temporary password +To: {{ to_addr }} + +Dear {{ login }}, + +You have requested a new temporary password. This is it: +{{ new_password }} +Please change it at your convenience. + +Enjoy, + the dev.spline.de team diff --git a/templates/profile.html b/templates/profile.html new file mode 100644 index 0000000..59ecc6c --- /dev/null +++ b/templates/profile.html @@ -0,0 +1,35 @@ +{% extends "base.html" %} +{% block title %}Profile{% endblock %} +{% block content %} +<h1>Your profile</h1> +<form action="profile" method="post" class="cmxform"> + <p style="font-size: small; padding-bottom: 5px;"> + Please complete the form below if you want to change your password. + </p> + <fieldset> + <ol> + <li> + <label for="login">login</label> + <input class="nomodify" type="text" name="login" readonly="readonly" value="{{ session.login }}"/> + </li> + <li> + <label for="email">email</label> + <input class="nomodify" type="text" name="email" readonly="readonly" value="{{ email }}"/> + </li> + <li> + <label for="old_pw">old password</label> + <input type="password" name="old_pw" /> + </li> + <li> + <label for="new_pw1">new password</label> + <input type="password" name="new_pw1" /> + </li> + <li> + <label for="new_pw2">retype new password</label> + <input type="password" name="new_pw2" /> + </li> + </ol> + </fieldset> + <p><input type="submit" value="Submit" /></p> +</form> +{% endblock %} diff --git a/templates/projects.html b/templates/projects.html new file mode 100644 index 0000000..d3dd1c3 --- /dev/null +++ b/templates/projects.html @@ -0,0 +1,53 @@ +{% extends "base.html" %} +{% block title %}Your projects{% endblock %} +{% block content %} +<h1>Your projects</h1> +<p style="font-size: small; padding-bottom: 5px;"> +The projects you are currently member of: +</p> +<div class="subcolumns"> + <div class="c66l"> + <table> + <tr> + <th style="width: 100%">project name</th> + <th colspan="3">options</th> + </tr> + {% for proj in projects %} + <tr> + <td>{{ proj.0 }}</td> + <td onmouseover="showElement('box1')" onmouseout="hideElement('box1')"><a href="projects?action=leave&proj_name={{ proj.0 }}">leave</a></td> + <td onmouseover="showElement('box2')" onmouseout="hideElement('box2')"><a href="members?proj_name={{ proj.0 }}">members</a></td> + <td onmouseover="showElement('box3')" onmouseout="hideElement('box3')"> + <a href="javascript:confirmDelete('{{ proj.0 }}', 'projects?action=delete&proj_name={{ proj.0 }}')">delete</a></td> + </tr> + {% endfor %} + </table> + </div> + <div class="c33r"> + <div style="display:none;" id="box1" class="infobox"> + <h1>leave project</h1> + <p> + if you leave a project, the project will still exist with all its + other members, but you will not be part of it any more. + </p> + </div> + <div style="display:none;" id="box2" class="infobox"> + <h1>manage members</h1> + <p> + click on this link and you will see a form where you can add members to or + delete members from a project. you should be sure of what you're doing. + </p> + </div> + <div style="display:none;" id="box3" class="infobox"> + <h1>delete project</h1> + <p> + if you delete a project, it will no longer appear in anyone's project list and will + soon be deleted by the dev.spline.de team. + you will however be provided with a backup of the project. + all the project's members will receive a link to a *.tar.bz2 file to download the complete + compressed project. after a week the link and the project will be deleted for good. + </p> + </div> + </div> +</div> +{% endblock %} diff --git a/templates/register.html b/templates/register.html new file mode 100644 index 0000000..1b579f3 --- /dev/null +++ b/templates/register.html @@ -0,0 +1,40 @@ +{% extends "base.html" %} +{% block title %}Create new account{% endblock %} +{% block content %} +<h1>Create new account</h1> +<div class="subcolumns"> + + <div class="c66l"> + <form action="register" method="post" class="cmxform"> + <p style="font-size: small; padding-bottom: 5px;"> + Please complete the form below to register a new account + </p> + <fieldset> + <ol> + <li> + <label for="login">Username</label> + <input id="login_input" type="text" name="login" onfocus="clearInput('login_input')"/> + </li> + <li> + <label for="email">E-Mail</label> + <input id="email_input" type="text" name="email" value="you@*.fu-berlin.de" onfocus="clearInput('email_input')"/> + </li> + </ol> + </fieldset> + <p><input type="submit" value="Register" /></p> + </form> + </div> + + <div class="c33r"> + <div class="infobox"> + <h1>I do not have a *.fu-berlin.de email address!</h1> + <p> + In this case write an email to <a href="mailto:dev@spline.de">dev@spline.de</a> and + give a good reason why you need a dev.spline.de account. + <br/> + Policy has it, that usually we only accept members of the FU-Berlin. + </p> + </div> + </div> +</div> +{% endblock %} diff --git a/templates/registration_mail.txt b/templates/registration_mail.txt new file mode 100644 index 0000000..7047704 --- /dev/null +++ b/templates/registration_mail.txt @@ -0,0 +1,11 @@ +From: {{ from_addr }} +Subject: dev.spline.de temporary password +To: {{ to_addr }} + +Welcome to dev.spline.de ! + +You registered successfully. Your temporary password is {{ new_password }} +Please change it at your convenience. + +Enjoy, + the dev.spline.de team |