fix: 更新中文模板CSS类名以兼容CUPS 2.4.7
- header.tmpl: class="header" → class="cups-header" - header.tmpl: class="body" → class="cups-body" - trailer.tmpl: class="footer" → class="cups-footer" CUPS 2.4.7 更新了CSS类名,旧模板导致样式无法加载 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
<title>{title} - CUPS 打印管理</title>
|
<title>{title} - CUPS 打印管理</title>
|
||||||
</head>
|
</head>
|
||||||
<body onload="check_cookies();">
|
<body onload="check_cookies();">
|
||||||
<div class="header">
|
<div class="cups-header">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://openprinting.github.io/cups/" target="_blank">OpenPrinting CUPS</a></li>
|
<li><a href="https://openprinting.github.io/cups/" target="_blank">OpenPrinting CUPS</a></li>
|
||||||
<li><a {SECTION=admin?class="active" :}href="/">首页</a></li>
|
<li><a {SECTION=admin?class="active" :}href="/">首页</a></li>
|
||||||
@@ -35,6 +35,6 @@
|
|||||||
<li><a {SECTION=printers?class="active" :}href="/printers/">打印机</a></li>
|
<li><a {SECTION=printers?class="active" :}href="/printers/">打印机</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="body">
|
<div class="cups-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h1>{title}</h1>
|
<h1>{title}</h1>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">CUPS 和 CUPS 标志是 <a href="http://www.apple.com">Apple Inc.</a> 的商标 | 中文汉化版</div>
|
<div class="cups-footer">CUPS 和 CUPS 标志是 <a href="http://www.apple.com">Apple Inc.</a> 的商标 | 中文汉化版</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user