modifications to fix basic tests, many still need implementing
This commit is contained in:
parent
085f226cfe
commit
75eb9aa316
15 changed files with 234 additions and 216 deletions
lib/shift73k_web
|
@ -1,10 +1,8 @@
|
|||
<div class="row justify-content-center">
|
||||
<div class="col-11 col-sm-8 col-md-6 col-lg-5 col-xl-4 col-xxl-3">
|
||||
|
||||
<h2>
|
||||
<%= icon_div @socket, "bi-person-plus", [class: "icon baseline"] %>
|
||||
Register
|
||||
</h2>
|
||||
<h2><%= icon_div @socket, "bi-person-plus", [class: "icon baseline"] %>
|
||||
Register</h2>
|
||||
<p class="lead">Create an account to manage your work shifts with us.</p>
|
||||
|
||||
<%= form_for @changeset, "#", [phx_change: :validate, phx_submit: :save, novalidate: true, id: "reg_form"], fn f -> %>
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
<div class="row justify-content-center">
|
||||
<div class="col-11">
|
||||
|
||||
<h2 class="mb-3">
|
||||
<%= icon_div @socket, "bi-sliders", [class: "icon baseline"] %>
|
||||
User Settings
|
||||
</h2>
|
||||
<h2 class="mb-3"><%= icon_div @socket, "bi-sliders", [class: "icon baseline"] %>
|
||||
User Settings</h2>
|
||||
|
||||
<div class="row justify-content-center justify-content-md-start">
|
||||
<%= live_component @socket, Shift73kWeb.UserLive.Settings.Email, id: "email-#{@current_user.id}", current_user: @current_user %>
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
<div class="row justify-content-center">
|
||||
<div class="col-11 col-sm-8 col-md-6 col-lg-5 col-xl-4 col-xxl-3">
|
||||
|
||||
<h2>
|
||||
<%= icon_div @conn, "bi-door-open", [class: "icon baseline"] %>
|
||||
Log in
|
||||
</h2>
|
||||
<h2><%= icon_div @conn, "bi-door-open", [class: "icon baseline"] %>
|
||||
Log in</h2>
|
||||
<p class="lead">Who goes there?</p>
|
||||
|
||||
<%= form_for @conn, Routes.user_session_path(@conn, :create), [as: :user, class: "needs-validation", novalidate: true], fn f -> %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue