diff --git a/static/js/index.js b/static/js/index.js index c3accfdc..a144a854 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -2611,10 +2611,10 @@ function getPokemonPopupContent (pokemon) { content += '
' + // START 1ST ROW - '
' + + '
' + '
' + pokemonName + ' ' + getGenderIcon(pokemon.gender) + '
' + '
' + - '
' + + '
' + '
'; if (!(pokemon.display_pokemon_id > 0) && pokemon.weather !== 0 && pokemon.weather !== null) { content += ``; @@ -2625,7 +2625,7 @@ function getPokemonPopupContent (pokemon) { '
' + // END 1ST ROW '
' + // START 2ND ROW - '
' + + '
' + '
' + `` + '
' + // END POKEMON ROW @@ -2647,7 +2647,7 @@ function getPokemonPopupContent (pokemon) { content += '
' + // END TYPE ROW '
' + // END COLUMN - '
'; + '
'; if (hasIV) { const ivPercent = Math.round((pokemon.atk_iv + pokemon.def_iv + pokemon.sta_iv) / 45 * 1000) / 10; content += 'IV: ' + ivPercent + '% (A' + pokemon.atk_iv + '|D' + pokemon.def_iv + '|S' + pokemon.sta_iv + ')
'; @@ -3027,10 +3027,10 @@ function getGymPopupContent (gym) { let content = '
' + // START 1ST ROW - '
' + + '
' + `${gymName}` + '
' + - '
' + + '
' + '
' + `` + '
' + @@ -3055,7 +3055,7 @@ function getGymPopupContent (gym) { const pokemonIcon = getPokemonIcon(gym.raid_pokemon_id, gym.raid_pokemon_form, gym.raid_pokemon_evolution, gym.raid_pokemon_gender, gym.raid_pokemon_costume); content += '
' + // START 1ST ROW - '
' + // START 1ST COL + '
' + // START 1ST COL '
'; if (hasRaidBoss && isRaidBattle) { content += ``; @@ -3084,7 +3084,7 @@ function getGymPopupContent (gym) { content += '
' + // END TYPE ROW '
' + // END 1ST COLUMN - '
' + // START 2ND COL + '
' + // START 2ND COL '' + pokemonName + '
'; if (hasRaidBoss && isRaidBattle) { if (gym.raid_pokemon_evolution) { @@ -3140,14 +3140,14 @@ function getGymPopupContent (gym) { : ''; let url = gym.url.replace('http://', 'https://'); content += - '
' + // START 1ST COL + '
' + // START 1ST COL // '' + `` + '
'; // END 1ST COL } content += // '
' + //START 2ND COL - '
' + // START 2ND COL + '
' + // START 2ND COL 'Team: ' + getTeamName(gym.team_id) + '
' + 'Slots Available: ' + (gym.availble_slots === 0 ? 'Full' : gym.availble_slots === 6 ? 'Empty' : gym.availble_slots) + '
'; if (gym.guarding_pokemon_id !== null) {