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".
20 lines
344 B
Plaintext
20 lines
344 B
Plaintext
<!doctype HTML>
|
|
<head>
|
|
<%- include("head") %>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<%- include("nav") %>
|
|
<div id="body" class="container">
|
|
<div class="page-header mt-2 row" id="banner">
|
|
<div class="row">
|
|
<div class="col-lg-8 col-md-7 col-sm-6">
|
|
<h2>Settings</h2>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="settings.js"></script>
|
|
</body>
|