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
+1
-1
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Vijos System Error</title>
|
||||
<title>Hydro System Error</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<style type="text/css">
|
||||
body {
|
||||
|
||||
+21
-21
@@ -1,29 +1,29 @@
|
||||
{% set layout_name = "mail" %}
|
||||
<style>
|
||||
body, .vijos { margin:0;color:#333;font-size:14px;font-family:"Tahoma","Segoe UI","Verdana","微软雅黑","Microsoft YaHei","宋体";background:#F2F2F2; }
|
||||
.vijos { padding:30px; }
|
||||
.vijos-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; }
|
||||
.vijos-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; }
|
||||
.vijos-content p { margin:5px 0; }
|
||||
.vijos a,
|
||||
.vijos a:visited,
|
||||
.vijos a:link,
|
||||
.vijos a:active { color:#1D76C7;text-decoration:none; }
|
||||
.vijos a:hover { color:#3A93E2;text-decoration:underline; }
|
||||
.vijos blockquote { padding:5px 10px;border-left:10px solid #E2EFFA;margin:20px;margin-left:0;_zoom:1; }
|
||||
#vijos_mail .t { font-size:16px; }
|
||||
#vijos_mail .f { font-style:italic; }
|
||||
body, .hydro { margin:0;color:#333;font-size:14px;font-family:"Tahoma","Segoe UI","Verdana","微软雅黑","Microsoft YaHei","宋体";background:#F2F2F2; }
|
||||
.hydro { padding:30px; }
|
||||
.hydro-box { background:#fff;box-shadow:0 0 15px rgba(0,0,0,0.3);border-radius:5px; }
|
||||
.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; }
|
||||
.hydro-footer { font-size:12px;color:#444;padding:10px;border-top:1px solid #DDD;background:#F4F4F4;border-radius:0 0 5px 5px; }
|
||||
.hydro-content { padding:30px; }
|
||||
.hydro-content p { margin:5px 0; }
|
||||
.hydro a,
|
||||
.hydro a:visited,
|
||||
.hydro a:link,
|
||||
.hydro a:active { color:#1D76C7;text-decoration:none; }
|
||||
.hydro a:hover { color:#3A93E2;text-decoration:underline; }
|
||||
.hydro blockquote { padding:5px 10px;border-left:10px solid #E2EFFA;margin:20px;margin-left:0;_zoom:1; }
|
||||
#hydro_mail .t { font-size:16px; }
|
||||
#hydro_mail .f { font-style:italic; }
|
||||
</style>
|
||||
<div class="vijos">
|
||||
<div class="vijos-box">
|
||||
<div class="vijos-header">{% block title %}{% endblock %} - Vijos</div>
|
||||
<div class="vijos-content">
|
||||
<div class="hydro">
|
||||
<div class="hydro-box">
|
||||
<div class="hydro-header">{% block title %}{% endblock %} - Hydro</div>
|
||||
<div class="hydro-content">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
<div class="vijos-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>
|
||||
<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">Hydro</a>')|safe }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
</span>
|
||||
</h1>
|
||||
<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/vijos/vj4/wiki">{{ _('API') }}</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="/wiki/api">{{ _('API') }}</a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<div class="medium-3 large-2 columns footer__category expandable end">
|
||||
@@ -34,9 +34,9 @@
|
||||
</span>
|
||||
</h1>
|
||||
<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="//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>
|
||||
</div>
|
||||
</div>
|
||||
@@ -44,11 +44,11 @@
|
||||
<div class="footer__extra-link clearfix">
|
||||
<div class="footer__extra-left">
|
||||
<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="//vijos.github.io/about-vijos/about/contact-us/">{{ _('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="//vijos.github.io/about-vijos/about/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/about">{{ _('About') }}</a></li>
|
||||
<li class="footer__extra-link-item"><a href="/wiki/contact">{{ _('Contact Us') }}</a></li>
|
||||
<li class="footer__extra-link-item"><a href="/wiki/privacy">{{ _('Privacy') }}</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="/wiki/copyright-complaint/">{{ _('Copyright Complaint') }}</a></li>
|
||||
<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>
|
||||
<ol class="dropdown-target menu" id="menu-footer-lang">
|
||||
|
||||
@@ -27,73 +27,4 @@ One integer, the sum of x and y.
|
||||
# Limitation
|
||||
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" %}
|
||||
{% block title %}{{ _('Change Email') }}{% endblock %}
|
||||
{% 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>
|
||||
{% endblock %}
|
||||
@@ -1,6 +1,6 @@
|
||||
{% extends "layout/mail.html" %}
|
||||
{% block title %}{{ _('Lost Password') }}{% endblock %}
|
||||
{% 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>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user