core/api/modules/codeeditor/index.html

15 lines
735 B
HTML
Raw Permalink Normal View History

2023-07-12 20:02:20 +05:00
{include file=$header_admin h1='Административная панель' title='Редактор кода'}
<form style="width:100%;">
<textarea id="code" name="code"></textarea>
</form>
<button class="save-js">Сохранить</button>
<link rel="stylesheet" href="/api/soft/CodeMirror/lib/codemirror.css">
<link rel="stylesheet" href="/api/soft/CodeMirror/theme/dracula.css">
<script src="/api/soft/CodeMirror/lib/codemirror.js"></script>
<!--script src="/api/soft/CodeMirror/mode/javascript/javascript.js"></script-->
<script src="/api/soft/CodeMirror/mode/htmlmixed/htmlmixed.js"></script>
<script src="/api/soft/CodeMirror/addon/fold/foldcode.js"></script>
{include file=$footer_admin}