From 1ad7cb33abfac55a9be2f1d889c369fd1b43df2f Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 25 Oct 2010 19:40:32 +0000 Subject: changes for adelie --- bn_django/git_wiki/templates/git_wiki/base.html | 22 --------- bn_django/git_wiki/templates/git_wiki/commit.html | 39 --------------- .../git_wiki/templates/git_wiki/frontpage.html | 35 -------------- bn_django/git_wiki/templates/git_wiki/item.html | 55 ---------------------- .../git_wiki/templates/git_wiki/newitems_table | 36 -------------- .../git_wiki/templates/git_wiki/shortlog_table | 27 ----------- bn_django/git_wiki/templates/git_wiki/tree.html | 15 ------ bn_django/git_wiki/templates/git_wiki/tree_table | 38 --------------- 8 files changed, 267 deletions(-) delete mode 100644 bn_django/git_wiki/templates/git_wiki/base.html delete mode 100644 bn_django/git_wiki/templates/git_wiki/commit.html delete mode 100644 bn_django/git_wiki/templates/git_wiki/frontpage.html delete mode 100644 bn_django/git_wiki/templates/git_wiki/item.html delete mode 100644 bn_django/git_wiki/templates/git_wiki/newitems_table delete mode 100644 bn_django/git_wiki/templates/git_wiki/shortlog_table delete mode 100644 bn_django/git_wiki/templates/git_wiki/tree.html delete mode 100644 bn_django/git_wiki/templates/git_wiki/tree_table (limited to 'bn_django/git_wiki/templates') diff --git a/bn_django/git_wiki/templates/git_wiki/base.html b/bn_django/git_wiki/templates/git_wiki/base.html deleted file mode 100644 index 532fde3..0000000 --- a/bn_django/git_wiki/templates/git_wiki/base.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "base.html" %} - -{% block stylesheets %} -{{ block.super }} - -{% endblock %} - -{% block path %} -{{ block.super }} -knowledge -{% endblock %} - -{% block title %} -{% if item %} -{{ item.title }} -{% endif %} -{% endblock %} - -{% block content %} - {% block gitwiki %} - {% endblock %} -{% endblock %} diff --git a/bn_django/git_wiki/templates/git_wiki/commit.html b/bn_django/git_wiki/templates/git_wiki/commit.html deleted file mode 100644 index e99d553..0000000 --- a/bn_django/git_wiki/templates/git_wiki/commit.html +++ /dev/null @@ -1,39 +0,0 @@ -{% extends "git_wiki/base.html" %} - -{% block stylesheets %}{{ block.super }} - -{% endblock %} - -{% block title %}Commit: {{ commit.committer_date}} -{% endblock %} -{% block gitwiki %} {% if commit %} - Commit sha1 hash: - {{ commit.id }}
- Parent sha1 hash: - {% if commit.parenthash %} - - {{ commit.parenthash }} - {% else %}No parent... root commit?{% endif %} -
- Tree sha1 hash: - {% if commit.treehash %} - {{ commit.treehash }} - {% else %}No tree hash?{% endif %} -
Author: - {{ commit.author }}
- Author Date: - {{ commit.author_date }}
- Committer: - {{ commit.committer }}
- Committer Date: - {{ commit.committer_date }}
- {% if commit.pretty_diff %} -
{{ commit.pretty_diff|safe}}
- {% else %} - {% if commit.rawdiff %} -
{{ commit.rawdiff }}
- {% else %}No difference?{% endif %} - {% endif %} -{% else %} -

No such object: {{ hash }}

-{% endif %} {% endblock %} diff --git a/bn_django/git_wiki/templates/git_wiki/frontpage.html b/bn_django/git_wiki/templates/git_wiki/frontpage.html deleted file mode 100644 index 0c8d245..0000000 --- a/bn_django/git_wiki/templates/git_wiki/frontpage.html +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "git_wiki/base.html" %} - -{% block title %}Knowledge Repository{% endblock %} - -{% block right_stuff %} -
-Get some knowledge:
-   - wikipedia
-   - internet archive
-   - mathworld -{% endblock %} - -{% block content %} -
-
This site is under active development!
-

There are undoubtedly bugs, errors, aesthetic travesties, ommissions, etc. -If you're curious you can track my work in the code section. -

- -
-For more recent content see the timeline -
-

Browse the knowledge!

-

Latest knowledge items

-{% include "git_wiki/newitems_table" %} -

Latest knowledge commits

-{% include "git_wiki/shortlog_table" %} -

Latest comments

-{% if latest_comments %} -{% include "newcomments_table" %} -{% else %} -None yet! -{% endif %} - -{% endblock %} diff --git a/bn_django/git_wiki/templates/git_wiki/item.html b/bn_django/git_wiki/templates/git_wiki/item.html deleted file mode 100644 index cf49753..0000000 --- a/bn_django/git_wiki/templates/git_wiki/item.html +++ /dev/null @@ -1,55 +0,0 @@ -{% extends "git_wiki/base.html" %} - -{% block stylesheets %} -{{ block.super }} - -{% endblock %} - -{% block right_stuff %}{{block.super}} -Item name: - {{ item.name }}
-Item hash: - {{ item.id }}
-
-View as pdf,
-or as LaTeX,
-or see the raw source.
-
-Browse the changelog -
-{% endblock %} - -{% block path %}{{ block.super }} » - {{ item.path }}{% endblock %} - -{% comment %} Needed the extra .title css info... {% endcomment %} -{% block title %}

{% if doc.title %}{{ doc.title }}{% else %}[Unititled Document]{% endif %}

{% endblock %} - -{% block subtitle %}{% if doc.subtitle %}{{doc.subtitle}}{% endif %}{% endblock %} - -{% block gitwiki %} -  -{{ doc.fragment|safe }} -
-{% endblock %} - -{% comment %} -BROKEN, comments need char type primary keys -{% block commentary %} -
-{% load comments %} -

IMPORTANT: Comments only apply to this revision of the item! -They will be lost if the item is updated.

-

Post a comment

-{% if user.is_authenticated %} -{% comment_form for git_wiki.item item.id with is_public true %} -{% else %} -{% free_comment_form for git_wiki.item item.id with is_public true %} -{% endif %} -
-{% get_comment_list for git_wiki.item item.id as comments %} -{% get_free_comment_list for git_wiki.item item.id as free_comments %} -{% include "comment_list" %} -
-{% endblock %} -{% endcomment %} diff --git a/bn_django/git_wiki/templates/git_wiki/newitems_table b/bn_django/git_wiki/templates/git_wiki/newitems_table deleted file mode 100644 index d8682be..0000000 --- a/bn_django/git_wiki/templates/git_wiki/newitems_table +++ /dev/null @@ -1,36 +0,0 @@ -{% if newitems %} - - {% for i in newitems reversed %} - - {% else %} {% ifequal i.type 'tree' %} - - {{i.path}}/ - - {% else %} - - {{i.name}} - - {% endifequal %}{% endifequal %} - - {% endfor %} -
- {% ifequal i.type 'blob' %} - {% if i.isfig %} - - {{i.path}} -
-{% else %}No new items! -{% endif %} diff --git a/bn_django/git_wiki/templates/git_wiki/shortlog_table b/bn_django/git_wiki/templates/git_wiki/shortlog_table deleted file mode 100644 index 95aac57..0000000 --- a/bn_django/git_wiki/templates/git_wiki/shortlog_table +++ /dev/null @@ -1,27 +0,0 @@ -{% if shortlog %} - -{% for l in shortlog %} - - - - - -{% endfor %} -
- {{ l.date }} - {{ l.author|striptags }} - - {{ l.description|escape|truncatewords:10 }} - {% if heads %}{% for h in heads.iteritems %} - {% ifequal h.1 l.hash %} - [{{ h.0 }}] - {% endifequal %} - {% endfor %}{% endif %} - {% if tags %}{% for t in tags.iteritems %} - {% ifequal l.hash t.1 %} - [{{ t.0 }}] - {% endifequal %}{% endfor %}{% endif %} - - - {{ l.shorthash }}...
-{% else %}No shortlog!{% endif %} diff --git a/bn_django/git_wiki/templates/git_wiki/tree.html b/bn_django/git_wiki/templates/git_wiki/tree.html deleted file mode 100644 index 08f6e35..0000000 --- a/bn_django/git_wiki/templates/git_wiki/tree.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "git_wiki/base.html" %} - -{% block path %}{{ block.super }} » - {{ tree.path }}{% endblock %} - -{% block title %}Knowledge Category: {{ tree.path }}{% endblock %} - -{% block gitwiki %} -

Directory listing:

- {% include "git_wiki/tree_table" %} -

Tree sha1 hash:

- {{ tree.id }} -

Shortlog:

- {% include "git_wiki/shortlog_table" %} -{% endblock %} diff --git a/bn_django/git_wiki/templates/git_wiki/tree_table b/bn_django/git_wiki/templates/git_wiki/tree_table deleted file mode 100644 index 36bc3a6..0000000 --- a/bn_django/git_wiki/templates/git_wiki/tree_table +++ /dev/null @@ -1,38 +0,0 @@ -{% if tree.all_objs %} - - {% for o in tree.all_objs %} - - - {% else %} {% ifequal o.type 'tree' %} - - {{o.path}}/ - - {% else %} - - {{o.name}} - - {% endifequal %}{% endifequal %} - - {% endfor %} -
- {{o.type}} - {% ifequal o.type 'blob' %} - {% if o.isfig %} - - {{o.path}} -
-{% else %}No contents! -{% endif %} -- cgit v1.2.3