Skip to content

Commit 7e1e12e

Browse files
committed
level elo imgs updated
1 parent 62e31ec commit 7e1e12e

7 files changed

Lines changed: 10 additions & 7 deletions

File tree

Zero-K.info/Styles/userpage.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,17 @@
5555
}
5656

5757
.progress_wrapper{
58-
margin: 0px 120px 0px 120px ;
58+
margin: 0px 150px 0px 150px ;
5959
position:relative;
6060
}
6161
.progress_wrapper_left{
62-
width: 120px;
62+
width: 150px;
6363
float: left;
6464
}
6565
.progress_wrapper_right{
66-
width: 120px;
66+
width: 150px;
6767
float: right;
68+
text-align: right;
6869

6970
}
7071
.user_buttons{
@@ -84,7 +85,7 @@
8485
margin-left: auto;
8586
margin-right: auto;
8687
margin-top: 5px;
87-
background-image: url("/img/ranks/level-elo/velvetbacking.jpg");
88+
#background-image: url("/img/ranks/level-elo/velvetbacking.jpg");
8889
background-size: 100% 100%;
8990
width: 94px;
9091
height: 180px;

Zero-K.info/Views/Shared/UserDetail.cshtml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
@{
2222
var backgroundImages = new string[] { "infrared", "brown", "red", "orange", "yellow", "blue", "neutron", "black" };
23+
var rankNames = new string[] { "Nebulous", "Brown Dwarf", "Red Dwarf", "Subgiant", "Giant", "Supergiant", "Neutron Star", "Singularity", "Space Lobster" };
2324

2425
<link href="/Styles/userpage.css" rel="stylesheet">
2526

@@ -134,7 +135,7 @@
134135
int bars = 0;
135136
<div id="badge">
136137
<div id="levelrank" title="This is a graphical representation of your level. Play more games to gain more rank!">
137-
<div id="velvet"><img src="../../img/ranks/level-elo/velvetbacking.jpg" width="100%" height="100%" /></div>
138+
<!--<div id="velvet"><img src="../../img/ranks/level-elo/velvetbacking.jpg" width="100%" height="100%" /></div>-->
138139
<div id="badge-center">
139140
@if (Model.Level > 125)
140141
{
@@ -197,7 +198,7 @@
197198
<div title='Your XP: @Model.Xp (next level at: @(Account.GetXpForLevel(Model.Level + 1))) <br /> Your levelprogress: @((int)(ratio*100))% <br /> Points for unlocks on next level: @(Account.GetXpForLevel(Model.Level + 1) - Account.GetXpForLevel(Model.Level))'>
198199

199200
<div class="progress_wrapper_left">
200-
<div class="progress_text"> Rank X </div>
201+
<div class="progress_text"> @rankNames[Model.Rank] </div>
201202
<div class="progress_begin"></div>
202203
</div>
203204
<div class="progress_wrapper">
@@ -206,7 +207,7 @@
206207
</div>
207208
<div class="progress_wrapper_right">
208209
<div class="progress_end"></div>
209-
<div class="progress_text"> Rank Y </div>
210+
<div class="progress_text"> @rankNames[Model.Rank + 1] </div>
210211
</div>
211212
</div>
212213
<br class="clearfloat" />

Zero-K.info/asp.net.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@
309309
<Content Include="Img\artifact_4.png" />
310310
<Content Include="Img\artifact_5.png" />
311311
<Content Include="Img\artifact_empty.png" />
312+
<Content Include="Img\avatarbg.png" />
312313
<Content Include="Img\badges\dev_adv.png" />
313314
<Content Include="Img\badges\dev_content.png" />
314315
<Content Include="Img\badges\dev_game.png" />
897 Bytes
Loading
1023 Bytes
Loading
2.43 KB
Loading
-2.3 KB
Loading

0 commit comments

Comments
 (0)