start register and login page
This commit is contained in:
1 parent
19bb16c450
commit
1ee9de601c
55 files changed
+38561
-11
No files matched your search
@@ -0,0 +1,33 @@
|
||||
package render
|
||||
|
||||
func NewWarningBox(message string) string {
|
||||
return `
|
||||
<div class="alert alert-warning alert-dismissible fade show" role="alert">
|
||||
` + message + `
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>`
|
||||
}
|
||||
|
||||
func NewErrorBox(message string) string {
|
||||
return `
|
||||
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
||||
` + message + `
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
func NewSuccessBox(message string) string {
|
||||
return `
|
||||
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
||||
` + message + `
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
Reference in new issue
Block a user