Open-source multiplayer game server compatible with the RuneScape client
https://www.openrs2.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
2.8 KiB
70 lines
2.8 KiB
3 years ago
|
<!DOCTYPE html>
|
||
|
<html xmlns:th="http://www.thymeleaf.org" lang="en">
|
||
|
<head th:replace="layout.html :: head(title='Cache')">
|
||
|
<title>Cache - OpenRS2 Archive</title>
|
||
|
<link rel="stylesheet" href="/webjars/bootstrap/css/bootstrap.min.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<nav th:replace="layout.html :: nav"></nav>
|
||
|
<main class="container">
|
||
|
<h1>Cache</h1>
|
||
|
|
||
|
<!--/*@thymesVar id="cache" type="org.openrs2.archive.cache.CacheExporter.Cache"*/-->
|
||
|
<table class="table table-striped table-bordered table-hover">
|
||
|
<tr class="thead-dark">
|
||
|
<th>Game</th>
|
||
|
<td th:text="${cache.game}">runescape</td>
|
||
|
</tr>
|
||
|
<tr class="thead-dark">
|
||
|
<th>Build</th>
|
||
|
<td th:text="${cache.build}">550</td>
|
||
|
</tr>
|
||
|
<tr class="thead-dark">
|
||
|
<th>Timestamp</th>
|
||
|
<td th:text="${#temporals.format(cache.timestamp, 'yyyy-MM-dd HH:mm:ss')}"></td>
|
||
|
</tr>
|
||
|
<tr class="thead-dark">
|
||
|
<th>Name</th>
|
||
|
<td th:text="${cache.name}"></td>
|
||
|
</tr>
|
||
|
<tr class="thead-dark">
|
||
|
<th>Description</th>
|
||
|
<td th:text="${cache.description}"></td>
|
||
|
</tr>
|
||
|
<tr class="thead-dark">
|
||
|
<th>Indexes</th>
|
||
|
<td th:class="${cache.archiveStats}? (${cache.archiveStats.allIndexesValid}? 'table-success' : 'table-danger')"
|
||
|
th:text="${cache.archiveStats}? ${cache.archiveStats.validIndexes} + ' / ' + ${cache.archiveStats.indexes} + ' (' + ${#numbers.formatPercent(cache.archiveStats.validIndexesFraction, 1, 2)} + ')' : 'Calculating...'">
|
||
|
Calculating...
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="thead-dark">
|
||
|
<th>Groups</th>
|
||
|
<td th:class="${cache.groupStats}? (${cache.groupStats.allGroupsValid}? 'table-success' : 'table-warning')"
|
||
|
th:text="${cache.groupStats}? ${#numbers.formatInteger(cache.groupStats.validGroups, 1, 'COMMA')} + ' / ' + ${#numbers.formatInteger(cache.groupStats.groups, 1, 'COMMA')} + ' (' + ${#numbers.formatPercent(cache.groupStats.validGroupsFraction, 1, 2)} + ')' : 'Calculating...'">
|
||
|
Calculating...
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="thead-dark">
|
||
|
<th>Keys<sup><a href="/caches#empty-locs">1</a></sup></th>
|
||
|
<td th:class="${cache.groupStats}? (${cache.groupStats.allKeysValid}? 'table-success' : 'table-warning')"
|
||
|
th:text="${cache.groupStats}? ${#numbers.formatInteger(cache.groupStats.validKeys, 1, 'COMMA')} + ' / ' + ${#numbers.formatInteger(cache.groupStats.keys, 1, 'COMMA')} + ' (' + ${#numbers.formatPercent(cache.groupStats.validKeysFraction, 1, 2)} + ')' : 'Calculating...'">
|
||
|
Calculating...
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="thead-dark">
|
||
|
<th>Download</th>
|
||
|
<td>
|
||
|
<div class="btn-group">
|
||
|
<a th:href="${'/caches/' + cache.id + '.zip'}"
|
||
|
class="btn btn-primary btn-sm">Cache</a>
|
||
|
<a th:href="${'/caches/' + cache.id + '.json'}"
|
||
|
class="btn btn-primary btn-sm">Keys</a>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</main>
|
||
|
</body>
|
||
|
</html>
|