4 | */
5 | ;(function($){
6 | $.fn.datetimepicker.dates['zh-TW'] = {
7 | days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
8 | daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
9 | daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
10 | months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
11 | monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
12 | today: "今天",
13 | suffix: [],
14 | meridiem: ["上午", "下午"]
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/templates/account/accountbase.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {% block head %}
6 | {% include 'common/styles.html' %}
7 | ITSY
8 | {% include 'account/styles.html' %}
9 | {% endblock %}
10 |
11 |
12 | {% block content %}
13 | {% endblock %}
14 |
15 |
--------------------------------------------------------------------------------
/templates/account/create/item.html:
--------------------------------------------------------------------------------
1 | {% extends 'account/crudbase.html' %}
2 | {% block content %}
3 |
4 |
{{ page_heading }}
5 |
20 |
21 | {% endblock content %}
--------------------------------------------------------------------------------
/templates/account/crudbase.html:
--------------------------------------------------------------------------------
1 | {% extends 'common/base.html' %}
2 | {% block head %}
3 | {{ block.super }}
4 | {% block extra_head %}{% endblock %}
5 | {% endblock %}
6 | {% block leftnav %}
7 | {% include 'account/leftnavigation.html' %}
8 | {% endblock %}
9 |
10 | {% block content %}
11 |
12 | {% endblock %}
13 |
--------------------------------------------------------------------------------
/templates/account/delete/item.html:
--------------------------------------------------------------------------------
1 | {% extends 'account/crudbase.html' %}
2 | {% block content %}
3 |
13 | {% endblock %}
14 |
15 |
16 |
--------------------------------------------------------------------------------
/templates/account/edit/item.html:
--------------------------------------------------------------------------------
1 | {% extends 'account/crudbase.html' %}
2 | {% block content %}
3 |
4 |
11 |
12 | {% endblock content %}
--------------------------------------------------------------------------------
/templates/account/leftnavigation.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/templates/account/login.html:
--------------------------------------------------------------------------------
1 | {% extends 'account/accountbase.html' %}
2 | {% load commontags %}
3 | {% block content %}
4 |
5 |
19 | {% endblock %}
--------------------------------------------------------------------------------
/templates/account/register.html:
--------------------------------------------------------------------------------
1 | {% extends 'account/accountbase.html' %}
2 | {% load commontags %}
3 | {% block content %}
4 |
5 |
28 | {% endblock %}
29 |
--------------------------------------------------------------------------------
/templates/account/styles.css:
--------------------------------------------------------------------------------
1 | body {
2 | padding-top: 40px;
3 | padding-bottom: 40px;
4 | background-color: #f5f5f5;
5 | }
6 |
7 | .form-signin {
8 | max-width: 300px;
9 | padding: 19px 29px 29px;
10 | margin: 0 auto 20px;
11 | background-color: #fff;
12 | border: 1px solid #e5e5e5;
13 | -webkit-border-radius: 5px;
14 | -moz-border-radius: 5px;
15 | border-radius: 5px;
16 | -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
17 | -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
18 | box-shadow: 0 1px 2px rgba(0,0,0,.05);
19 | }
20 | .form-signin .form-signin-heading,
21 | .form-signin .checkbox {
22 | margin-bottom: 10px;
23 | }
24 | .form-signin input[type="text"],
25 | .form-signin input[type="password"] {
26 | font-size: 16px;
27 | height: auto;
28 | margin-bottom: 15px;
29 | padding: 7px 9px;
30 | }
31 | .form-register {
32 | max-width: 300px;
33 | padding: 19px 29px 29px;
34 | margin: 0 auto 20px;
35 | background-color: #fff;
36 | border: 1px solid #e5e5e5;
37 | -webkit-border-radius: 5px;
38 | -moz-border-radius: 5px;
39 | border-radius: 5px;
40 | -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
41 | -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
42 | box-shadow: 0 1px 2px rgba(0,0,0,.05);
43 | }
44 | .form-register .form-register-heading,
45 | .form-register .checkbox {
46 | margin-bottom: 10px;
47 | }
48 | .form-register input[type="text"],
49 | .form-register input[type="email"],
50 | .form-register input[type="password"],
51 | .form-register select {
52 | font-size: 16px;
53 | height: auto;
54 | margin-bottom: 15px;
55 | padding: 7px 9px;
56 | }
--------------------------------------------------------------------------------
/templates/account/view/list.html:
--------------------------------------------------------------------------------
1 | {% extends 'account/crudbase.html' %}
2 | {% load bootstrap_toolkit %}
3 | {% load render_table from django_tables2 %}
4 | {% block content %}
5 |
6 |
{{ page_heading }}
7 | {% render_table object_list %}
8 |
9 | {% endblock %}
--------------------------------------------------------------------------------
/templates/common/base.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {% block head %}
6 | {% include 'common/styles.html' %}
7 | {% if page_title %}
8 | {{ page_title }}
9 | {% else %}
10 | ITSY
11 | {% endif %}
12 | {% endblock %}
13 |
14 |
15 |
16 | {% block topnav %}
17 | {% include 'common/topnavigation.html' %}
18 | {% endblock %}
19 | {% block leftnav %}
20 |
21 | {% endblock %}
22 |
23 | {% block content %}
24 |
25 | {% endblock %}
26 |
27 | {% block footer %}
28 |
36 | {% endblock %}
37 |
38 |
--------------------------------------------------------------------------------
/templates/common/edit/item.html:
--------------------------------------------------------------------------------
1 | {% extends 'common/base.html' %}
2 | {% block content %}
3 |
4 |
11 |
12 | {% endblock content %}
--------------------------------------------------------------------------------
/templates/common/styles.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | {% include 'autocomplete_light/static.html' %}
11 |
12 |
13 |
16 |
63 |
--------------------------------------------------------------------------------
/templates/dashboard/main.html:
--------------------------------------------------------------------------------
1 | {% extends 'common/base.html' %}
--------------------------------------------------------------------------------
/templates/issue/create/delete.html:
--------------------------------------------------------------------------------
1 | {% extends 'issue/issuebase.html' %}
2 |
3 | {% block content %}
4 |
14 | {% endblock %}
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/templates/issue/create/issue.html:
--------------------------------------------------------------------------------
1 | {% extends 'issue/issuebase.html' %}
2 | {% block content %}
3 |
20 | {% endblock %}
--------------------------------------------------------------------------------
/templates/issue/create/issuedetails.html:
--------------------------------------------------------------------------------
1 | {% extends 'issue/issuebase.html' %}
2 | {% block content %}
3 |
20 | {% endblock %}
21 |
--------------------------------------------------------------------------------
/templates/issue/create/issuefield.html:
--------------------------------------------------------------------------------
1 | {% extends 'issue/issuebase.html' %}
2 | {% block content %}
3 |
22 | {% endblock %}
23 |
--------------------------------------------------------------------------------
/templates/issue/create/issueflow.html:
--------------------------------------------------------------------------------
1 | {% extends 'issue/issuebase.html' %}
2 | {% block content %}
3 |
13 | {% endblock %}
--------------------------------------------------------------------------------
/templates/issue/edit/issuefield.html:
--------------------------------------------------------------------------------
1 | {% extends 'issue/issuebase.html' %}
2 | {% block content %}
3 |
21 | {% endblock %}
--------------------------------------------------------------------------------
/templates/issue/issue.css:
--------------------------------------------------------------------------------
1 | .found-issue-list {
2 | max-width: 1024px;
3 | padding: 19px 29px 29px;
4 | margin: 0 auto 20px;
5 | background-color: #fff;
6 | border: 1px solid #e5e5e5;
7 | -webkit-border-radius: 5px;
8 | -moz-border-radius: 5px;
9 | border-radius: 5px;
10 | -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
11 | -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
12 | box-shadow: 0 1px 2px rgba(0,0,0,.05);
13 | }
--------------------------------------------------------------------------------
/templates/issue/issuebase.html:
--------------------------------------------------------------------------------
1 | {% extends 'common/base.html' %}
2 | {% load static %}
3 | {% block head %}
4 | {{ block.super }}
5 |
6 |
7 | {% endblock %}
8 |
9 | {% block leftnav %}
10 | {% include 'issue/leftnavigation.html' %}
11 | {% endblock %}
12 |
13 | {% block content %}
14 |
15 | {% endblock %}
--------------------------------------------------------------------------------
/templates/issue/search/advanced.html:
--------------------------------------------------------------------------------
1 | {% extends 'issue/issuebase.html' %}
2 | {% block content %}
3 |
4 | {% endblock %}
--------------------------------------------------------------------------------
/templates/issue/search/simple.html:
--------------------------------------------------------------------------------
1 | {% extends 'issue/issuebase.html' %}
2 | {% block content %}
3 |
4 | {% if issue_list %}
5 |
{{ issue_list.count }} Issue(s) Found
6 |
7 | {% for issue in issue_list %}
8 | {% autoescape off %}
9 | {{ issue.object.get_edit_link }} ({{ issue.object.project_version }}) |
10 | {{ issue.object.summary }} |
11 | {% endautoescape %}
12 |
13 |
14 | {% endfor %}
15 |
16 | {% else %}
17 |
No Issue Found
18 | {% endif %}
19 |
20 | {% endblock %}
--------------------------------------------------------------------------------
/templates/issue/view/issue.html:
--------------------------------------------------------------------------------
1 | {% extends 'issue/issuebase.html' %}
2 | {% load bootstrap_toolkit %}
3 | {% load render_table from django_tables2 %}
4 |
5 | {% block content %}
6 |
7 |
Issues:
8 | {% render_table object_list %}
9 |
10 | {% endblock %}
--------------------------------------------------------------------------------
/templates/issue/view/issuedetails.html:
--------------------------------------------------------------------------------
1 | {% extends 'issue/issuebase.html' %}
2 | {% block content %}
3 |
4 |
{{ issue }} : {{ issue.project_version }}
5 |
6 | {% for field in form %}
7 |
8 | {{ field.label_tag }} |
9 | {{ field }} |
10 | {% if field.errors %} {{ field.errors }} {% endif %} |
11 |
12 | {% endfor %}
13 |
14 |
17 |
18 |
23 | {% endblock %}
24 |
--------------------------------------------------------------------------------
/templates/issue/view/issuefield.html:
--------------------------------------------------------------------------------
1 | {% extends 'issue/issuebase.html' %}
2 | {% load bootstrap_toolkit %}
3 | {% load render_table from django_tables2 %}
4 | {% block content %}
5 |
6 |
{{ page_heading }}
7 | {% render_table object_list %}
8 |
9 | {% endblock %}
--------------------------------------------------------------------------------
/templates/project/create/delete.html:
--------------------------------------------------------------------------------
1 | {% extends 'project/projectbase.html' %}
2 | {% block content %}
3 |
13 | {% endblock %}
14 |
15 |
16 |
--------------------------------------------------------------------------------
/templates/project/create/item.html:
--------------------------------------------------------------------------------
1 | {% extends 'project/projectbase.html' %}
2 | {% block content %}
3 |
4 |
{{ page_heading }}
5 |
{% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %}
6 |
21 |
22 | {% endblock content %}
--------------------------------------------------------------------------------
/templates/project/edit/item.html:
--------------------------------------------------------------------------------
1 | {% extends 'project/projectbase.html' %}
2 | {% block content %}
3 |
13 | {% endblock content %}
--------------------------------------------------------------------------------
/templates/project/leftnavigation.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/templates/project/projectbase.html:
--------------------------------------------------------------------------------
1 | {% extends 'common/base.html' %}
2 | {% load static %}
3 | {% block head %}
4 | {{ block.super }}
5 |
6 | {% endblock %}
7 | {% block leftnav %}
8 | {% include 'project/leftnavigation.html' %}
9 | {% endblock %}
10 |
11 | {% block content %}
12 |
13 | {% endblock %}
--------------------------------------------------------------------------------
/templates/project/view/list.html:
--------------------------------------------------------------------------------
1 | {% extends 'project/projectbase.html' %}
2 | {% load bootstrap_toolkit %}
3 | {% load render_table from django_tables2 %}
4 | {% block content %}
5 | {{ page_heading }}
6 |
7 | {% render_table object_list %}
8 |
9 | {% endblock %}
--------------------------------------------------------------------------------
/templates/repos/commit_detail.html:
--------------------------------------------------------------------------------
1 | {% extends "repos/repobase.html" %}
2 |
3 | {% load udiff %}
4 |
5 | {% block title %}
6 | Details about commit {{ commit.commit_id }} on {{ repo.name }}
7 | {% endblock %}
8 |
9 | {% block extra_head %}
10 | {% diff_css %}
11 | {% endblock %}
12 |
13 | {% block content %}
14 |
15 |
16 | Details about commit {{ commit.commit_id }} on {{ repo.name }}
17 |
18 |
19 | - Committed by: {{ commit.author }}
20 | - Committed at: {{ commit.time }}
21 | - Commit message: {{ commit.message }}
22 | - Affected files:
23 |
32 |
33 |
34 | {{ commit.diff|render_diff }}
35 |
36 | {% endblock %}
37 |
--------------------------------------------------------------------------------
/templates/repos/create/item.html:
--------------------------------------------------------------------------------
1 | {% extends 'repos/repobase.html' %}
2 | {% block content %}
3 |
4 |
{{ page_heading }}
5 |
20 |
21 | {% endblock content %}
--------------------------------------------------------------------------------
/templates/repos/delete/item.html:
--------------------------------------------------------------------------------
1 | {% extends 'repos/repobase.html' %}
2 | {% block content %}
3 |
13 | {% endblock %}
14 |
15 |
16 |
--------------------------------------------------------------------------------
/templates/repos/edit/item.html:
--------------------------------------------------------------------------------
1 | {% extends 'repos/repobase.html' %}
2 | {% block content %}
3 |
4 |
11 |
12 | {% endblock content %}
--------------------------------------------------------------------------------
/templates/repos/file_contents.html:
--------------------------------------------------------------------------------
1 | {% extends "repos/repobase.html" %}
2 |
3 | {% load vcshighlight %}
4 |
5 | {% block title %}
6 | {{ path }} in {{ repo.name }}
7 | {% endblock %}
8 |
9 | {% block extra_head %}
10 |
13 | {% endblock %}
14 |
15 | {% block content %}
16 |
17 |
18 | Contents of {{ path }}
19 |
20 | {{ file|highlight:path }}
21 |
22 | {% endblock %}
23 |
--------------------------------------------------------------------------------
/templates/repos/folder_contents.html:
--------------------------------------------------------------------------------
1 | {% extends "repos/repobase.html" %}
2 |
3 | {% block title %}
4 | {{ path }} in {{ repo.name }}
5 | {% endblock %}
6 |
7 | {% block content %}
8 |
9 |
10 | Contents of {{ path }}
11 |
12 |
Folders
13 |
22 |
Files
23 |
32 |
33 | {% endblock %}
34 |
--------------------------------------------------------------------------------
/templates/repos/leftnavigation.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/templates/repos/recent_commits.html:
--------------------------------------------------------------------------------
1 | {% extends "repos/repobase.html" %}
2 |
3 | {% block title %}
4 | Recent commits for {{ repo.name }}
5 | {% endblock %}
6 |
7 | {% block content %}
8 |
9 |
10 | Recent commits for {{ repo.name }}
11 |
12 |
13 | {% for commit in commits %}
14 |
15 |
16 |
17 | {{ commit.commit_id }}
18 |
19 | |
20 |
21 | {{ commit.author }}
22 | |
23 |
24 | {{ commit.message }}
25 | |
26 |
27 | {{ commit.item }}
28 | |
29 |
30 | {% endfor %}
31 |
32 |
33 | {% endblock %}
34 |
--------------------------------------------------------------------------------
/templates/repos/repo_list.html:
--------------------------------------------------------------------------------
1 | {% extends "repos/repobase.html" %}
2 |
3 | {% block title %}Repository List{% endblock %}
4 |
5 | {% block content %}
6 |
7 |
8 |
9 | Name |
10 | VCS |
11 | Last Commit Date |
12 | Last Commit Message |
13 |
14 | {% for repo in repos %}
15 |
16 |
17 | {{ repo.name }}
18 | |
19 | {{ repo.get_repository_type_display }} |
20 | {% with repo.get_recent_commits.0 as commit %}
21 | {{ commit.time }} |
22 | {{ commit.message }} |
23 | {% endwith %}
24 |
25 | {% endfor %}
26 |
27 |
28 | {% endblock %}
29 |
--------------------------------------------------------------------------------
/templates/repos/repobase.html:
--------------------------------------------------------------------------------
1 | {% extends 'common/base.html' %}
2 | {% block head %}
3 | {{ block.super }}
4 | {% block extra_head %}{% endblock %}
5 | {% endblock %}
6 | {% block leftnav %}
7 | {% include 'repos/leftnavigation.html' %}
8 | {% endblock %}
9 |
10 | {% block content %}
11 |
12 | {% endblock %}
13 |
--------------------------------------------------------------------------------
/templates/repos/view/list.html:
--------------------------------------------------------------------------------
1 | {% extends 'repos/repobase.html' %}
2 | {% load bootstrap_toolkit %}
3 | {% load render_table from django_tables2 %}
4 | {% block content %}
5 |
6 |
{{ page_heading }}
7 | {% render_table object_list %}
8 |
9 | {% endblock %}
--------------------------------------------------------------------------------
/templates/search/indexes/issue/issue_text.txt:
--------------------------------------------------------------------------------
1 | {{ object.title }}
2 | {{ object.summary }}
3 | {{ object.project_version }}
4 | {{ object.type }}
5 | {{ object.status }}
--------------------------------------------------------------------------------
/templates/search/search.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {% block content %}
4 | Search
5 |
6 |
39 | {% endblock %}
--------------------------------------------------------------------------------