diff --git a/notes.txt b/notes.txt index baa9216..8f075b9 100755 --- a/notes.txt +++ b/notes.txt @@ -54,3 +54,18 @@ ------- Much of this is defunct. Only the database updates are relevant currently. + + + +Check the following pages for layout: + + "/register": { + "/register/auth": { + "/login/auth": { + "/lostpwd/tok": { + "/setpwd": { + "/setpwd/auth": { + "/logout": { + "/login/tok": { + "/login/subtok": { + "/mainpage": { diff --git a/src/bu-command-nav.json b/src/bu-command-nav.json index 5842f9f..f50698b 100644 --- a/src/bu-command-nav.json +++ b/src/bu-command-nav.json @@ -12,11 +12,29 @@ "Handlers":{ "Johnpearcey\\Amara\\Router\\RqHandlerCls_login" : { - "properties":{ - "lost_pwd":"/lostpwd" - }, "style":[ "/css/login.css" ], - "page_builder" : "login_page" + "page_builder" : { + "name" : "login_page", + "data" : { + "login_form" : { + "btn_submit_value" : "Login", + "css_class_frm" : "frm2col frm_login" + } + } + } + }, + + "Johnpearcey\\Amara\\Router\\RqHandlerCls_register" : { + "style":[ "/css/login.css" ], + "page_builder" : { + "name" : "register_page", + "data" : { + "register_form" : { + "btn_submit_value" : "Sign Up", + "css_class_frm" : "frm2col frm_register" + } + } + } }, "Johnpearcey\\Amara\\Router\\RqHandlerCls_lostpwd" : { @@ -25,7 +43,8 @@ "name" : "reset_pwd", "data" : { "rst_pwd_form" : { - "btn_submit_value" : "Reset" + "btn_submit_value" : "Reset", + "css_class_frm" : "frm2col frm_lostpwd" } } } diff --git a/src/css/login.css b/src/css/login.css index a5549bf..38e9dc9 100644 --- a/src/css/login.css +++ b/src/css/login.css @@ -7,7 +7,7 @@ padding-left: 20px; } -.admin_layout.frm_login { +.admin_layout.frm2col { grid-template-columns: 30% 1fr; grid-template-rows: 25px 25px 1fr; @@ -21,7 +21,7 @@ margin-right: 15px; } -.admin_layout input[type=submit] { +.admin_layout.frm2col.frm_login input[type=submit] { grid-column: 2; grid-row: 3; justify-self: start; @@ -29,6 +29,23 @@ min-width: 80px } +.admin_layout.frm2col.frm_register input[type=submit] { + grid-column: 2; + grid-row: 4; + justify-self: start; + padding: 3px; + min-width: 80px +} + +.admin_layout.frm2col.frm_lostpwd input[type=submit] { + grid-column: 2; + grid-row: 2; + justify-self: start; + padding: 3px; + min-width: 80px +} + + .admin_layout input[type=text], .admin_layout input[type=password] { max-width: 300px; } diff --git a/src/templates/form_o.tp b/src/templates/form_o.tp index aa413aa..eecd4aa 100644 --- a/src/templates/form_o.tp +++ b/src/templates/form_o.tp @@ -1 +1 @@ -"