monaco editor 사용 변경
This commit is contained in:
@@ -1938,10 +1938,6 @@ footer div.foot_info span {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.form-floating {
|
||||
flex-grow: 0; /* This ensures that these elements do not grow and only take as much space as they need */
|
||||
}
|
||||
|
||||
.form-floating.editableInput {
|
||||
flex-grow: 1; /* This allows the editableInput to grow and take up remaining space */
|
||||
display: flex; /* This will align the contenteditable div and the hidden input inside it */
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<body>
|
||||
|
||||
<section layout:fragment="contentFragment">
|
||||
<script th:src="@{/plugins/vs/loader.js}"></script>
|
||||
<script>
|
||||
require.config({paths: {'vs': '/plugins/vs'}});
|
||||
</script>
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
<body>
|
||||
|
||||
<section layout:fragment="contentFragment">
|
||||
<script>
|
||||
require.config({paths: {'vs': '/plugins/vs'}});
|
||||
</script>
|
||||
<!-- <script>-->
|
||||
<!-- require.config({paths: {'vs': '/plugins/vs'}});-->
|
||||
<!-- </script>-->
|
||||
<div class="container-fluid mt-2">
|
||||
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}">
|
||||
<div class="card">
|
||||
@@ -31,20 +31,16 @@
|
||||
</body>
|
||||
|
||||
<th:block layout:fragment="contentScript">
|
||||
<script th:src="@{/js/APIClient.js}"></script>
|
||||
<script th:src="@{/js/APITester.js}"></script>
|
||||
<script th:src="@{/js/LayoutUtil.js}"></script>
|
||||
<script th:src="@{/js/APIScenarioExecutor.js}"></script>
|
||||
<script th:src="@{/js/APIScenario.js}"></script>
|
||||
<script th:src="@{/plugins/apitestmanager/app.bundle.js}" defer></script>
|
||||
<script>
|
||||
$(document).ajaxError(function(event, jqxhr, settings, exception) {
|
||||
$(document).ajaxError(function (event, jqxhr, settings, exception) {
|
||||
if (jqxhr.status === 401) {
|
||||
window.location.href = '/';
|
||||
}
|
||||
});
|
||||
$(function () {
|
||||
//get servers from html convert to array
|
||||
const servers = [];
|
||||
|
||||
$(document).ready(function () {
|
||||
let servers = [];
|
||||
$('#servers li').each(function () {
|
||||
servers.push({
|
||||
id: $(this).data('id'),
|
||||
@@ -53,11 +49,7 @@
|
||||
});
|
||||
});
|
||||
|
||||
const apiTester = new APITester();
|
||||
apiTester.init(servers);
|
||||
const apiScenario = new APIScenario(apiTester);
|
||||
apiScenario.init();
|
||||
|
||||
const apiTester = new APITestManager(servers);
|
||||
});
|
||||
</script>
|
||||
</th:block>
|
||||
|
||||
Reference in New Issue
Block a user