<% let logged = `Login`; if (loggedIn) logged = 'Logout'; let title, contentTitle, texts; if (defaultMaintenanceConfig !== {}) { title = defaultMaintenanceConfig.title; contentTitle = defaultMaintenanceConfig.contentTitle; texts = defaultMaintenanceConfig.texts; if (!texts) texts = []; } %> <%- include('partials/preloader.ejs', {now: 'maintenance'}) %> <%- include('partials/colorscheme.ejs') %> <%- themeConfig?.customHtml %> <%- include('partials/preload.ejs') %>
<% const images = ["curved-1", "curved-2", "curved-3", "curved-4", "curved-5", "curved-6", "curved-7", "curved-8", "curved-9", "curved-10", "curved-11", "curved-12", "curved-13", "curved-14", "curved-15", "curved-16", "curved-17", "curved-18"]; const image = images[Math.floor(Math.random() * images.length)]; %>
<% if(defaultMaintenanceConfig.infoCards){ %>
<% let c = 1; defaultMaintenanceConfig.infoCards.forEach(card => { %>
<% if(card.title){ %>

<%- card.title %>

<% } %> <% if(card.subtitle){ %>
<%- card.subtitle %>
<% } %> <% if(card.description){ %>

<%- card.description %>

<% } %>
<% c++; if(c != 4) { %>
<% } %>
<% }) %>
<% } %> <%- include('partials/scripts.ejs', {now: "maintenance"}) %>