URLs include address, automatically connected to if password is present

This commit is contained in:
Garry Newman
2016-03-03 12:53:56 +00:00
parent 5fa14a3247
commit e4452d48ab
7 changed files with 85 additions and 62 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
Info about player {{userid}}
<p>View <a href="#/player/{{userid}}/xp">XP info for this player</a></p>
<p>View <a href="#/{{address}}/player/{{userid}}/xp">XP info for this player</a></p>
Show info about this player here
</div>
+1 -1
View File
@@ -3,7 +3,7 @@
<md-content flex layout-padding>
<h2>Statistics for player <a href="#/player/{{userid}}/">{{userid}}</a></h2>
<h2>Statistics for player <a href="#/{{address}}/player/{{userid}}/">{{userid}}</a></h2>
<div layout="row" layout-sm="column">
+3 -3
View File
@@ -1,10 +1,10 @@
<div ng-controller="PlayerListController" flex layout="column" id="PlayerListController">
<md-content flex id="vertical-container">
<md-list>
<md-list-item class="" ng-repeat="line in Players | filter : FilterText" href="#/player/{{line.SteamID}}/">
<md-list-item class="" ng-repeat="line in Players | filter : FilterText" href="#/{{address}}/player/{{line.SteamID}}/">
<div flex layout="row">
<div flex class="md-list-item-text">
<h3><a href="#/player/{{line.SteamID}}/">{{line.DisplayName}}</a></h3>
<h3><a href="#/{{address}}/player/{{line.SteamID}}/">{{line.DisplayName}}</a></h3>
</div>
</div>
@@ -21,7 +21,7 @@
</div>
<div flex="10"style="text-align: right">
XP: <a href="#/player/{{line.SteamID}}/xp">{{line.UnspentXp}}</a>
XP: <a href="#/{{address}}/player/{{line.SteamID}}/xp">{{line.UnspentXp}}</a>
</div>
<div flex="20"style="text-align: right">