Add Markdown editor options + Small changes (#931)
* Add Markdown editor options * Update upload.html * Update public_settings.html
Cette révision appartient à :
Parent
d5807c28a1
révision
057d19ab57
2 fichiers modifiés avec 3 ajouts et 3 suppressions
|
@ -1,4 +1,4 @@
|
|||
{{define "title"}}{{call $.T "change_language"}}{{end}}
|
||||
{{define "title"}}{{call $.T "change_settings"}}{{end}}
|
||||
{{define "content"}}
|
||||
<div style="text-align: left;" class="box">
|
||||
<form role="form" method="POST">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{define "title"}}Upload magnet{{end}}
|
||||
{{define "title"}}{{call $.T "upload"}}{{end}}
|
||||
{{define "content"}}
|
||||
{{with .Form}}
|
||||
<div style="text-align: left;" class="box">
|
||||
|
@ -52,5 +52,5 @@
|
|||
{{end}}
|
||||
{{ define "footer_js"}}
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script>
|
||||
<script type="text/javascript">new SimpleMDE({ element: document.getElementById("desc"), spellChecker: false });</script>
|
||||
<script type="text/javascript">new SimpleMDE({ element: document.getElementById("desc"), spellChecker: false, showIcons: [ "strikethrough", "code", "table", "horizontal-rule" ] });</script>
|
||||
{{end}}
|
||||
|
|
Référencer dans un nouveau ticket