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