make ace awesome
This commit is contained in:
parent
8e9b7682b6
commit
2cde2f57f6
1 changed files with 6 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<main>
|
<main>
|
||||||
<h1>Stack details for <span class="stack-name">{{stack_name}}</span></h1>
|
<h1>Stack details for <span class="stack-name">{{stack_name}}</span></h1>
|
||||||
<h2>Status</h2>
|
<h2>Containers</h2>
|
||||||
<table class="containers">
|
<table class="containers">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -96,6 +96,11 @@
|
||||||
<script>
|
<script>
|
||||||
var editor = ace.edit("editor");
|
var editor = ace.edit("editor");
|
||||||
editor.setTheme("ace/theme/dracula");
|
editor.setTheme("ace/theme/dracula");
|
||||||
|
editor.setOptions({
|
||||||
|
fontFamily: "Iosevka Web",
|
||||||
|
fontSize: "12pt"
|
||||||
|
});
|
||||||
|
editor.setKeyboardHandler("ace/keyboard/vim");
|
||||||
editor.session.setMode("ace/mode/nix");
|
editor.session.setMode("ace/mode/nix");
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Reference in a new issue