From 7f3f80aa4adcc4a3d8f576e6256cc998e28bfdd0 Mon Sep 17 00:00:00 2001 From: benmanley Date: Tue, 15 Apr 2014 23:40:21 +0100 Subject: [PATCH] Replace bootstrap classes in submenus --- views/options/inventory/index.jade | 2 +- views/options/profile.jade | 2 +- views/options/settings.jade | 2 +- views/options/social/hall.jade | 2 +- views/options/social/index.jade | 10 ++-------- 5 files changed, 6 insertions(+), 12 deletions(-) diff --git a/views/options/inventory/index.jade b/views/options/inventory/index.jade index 1671d70eac..d75bc6f317 100644 --- a/views/options/inventory/index.jade +++ b/views/options/inventory/index.jade @@ -2,7 +2,7 @@ include ./inventory include ./stable script(type='text/ng-template', id='partials/options.inventory.html') - ul.nav.nav-tabs + ul.options-menu li(ng-class="{ active: $state.includes('options.inventory.drops') }") a(ui-sref='options.inventory.drops') =env.t('market') diff --git a/views/options/profile.jade b/views/options/profile.jade index 53c19263f4..c4d64f4d5e 100644 --- a/views/options/profile.jade +++ b/views/options/profile.jade @@ -221,7 +221,7 @@ script(id='partials/options.profile.profile.html', type='text/ng-template') include ../shared/formatting-help script(id='partials/options.profile.html', type="text/ng-template") - ul.nav.nav-tabs + ul.options-menu li(ng-class="{ active: $state.includes('options.profile.avatar') }") a(ui-sref='options.profile.avatar') =env.t('avatar') diff --git a/views/options/settings.jade b/views/options/settings.jade index 254cafccc2..ad3858aed8 100644 --- a/views/options/settings.jade +++ b/views/options/settings.jade @@ -1,5 +1,5 @@ script(id='partials/options.settings.html', type="text/ng-template") - ul.nav.nav-tabs + ul.options-menu li(ng-class="{ active: $state.includes('options.settings.settings') }") a(ui-sref='options.settings.settings') =env.t('settings') diff --git a/views/options/social/hall.jade b/views/options/social/hall.jade index 708a972da2..3b1076f4b2 100644 --- a/views/options/social/hall.jade +++ b/views/options/social/hall.jade @@ -1,5 +1,5 @@ script(type='text/ng-template', id='partials/options.social.hall.html') - ul.nav.nav-tabs + ul.options-submenu li(ng-class="{ active: $state.includes('options.social.hall.heroes') }") a(ui-sref='options.social.hall.heroes') =env.t('hallHeroes') diff --git a/views/options/social/index.jade b/views/options/social/index.jade index 8ae9705175..570fcce153 100644 --- a/views/options/social/index.jade +++ b/views/options/social/index.jade @@ -58,7 +58,7 @@ script(type='text/ng-template', id='partials/options.social.guilds.create.html') include ./create-group script(type='text/ng-template', id='partials/options.social.guilds.html') - ul.nav.nav-tabs + ul.options-submenu li(ng-class="{ active: $state.includes('options.social.guilds.public') }") a(ui-sref='options.social.guilds.public') =env.t('publicGuilds') @@ -74,11 +74,9 @@ script(type='text/ng-template', id='partials/options.social.guilds.html') div(ui-view) script(type='text/ng-template', id='partials/options.social.html') - ul.nav.nav-tabs + ul.options-menu li(ng-class="{ active: $state.includes('options.social.tavern') }") a(ui-sref='options.social.tavern') - span.glyphicon.glyphicon-eye-close - |   =env.t('tavern') li(ng-class="{ active: $state.includes('options.social.party') }") a(ui-sref='options.social.party') @@ -88,13 +86,9 @@ script(type='text/ng-template', id='partials/options.social.html') =env.t('guilds') li(ng-class="{ active: $state.includes('options.social.challenges') }") a(ui-sref='options.social.challenges') - span.glyphicon.glyphicon-bullhorn - |   =env.t('challenges') li(ng-class="{ active: $state.includes('options.social.hall') }") a(ui-sref='options.social.hall') - span.glyphicon.glyphicon-flag - |   =env.t('hall') .tab-content