mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 23:04:52 +09:00
Move the ejs templates to the default Express.js views/ folder and change their extension to .ejs. Reconfigure Express.js to look for templates in the views folders as well as the plugins folder. This enables plugins to render templates using paths of following format "pluginName/path/to/page-or-view".
33 lines
862 B
Plaintext
33 lines
862 B
Plaintext
<!doctype HTML>
|
|
<head>
|
|
<%- include("head") %>
|
|
<script src="lib/terminal.js"></script>
|
|
<script src="nodeDetails.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="nodeDetails.css">
|
|
</head>
|
|
|
|
<body>
|
|
<%- include("nav") %>
|
|
<div id="body" class="container">
|
|
<div id="hero">
|
|
<div id="display">
|
|
|
|
</div>
|
|
</div>
|
|
<div id="details">
|
|
|
|
</div>
|
|
<div id="terminal">
|
|
<div class="titleBar" style="display:none;">
|
|
<div class="title">
|
|
<p>Clusterio RCON shell</p>
|
|
</div>
|
|
<div class="titleButton close" onclick="minimizeTerminal();"></div>
|
|
<div class="titleButton maximize" onclick="maximizeTerminal();"></div>
|
|
<div class="titleButton minimize" onclick="minimizeTerminal();"></div>
|
|
</div>
|
|
<!-- JS generates a div called .Terminal that appears here with the display and typing things -->
|
|
</div>
|
|
</div>
|
|
</body>
|