9075798128
Tweaked some bits to make them more 32-bit friendly for GopherJS, but this might not be necessary now. Added notice.html Added an alerts package to fix the import cycles, more things may be moved here soon. Saved a few lines of accumulator code in a few stores. Moved the AccountEditCriticalSubmit, AccountEditAvatar, AccountEditAvatarSubmit, AccountEditUsername, and AccountEditUsernameSubmit routes into the routes package. Added a QueryRow method to AccSelectBuilder. Tweaked the indentation in the generated templates. Simplified the template render in the AccountEditUsernameSubmit route into a redirect back to the previous page. Run the update script / patcher to replace the route names in the viewchunks table.
11 lines
207 B
Go
11 lines
207 B
Go
package alerts
|
|
|
|
// TODO: Move the other alert related stuff to package alerts, maybe move notification logic here too?
|
|
|
|
type AlertItem struct {
|
|
ASID int
|
|
Path string
|
|
Message string
|
|
Avatar string
|
|
}
|