Commit Graph

12 Commits

Author SHA1 Message Date
TheAMM 9106977fad Change "Markdown supported" to link to our own help
...because <ins> and <mark>.
2017-12-10 23:08:44 +02:00
nyaadev 57a71be7b8 minor changes 2017-08-31 14:20:34 +02:00
TheAMM 80587e02fe Default description to "" in field renderer
Otherwise we get None on upload page
2017-06-01 06:28:38 -05:00
TheAMM f4fb9fc065 Render markdown text field manually in the template
We need to escape newlines in the editor as well!
2017-06-01 06:28:38 -05:00
TheAMM 505b4e18bd Move to markdown-it, render markdown in DOMContentLoaded
No more separate <script>s for comments
Adds a link to a GFM cheatsheet on markdown form
Spaces to tabs on "markdownEditors" DOMContentLoaded
2017-06-01 06:28:38 -05:00
ReimuHakurei 42928c2a41 More validation. 2017-05-24 06:19:15 +00:00
TheAMM b9d88e8960 Restructure upload.html and edit.html as well as route logic
Rename variables and reformats user/admin logic
Add an is_trusted field to upload and edit forms

Restructure fields on upload and edit pages
Add simple styling for checkboxes
Add titles (mouseover) for checkboxes with crude explanations
Show Anonymous checkbox during upload and check & disable it for guests
Show Trusted checkbox for users at or above Trusted level
Adjust description field rendering to show field label above it

Add title (mouseover) for edit icon on torrent page
Show uploader for admins on anonymous torrents
Show uploader for admins when editing others' torrents
2017-05-20 22:00:45 +03:00
martstern a19666b495 shrink and put user_class menu and button on same line 2017-05-16 03:13:22 -04:00
Nathan Yam de4891dfc6 Add well styling to preview content 2017-05-14 16:14:18 +10:00
Nathan Yam fabe0f6fec Issue #10 Add markdown preview editor
These changes add a macro that creates the relevant HTML markup for a
markdown editor. In the main.js file, we bind the relevant elements with
the marked library, so users can see their contents in a HTML format.
2017-05-14 15:33:08 +10:00
Nathan Yam d3ad2503ae Add markdown editor macro 2017-05-14 15:33:08 +10:00
nyaadev 00d65e312c Initial commit. 2017-05-12 20:51:49 +02:00