diff --git a/static/style.css b/static/style.css index c3ed601..2be8bea 100644 --- a/static/style.css +++ b/static/style.css @@ -35,40 +35,12 @@ body sans-serif; } -.ui.header, -.ui.button, -.ui.input input, -.ui.menu, -.ui.form input:not([type]), -.ui.form input[type=date], -.ui.form input[type=datetime-local], -.ui.form input[type=email], -.ui.form input[type=file], -.ui.form input[type=number], -.ui.form input[type=password], -.ui.form input[type=search], -.ui.form input[type=tel], -.ui.form input[type=text], -.ui.form input[type=time], -.ui.form input[type=url], -h1, -h2, -h3, -h4, -h5, -body - { - font-family: - -apple-system, - 'PingFang SC',/* Apple */ - 'Source Han Sans SC', - 'Noto Sans CJK SC', /* Google */ - 'Microsoft Yahei', - 'Lantinghei SC', - 'Hiragino Sans GB', - 'Microsoft Sans Serif', /* M$ */ - 'WenQuanYi Micro Hei', /* *nix */ - sans-serif; +a.black-link { + color: #000; +} + +a.black-link:hover { + color: #4183c4; } .font-content { diff --git a/views/admin_header.ejs b/views/admin_header.ejs index b78fae7..cbfe523 100644 --- a/views/admin_header.ejs +++ b/views/admin_header.ejs @@ -5,7 +5,7 @@ let items = { privilege: '权限管理', rejudge: '一键重测', links: '友链管理', - rating: 'Rating 管理', + rating: '积分管理', raw: '配置文件', other: '其他操作' }; diff --git a/views/admin_rating.ejs b/views/admin_rating.ejs index 3d82646..cca111d 100644 --- a/views/admin_rating.ejs +++ b/views/admin_rating.ejs @@ -14,10 +14,10 @@ - + -注意:如果删除一个比赛的 Rating,则该比赛之上的所有比赛也将被删除,Rating 将还原至该比赛之前的状态! +注意:如果删除一个比赛的积分,则该比赛之上的所有比赛也将被删除,积分将还原至该比赛之前的状态!
<% for (const calc of calcs) { %> diff --git a/views/article.ejs b/views/article.ejs index b40b6f4..f76bd6d 100644 --- a/views/article.ejs +++ b/views/article.ejs @@ -18,12 +18,15 @@ <% } %>

<%= article.title %>

-

- <%= article.user.username %><% if (article.user.nameplate) { %><%- article.user.nameplate %><% } %> 于 <%= syzoj.utils.formatDate(article.public_time) %> 发表,<%= syzoj.utils.formatDate(article.update_time) %> 最后更新 +

+ + <%= article.user.username %><% if (article.user.nameplate) { %><%- article.user.nameplate %><% } %> + <%= syzoj.utils.formatDate(article.public_time) %> + <% if (article.public_time !== article.update_time) { %> <%= syzoj.utils.formatDate(article.update_time) %><% } %> <% if (article.allowedEdit) { %> - 删除文章 - 编辑文章 -