-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from fleetbase/dev-v0.4.27
v0.4.27
- Loading branch information
Showing
15 changed files
with
302 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,50 @@ | ||
<div class="p-4"> | ||
<ContentPanel @title={{t "fleet-ops.common.details"}} @open={{true}} @pad={{true}} @panelBodyClass="bg-white dark:bg-gray-900"> | ||
<div class="grid grid-cols-2 gap-2 text-xs md:mb-6 dark:text-gray-100"> | ||
<div class="field-info-container md:col-span-3"> | ||
<div class="field-name">{{t "fleet-ops.common.name"}}</div> | ||
<div class="field-value">{{n-a @driver.name}}</div> | ||
</div> | ||
<div class="field-info-container"> | ||
<div class="field-name">{{t "fleet-ops.common.id"}}</div> | ||
<ClickToCopy @value={{@driver.public_id}} class="field-value">{{n-a @driver.public_id}}</ClickToCopy> | ||
</div> | ||
<div class="field-info-container"> | ||
<div class="field-name">{{t "fleet-ops.common.internal-id"}}</div> | ||
<div class="field-value">{{n-a @driver.internal_id}}</div> | ||
</div> | ||
<div class="field-info-container md:col-span-3"> | ||
<div class="field-name">{{t "fleet-ops.common.driver-license"}}</div> | ||
<div class="field-value">{{n-a @driver.drivers_license_number}}</div> | ||
</div> | ||
<div class="field-info-container md:col-span-3"> | ||
<div class="field-name">{{t "fleet-ops.common.email"}}</div> | ||
<ClickToCopy @value={{@driver.email}} class="field-value">{{n-a @driver.email}}</ClickToCopy> | ||
</div> | ||
<div class="field-info-container md:col-span-3"> | ||
<div class="field-name">{{t "fleet-ops.common.phone"}}</div> | ||
<ClickToCopy @value={{@driver.phone}} class="field-value">{{n-a @driver.phone}}</ClickToCopy> | ||
</div> | ||
<div class="field-info-container"> | ||
<div class="field-name">{{t "fleet-ops.common.city"}}</div> | ||
<div class="field-value">{{n-a @driver.city}}</div> | ||
</div> | ||
<div class="field-info-container"> | ||
<div class="field-name">{{t "fleet-ops.common.country"}}</div> | ||
<div class="field-value"> | ||
<CountryName @country={{@driver.country}} /> | ||
<div class="flex-1 space-y-4"> | ||
<ContentPanel @title={{t "fleet-ops.component.driver-panel.user-account"}} @open={{true}} @pad={{true}} @panelBodyClass="bg-white dark:bg-gray-900"> | ||
<div class="grid grid-cols-2 gap-2 text-xs dark:text-gray-100"> | ||
<div class="field-info-container md:col-span-3"> | ||
<div class="field-name">{{t "fleet-ops.common.name"}}</div> | ||
<div class="field-value">{{n-a @driver.name}}</div> | ||
</div> | ||
<div class="field-info-container"> | ||
<div class="field-name">{{t "fleet-ops.common.email"}}</div> | ||
<ClickToCopy @value={{@driver.email}} class="field-value">{{n-a @driver.email}}</ClickToCopy> | ||
</div> | ||
<div class="field-info-container"> | ||
<div class="field-name">{{t "fleet-ops.common.phone"}}</div> | ||
<ClickToCopy @value={{@driver.phone}} class="field-value">{{n-a @driver.phone}}</ClickToCopy> | ||
</div> | ||
</div> | ||
<div class="field-info-container md:col-span-3"> | ||
<div class="field-name">{{t "fleet-ops.common.coordinates"}}</div> | ||
<div class="field-value">{{point-coordinates @driver.location}}</div> | ||
</ContentPanel> | ||
<ContentPanel @title={{t "fleet-ops.component.driver-panel.driver-details"}} @open={{true}} @pad={{true}} @panelBodyClass="bg-white dark:bg-gray-900"> | ||
<div class="grid grid-cols-2 gap-2 text-xs dark:text-gray-100"> | ||
<div class="field-info-container"> | ||
<div class="field-name">{{t "fleet-ops.common.id"}}</div> | ||
<ClickToCopy @value={{@driver.public_id}} class="field-value">{{n-a @driver.public_id}}</ClickToCopy> | ||
</div> | ||
<div class="field-info-container"> | ||
<div class="field-name">{{t "fleet-ops.common.internal-id"}}</div> | ||
<div class="field-value">{{n-a @driver.internal_id}}</div> | ||
</div> | ||
<div class="field-info-container"> | ||
<div class="field-name">{{t "fleet-ops.common.driver-license"}}</div> | ||
<div class="field-value">{{n-a @driver.drivers_license_number}}</div> | ||
</div> | ||
<div class="field-info-container"> | ||
<div class="field-name">{{t "fleet-ops.common.city"}}</div> | ||
<div class="field-value">{{n-a @driver.city}}</div> | ||
</div> | ||
<div class="field-info-container"> | ||
<div class="field-name">{{t "fleet-ops.common.country"}}</div> | ||
<div class="field-value"> | ||
<CountryName @country={{@driver.country}} /> | ||
</div> | ||
</div> | ||
<div class="field-info-container md:col-span-3"> | ||
<div class="field-name">{{t "fleet-ops.common.coordinates"}}</div> | ||
<div class="field-value">{{point-coordinates @driver.location}}</div> | ||
</div> | ||
</div> | ||
</div> | ||
</ContentPanel> | ||
</ContentPanel> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.