mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-28 22:28:25 +00:00
feat: full window sized terminal (#3781)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
This commit is contained in:
@@ -400,32 +400,41 @@ var ProjectJobsTemplate = template.Must(template.New("blank.html.tmpl").Parse(`
|
||||
<style>
|
||||
#terminal {
|
||||
position: fixed;
|
||||
top: 200px;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
border: 5px solid white;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.terminal.xterm {
|
||||
padding: 10px;
|
||||
}
|
||||
#watermark {
|
||||
opacity: 0.5;
|
||||
color: BLACK;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
padding-right: 30px;
|
||||
padding-bottom: 15px;
|
||||
right: 0;
|
||||
z-index: 15;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<section class="header">
|
||||
<section id="watermark">
|
||||
<a title="atlantis" href="{{ .CleanedBasePath }}/"><img class="hero" src="{{ .CleanedBasePath }}/static/images/atlantis-icon_512.png"/></a>
|
||||
<p class="title-heading">atlantis</p>
|
||||
<p class="terminal-heading-white">atlantis</p>
|
||||
<p class="title-heading"><strong></strong></p>
|
||||
</section>
|
||||
<div class="spacer"></div>
|
||||
<br>
|
||||
<section>
|
||||
<div id="terminal"></div>
|
||||
</section>
|
||||
</div>
|
||||
<footer>Initializing...
|
||||
<footer class="footer-white">Initializing...
|
||||
</footer>
|
||||
|
||||
<script src="{{ .CleanedBasePath }}/static/js/jquery-3.5.1.min.js"></script>
|
||||
|
||||
@@ -371,6 +371,10 @@ tbody {
|
||||
font-family: monospace, monospace; font-size: 1.1em; text-align: center;
|
||||
}
|
||||
|
||||
.terminal-heading-white {
|
||||
font-family: monospace, monospace; font-size: 1.1em; text-align: center; color: white;
|
||||
}
|
||||
|
||||
.small {
|
||||
font-size: 1.0em;
|
||||
}
|
||||
@@ -384,3 +388,13 @@ footer {
|
||||
color: grey;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.footer-white {
|
||||
font-family: monospace, monospace; font-size: 1.2rem;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
color: grey;
|
||||
padding-right: 10px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user