Skip to content

Commit

Permalink
Merge pull request #17 from tjmnmk/master
Browse files Browse the repository at this point in the history
Server List - temporary link to openspy instead defunct list from qtr…
  • Loading branch information
jkelin authored Jul 21, 2022
2 parents 4042039 + 697a391 commit e181ab1
Showing 1 changed file with 1 addition and 40 deletions.
41 changes: 1 addition & 40 deletions views/home.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -21,46 +21,7 @@
{{/each}}
{{/if}}

{{#if servers}}
<h2 id="servers">Online servers</h2>
<table class="table table-bordered servertable">
<thead>
<tr>
<th>Name</th>
<th class="hidden-xs">Address</th>
<th>Map</th>
<th>Players</th>
</tr>
</thead>
<tbody>
{{#each servers}}
<tr class="server-map-row">
<td><a href="/server/{{urlencode _id}}">{{name}}</a> {{> flag country=country}}</td>
<td class="hidden-xs">{{_id}}</td>
<td class="server-map-td">
<div class="server-map">
<span class="server-map-description">
[{{lastdata.gametype}}] {{mapName lastdata.mapname}}
</span>
{{#if lastdata.mapnamefull}}
<span class="server-map-thumbnail hidden-xs">
<a href="{{mapImage lastdata.mapnamefull "loadscreens-chopped" false}}" target="_blank">
<img width="91" height="44" src="{{mapImage lastdata.mapnamefull "loadscreens-chopped" true}}"
alt="{{lastdata.mapname}}">
</a>
</span>
{{/if}}
</div>
</td>
<td>{{lastdata.numplayers}}</td>
</tr>
{{/each}}
</tbody>
</table>
<div id="oldDiv"></div>
{{else}}
<a href="https://qtracker.com/server_list_details.php?game=tribesvengeance">No servers online :(</a>
{{/if}}
<a href="http://beta.openspy.net/en/server-list/tribesv">Server List - OpenSpy</a>

<h2 id="kills">Greatest killers</h2>
{{> playerstable data=playersKills}}
Expand Down

0 comments on commit e181ab1

Please sign in to comment.