Updated extra settings
This commit is contained in:
parent
694ec7c2c5
commit
c5d05726fe
@ -14,5 +14,5 @@ func Register(l *layout.Layout) {
|
|||||||
l.Page("/settings/notifications", settings.Get(components.SettingsNotifications))
|
l.Page("/settings/notifications", settings.Get(components.SettingsNotifications))
|
||||||
l.Page("/settings/apps", settings.Get(components.SettingsApps))
|
l.Page("/settings/apps", settings.Get(components.SettingsApps))
|
||||||
l.Page("/settings/formatting", settings.Get(components.SettingsFormatting))
|
l.Page("/settings/formatting", settings.Get(components.SettingsFormatting))
|
||||||
l.Page("/settings/pro", settings.Get(components.SettingsPro))
|
l.Page("/settings/extras", settings.Get(components.SettingsExtras))
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
component SettingsPro(user *arn.User)
|
component SettingsExtras(user *arn.User)
|
||||||
SettingsTabs
|
SettingsTabs
|
||||||
|
|
||||||
h1.page-title PRO settings
|
h1.page-title Extra settings
|
||||||
|
|
||||||
.settings
|
.settings
|
||||||
.widget.mountable(data-api="/api/settings/" + user.ID)
|
.widget.mountable(data-api="/api/settings/" + user.ID)
|
||||||
@ -24,3 +24,20 @@ component SettingsPro(user *arn.User)
|
|||||||
a.button(href="/support")
|
a.button(href="/support")
|
||||||
Icon("star")
|
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
|
@ -5,4 +5,4 @@ component SettingsTabs
|
|||||||
Tab("Notifications", "bell", "/settings/notifications")
|
Tab("Notifications", "bell", "/settings/notifications")
|
||||||
Tab("Apps", "puzzle-piece", "/settings/apps")
|
Tab("Apps", "puzzle-piece", "/settings/apps")
|
||||||
Tab("Formatting", "font", "/settings/formatting")
|
Tab("Formatting", "font", "/settings/formatting")
|
||||||
Tab("PRO", "star", "/settings/pro")
|
Tab("Extras", "star", "/settings/extras")
|
Loading…
Reference in New Issue
Block a user