初始提交:中兴B863AV3.2-M刷Armbian + CUPS打印服务教程
包含:
- 刷机教程.md - 完整刷机和CUPS配置文档
- setup_cups.sh - 一键安装CUPS脚本(支持换源、多驱动选择、中文界面)
- cups-templates-zh_CN/ - CUPS中文界面模板
🤖 Generated with Claude Code
This commit is contained in:
40
cups-templates-zh_CN/header.tmpl
Normal file
40
cups-templates-zh_CN/header.tmpl
Normal file
@@ -0,0 +1,40 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="/cups.css" type="text/css">
|
||||
<link rel="shortcut icon" href="/apple-touch-icon.png" type="image/png">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
{refresh_page?<meta http-equiv="refresh" content="{refresh_page}">:}
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<style>html{display:none;}</style>
|
||||
<script type="text/javascript"><!--
|
||||
if (self == top) {
|
||||
document.documentElement.style.display = 'block';
|
||||
} else {
|
||||
top.location = self.location;
|
||||
}
|
||||
function check_cookies() {
|
||||
if (!navigator.cookieEnabled) {
|
||||
document.getElementById('body').innerHTML = '此页面使用 Cookie 防止跨站攻击,请启用 Cookie。';
|
||||
}
|
||||
}
|
||||
--></SCRIPT>
|
||||
<title>{title} - CUPS 打印管理</title>
|
||||
</head>
|
||||
<body onload="check_cookies();">
|
||||
<div class="header">
|
||||
<ul>
|
||||
<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="/admin">管理</a></li>
|
||||
<li><a {SECTION=classes?class="active" :}href="/classes/">打印机类</a></li>
|
||||
<li><a {SECTION=help?class="active" :}href="/help/">帮助</a></li>
|
||||
<li><a {SECTION=jobs?class="active" :}href="/jobs/">任务</a></li>
|
||||
<li><a {SECTION=printers?class="active" :}href="/printers/">打印机</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="row">
|
||||
<h1>{title}</h1>
|
||||
Reference in New Issue
Block a user