restrict v8
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta name="format-detection" content="email=no"/>
|
||||
<meta name="format-detection" content="date=no"/>
|
||||
</head>
|
||||
<body style="margin: 0; padding: 0;" bgcolor="#FFFFFF">
|
||||
<table width="100%" height="100%" style="min-width: 348px;" border="0" cellspacing="0" cellpadding="0" lang="zh-CN">
|
||||
<tbody>
|
||||
<tr height="32" style="height: 32px;">
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr align="center">
|
||||
<td>
|
||||
<table border="0" cellspacing="0" cellpadding="0"
|
||||
style="padding-bottom: 20px;max-width: 516px;min-width: 220px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="8" style="width: 8px;"></td>
|
||||
<td>
|
||||
<div style="border-style: solid; border-width: thin; border-color:#dadce0; border-radius: 8px; padding: 40px 20px;"
|
||||
align="center">
|
||||
<div style="font-family: 'Google Sans',Roboto,RobotoDraft,Helvetica,Arial,sans-serif;border-bottom: thin solid #dadce0; color: rgba(0,0,0,0.87); line-height: 32px; padding-bottom: 24px;text-align: center; word-break: break-word;">
|
||||
<div style="font-size: 24px;">
|
||||
你的内容被举报了
|
||||
</div>
|
||||
<div style="font-size: 13px; color: rgba(0,0,0,0.54); margin-top: 6px;">
|
||||
{{.time}}
|
||||
</div>
|
||||
</div>
|
||||
<div style="font-family: Roboto-Regular,Helvetica,Arial,sans-serif; font-size: 14px; color: rgba(0,0,0,0.87); line-height: 22px; padding-top: 20px; text-align: left;">
|
||||
<div style="padding: 12px 14px; border-radius: 6px; background-color: #fff8e1; border: 1px solid #ffe082; margin-bottom: 14px;">
|
||||
<div><b>提问箱:</b>@{{.domain}}</div>
|
||||
<div style="margin-top: 4px;"><b>被举报内容:</b>第 {{.question_id}} 条回答</div>
|
||||
<div style="margin-top: 4px;"><b>举报人数:</b>{{.count}} 人</div>
|
||||
</div>
|
||||
<div style="margin-bottom: 12px;">
|
||||
这条内容已被多位访客举报为「人身攻击 / 曝光他人账号 / 挑起群体对立」。
|
||||
请自行查看后决定是否删除或设为私密。如果内容确实涉及攻击他人,建议尽快处理,
|
||||
否则该提问箱可能被限制传播或暂停发布。
|
||||
</div>
|
||||
<div style="text-align: center; margin: 18px 0;">
|
||||
<a href="{{.link}}" style="display: inline-block; padding: 10px 22px; background-color: #1e87f0; color: #ffffff; text-decoration: none; border-radius: 6px; font-size: 14px;">查看这条内容</a>
|
||||
</div>
|
||||
<div style="font-size: 12px; color: rgba(0,0,0,0.54); margin-top: 12px;">
|
||||
这封邮件只是提醒,不代表平台已经判定违规。你处理后,相关举报会自动从待处理列表中移除。
|
||||
如果你认为举报是恶意的,可以忽略本邮件,但请保留内容本身没有攻击性的判断依据。
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="text-align: left;">
|
||||
<div style="font-family: Roboto-Regular,Helvetica,Arial,sans-serif;color: rgba(0,0,0,0.54);font-size: 11px; line-height: 18px; padding-top: 12px; text-align: center;">
|
||||
<div>
|
||||
此邮件由系统自动发送,请勿直接回复。<br/>
|
||||
{{ .year }} 狼的提问箱
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td width="8" style="width: 8px;"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="32" style="height: 32px;">
|
||||
<td></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,23 @@
|
||||
{{template "base/header" .}}
|
||||
<div class="uk-card uk-card-default uk-card-body">
|
||||
<h3 class="uk-card-title">{{t .LangCode "rules.title"}}</h3>
|
||||
|
||||
<p class="uk-text-muted uk-text-small" style="white-space: pre-line;">{{t .LangCode "rules.intro"}}</p>
|
||||
|
||||
<h4 class="uk-margin-medium-top">{{t .LangCode "rules.forbiddenTitle"}}</h4>
|
||||
<p class="uk-text-small" style="white-space: pre-line;">{{t .LangCode "rules.forbidden"}}</p>
|
||||
|
||||
<h4 class="uk-margin-medium-top">{{t .LangCode "rules.enforceTitle"}}</h4>
|
||||
<p class="uk-text-small" style="white-space: pre-line;">{{t .LangCode "rules.enforce"}}</p>
|
||||
|
||||
<h4 class="uk-margin-medium-top">{{t .LangCode "rules.reportedTitle"}}</h4>
|
||||
<p class="uk-text-small" style="white-space: pre-line;">{{t .LangCode "rules.reported"}}</p>
|
||||
|
||||
<h4 class="uk-margin-medium-top">{{t .LangCode "rules.attackedTitle"}}</h4>
|
||||
<p class="uk-text-small" style="white-space: pre-line;">{{t .LangCode "rules.attacked"}}</p>
|
||||
|
||||
<div class="uk-margin-large-top">
|
||||
<a class="uk-button uk-button-default" href="/">{{t .LangCode "deactivated.backHome"}}</a>
|
||||
</div>
|
||||
</div>
|
||||
{{template "base/footer" .}}
|
||||
@@ -174,6 +174,13 @@
|
||||
<!-- 统一提示区:标记已读/未读、置顶等操作的成功/错误提示沿用 base/alert 样式 -->
|
||||
{{template "base/alert" .}}
|
||||
|
||||
{{ if .RestrictionLevel }}
|
||||
<!-- 处置期常驻提示:L1 停分发 / L2 新回答不公开 / L3 禁止发布 -->
|
||||
<div class="uk-alert-warning" uk-alert>
|
||||
<div>{{t .LangCode "qlist.restrictionBanner" .RestrictionLevel .RestrictionExpiresAt}}</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<!-- 提问箱统计看板(紧凑多列网格:手机4列/桌面7列,降低纵向高度) -->
|
||||
<div class="qlist-stats">
|
||||
<div class="qlist-stat"><span class="qlist-stat-num">{{ .Stats.total }}</span><span class="qlist-stat-lbl">{{t .LangCode "qlist.statsTotal"}}</span></div>
|
||||
|
||||
Reference in New Issue
Block a user