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
648f034b
Commit
648f034b
authored
Aug 30, 2012
by
Matthew Mongeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new post back in.
parent
65ffeb5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
1 deletions
+51
-1
lms/templates/discussion/single_thread.html
+51
-1
No files found.
lms/templates/discussion/single_thread.html
View file @
648f034b
...
...
@@ -64,6 +64,56 @@
</div>
</nav>
<article
class=
"new-post-article"
>
<div
class=
"inner-wrapper"
>
<form
class=
"new-post-form"
>
<div
class=
"left-column"
>
<label>
Create new post in:
</label>
<div
class=
"topic-drop"
>
<a
href=
"#"
class=
"topic-drop-btn"
>
Homework / Week 1
<span
class=
"drop-arrow"
>
▾
</span></a>
<ul
class=
"topic-drop-menu"
>
<li><a
href=
"#"
>
All
</a></li>
<li><a
href=
"#"
>
Following
</a></li>
<li><a
href=
"#"
>
General
</a></li>
<li>
<a
href=
"#"
>
Homework
</a>
<ul>
<li><a
href=
"#"
>
Week 1
</a></li>
<li>
<a
href=
"#"
>
Week 2
</a>
<ul>
<li><a
href=
"#"
>
Problem 1
</a></li>
<li><a
href=
"#"
>
Problem 2
</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div
class=
"options"
>
<input
type=
"checkbox"
name=
"follow"
id=
"new-post-follow"
checked
><label
for=
"new-post-follow"
>
follow this post
</label>
<br>
<input
type=
"checkbox"
name=
"follow"
id=
"new-post-anonymous"
checked
><label
for=
"new-post-anonymous"
>
post anonymously
</label>
</div>
</div>
<div
class=
"right-column"
>
<div
class=
"form-row"
>
<input
type=
"text"
class=
"new-post-title"
name=
"title"
placeholder=
"Title"
>
</div>
<div
class=
"form-row"
>
<textarea
class=
"new-post-body"
name=
"body"
placeholder=
"Enter your question or comment…"
></textarea>
<div
class=
"new-post-preview"
><span
class=
"new-post-preview-label"
>
Preview
</span></div>
</div>
<div
class=
"form-row"
>
<input
type=
"text"
class=
"new-post-tags"
name=
"tags"
placeholder=
"Tags"
>
</div>
<input
type=
"submit"
class=
"submit"
value=
"Add post"
>
<a
href=
"#"
class=
"new-post-cancel"
>
Cancel
</a>
</div>
</form>
</div>
</article>
<div
class=
"discussion container"
>
<div
class=
"discussion-body"
>
<div
class=
"sidebar"
>
...
...
@@ -147,7 +197,7 @@
<script
type=
"text/template"
id=
"thread-response-template"
>
<
header
>
<
a
href
=
"#"
class
=
"vote-btn"
data
-
tooltip
=
"vote"
><
span
class
=
"plus-icon"
><
/span><span class="votes-count-number">${"<%= votes
[
'up_count'
]
%>"}</
span
><
/a
>
<
a
href
=
"#"
class
=
"vote-btn"
data
-
tooltip
=
"vote"
><
span
class
=
"plus-icon"
><
/span><span class="votes-count-number">${"<%= votes
[
'up_count'
]
%>"}</
span
><
/a
>
<
a
href
=
"#"
class
=
"posted-by"
>
$
{
"<%= username %>"
}
<
/a
>
<
p
class
=
"posted-details"
title
=
"${'<%= created_at %>'}"
>
Sometime
<
/p
>
<
/header
>
...
...
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