mirror of
https://gitee.com/arthas/arthas.git
synced 2024-12-02 04:08:34 +08:00
tunnel server support brower arthas-output. #1553
This commit is contained in:
parent
8114a977d3
commit
f85ad03805
@ -90,6 +90,7 @@
|
|||||||
<div class="col-inline">
|
<div class="col-inline">
|
||||||
<button title="connect" type="button" class="btn btn-info form-control" onclick="startConnect()">Connect</button>
|
<button title="connect" type="button" class="btn btn-info form-control" onclick="startConnect()">Connect</button>
|
||||||
<button title="disconnect" type="button" class="btn btn-info form-control" onclick="disconnect()">Disconnect</button>
|
<button title="disconnect" type="button" class="btn btn-info form-control" onclick="disconnect()">Disconnect</button>
|
||||||
|
<a id="arthasOutputA" target="_blank" href="arthas-output/" class="btn btn-info" role="button" onclick="updateArthasOutputLink()">Arthas Output</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
@ -167,6 +167,10 @@ function disconnect () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function updateArthasOutputLink() {
|
||||||
|
$('#arthasOutputA').prop("href", "proxy/" + $('#agentId').val() + "/arthas-output/")
|
||||||
|
}
|
||||||
|
|
||||||
/** full screen show **/
|
/** full screen show **/
|
||||||
function xtermFullScreen () {
|
function xtermFullScreen () {
|
||||||
var ele = document.getElementById('terminal-card');
|
var ele = document.getElementById('terminal-card');
|
||||||
|
Loading…
Reference in New Issue
Block a user