|
1 | | -<div class="row"> |
2 | | - <div class="col-lg-8 col-sm-6"> |
3 | | - <div class="panel panel-default"> |
4 | | - <div class="panel-heading">Quill Composer</div> |
5 | | - <div class="panel-body"> |
6 | | - <p> |
7 | | - <a href="https://quilljs.com/">Quill</a> is a free, open source WYSIWYG editor built for the modern web. With its modular architecture and expressive API, it is completely customizable to fit any need. |
8 | | - </p> |
9 | | - </div> |
10 | | - </div> |
11 | | - </div> |
12 | | - <div class="col-lg-4 col-sm-6"> |
13 | | - <div class="panel panel-default"> |
14 | | - <div class="panel-heading">Migration</div> |
15 | | - <div class="panel-body"> |
| 1 | +<div class="acp-page-container"> |
| 2 | + <style>#save {display: none;}</style> |
| 3 | + <!-- IMPORT admin/partials/settings/header.tpl --> |
| 4 | + |
| 5 | + <div class="row m-0"> |
| 6 | + <div id="spy-container" class="col-12 col-md-8 px-0 mb-4" tabindex="0"> |
| 7 | + <p> |
| 8 | + <a href="https://quilljs.com/">Quill</a> is a free, open source WYSIWYG editor built for the modern web. With its modular architecture and expressive API, it is completely customizable to fit any need. |
| 9 | + </p> |
| 10 | + |
| 11 | + <hr/> |
| 12 | + |
| 13 | + <div> |
| 14 | + <h5>Migration</h5> |
| 15 | + |
16 | 16 | <p> |
17 | 17 | If you are switching to Quill from a different composer (i.e. composer-default/markdown), you will need to convert your existing posts to Quill's format. You may use the utilities below to do so. |
18 | 18 | </p> |
19 | 19 |
|
20 | | - <button class="btn btn-block btn-default" data-action="migrate/in">Migrate to Quill <i class="fa fa-arrow-circle-o-left"></i></button> |
21 | | - <button class="btn btn-block btn-default" data-action="migrate/out">Migrate from Quill <i class="fa fa-arrow-circle-o-right"></i></button> |
| 20 | + <button class="btn btn-light" data-action="migrate/in">Migrate to Quill <i class="fa fa-arrow-circle-o-left"></i></button> |
| 21 | + <button class="btn btn-light" data-action="migrate/out">Migrate from Quill <i class="fa fa-arrow-circle-o-right"></i></button> |
22 | 22 | </div> |
23 | | - </div><div class="panel panel-default"> |
24 | | - <div class="panel-heading">Compatibility Checks</div> |
25 | | - <div class="panel-body"> |
| 23 | + |
| 24 | + <hr /> |
| 25 | + |
| 26 | + <div> |
| 27 | + <h5>Compatibility Checks</h5> |
| 28 | + |
26 | 29 | <ul class="list-group"> |
27 | | - <li class="list-group-item list-group-item-<!-- IF checks.markdown -->success<!-- ELSE -->danger<!-- ENDIF checks.markdown -->"> |
| 30 | + <li class="list-group-item list-group-item-{{{ if checks.markdown }}}success{{{ else }}}danger{{{ end }}}"> |
28 | 31 | <strong>Markdown Compatibility</strong> |
29 | | - <!-- IF checks.markdown --> |
30 | | - <span class="badge"><i class="fa fa-check"></i></span> |
| 32 | + {{{ if checks.markdown }}} |
| 33 | + <i class="fa fa-check"></i> |
31 | 34 | <p>The Markdown plugin is either disabled, or HTML sanitization is disabled</p> |
32 | | - <!-- ELSE --> |
33 | | - <span class="badge"><i class="fa fa-times"></i></span> |
| 35 | + {{{ else }}} |
| 36 | + <i class="fa fa-times"></i> |
34 | 37 | <p> |
35 | 38 | In order to render post content correctly, the Markdown plugin needs to have HTML sanitization disabled, |
36 | 39 | or the entire plugin should be disabled altogether. |
37 | 40 | </p> |
38 | | - <!-- ENDIF checks.markdown --> |
| 41 | + {{{ end }}} |
39 | 42 | </li> |
40 | | - <li class="list-group-item list-group-item-<!-- IF checks.composer -->success<!-- ELSE -->danger<!-- ENDIF checks.composer -->"> |
| 43 | + <li class="list-group-item list-group-item-{{{ if checks.composer }}}success{{{ else }}}danger{{{ end }}}"> |
41 | 44 | <strong>Composer Conflicts</strong> |
42 | | - <!-- IF checks.composer --> |
43 | | - <span class="badge"><i class="fa fa-check"></i></span> |
| 45 | + {{{ if checks.composer }}} |
| 46 | + <i class="fa fa-check"></i> |
44 | 47 | <p>Great! Looks like Quill is the only composer active</p> |
45 | | - <!-- ELSE --> |
46 | | - <span class="badge"><i class="fa fa-times"></i></span> |
| 48 | + {{{ else }}} |
| 49 | + <i class="fa fa-times"></i> |
47 | 50 | <p>Quill must be the only composer active. Please disable other composers and reload NodeBB.</p> |
48 | | - <!-- ENDIF checks.composer --> |
| 51 | + {{{ end }}} |
49 | 52 | </li> |
50 | 53 | </ul> |
51 | 54 | </div> |
52 | 55 | </div> |
| 56 | + |
| 57 | + <!-- IMPORT admin/partials/settings/toc.tpl --> |
53 | 58 | </div> |
54 | 59 | </div> |
| 60 | + |
0 commit comments