Updated extra settings

This commit is contained in:
Eduard Urbach 2018-10-31 19:54:25 +09:00
parent 694ec7c2c5
commit c5d05726fe
3 changed files with 22 additions and 5 deletions

View File

@ -14,5 +14,5 @@ func Register(l *layout.Layout) {
l.Page("/settings/notifications", settings.Get(components.SettingsNotifications))
l.Page("/settings/apps", settings.Get(components.SettingsApps))
l.Page("/settings/formatting", settings.Get(components.SettingsFormatting))
l.Page("/settings/pro", settings.Get(components.SettingsPro))
l.Page("/settings/extras", settings.Get(components.SettingsExtras))
}

View File

@ -1,7 +1,7 @@
component SettingsPro(user *arn.User)
component SettingsExtras(user *arn.User)
SettingsTabs
h1.page-title PRO settings
h1.page-title Extra settings
.settings
.widget.mountable(data-api="/api/settings/" + user.ID)
@ -23,4 +23,21 @@ component SettingsPro(user *arn.User)
label Would you like to make this website more awesome?
a.button(href="/support")
Icon("star")
span Go PRO
span Go PRO
.widget.mountable(data-api="/api/settings/" + user.ID)
h3.widget-title
Icon("code")
span Developer
.widget-section
label API:
a.button(href="/api")
Icon("code")
span API
.widget-section
label GitHub:
a.button(href="https://github.com/animenotifier/notify.moe")
Icon("github")
span GitHub

View File

@ -5,4 +5,4 @@ component SettingsTabs
Tab("Notifications", "bell", "/settings/notifications")
Tab("Apps", "puzzle-piece", "/settings/apps")
Tab("Formatting", "font", "/settings/formatting")
Tab("PRO", "star", "/settings/pro")
Tab("Extras", "star", "/settings/extras")