mirror of https://github.com/jumpserver/jumpserver
commit
22cc8ffbdd
|
@ -6,15 +6,37 @@
|
||||||
<script src="{% static 'js/plugins/xterm/xterm.js' %}"></script>
|
<script src="{% static 'js/plugins/xterm/xterm.js' %}"></script>
|
||||||
<script src="{% static 'js/plugins/xterm/addons/fit/fit.js' %}"></script>
|
<script src="{% static 'js/plugins/xterm/addons/fit/fit.js' %}"></script>
|
||||||
<link rel="stylesheet" href="{% static 'js/plugins/xterm/xterm.css' %}" />
|
<link rel="stylesheet" href="{% static 'js/plugins/xterm/xterm.css' %}" />
|
||||||
|
<link rel="shortcut icon" href="{{ FAVICON_URL }}" type="image/x-icon">
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
background-color: black;
|
background-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.xterm-rows {
|
.xterm-rows {
|
||||||
{#padding: 15px;#}
|
|
||||||
font-family: "Bitstream Vera Sans Mono", Monaco, "Consolas", Courier, monospace;
|
font-family: "Bitstream Vera Sans Mono", Monaco, "Consolas", Courier, monospace;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.terminal .xterm-viewport {
|
||||||
|
background-color: #1f1b1b;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
body ::-webkit-scrollbar-track {
|
||||||
|
-webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
|
||||||
|
background-color: #272323;
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body ::-webkit-scrollbar {
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body ::-webkit-scrollbar-thumb {
|
||||||
|
background-color: #494141;
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<div id="term" style="height: 100%;width: 100%">
|
<div id="term" style="height: 100%;width: 100%">
|
||||||
|
@ -36,7 +58,8 @@
|
||||||
cursorBlink: false,
|
cursorBlink: false,
|
||||||
screenKeys: false,
|
screenKeys: false,
|
||||||
fontFamily: '"Monaco", "Consolas", "monospace"',
|
fontFamily: '"Monaco", "Consolas", "monospace"',
|
||||||
fontSize: 12,
|
fontSize: 13,
|
||||||
|
lineHeight: 1.2,
|
||||||
rightClickSelectsWord: true,
|
rightClickSelectsWord: true,
|
||||||
disableStdin: true
|
disableStdin: true
|
||||||
});
|
});
|
||||||
|
|
|
@ -34,6 +34,27 @@
|
||||||
.select2-container .select2-selection--single {
|
.select2-container .select2-selection--single {
|
||||||
height: 34px;
|
height: 34px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.terminal .xterm-viewport {
|
||||||
|
background-color: #1f1b1b;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
body ::-webkit-scrollbar-track {
|
||||||
|
-webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
|
||||||
|
background-color: #272323;
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body ::-webkit-scrollbar {
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body ::-webkit-scrollbar-thumb {
|
||||||
|
background-color: #494141;
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -201,11 +222,10 @@
|
||||||
cursorBlink: false,
|
cursorBlink: false,
|
||||||
screenKeys: false,
|
screenKeys: false,
|
||||||
fontFamily: 'monaco, Consolas, "Lucida Console", monospace',
|
fontFamily: 'monaco, Consolas, "Lucida Console", monospace',
|
||||||
fontSize: 14,
|
fontSize: 13,
|
||||||
lineHeight: 1,
|
|
||||||
rightClickSelectsWord: true,
|
rightClickSelectsWord: true,
|
||||||
disableStdin: true,
|
disableStdin: true,
|
||||||
cursorBlink: false,
|
lineHeight: 1.2,
|
||||||
theme: {
|
theme: {
|
||||||
background: '#1f1b1b'
|
background: '#1f1b1b'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue