mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
将monaco-editor作为在线IDE编辑器
This commit is contained in:
1 parent
4c53fc8146
commit
53a6dbeb1a
9 files changed
+81
-134
No files matched your search
@@ -4,9 +4,9 @@
|
||||
<script>
|
||||
var Context = {
|
||||
'problemId': "{{ pdoc.pid }}",
|
||||
'postSubmitUrl': "/p/{{ pdoc.pid }}",
|
||||
'getSubmissionsUrl': "/p/{{ pdoc.pid }}",
|
||||
'getRecordDetailUrl': "/r/{{ rid }}",
|
||||
'postSubmitUrl': "/p/{{ pdoc.pid }}/submit",
|
||||
'getSubmissionsUrl': "/p/{{ pdoc.pid }}/submit",
|
||||
'getRecordDetailUrl': "/r/{rid}",
|
||||
'code_lang': "{{ handler.user.codeLang }}",
|
||||
'code_template': "{{ handler.user.codeTemplate }}",
|
||||
};
|
||||
@@ -43,8 +43,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="medium-3 columns">
|
||||
{% set owner_udoc=udoc %}
|
||||
{% set owner_dudoc=dudoc %}
|
||||
{% set owner_udoc = udoc %}
|
||||
{% set owner_dudoc = dudoc %}
|
||||
{% include "partials/problem_sidebar.html" %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user