mirror of
https://github.com/zhaojh329/rtty.git
synced 2026-02-27 09:53:17 +08:00
Remove copyright message on the page
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 248 KiB After Width: | Height: | Size: 228 KiB |
+2
-33
@@ -7,7 +7,7 @@ html {
|
||||
}
|
||||
|
||||
body {
|
||||
height: 98%;
|
||||
height: 97%;
|
||||
}
|
||||
|
||||
#box {
|
||||
@@ -55,42 +55,11 @@ body {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.copyright {
|
||||
left:50%;
|
||||
margin: -300px 0 10px -300px;
|
||||
width: 600px;
|
||||
position: fixed;
|
||||
bottom: 40px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.copyright2 {
|
||||
left:80%;
|
||||
margin: -300px 0 10px -300px;
|
||||
width: 600px;
|
||||
position: fixed;
|
||||
bottom: -2px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #fff;
|
||||
text-shadow:0 0 10px;
|
||||
}
|
||||
|
||||
#terminal-container {
|
||||
height: 96%;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.upfile iframe {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.upfile #fileForm {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.upfile #uploadmsg {
|
||||
color: white;
|
||||
height: 100%;
|
||||
}
|
||||
@@ -18,7 +18,6 @@
|
||||
<button id="connect" class="btn" type="button">Connect</button>
|
||||
</div>
|
||||
<div id="terminal-container"></div>
|
||||
<h1 id="copyright" class="copyright"><font color="white">Copyright © 2018 </font><a href="https://github.com/zhaojh329/rtty" target="_black">zhaojh329 Github</a></h1>
|
||||
<script>
|
||||
var ws;
|
||||
var term;
|
||||
@@ -44,8 +43,6 @@
|
||||
});
|
||||
|
||||
term.fit();
|
||||
|
||||
$('#copyright').removeClass('copyright').addClass('copyright2');
|
||||
});
|
||||
|
||||
ws.onmessage = function(evt) {
|
||||
@@ -68,7 +65,6 @@
|
||||
|
||||
ws.onclose = function () {
|
||||
term.destroy();
|
||||
$('#copyright').removeClass('copyright2').addClass('copyright');
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user