Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-wiki
Commits
45cd25e6
Commit
45cd25e6
authored
Mar 26, 2013
by
benjaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up block tags to be prefixed 'wiki_*'
parent
0911c58b
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
25 additions
and
22 deletions
+25
-22
wiki/templates/wiki/accounts/login.html
+1
-1
wiki/templates/wiki/accounts/signup.html
+1
-1
wiki/templates/wiki/article.html
+1
-1
wiki/templates/wiki/base.html
+10
-7
wiki/templates/wiki/create.html
+1
-1
wiki/templates/wiki/create_root.html
+1
-1
wiki/templates/wiki/delete.html
+1
-1
wiki/templates/wiki/deleted.html
+1
-1
wiki/templates/wiki/dir.html
+1
-1
wiki/templates/wiki/edit.html
+1
-1
wiki/templates/wiki/error.html
+1
-1
wiki/templates/wiki/history.html
+1
-1
wiki/templates/wiki/permission_denied.html
+1
-1
wiki/templates/wiki/search.html
+1
-1
wiki/templates/wiki/settings.html
+1
-1
wiki/templates/wiki/source.html
+1
-1
No files found.
wiki/templates/wiki/accounts/login.html
View file @
45cd25e6
{% extends "wiki/base.html" %}
{% load i18n wiki_tags sekizai_tags %}
{% load url from future %}
{% block
pagetitle %}
{% trans "Log in" %}{% endblock %}
{% block
wiki_pagetitle %}wiki_pagetitle
{% trans "Log in" %}{% endblock %}
{% block wiki_contents %}
<h1
class=
"page-header"
>
{% trans "Please log in" %}
</h1>
...
...
wiki/templates/wiki/accounts/signup.html
View file @
45cd25e6
{% extends "wiki/base.html" %}
{% load i18n wiki_tags sekizai_tags %}
{% block pagetitle %}{% trans "Sign up" %}{% endblock %}
{% block
wiki_
pagetitle %}{% trans "Sign up" %}{% endblock %}
{% block wiki_contents %}
<h1
class=
"page-header"
>
{% trans "Sign up" %}
</h1>
...
...
wiki/templates/wiki/article.html
View file @
45cd25e6
...
...
@@ -2,7 +2,7 @@
{% load wiki_tags i18n sekizai_tags %}
{% load url from future %}
{% block pagetitle %}{{ article.current_revision.title }}{% endblock %}
{% block
wiki_
pagetitle %}{{ article.current_revision.title }}{% endblock %}
{% block wiki_breadcrumbs %}
{% include "wiki/includes/breadcrumbs.html" %}
...
...
wiki/templates/wiki/base.html
View file @
45cd25e6
...
...
@@ -2,7 +2,7 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<title>
{% block pagetitle %}{% endblock %} - django-\/\/ i K |
</title>
<title>
{% block
wiki_
pagetitle %}{% endblock %} - django-\/\/ i K |
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"author"
content=
"www.django-wiki.org"
>
...
...
@@ -24,7 +24,7 @@
{% block wiki_body %}
{% block navbar %}
{% block
wiki_
navbar %}
<div
class=
"navbar navbar-fixed-top navbar-inverse"
>
<div
class=
"navbar-inner"
>
<div
class=
"container"
>
...
...
@@ -83,14 +83,16 @@
<li
class=
"active"
><a
href=
"/"
>
Home
</a></li>
<li><a
href=
"https://github.com/benjaoming/django-wiki"
target=
"_blank"
>
About
</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
</div>
</div>
{% endblock %}
<div
class=
"container"
style=
"margin-top: 60px;"
>
{% if messages %}
<!-- Messages for this instance -->
{% for message in messages %}
<div
class=
"alert alert-{{ message.tags }}"
>
<a
class=
"close"
data-dismiss=
"alert"
href=
"#"
>
×
</a>
...
...
@@ -98,11 +100,12 @@
</div>
{% endfor %}
{% endif %}
<!-- Reserved for breadcrumbs -->
{% block wiki_breadcrumbs %}{% endblock %}
{% block wiki_contents %}
<h1>
Bootstrap starter template
</h1>
<p>
Use this document as a way to quick start any new project.
<br>
All you get is this message and a barebones HTML document.
</p>
{% endblock %}
<!-- Main page contents go here -->
{% block wiki_contents %}{% endblock %}
<footer
id=
"wiki-footer"
>
<hr
/>
...
...
wiki/templates/wiki/create.html
View file @
45cd25e6
...
...
@@ -2,7 +2,7 @@
{% load wiki_tags i18n sekizai_tags %}
{% load url from future %}
{% block pagetitle %}{% trans "Add new article" %}{% endblock %}
{% block
wiki_
pagetitle %}{% trans "Add new article" %}{% endblock %}
{% block wiki_contents %}
...
...
wiki/templates/wiki/create_root.html
View file @
45cd25e6
{% extends "wiki/base.html" %}
{% load wiki_tags i18n sekizai_tags %}
{% block pagetitle %}{% trans "Create root article" %}{% endblock %}
{% block
wiki_
pagetitle %}{% trans "Create root article" %}{% endblock %}
{% block wiki_contents %}
...
...
wiki/templates/wiki/delete.html
View file @
45cd25e6
...
...
@@ -2,7 +2,7 @@
{% load wiki_tags i18n sekizai_tags %}
{% load url from future %}
{% block pagetitle %}{% trans "Delete article" %}{% endblock %}
{% block
wiki_
pagetitle %}{% trans "Delete article" %}{% endblock %}
{% block wiki_contents %}
<h1
class=
"page-header"
>
{% trans "Delete" %} "{{ article.current_revision.title }}"
</h1>
...
...
wiki/templates/wiki/deleted.html
View file @
45cd25e6
...
...
@@ -2,7 +2,7 @@
{% load wiki_tags i18n sekizai_tags %}
{% load url from future %}
{% block pagetitle %}{% trans "Article deleted" %}{% endblock %}
{% block
wiki_
pagetitle %}{% trans "Article deleted" %}{% endblock %}
{% block wiki_contents %}
<style
type=
"text/css"
>
...
...
wiki/templates/wiki/dir.html
View file @
45cd25e6
...
...
@@ -2,7 +2,7 @@
{% load wiki_tags i18n humanize %}
{% load url from future %}
{% block pagetitle %}{% trans "Listing articles in" %} {{ article.current_revision.title }}{% endblock %}
{% block
wiki_
pagetitle %}{% trans "Listing articles in" %} {{ article.current_revision.title }}{% endblock %}
{% block wiki_contents_tab %}
...
...
wiki/templates/wiki/edit.html
View file @
45cd25e6
...
...
@@ -2,7 +2,7 @@
{% load wiki_tags i18n %}
{% load url from future %}
{% block pagetitle %}{% trans "Edit" %}: {{ article.current_revision.title }}{% endblock %}
{% block
wiki_
pagetitle %}{% trans "Edit" %}: {{ article.current_revision.title }}{% endblock %}
{% block wiki_contents_tab %}
...
...
wiki/templates/wiki/error.html
View file @
45cd25e6
...
...
@@ -2,7 +2,7 @@
{% load wiki_tags i18n %}
{% load url from future %}
{% block pagetitle %}{% if article %}{{ article.current_revision.title }}{% else %}{% trans "Error" %}{% endif %}{% endblock %}
{% block
wiki_
pagetitle %}{% if article %}{{ article.current_revision.title }}{% else %}{% trans "Error" %}{% endif %}{% endblock %}
{% block wiki_breadcrumbs %}
{% include "wiki/includes/breadcrumbs.html" %}
...
...
wiki/templates/wiki/history.html
View file @
45cd25e6
...
...
@@ -2,7 +2,7 @@
{% load wiki_tags i18n sekizai_tags %}
{% load url from future %}
{% block pagetitle %}{% trans "History" %}: {{ article.current_revision.title }}{% endblock %}
{% block
wiki_
pagetitle %}{% trans "History" %}: {{ article.current_revision.title }}{% endblock %}
{% block wiki_contents_tab %}
...
...
wiki/templates/wiki/permission_denied.html
View file @
45cd25e6
...
...
@@ -2,7 +2,7 @@
{% load wiki_tags i18n %}
{% load url from future %}
{% block pagetitle %}Permission Denied{% endblock %}
{% block
wiki_
pagetitle %}Permission Denied{% endblock %}
{% block wiki_contents %}
<h1
class=
"page-header"
>
{% trans "Permission Denied" %}
</h1>
...
...
wiki/templates/wiki/search.html
View file @
45cd25e6
...
...
@@ -2,7 +2,7 @@
{% load wiki_tags i18n humanize %}
{% load url from future %}
{% block pagetitle %}{% trans "Search results for:" %} {{ search_query }}{% endblock %}
{% block
wiki_
pagetitle %}{% trans "Search results for:" %} {{ search_query }}{% endblock %}
{% block wiki_contents %}
...
...
wiki/templates/wiki/settings.html
View file @
45cd25e6
...
...
@@ -2,7 +2,7 @@
{% load wiki_tags i18n %}
{% load url from future %}
{% block pagetitle %}{% trans "Settings" %}: {{ article.current_revision.title }}{% endblock %}
{% block
wiki_
pagetitle %}{% trans "Settings" %}: {{ article.current_revision.title }}{% endblock %}
{% block wiki_contents_tab %}
...
...
wiki/templates/wiki/source.html
View file @
45cd25e6
...
...
@@ -2,7 +2,7 @@
{% load wiki_tags i18n humanize %}
{% load url from future %}
{% block pagetitle %}{% trans "Source of" %} {{ article.current_revision.title }}{% endblock %}
{% block
wiki_
pagetitle %}{% trans "Source of" %} {{ article.current_revision.title }}{% endblock %}
{% block wiki_contents_tab %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment