This repository has been archived by the owner on Sep 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code rework and new design Refs #43
- Loading branch information
Showing
61 changed files
with
9,001 additions
and
2,218 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
<div class="background"></div> | ||
|
||
<div class="lobby"> | ||
<div class="left"> | ||
<div class="settings"><partial name="lobby-settings"></partial></div> | ||
<div class="chat"><partial name="lobby-chat"></partial></div> | ||
<div class="lobby-header"> | ||
<div class="lobby-name"> | ||
{{ lobby.name }} | ||
</div> | ||
<div class="lobby-gamemode"> | ||
{{ lobby.gamemodeName }} <i class="diamond">♦</i> Map name <i class="diamond">♦</i> 5v5 <i class="diamond">♦</i> Blind pick | ||
</div> | ||
<div class="divider"></div> | ||
</div> | ||
|
||
<div class="right"><partial name="lobby-player-list"></partial></div> | ||
<partial name="lobby-player-list"></partial> | ||
|
||
<div class="lobby-footer"> | ||
<partial name="lobby-chat"></partial> | ||
<button class="btn" @click="startChampionSelect()">Start</button> | ||
<button class="btn" @click="leave()">Leave</button> | ||
<button v-if="isHost" class="btn" @click="openLobbySettings()">Settings</button> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
<div class="messages" id="chat-container"> | ||
<div class="message-group" v-for="group in messages"> | ||
<span class="timestamp">{{ group.timestamp | formatTime }}</span> | ||
<span class="sender">{{ group.sender }}</span> | ||
<div class="messages"> | ||
<span v-for="message in group.messages" track-by="$index">{{ message }}</span> | ||
</div> | ||
<div class="lobby-chat"> | ||
<div class="chat-box" id="chat-container"> | ||
<span class="message-group" v-for="group in messages"> | ||
<span class="message-info">{{ group.timestamp | formatTime }} {{ group.sender }}:</span> | ||
<div class="messages"> | ||
<div v-for="message in group.messages" track-by="$index">{{ message }}</div> | ||
</div> | ||
</span> | ||
</div> | ||
</div> | ||
|
||
<div class="input"> | ||
<input v-model="message" class="send-message" placeholder="Your message..." @keyup.enter="sendChat"> | ||
<div class="input"> | ||
<input v-model="message" class="send-message" placeholder="Your message..." @keyup.enter="sendChat"> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
<div class="team" v-for="team in lobby.teams"> | ||
<span class="team-name">{{ team.name }}</span> | ||
|
||
<div v-for="player in playersInTeam(team)" | ||
v-background-src="getOrNone(player.champion ? player.champion.skins[player.skinIndex].splashCutoutURL : undefined)" | ||
overlay-color="to left; transparent; black"> | ||
<span>{{ player.name }}</span> | ||
<img :src="player.spellOne.icon"> | ||
<img :src="player.spellTwo.icon"> | ||
<div class="lobby-playerList"> | ||
<div class="row"> | ||
<div class="team col s6" v-for="team in lobby.teams"> | ||
<div class="team-name">{{ team.name }}</div> | ||
|
||
<div v-for="player in playersInTeam(team)" class="lobby-player-item"> | ||
<div class="valign-wrapper"> | ||
<img :src="iconByUser(player)" class="icon"> | ||
<span class="valign lobby-player">{{ player.username }} {{ player.id }} {{ player.idServer }} {{ player.isHost }}</span> | ||
</div> | ||
<div class="divider"></div> | ||
</div> | ||
|
||
<button class="btn" @click="joinTeam(team)"> | ||
Join | ||
</button> | ||
</div> | ||
</div> | ||
|
||
<div class="join-button" @click="joinTeam(team)"> | ||
<span>JOIN</span> | ||
</div> | ||
</div> | ||
<div class="start-button" @click="startGame()"> | ||
<span>START</span> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.