Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More fixes #8

Merged
merged 3 commits into from
Mar 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1 class="site-section__heading">Page Not Found</h1>
</div>
<footer class="win95-dialog__footer">
<a class="win95-dialog__button" href="{{ '/' | relative_url }}">OK</a>
<a class="win95-dialog__button" href="https://github.com/OpenRA/OpenRAWeb/issues">Report a Bug</a>
<a class="win95-dialog__button" href="https://github.com/OpenRA/OpenRAWebsiteV3/issues">Report a Bug</a>
</footer>
</div>
</div>
Expand Down
Binary file added images/appdata/cnc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/appdata/d2k.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/appdata/ingame-cnc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/appdata/ingame-d2k.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/appdata/ingame-ra.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/appdata/modchooser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/appdata/multiplayer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/appdata/ra.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions scripts/server-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,17 +242,17 @@ ServerBrowser.prototype.renderServerListing = function renderServerListing (serv
if (serverResult.spectators) {
$players.append('<span class="servers__listing__spectators">+'
+ serverResult.spectators
+ '<svg class="icon"><use xlink:href="./images/icons/icons.svg#icon-eye"></use></svg>'
+ '<svg class="icon"><use xlink:href="/images/icons/icons.svg#icon-eye"></use></svg>'
+ '</span>');
}

$serverListing.prop('data-id', serverResult.id);
$('.servers__listing__name', $serverListing).text(serverResult.name);
if (serverResult.protected) {
$('.servers__listing__name', $serverListing).prepend('<svg class="icon"><use xlink:href="./images/icons/icons.svg#icon-lock"></use></svg>');
$('.servers__listing__name', $serverListing).prepend('<svg class="icon"><use xlink:href="/images/icons/icons.svg#icon-lock"></use></svg>');
}
if (serverResult.authentication) {
$('.servers__listing__name', $serverListing).prepend('<svg class="icon"><use xlink:href="./images/icons/icons.svg#icon-account"></use></svg>');
$('.servers__listing__name', $serverListing).prepend('<svg class="icon"><use xlink:href="/images/icons/icons.svg#icon-account"></use></svg>');
}
$('.servers__listing__status', $serverListing).append($statusBadge);
$('.servers__listing__players', $serverListing).prepend($players);
Expand Down Expand Up @@ -329,7 +329,7 @@ ServerBrowser.prototype.renderServerListingTooltip = function renderServerListin
const $spectatorSubHead = $('<tr><th colspan="2">' +
'Spectators' +
'<svg class="servers__list__tooltip__clients__spectator icon">' +
'<use xlink:href="./images/icons/icons.svg#icon-eye"></use>' +
'<use xlink:href="/images/icons/icons.svg#icon-eye"></use>' +
'</svg>' +
'</th></tr>');
$clients.push($spectatorSubHead);
Expand Down