checkpoint
This commit is contained in:
parent
77e602bf16
commit
fdbb4b84c3
@ -170,7 +170,7 @@ impl Component for App {
|
|||||||
Msg::Login => {
|
Msg::Login => {
|
||||||
// For dev purposes, automatically log in
|
// For dev purposes, automatically log in
|
||||||
self.is_logged_in = true;
|
self.is_logged_in = true;
|
||||||
self.user_name = Some("John Doe".to_string());
|
self.user_name = Some("Timur Gordon".to_string());
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
Msg::Logout => {
|
Msg::Logout => {
|
||||||
|
@ -128,7 +128,7 @@ pub fn sidebar(props: &SidebarProps) -> Html {
|
|||||||
<i class="bi bi-person fs-5"></i>
|
<i class="bi bi-person fs-5"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-grow-1">
|
<div class="flex-grow-1">
|
||||||
<h6 class="mb-0">{"John Doe"}</h6>
|
<h6 class="mb-0">{"Timur Gordon"}</h6>
|
||||||
<small class={classes!(
|
<small class={classes!(
|
||||||
"font-monospace",
|
"font-monospace",
|
||||||
if is_active { "text-white-50" } else { "text-muted" }
|
if is_active { "text-white-50" } else { "text-muted" }
|
||||||
|
@ -310,7 +310,7 @@ pub fn administration_view(props: &AdministrationViewProps) -> Html {
|
|||||||
<i class="bi bi-person text-white"></i>
|
<i class="bi bi-person text-white"></i>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="fw-bold">{"John Doe"}</div>
|
<div class="fw-bold">{"Timur Gordon"}</div>
|
||||||
<small class="text-muted">{"Founder & CEO"}</small>
|
<small class="text-muted">{"Founder & CEO"}</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -727,7 +727,7 @@ pub fn administration_view(props: &AdministrationViewProps) -> Html {
|
|||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label class="form-label">{"Cardholder Name"}</label>
|
<label class="form-label">{"Cardholder Name"}</label>
|
||||||
<input type="text" class="form-control" placeholder="John Doe" />
|
<input type="text" class="form-control" placeholder="Timur Gordon" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -284,7 +284,7 @@ pub fn person_administration_view(props: &PersonAdministrationViewProps) -> Html
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6 mb-3">
|
<div class="col-md-6 mb-3">
|
||||||
<label class="form-label">{"Full Name"}</label>
|
<label class="form-label">{"Full Name"}</label>
|
||||||
<input type="text" class="form-control" value="John Doe" />
|
<input type="text" class="form-control" value="Timur Gordon" />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6 mb-3">
|
<div class="col-md-6 mb-3">
|
||||||
<label class="form-label">{"Email Address"}</label>
|
<label class="form-label">{"Email Address"}</label>
|
||||||
@ -709,7 +709,7 @@ pub fn person_administration_view(props: &PersonAdministrationViewProps) -> Html
|
|||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label class="form-label">{"Cardholder Name"}</label>
|
<label class="form-label">{"Cardholder Name"}</label>
|
||||||
<input type="text" class="form-control" placeholder="John Doe" />
|
<input type="text" class="form-control" placeholder="Timur Gordon" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -31,7 +31,7 @@ pub fn residence_view(props: &ResidenceViewProps) -> Html {
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="fw-bold">{"Full Name:"}</td>
|
<td class="fw-bold">{"Full Name:"}</td>
|
||||||
<td>{"John Doe"}</td>
|
<td>{"Timur Gordon"}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="fw-bold">{"Residence ID:"}</td>
|
<td class="fw-bold">{"Residence ID:"}</td>
|
||||||
@ -101,7 +101,7 @@ pub fn residence_view(props: &ResidenceViewProps) -> Html {
|
|||||||
<div class="flex-grow-1">
|
<div class="flex-grow-1">
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<small class="text-white-50 text-uppercase" style="font-size: 0.65rem;">{"Resident Name"}</small>
|
<small class="text-white-50 text-uppercase" style="font-size: 0.65rem;">{"Resident Name"}</small>
|
||||||
<div class="fw-bold">{"John Doe"}</div>
|
<div class="fw-bold">{"Timur Gordon"}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
|
Loading…
Reference in New Issue
Block a user