Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx
edx-platform
Commits
7ec5dfae
Commit
7ec5dfae
authored
Jan 19, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
eb71eaa1
c310c372
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
+10
-6
book_toc.html
+0
-0
simplewiki_base.html
+7
-3
simplewiki_error.html
+1
-1
staticbook.html
+2
-2
No files found.
book_toc.html
View file @
7ec5dfae
This diff is collapsed.
Click to expand it.
simplewiki_base.html
View file @
7ec5dfae
...
@@ -89,8 +89,8 @@
...
@@ -89,8 +89,8 @@
<ul
class=
"action"
>
<ul
class=
"action"
>
<li>
<li>
<div
class=
"wiki_box_title"
>
Search
</div>
<div
class=
"wiki_box_title"
>
Search
</div>
<form
method=
"POST"
action=
'${reverse("wiki_search_articles", args=[
""
])}'
>
<form
method=
"POST"
action=
'${reverse("wiki_search_articles", args=[])}'
>
<div
style=
"display:none"
>
<div
style=
"display:none"
>
<input
type=
"hidden"
name=
"csrfmiddlewaretoken"
value=
"${csrf_token}"
/>
<input
type=
"hidden"
name=
"csrfmiddlewaretoken"
value=
"${csrf_token}"
/>
</div>
</div>
...
@@ -99,8 +99,12 @@
...
@@ -99,8 +99,12 @@
</form>
</form>
</li>
</li>
<li>
<li>
<input
type=
"button"
onclick=
"javascript:location.href='${reverse("
wiki_random
",
args=
[
"wiki_articleget_url"
])}'"
value=
"Random article"
class=
"button"
/>
<input
type=
"button"
onclick=
"javascript:location.href='${reverse("
wiki_random
",
args=
[])}'"
value=
"Random article"
class=
"button"
/>
</li>
</li>
<li>
<input
type=
"button"
onclick=
"javascript:location.href='${reverse("
wiki_list_articles
",
args=
[])}'"
value=
"All articles"
class=
"button"
/>
</li>
<li
class=
"create-article"
>
<li
class=
"create-article"
>
<h3>
<h3>
...
...
simplewiki_error.html
View file @
7ec5dfae
...
@@ -21,7 +21,7 @@ ${wiki_error}
...
@@ -21,7 +21,7 @@ ${wiki_error}
%if wiki_url is not UNDEFINED:
%if wiki_url is not UNDEFINED:
<p>
<p>
The page you requested could not be found.
The page you requested could not be found.
Click
<a
href=
"
{% url wiki_create wiki_url %
}"
>
here
</a>
to create it.
Click
<a
href=
"
${reverse("
wiki_create
",
args=
[wiki_url])
}"
>
here
</a>
to create it.
</p>
</p>
%else:
%else:
<p>
<p>
...
...
staticbook.html
View file @
7ec5dfae
...
@@ -16,7 +16,7 @@ function goto_page(n) {
...
@@ -16,7 +16,7 @@ function goto_page(n) {
if
(
n
<
10
)
{
if
(
n
<
10
)
{
prefix
=
"00"
;
prefix
=
"00"
;
}
}
$
(
"#bookpage"
).
attr
(
"src"
,
"/static/book/p"
+
prefix
+
n
+
".jpg"
);
$
(
"#bookpage"
).
attr
(
"src"
,
"/static/book/
small-
p"
+
prefix
+
n
+
".jpg"
);
};
};
function
prev_page
()
{
function
prev_page
()
{
...
@@ -56,7 +56,7 @@ function next_page() {
...
@@ -56,7 +56,7 @@ function next_page() {
</ul>
</ul>
</nav>
</nav>
<img
id=
"bookpage"
src=
"/static/book/p${ "
%
03i
"%(
page
)
}.
jpg
"
>
<img
id=
"bookpage"
src=
"/static/book/
small-
p${ "
%
03i
"%(
page
)
}.
jpg
"
>
</section>
</section>
</section>
</section>
</div>
</div>
...
...
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