diff --git a/app/templates/shared/macros/tabs.html b/app/templates/shared/macros/tabs.html index 0bcfbbed..a7ac3558 100644 --- a/app/templates/shared/macros/tabs.html +++ b/app/templates/shared/macros/tabs.html @@ -12,7 +12,7 @@ {% macro tabs_nav(tab_var='activeTab', class='') %}
-
diff --git a/app/templates/vendor/settings.html b/app/templates/vendor/settings.html index fd25d07f..d8b3fbd7 100644 --- a/app/templates/vendor/settings.html +++ b/app/templates/vendor/settings.html @@ -2,6 +2,7 @@ {% extends "vendor/base.html" %} {% from 'shared/macros/headers.html' import page_header_flex %} {% from 'shared/macros/alerts.html' import loading_state, error_state %} +{% from 'shared/macros/tabs.html' import tabs_nav, tab_button %} {% block title %}Settings{% endblock %} @@ -17,29 +18,22 @@ {{ error_state('Error loading settings') }} -
-
- -
-
- -
-
+
+ + {% call tabs_nav(tab_var='activeSection') %} + {{ tab_button('general', 'General', tab_var='activeSection', icon='cog') }} + {{ tab_button('business', 'Business', tab_var='activeSection', icon='office-building') }} + {{ tab_button('localization', 'Localization', tab_var='activeSection', icon='globe') }} + {{ tab_button('marketplace', 'Marketplace', tab_var='activeSection', icon='shopping-cart') }} + {{ tab_button('invoices', 'Invoices', tab_var='activeSection', icon='document-text') }} + {{ tab_button('branding', 'Branding', tab_var='activeSection', icon='color-swatch') }} + {{ tab_button('domains', 'Domains', tab_var='activeSection', icon='globe-alt') }} + {{ tab_button('api', 'API', tab_var='activeSection', icon='key') }} + {{ tab_button('notifications', 'Notifications', tab_var='activeSection', icon='bell') }} + {% endcall %} - -
+ +
@@ -1009,7 +1003,6 @@
-
{% endblock %}