added teams
This commit is contained in:
23
internal/view/teamsview/new_page.templ
Normal file
23
internal/view/teamsview/new_page.templ
Normal file
@@ -0,0 +1,23 @@
|
||||
package teamsview
|
||||
|
||||
import "git.haelnorr.com/h/oslstats/internal/view/baseview"
|
||||
|
||||
templ NewPage() {
|
||||
@baseview.Layout("New Team") {
|
||||
<div class="max-w-5xl mx-auto px-4 py-8">
|
||||
<div class="bg-mantle border border-surface1 rounded-xl">
|
||||
<div class="p-6 sm:p-8">
|
||||
<div class="text-center mb-8">
|
||||
<h1 class="text-3xl font-bold text-text">Create New Team</h1>
|
||||
<p class="mt-2 text-sm text-subtext0">
|
||||
Add a new team to the system. All fields except color are required.
|
||||
</p>
|
||||
</div>
|
||||
<div class="max-w-md mx-auto">
|
||||
@NewForm()
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user