v0.5.86: place matches summary below the pager.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -51,7 +51,7 @@ from shared.paths import (
|
||||
|
||||
from serve_relations import WEB_DIR, build_payload
|
||||
|
||||
SITE_VERSION = "0.5.85"
|
||||
SITE_VERSION = "0.5.86"
|
||||
DEFAULT_OSS_BASE = "https://climperor.oss-cn-shanghai.aliyuncs.com"
|
||||
|
||||
|
||||
|
||||
+3
-3
@@ -3864,15 +3864,15 @@ function renderMatchesPage() {
|
||||
function buildMatchesFoot(summaryText, page, pageCount, onGo) {
|
||||
const foot = document.createElement("div");
|
||||
foot.className = "matches-foot";
|
||||
if (pageCount > 1) {
|
||||
foot.appendChild(buildMatchesPager(page, pageCount, onGo));
|
||||
}
|
||||
if (summaryText) {
|
||||
const summary = document.createElement("p");
|
||||
summary.className = "matches-foot-summary";
|
||||
summary.textContent = summaryText;
|
||||
foot.appendChild(summary);
|
||||
}
|
||||
if (pageCount > 1) {
|
||||
foot.appendChild(buildMatchesPager(page, pageCount, onGo));
|
||||
}
|
||||
return foot;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Local defaults; production export overwrites via export_relations_site.py. */
|
||||
var SITE_VERSION = "0.5.85";
|
||||
var SITE_VERSION = "0.5.86";
|
||||
var ABILITY_VIDEO_BASE = "";
|
||||
var STATIC_ASSET_BASE = "";
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>DOTA2 上分帝</title>
|
||||
<link rel="icon" href="/ui-icon/dota2_logo.png" type="image/png" />
|
||||
<link rel="stylesheet" href="/style.css?v=0.5.85" />
|
||||
<script src="/mobile-gate.js?v=0.5.85"></script>
|
||||
<link rel="stylesheet" href="/style.css?v=0.5.86" />
|
||||
<script src="/mobile-gate.js?v=0.5.86"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="mobile-gate" class="mobile-gate" role="dialog" aria-labelledby="mobile-gate-title" aria-modal="true">
|
||||
@@ -165,8 +165,8 @@
|
||||
|
||||
<section class="detail" id="detail" aria-live="polite"></section>
|
||||
|
||||
<script src="/config.js?v=0.5.85"></script>
|
||||
<script src="/router.js?v=0.5.85"></script>
|
||||
<script src="/app.js?v=0.5.85"></script>
|
||||
<script src="/config.js?v=0.5.86"></script>
|
||||
<script src="/router.js?v=0.5.86"></script>
|
||||
<script src="/app.js?v=0.5.86"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user