addition of new dashboard
This commit is contained in:
23
backend/http/views/login.ejs
Normal file
23
backend/http/views/login.ejs
Normal file
@@ -0,0 +1,23 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<%- include('./include/header.ejs', { title: 'JLINC - Login' }) %>
|
||||
|
||||
<div class="mdc-card" style="background: linear-gradient(333deg, rgb(0, 0, 0) 0%, rgb(79, 55, 139) 100%);">
|
||||
|
||||
<h3>Login with:</h3>
|
||||
<% for (const type in config.authModules) { %>
|
||||
<% if (type !== 'single') { %>
|
||||
<div style="width: 100%; padding-bottom: 16px">
|
||||
<button style="width: 100%" class="mdc-button mdc-button--raised mdc-button--leading" onclick="window.location.href='/login/<%= type %>'">
|
||||
<span class="mdc-button__ripple"></span>
|
||||
<i class="material-icons mdc-button__icon" aria-hidden="true"><%= config.authModules[type].icon %></i>
|
||||
<span class="mdc-button__label"><%= config.authModules[type].title %></span>
|
||||
</button>
|
||||
</div>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
</div>
|
||||
|
||||
<%- include('./include/footer.ejs') %>
|
||||
Reference in New Issue
Block a user