CHANGE: finalized user auth + added booking edit view
This commit is contained in:
14
Backend/templates/timeDashboard.templ
Normal file
14
Backend/templates/timeDashboard.templ
Normal file
@@ -0,0 +1,14 @@
|
||||
package templates
|
||||
|
||||
import "arbeitszeitmessung/models"
|
||||
|
||||
templ TimeDashboard(workDays []models.WorkDay){
|
||||
@Style()
|
||||
<div class="grid grid-cols-6 md:grid-cols-5 items-strech md:mx-[10%] divide-y-1 divide-neutral-400" >
|
||||
@inputForm()
|
||||
for _, bookingGroup := range workDays {
|
||||
@dayComponent(bookingGroup)
|
||||
}
|
||||
</div>
|
||||
@LegendComponent()
|
||||
}
|
||||
Reference in New Issue
Block a user