-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
16c2cf7
commit 20ed25d
Showing
25 changed files
with
1,015 additions
and
88 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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<template name="addRouteDateTime"> | ||
|
||
<div class="container" id="routeForm"> | ||
|
||
{{#autoForm collection="Routes" id="addNewRouteForm2" type="insert"}} | ||
|
||
<div class="card checkBoxCard"> | ||
<!-- input start time--> | ||
{{> afQuickField name='startTime' id='startTime' icon = "query_builder" type="time" placeholder = "9:00 AM"}} | ||
</div> | ||
|
||
<div class="card checkBoxCard"> | ||
<!-- select days--> | ||
{{> afQuickField name="day" id='startDay' icon = "date_range" firstOption="Select day" type="select" options=dayOptions}} | ||
|
||
</div> | ||
|
||
{{/autoForm}} | ||
|
||
|
||
<button id="next" type="click" class="btn waves-effect">Next</button> | ||
|
||
</div> | ||
|
||
</template> |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<template name="addRouteTruckDriver"> | ||
|
||
|
||
{{#autoForm collection="Routes" id="addNewRouteForm" type="insert"}} | ||
|
||
{{> afFieldInput name="mapRoute" id='routeMap' value= get_completeRoute}} | ||
{{> afFieldInput name="active" value=false}} | ||
|
||
|
||
<div id="hiddenInputs"> | ||
{{> afQuickField name='startTime' type="hidden" value= get_startTime}} | ||
{{> afFieldInput name="day" type="hidden" value= get_startDay}} | ||
|
||
|
||
</div> | ||
<div class="card checkBoxCard" > | ||
<!-- select garbage types--> | ||
|
||
{{> afQuickField name='biodegradable' id='biodegradable' type="boolean-checkbox" }} | ||
{{> afQuickField name='nonBiodegradable' id='nonBiodegradable' type="boolean-checkbox" }} | ||
</div> | ||
|
||
<div class="card checkBoxCard" id="pop"> | ||
<div class="row"> | ||
<div class="col s6"> | ||
{{> afFieldInput name="driverNIC" id='driverNIC' options=driversNames type="select" firstOption="Select a driver"}} | ||
|
||
</div> | ||
<div class="col s6"> | ||
{{> afFieldInput name="TruckNO" id='truckNO' options=truckNo type="select" firstOption="Select a truck" }} | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
<button id="addRouteBack" type="submit" class="btn waves-effect">Back</button> | ||
<button id="addRoute" type="submit" class="btn waves-effect">Save</button> | ||
|
||
|
||
{{/autoForm}} | ||
</template> |
Oops, something went wrong.