panel layout

This commit is contained in:
realaravinth
2021-04-06 21:34:11 +05:30
parent 312d02a41d
commit 36e64e399e
18 changed files with 694 additions and 265 deletions

View File

@@ -3,6 +3,8 @@ import ROUTES from '../../api/v1/routes';
import isBlankString from '../../utils/genJsonPayload';
import genJsonPayload from '../../utils/genJsonPayload';
import '../forms.scss';
const login = e => {
e.preventDefault();
let username = document.getElementById('username').value;
@@ -23,4 +25,7 @@ const login = e => {
});
};
export default login;
export const index = () => {
let form = document.getElementById('form');
form.addEventListener('submit', login, true);
};