mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Fixed HTML issue
Former-commit-id: 65e937aa022c5fda11c6537da2e7532fd45a8ea3 [formerly 69e54550c74718710ca50ada159c282e1c095cc9] [formerly daefbe079b10dbaf95a4bf57b1393c2ae4bc9c26 [formerly 5635fb16c9143e9cef46f754aca4cad21736c3d7 [formerly870490403b]]] Former-commit-id: 74501be5e030e6bfcfe44bf45fb0da72375353f5 [formerly 47928a77265107599634f49e2f4dc777728fb0f1] Former-commit-id: 3ebbea9701ba26bbe7e912a150be2fc75e5fdadf Former-commit-id:f23613399f
This commit is contained in:
@@ -59,7 +59,16 @@
|
||||
</style>
|
||||
<script src="/static/js/sweetalert-dev.js"></script>
|
||||
<link rel="stylesheet" href="/static/css/sweetalert.css">
|
||||
|
||||
{{ if .Coding }}
|
||||
<script src="/static/js/codemirror.js"></script>
|
||||
<link rel="stylesheet" href="/static/css/codemirror.css">
|
||||
<script src="/static/js/{{ .CodeType }}.js"></script>
|
||||
{{ if eq .CodeType "htmlmixed" }}
|
||||
<script src="/static/js/css.js"></script>
|
||||
<script src="/static/js/javascript.js"></script>
|
||||
<script src="/static/js/xml.js"></script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -301,9 +310,6 @@
|
||||
|
||||
|
||||
{{ if .Coding }}
|
||||
<script src="/static/js/codemirror.js"></script>
|
||||
<link rel="stylesheet" href="/static/css/codemirror.css">
|
||||
<script src="/static/js/{{ .CodeType }}.js"></script>
|
||||
<script>
|
||||
var editor = CodeMirror.fromTextArea(document.getElementById("emit_data"), {
|
||||
lineNumbers: true,
|
||||
|
||||
@@ -54,6 +54,18 @@ a.deleteable {
|
||||
{{ end }}
|
||||
<script src="/static/js/sweetalert-dev.js"></script>
|
||||
<link rel="stylesheet" href="/static/css/sweetalert.css">
|
||||
|
||||
{{ if .Coding }}
|
||||
<script src="/static/js/codemirror.js"></script>
|
||||
<link rel="stylesheet" href="/static/css/codemirror.css">
|
||||
<script src="/static/js/{{ .CodeType }}.js"></script>
|
||||
{{ if eq .CodeType "htmlmixed" }}
|
||||
<script src="/static/js/css.js"></script>
|
||||
<script src="/static/js/javascript.js"></script>
|
||||
<script src="/static/js/xml.js"></script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -298,9 +310,6 @@ $(document).keydown(function(e){
|
||||
|
||||
|
||||
{{ if .Coding }}
|
||||
<script src="/static/js/codemirror.js"></script>
|
||||
<link rel="stylesheet" href="/static/css/codemirror.css">
|
||||
<script src="/static/js/{{ .CodeType }}.js"></script>
|
||||
<script>
|
||||
var editor = CodeMirror.fromTextArea(document.getElementById("emit_data"), {
|
||||
lineNumbers: true,
|
||||
|
||||
Reference in New Issue
Block a user