terminal.html
57 lines
| 979 B
| text/html
|
HtmlLexer
Thomas Kluyver
|
r18480 | {% extends "page.html" %} | ||
{% block title %}{{page_title}}{% endblock %} | ||||
{% block params %} | ||||
data-base-url="{{base_url}}" | ||||
Thomas Kluyver
|
r18482 | data-ws-path="{{ws_path}}" | ||
Thomas Kluyver
|
r18480 | |||
{% endblock %} | ||||
{% block site %} | ||||
Jonathan Frederic
|
r19649 | <div id="terminado-container" class="container"></div> | ||
Thomas Kluyver
|
r18480 | |||
{% endblock %} | ||||
{% block script %} | ||||
Thomas Kluyver
|
r18481 | |||
<!-- Hack: this needs to be outside the display:none block, so we can measure | ||||
its size in JS in setting up the page. It is still invisible. Putting in | ||||
the script block gets it outside the initially undisplayed region. --> | ||||
<!-- test size: 25x80 --> | ||||
Bussonnier Matthias
|
r18489 | <div style='position:absolute; left:-1000em'> | ||
Thomas Kluyver
|
r18490 | <pre id="dummy-screen" style="border: solid 5px white;" class="terminal">0 | ||
Thomas Kluyver
|
r18481 | 1 | ||
2 | ||||
3 | ||||
4 | ||||
5 | ||||
6 | ||||
7 | ||||
8 | ||||
9 | ||||
0 | ||||
1 | ||||
2 | ||||
3 | ||||
4 | ||||
5 | ||||
6 | ||||
7 | ||||
8 | ||||
9 | ||||
0 | ||||
1 | ||||
2 | ||||
3 | ||||
Bussonnier Matthias
|
r18489 | <span id="dummy-screen-rows" style="">01234567890123456789012345678901234567890123456789012345678901234567890123456789</span> | ||
Thomas Kluyver
|
r18481 | </pre> | ||
Bussonnier Matthias
|
r18489 | </div> | ||
Thomas Kluyver
|
r18481 | |||
Thomas Kluyver
|
r18480 | {{super()}} | ||
<script src="{{ static_url("terminal/js/main.js") }}" type="text/javascript" charset="utf-8"></script> | ||||
{% endblock %} | ||||