mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
Website: add class identifiers to website forms. (#11234)
Changes: - Added custom classes to the sandbox and license dispenser login forms - Added a custom class to the license dispenser update profile form cc: @DrewBakerfdm
This commit is contained in:
parent
73ff1ffdf5
commit
e6e3a51927
2
website/views/pages/customers/dashboard.ejs
vendored
2
website/views/pages/customers/dashboard.ejs
vendored
@ -131,7 +131,7 @@
|
||||
<div class="modal-header">
|
||||
<h3 class="modal-title text-left">Edit your details?</h3>
|
||||
</div>
|
||||
<ajax-form action="updateProfile" :syncing.sync="syncing" :cloud-error.sync="cloudError" :form-data="formData" :form-rules="formRules" :form-errors.sync="formErrors" @submitted="submittedUpdateProfileForm()">
|
||||
<ajax-form action="updateProfile" class="customers-update-profile" :syncing.sync="syncing" :cloud-error.sync="cloudError" :form-data="formData" :form-rules="formRules" :form-errors.sync="formErrors" @submitted="submittedUpdateProfileForm()">
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<label for="organization">Organization</label>
|
||||
|
2
website/views/pages/entrance/login.ejs
vendored
2
website/views/pages/entrance/login.ejs
vendored
@ -11,7 +11,7 @@
|
||||
<div purpose="customer-portal-form" class="d-flex flex-row justify-content-between">
|
||||
<div class="order-first flex-grow-1">
|
||||
<div class="card card-body">
|
||||
<ajax-form action="login" :syncing.sync="syncing" :cloud-error.sync="cloudError" :form-data="formData" :form-rules="formRules" :form-errors.sync="formErrors" @submitted="submittedForm()">
|
||||
<ajax-form class="customers-login" action="login" :syncing.sync="syncing" :cloud-error.sync="cloudError" :form-data="formData" :form-rules="formRules" :form-errors.sync="formErrors" @submitted="submittedForm()">
|
||||
<div class="form-group">
|
||||
<label for="email">Email</label>
|
||||
<span style="float: right" class="text-right small" v-if="showCustomerLogin"><a href="/customers/register">Create an account</a></span>
|
||||
|
@ -9,7 +9,7 @@
|
||||
The fastest way to test Fleet. Get up and running in minutes. Ready for production deployments? <a href="https://fleetdm.com/docs/deploying">Learn how to deploy Fleet</a>.
|
||||
</p>
|
||||
<div class="pt-3">
|
||||
<ajax-form action="login" :syncing.sync="syncing" :cloud-error.sync="cloudError" :form-errors.sync="formErrors" :form-data="formData" :form-rules="formRules" @submitted="submittedLoginForm()" >
|
||||
<ajax-form action="login" class="sandbox-login" :syncing.sync="syncing" :cloud-error.sync="cloudError" :form-errors.sync="formErrors" :form-data="formData" :form-rules="formRules" @submitted="submittedLoginForm()" >
|
||||
<div class="form-group mb-3">
|
||||
<input id="emailAddress" type="text" class="form-control d-flex w-100" :class="[formErrors.emailAddress ? 'is-invalid' : '']" v-model.trim="formData.emailAddress" placeholder="Email">
|
||||
<div class="invalid-feedback mt-2">This doesn’t appear to be a valid email address</div>
|
||||
|
Loading…
Reference in New Issue
Block a user