Skip to content

Commit

Permalink
login form
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixbf committed Jan 31, 2025
1 parent fff75a7 commit 507fce7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/dist/ATON.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/src/ATON.ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ UI.createPublicScenesGallery = (options) => {
};

UI.createLoginForm = (options)=>{
let el = document.createElement("div");
let el = document.createElement("form");
el.classList.add("container-sm", "text-center");

let elUsername = UI.createElementFromHTMLString(`<div class="input-group mb-4"><span class="input-group-text">Username</span></div>`);
Expand Down
4 changes: 2 additions & 2 deletions services/views/v2/login.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ window.addEventListener( 'load', ()=>{
const params = new URLSearchParams( window.location.search );
let elForm = document.getElementById("loginform");
let elForm = document.getElementById("logincontainer");
elHeader = ATON.UI.createElementFromHTMLString(`<img src="/res/aton-logo.png" style="width:100px; height:auto; margin-bottom:20px">`);
Expand All @@ -36,7 +36,7 @@ window.addEventListener( 'load', ()=>{
<div style="margin-top: 40px;"></div>
-->

<form id="loginform" style="max-width: 400px; margin: auto; padding: 40px;"></form>
<div id="logincontainer" style="max-width: 400px; margin: auto; padding: 40px;"></div>

<div id="footer" class="aton-footer">
<%- include('frags/footer'); %>
Expand Down

0 comments on commit 507fce7

Please sign in to comment.