mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
update ui
This commit is contained in:
1 parent
42e534615e
commit
c2f9bf8c53
8 files changed
+50
-119
No files matched your search
+9
-9
@@ -4,7 +4,7 @@
|
|||||||
API: API
|
API: API
|
||||||
about: 关于
|
about: 关于
|
||||||
About: 关于
|
About: 关于
|
||||||
About Vijos: 关于 Vijos
|
About Hydro: 关于 Hydro
|
||||||
Accepted: 已通过
|
Accepted: 已通过
|
||||||
Accepted Ratio: 通过率
|
Accepted Ratio: 通过率
|
||||||
Active Sessions: 活动会话
|
Active Sessions: 活动会话
|
||||||
@@ -21,9 +21,9 @@ Bio Visibility: 个人简介可见性
|
|||||||
Blog: 博客
|
Blog: 博客
|
||||||
Boom!: 炸了!
|
Boom!: 炸了!
|
||||||
Browser: 浏览器
|
Browser: 浏览器
|
||||||
? By signing up a Vijos universal account, you can submit code and join discussions in all online
|
? By signing up a Hydro universal account, you can submit code and join discussions in all online
|
||||||
judging services provided by us.
|
judging services provided by us.
|
||||||
: 注册一个 Vijos 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
|
: 注册一个 Hydro 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
|
||||||
CLOSE: 关闭
|
CLOSE: 关闭
|
||||||
Cancel: 取消
|
Cancel: 取消
|
||||||
Ok: 确定
|
Ok: 确定
|
||||||
@@ -76,11 +76,11 @@ Forgot password or username?: 忘记密码或者用户名?
|
|||||||
Gender: 性别
|
Gender: 性别
|
||||||
Gender Visibility: 性别可见性
|
Gender Visibility: 性别可见性
|
||||||
Gravatar Email: Gravatar Email 地址
|
Gravatar Email: Gravatar Email 地址
|
||||||
'Hello! You can click following link to sign up your Vijos account:': 您好!您可以点击以下链接来注册您的 Vijos 账户:
|
'Hello! You can click following link to sign up your Hydro account:': 您好!您可以点击以下链接来注册您的 Hydro 账户:
|
||||||
'Hello, {0}! You can click following link to reset the password of your Vijos account:': 您好,{0}!您可以点击以下链接来重置您
|
'Hello, {0}! You can click following link to reset the password of your Hydro account:': 您好,{0}!您可以点击以下链接来重置您
|
||||||
Vijos 账户的密码:
|
Hydro 账户的密码:
|
||||||
'Hello, {0}! You can click following link to active your new email of your Vijos account:': 您好,{0}!您可以点击以下链接来激活您
|
'Hello, {0}! You can click following link to active your new email of your Hydro account:': 您好,{0}!您可以点击以下链接来激活您
|
||||||
Vijos 账户的新电子邮件地址:
|
Hydro 账户的新电子邮件地址:
|
||||||
Confirmation mail has been sent to your new email.: 确认邮件已经发送到您的新电子邮箱。
|
Confirmation mail has been sent to your new email.: 确认邮件已经发送到您的新电子邮箱。
|
||||||
Help: 帮助
|
Help: 帮助
|
||||||
Hide all tags: 隐藏所有标签
|
Hide all tags: 隐藏所有标签
|
||||||
@@ -204,7 +204,7 @@ Uploaded By: 上传者
|
|||||||
Upload Problem: 上传题目
|
Upload Problem: 上传题目
|
||||||
User: 用户
|
User: 用户
|
||||||
Username: 用户名
|
Username: 用户名
|
||||||
Using your Vijos universal account: 使用您的 Vijos 通用账户
|
Using your Hydro universal account: 使用您的 Hydro 通用账户
|
||||||
View Problem: 查看题目
|
View Problem: 查看题目
|
||||||
View or create discussion: 查看与发表讨论
|
View or create discussion: 查看与发表讨论
|
||||||
View or submit solution: 查看与发表题解
|
View or submit solution: 查看与发表题解
|
||||||
|
|||||||
+8
-8
@@ -19,9 +19,9 @@ Bio Visibility: 個人簡介可見性
|
|||||||
Blog: 部落格
|
Blog: 部落格
|
||||||
Boom!: 炸了!
|
Boom!: 炸了!
|
||||||
Browser: 瀏覽器
|
Browser: 瀏覽器
|
||||||
? By signing up a Vijos universal account, you can submit code and join discussions in all online
|
? By signing up a Hydro universal account, you can submit code and join discussions in all online
|
||||||
judging services provided by us.
|
judging services provided by us.
|
||||||
: 註冊一個 Vijos 通用賬戶,您就可以在我們提供的所有線上評測服務上提交程式碼、參與討論。
|
: 註冊一個 Hydro 通用賬戶,您就可以在我們提供的所有線上評測服務上提交程式碼、參與討論。
|
||||||
CLOSE: 關閉
|
CLOSE: 關閉
|
||||||
Cancel: 取消
|
Cancel: 取消
|
||||||
Ok: 確定
|
Ok: 確定
|
||||||
@@ -75,11 +75,11 @@ Forgot password or username?: 忘記密碼或者使用者名?
|
|||||||
Gender: 性別
|
Gender: 性別
|
||||||
Gender Visibility: 性別可見性
|
Gender Visibility: 性別可見性
|
||||||
Gravatar Email: Gravatar Email 地址
|
Gravatar Email: Gravatar Email 地址
|
||||||
'Hello! You can click following link to sign up your Vijos account:': 您好!您可以點選以下連結來註冊您的 Vijos 賬戶:
|
'Hello! You can click following link to sign up your Hydro account:': 您好!您可以點選以下連結來註冊您的 Hydro 賬戶:
|
||||||
'Hello, {0}! You can click following link to reset the password of your Vijos account:': 您好,{0}!您可以點選以下連結來重置您
|
'Hello, {0}! You can click following link to reset the password of your Hydro account:': 您好,{0}!您可以點選以下連結來重置您
|
||||||
Vijos 賬戶的密碼:
|
Hydro 賬戶的密碼:
|
||||||
'Hello, {0}! You can click following link to active your new email of your Vijos account:': 您好,{0}!您可以點選以下連結來啟用您
|
'Hello, {0}! You can click following link to active your new email of your Hydro account:': 您好,{0}!您可以點選以下連結來啟用您
|
||||||
Vijos 賬戶的新電子郵件地址:
|
Hydro 賬戶的新電子郵件地址:
|
||||||
Confirmation mail has been sent to your new email.: 確認郵件已經發送到您的新電子郵箱。
|
Confirmation mail has been sent to your new email.: 確認郵件已經發送到您的新電子郵箱。
|
||||||
Help: 幫助
|
Help: 幫助
|
||||||
Hide all tags: 隱藏所有標籤
|
Hide all tags: 隱藏所有標籤
|
||||||
@@ -200,7 +200,7 @@ Uploaded By: 上傳者
|
|||||||
Upload Problem: 上傳題目
|
Upload Problem: 上傳題目
|
||||||
User: 使用者
|
User: 使用者
|
||||||
Username: 使用者名
|
Username: 使用者名
|
||||||
Using your Vijos universal account: 使用您的 Vijos 通用賬戶
|
Using your Hydro universal account: 使用您的 Hydro 通用賬戶
|
||||||
View Problem: 檢視題目
|
View Problem: 檢視題目
|
||||||
View or create discussion: 檢視與發表討論
|
View or create discussion: 檢視與發表討論
|
||||||
View or submit solution: 檢視與發表題解
|
View or submit solution: 檢視與發表題解
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Vijos System Error</title>
|
<title>Hydro System Error</title>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {
|
body {
|
||||||
|
|||||||
+21
-21
@@ -1,29 +1,29 @@
|
|||||||
{% set layout_name = "mail" %}
|
{% set layout_name = "mail" %}
|
||||||
<style>
|
<style>
|
||||||
body, .vijos { margin:0;color:#333;font-size:14px;font-family:"Tahoma","Segoe UI","Verdana","微软雅黑","Microsoft YaHei","宋体";background:#F2F2F2; }
|
body, .hydro { margin:0;color:#333;font-size:14px;font-family:"Tahoma","Segoe UI","Verdana","微软雅黑","Microsoft YaHei","宋体";background:#F2F2F2; }
|
||||||
.vijos { padding:30px; }
|
.hydro { padding:30px; }
|
||||||
.vijos-box { background:#fff;box-shadow:0 0 15px rgba(0,0,0,0.3);border-radius:5px; }
|
.hydro-box { background:#fff;box-shadow:0 0 15px rgba(0,0,0,0.3);border-radius:5px; }
|
||||||
.vijos-header { background:#3AA9DE;color:#FFF;padding:10px;line-height:200%;font-size:15px;border-radius:5px 5px 0 0;border-bottom:3px solid #85CAEB; }
|
.hydro-header { background:#3AA9DE;color:#FFF;padding:10px;line-height:200%;font-size:15px;border-radius:5px 5px 0 0;border-bottom:3px solid #85CAEB; }
|
||||||
.vijos-footer { font-size:12px;color:#444;padding:10px;border-top:1px solid #DDD;background:#F4F4F4;border-radius:0 0 5px 5px; }
|
.hydro-footer { font-size:12px;color:#444;padding:10px;border-top:1px solid #DDD;background:#F4F4F4;border-radius:0 0 5px 5px; }
|
||||||
.vijos-content { padding:30px; }
|
.hydro-content { padding:30px; }
|
||||||
.vijos-content p { margin:5px 0; }
|
.hydro-content p { margin:5px 0; }
|
||||||
.vijos a,
|
.hydro a,
|
||||||
.vijos a:visited,
|
.hydro a:visited,
|
||||||
.vijos a:link,
|
.hydro a:link,
|
||||||
.vijos a:active { color:#1D76C7;text-decoration:none; }
|
.hydro a:active { color:#1D76C7;text-decoration:none; }
|
||||||
.vijos a:hover { color:#3A93E2;text-decoration:underline; }
|
.hydro a:hover { color:#3A93E2;text-decoration:underline; }
|
||||||
.vijos blockquote { padding:5px 10px;border-left:10px solid #E2EFFA;margin:20px;margin-left:0;_zoom:1; }
|
.hydro blockquote { padding:5px 10px;border-left:10px solid #E2EFFA;margin:20px;margin-left:0;_zoom:1; }
|
||||||
#vijos_mail .t { font-size:16px; }
|
#hydro_mail .t { font-size:16px; }
|
||||||
#vijos_mail .f { font-style:italic; }
|
#hydro_mail .f { font-style:italic; }
|
||||||
</style>
|
</style>
|
||||||
<div class="vijos">
|
<div class="hydro">
|
||||||
<div class="vijos-box">
|
<div class="hydro-box">
|
||||||
<div class="vijos-header">{% block title %}{% endblock %} - Vijos</div>
|
<div class="hydro-header">{% block title %}{% endblock %} - Hydro</div>
|
||||||
<div class="vijos-content">
|
<div class="hydro-content">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
<div class="vijos-footer">
|
<div class="hydro-footer">
|
||||||
<p>{{ _('This email was sent by {0} automatically, and please do not reply directly.').format('<a href="' + url_prefix + '/" target="_blank">Vijos</a>')|safe }}</p>
|
<p>{{ _('This email was sent by {0} automatically, and please do not reply directly.').format('<a href="' + url_prefix + '/" target="_blank">Hydro</a>')|safe }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -22,8 +22,8 @@
|
|||||||
</span>
|
</span>
|
||||||
</h1>
|
</h1>
|
||||||
<div class="footer__category__expander"><ul class="footer__category__list">
|
<div class="footer__category__expander"><ul class="footer__category__list">
|
||||||
<li class="footer__category__item"><a href="https://github.com/vijos/vj4" target="_blank">{{ _('Open Source') }}</a></li>
|
<li class="footer__category__item"><a href="https://github.com/hydro-dev/Hydro" target="_blank">{{ _('Open Source') }}</a></li>
|
||||||
<li class="footer__category__item"><a href="https://github.com/vijos/vj4/wiki">{{ _('API') }}</a></li>
|
<li class="footer__category__item"><a href="/wiki/api">{{ _('API') }}</a></li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="medium-3 large-2 columns footer__category expandable end">
|
<div class="medium-3 large-2 columns footer__category expandable end">
|
||||||
@@ -34,9 +34,9 @@
|
|||||||
</span>
|
</span>
|
||||||
</h1>
|
</h1>
|
||||||
<div class="footer__category__expander"><ul class="footer__category__list">
|
<div class="footer__category__expander"><ul class="footer__category__list">
|
||||||
<li class="footer__category__item"><a href="//vijos.github.io/about-vijos/">{{ _('Help') }}</a></li>
|
<li class="footer__category__item"><a href="/wiki/about">{{ _('Help') }}</a></li>
|
||||||
<!--<li class="footer__category__item"><a href="#">{{ _('Blog') }}</a></li>-->
|
<!--<li class="footer__category__item"><a href="#">{{ _('Blog') }}</a></li>-->
|
||||||
<li class="footer__category__item"><a href="//vijos.github.io/about-vijos/about/contact-us/">{{ _('QQ Group') }}</a></li>
|
<li class="footer__category__item"><a href="/wiki/contact">{{ _('QQ Group') }}</a></li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -44,11 +44,11 @@
|
|||||||
<div class="footer__extra-link clearfix">
|
<div class="footer__extra-link clearfix">
|
||||||
<div class="footer__extra-left">
|
<div class="footer__extra-left">
|
||||||
<ol class="clearfix">
|
<ol class="clearfix">
|
||||||
<li class="footer__extra-link-item"><a href="//vijos.github.io/about-vijos/about/about-vijos/">{{ _('About') }}</a></li>
|
<li class="footer__extra-link-item"><a href="/wiki/about">{{ _('About') }}</a></li>
|
||||||
<li class="footer__extra-link-item"><a href="//vijos.github.io/about-vijos/about/contact-us/">{{ _('Contact Us') }}</a></li>
|
<li class="footer__extra-link-item"><a href="/wiki/contact">{{ _('Contact Us') }}</a></li>
|
||||||
<li class="footer__extra-link-item"><a href="//vijos.github.io/about-vijos/about/privacy-policy/">{{ _('Privacy') }}</a></li>
|
<li class="footer__extra-link-item"><a href="/wiki/privacy">{{ _('Privacy') }}</a></li>
|
||||||
<li class="footer__extra-link-item"><a href="//vijos.github.io/about-vijos/about/terms-of-service/">{{ _('Terms of Service') }}</a></li>
|
<li class="footer__extra-link-item"><a href="/wiki/terms-of-service/">{{ _('Terms of Service') }}</a></li>
|
||||||
<li class="footer__extra-link-item"><a href="//vijos.github.io/about-vijos/about/copyright-complaint/">{{ _('Copyright Complaint') }}</a></li>
|
<li class="footer__extra-link-item"><a href="/wiki/copyright-complaint/">{{ _('Copyright Complaint') }}</a></li>
|
||||||
<li class="footer__extra-link-item" data-dropdown-target="#menu-footer-lang">
|
<li class="footer__extra-link-item" data-dropdown-target="#menu-footer-lang">
|
||||||
<span><span class="icon icon-global"></span> Language <span class="icon icon-expand_less"></span></span>
|
<span><span class="icon icon-global"></span> Language <span class="icon icon-expand_less"></span></span>
|
||||||
<ol class="dropdown-target menu" id="menu-footer-lang">
|
<ol class="dropdown-target menu" id="menu-footer-lang">
|
||||||
|
|||||||
@@ -27,73 +27,4 @@ One integer, the sum of x and y.
|
|||||||
# Limitation
|
# Limitation
|
||||||
1s, 1024KiB for each test case.
|
1s, 1024KiB for each test case.
|
||||||
|
|
||||||
# Hint
|
|
||||||
|
|
||||||
## Free Pascal Code
|
|
||||||
|
|
||||||
```pascal
|
|
||||||
var a,b:longint;
|
|
||||||
begin
|
|
||||||
readln(a,b);
|
|
||||||
writeln(a+b);
|
|
||||||
end.
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## C Code
|
|
||||||
|
|
||||||
```c
|
|
||||||
#include <stdio.h>
|
|
||||||
int main(void)
|
|
||||||
{
|
|
||||||
int a, b;
|
|
||||||
scanf("%d%d", &a, &b);
|
|
||||||
printf("%d\n", a + b);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## C++ Code
|
|
||||||
|
|
||||||
```cpp
|
|
||||||
#include <iostream>
|
|
||||||
using namespace std;
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
int a, b;
|
|
||||||
cin >> a >> b;
|
|
||||||
cout << a + b << endl;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## Python Code
|
|
||||||
|
|
||||||
```python
|
|
||||||
a, b = [int(i) for i in raw_input().split()]
|
|
||||||
print(a + b)
|
|
||||||
```
|
|
||||||
|
|
||||||
## Java Code
|
|
||||||
|
|
||||||
```java
|
|
||||||
import java.io.*;
|
|
||||||
import java.util.Scanner;
|
|
||||||
|
|
||||||
public class Main {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param args
|
|
||||||
* @throws IOException
|
|
||||||
*/
|
|
||||||
public static void main(String[] args) throws IOException {
|
|
||||||
Scanner sc = new Scanner(System.in);
|
|
||||||
int a = sc.nextInt();
|
|
||||||
int b = sc.nextInt();
|
|
||||||
System.out.println(a + b);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
# Source
|
|
||||||
|
|
||||||
**Vijos Original**
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{% extends "layout/mail.html" %}
|
{% extends "layout/mail.html" %}
|
||||||
{% block title %}{{ _('Change Email') }}{% endblock %}
|
{% block title %}{{ _('Change Email') }}{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<p>{{ _('Hello, {0}! You can click following link to active your new email of your Vijos account:').format(uname) }}</p>
|
<p>{{ _('Hello, {0}! You can click following link to active your new email of your Hydro account:').format(uname) }}</p>
|
||||||
<p><a href="{{ url_prefix }}{{ url }}">{{ url_prefix }}{{ url }}</a></p>
|
<p><a href="{{ url_prefix }}{{ url }}">{{ url_prefix }}{{ url }}</a></p>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{% extends "layout/mail.html" %}
|
{% extends "layout/mail.html" %}
|
||||||
{% block title %}{{ _('Lost Password') }}{% endblock %}
|
{% block title %}{{ _('Lost Password') }}{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<p>{{ _('Hello, {0}! You can click following link to reset the password of your Vijos account:').format(uname) }}</p>
|
<p>{{ _('Hello, {0}! You can click following link to reset the password of your Hydro account:').format(uname) }}</p>
|
||||||
<p><a href="{{ url_prefix }}{{ url }}">{{ url_prefix }}{{ url }}</a></p>
|
<p><a href="{{ url_prefix }}{{ url }}">{{ url_prefix }}{{ url }}</a></p>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in new issue
Block a user