Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
website
提交
bae78be9
W
website
项目概览
openeuler
/
website
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
W
website
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
bae78be9
编写于
3月 27, 2020
作者:
L
Librahang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.add sponsor by pengchen lab in home page.
上级
7737cd0c
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
167 addition
and
59 deletion
+167
-59
i18n/en.toml
i18n/en.toml
+25
-0
i18n/zh.toml
i18n/zh.toml
+24
-0
themes/project/layouts/partials/breadcrumbs.html
themes/project/layouts/partials/breadcrumbs.html
+1
-1
themes/project/layouts/partials/docs/menu-bundle.html
themes/project/layouts/partials/docs/menu-bundle.html
+1
-1
themes/project/layouts/partials/emails.html
themes/project/layouts/partials/emails.html
+41
-19
themes/project/static/css/custom.css
themes/project/static/css/custom.css
+45
-28
themes/project/static/css/custommobile.css
themes/project/static/css/custommobile.css
+30
-10
未找到文件。
i18n/en.toml
浏览文件 @
bae78be9
...
...
@@ -11,6 +11,31 @@ other = "Subscription"
[main_email_subscribe_buttontext]
other
=
"Subscribe"
[main_apply_source]
other
=
"Test Machines Application"
[main_apply_description]
other
=
"Lack of test machines? Try to apply here. "
[main_apply_guidance]
other
=
"Apply"
[main_apply_guidanceLink]
other
=
"http://blog.openeuler.org/post/fred_li/2020-03-25-apply-for-vm-from-pcl/"
[main_apply_thanks]
other
=
"Sponsored by "
[main_apply_pengchenLab]
other
=
"Peng Cheng Liboratory "
[main_apply_pengchenLink]
other
=
"http://www.szpclab.com/"
[main_apply_sponsore]
other
=
" "
[main_cards_title]
other
=
"Welcome to openEuler Community"
...
...
i18n/zh.toml
浏览文件 @
bae78be9
...
...
@@ -11,6 +11,30 @@ other = "邮件订阅"
[main_email_subscribe_buttontext]
other
=
"订阅"
[main_apply_source]
other
=
"测试资源申请"
[main_apply_description]
other
=
"如果缺乏测试设备,可以尝试在此申请。"
[main_apply_guidance]
other
=
"申请指南"
[main_apply_guidanceLink]
other
=
"http://blog.openeuler.org/post/fred_li/2020-03-25-apply-for-vm-from-pcl/#2"
[main_apply_thanks]
other
=
"感谢"
[main_apply_pengchenLab]
other
=
"鹏城实验室"
[main_apply_pengchenLink]
other
=
"http://www.pcl.ac.cn/"
[main_apply_sponsore]
other
=
"赞助"
[main_cards_title]
other
=
"欢迎加入openEuler社区"
...
...
themes/project/layouts/partials/breadcrumbs.html
浏览文件 @
bae78be9
...
...
@@ -6,7 +6,7 @@
{{ if in $version "docs" }}
{{ $versionArr := split $version "docs" }}
{{ $versionArr := index $versionArr 1 }}
{{ $versionArr := split $versionArr "
\\
" }}
{{ $versionArr := split $versionArr "
/
" }}
{{ $versionArr := index $versionArr 1 }}
{{ $versionArr := string $versionArr }}
<h1
class=
"text-uppercase"
>
{{ upper $versionArr }}
</h1>
...
...
themes/project/layouts/partials/docs/menu-bundle.html
浏览文件 @
bae78be9
...
...
@@ -2,7 +2,7 @@
{{ $version := .File.Dir }}
{{ $versionArr := split $version "docs" }}
{{ $versionArr := index $versionArr 1 }}
{{ $versionArr := split $versionArr "
\\
" }}
{{ $versionArr := split $versionArr "
/
" }}
{{ $versionArr := index $versionArr 1 }}
{{ $versionArr := string $versionArr }}
{{ $versionArr := delimit (slice "docs" $versionArr) "/"}}
...
...
themes/project/layouts/partials/emails.html
浏览文件 @
bae78be9
{{ if isset .Site.Params "emails" }}
{{ if .Site.Params.emails.enable }}
<div
class=
"e_mail"
>
<h2>
{{ i18n "main_email_subscribe_title" }}
</h2>
<ul>
{{ $mls := .Paginate (where .Data.Pages "Type" "maillist") }}
{{ $sortedmls := $mls.Pages.ByParam "weight" }}
{{ range first 1 $sortedmls}}
<li>
<div>
<h3><a
href=
"mailto:{{ .Params.emailaddress }}"
>
{{ .Params.emailaddress }}
</a></h3>
<p>
{{ .Params.description }}
</p>
</div>
<a
href=
"{{ .Params.websitelink}}"
target=
"_blank"
>
<div
class=
"btn"
>
{{ i18n "main_email_subscribe_buttontext" }}
</div>
</a>
</li>
{{ end }}
</ul>
<h3
>
{{i18n "main_mail_more"}}
<a
href=
'{{i18n "main_mail_more_link"}}'
style=
"color:white;"
>
{{i18n "main_mail_more_list"}}
</a></h3>
<div
class=
"emailAndApply"
>
<div
class=
"emailAndApplyBox"
>
<div
class=
"emailAndApplyBoxL2"
>
<h2>
{{ i18n "main_email_subscribe_title" }}
</h2>
<ul
>
{{ $mls := .Paginate (where .Data.Pages "Type" "maillist") }}
{{ $sortedmls := $mls.Pages.ByParam "weight" }}
{{ range first 1 $sortedmls}}
<li>
<div>
<h3><a
href=
"mailto:{{ .Params.emailaddress }}"
>
{{ .Params.emailaddress }}
</a></h3>
<p>
{{ .Params.description }}
</p>
</div>
<a
href=
"{{ .Params.websitelink}}"
target=
"_blank"
>
<div
class=
"btn"
>
{{ i18n "main_email_subscribe_buttontext" }}
</div>
</a>
</li>
{{ end }}
</ul>
<h3
>
{{i18n "main_mail_more"}}
<a
href=
'{{i18n "main_mail_more_link"}}'
style=
"color:white;"
>
{{i18n "main_mail_more_list"}}
</a></h3>
</div>
<div
class=
"emailAndApplyBoxL2 emailAndApplyBoxL3"
>
<h2>
{{i18n "main_apply_source"}}
</h2>
<ul>
<li>
<div>
<h3>
{{i18n "main_apply_description"}}
</h3>
</div>
<a
href=
'{{i18n "main_apply_guidanceLink"}}'
target=
"_blank"
>
<div
class=
"btn"
>
{{i18n "main_apply_guidance"}}
</div>
</a>
</li>
</ul>
<h3
>
{{i18n "main_apply_thanks"}}
<a
href=
'{{i18n "main_apply_pengchenLink"}}'
target=
"_blank"
style=
"color:white;"
>
{{i18n "main_apply_pengchenLab"}}
</a>
{{i18n "main_apply_sponsore"}}
</h3>
</div>
</div>
</div>
{{ end }}
...
...
themes/project/static/css/custom.css
浏览文件 @
bae78be9
...
...
@@ -318,54 +318,77 @@
padding-left
:
15px
;
}
/*.reason .content_why .detail>div {
position: relative;
margin: 30px 0px;
}*/
.e_mail
{
.emailAndApply
{
background
:
url('../img/bg2.png')
no-repeat
;
height
:
380px
;
background-size
:
cover
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
padding
:
25px
30px
45px
;
}
.e_mail
h2
{
color
:
#fff
;
font-size
:
40px
;
.emailAndApplyBox
{
display
:
flex
;
max-width
:
1366px
;
margin
:
0
auto
;
}
.e_mail
h3
{
color
:
#fff
;
.emailAndApplyBoxL2
{
width
:
47%
;
margin-right
:
50px
;
}
.emailAndApplyBox
h2
{
color
:
white
;
}
.e_mail
ul
{
width
:
40%
;
.emailAndApplyBox
ul
{
padding
:
0
;
margin
:
0
;
width
:
80%
;
}
.e_mail
ul
li
{
.emailAndApplyBox
ul
li
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
}
.e_mail
ul
li
h3
{
.emailAndApplyBox
ul
li
h3
{
font-size
:
28px
;
color
:
#FFFFFF
;
line-height
:
36px
;
}
.emailAndApplyBox
ul
li
h3
{
font-size
:
28px
;
color
:
#FFFFFF
;
line-height
:
36px
;
}
.e
_mail
ul
li
h3
a
{
.e
mailAndApplyBox
ul
li
h3
a
{
color
:
#FFFFFF
;
text-decoration
:
none
;
}
.e
_mail
ul
li
p
{
.e
mailAndApplyBox
ul
li
p
{
margin-top
:
8px
;
font-size
:
16px
;
color
:
#FFFFFF
;
line-height
:
20px
;
padding-right
:
50px
;
}
.emailAndApplyBox
h3
{
color
:
#fff
;
}
.emailAndApplyBox
h3
a
{
text-decoration
:
underline
;
}
.emailAndApplyBox
ul
li
.btn
{
background
:
#FFFFFF
;
border-radius
:
2px
;
padding
:
11px
18px
;
text-transform
:
none
;
}
#members
.col-md-12
.client-header
h4
{
border
:
none
;
text-transform
:
none
;
...
...
@@ -380,12 +403,6 @@
align-items
:
center
;
}
.e_mail
ul
li
.btn
{
background
:
#FFFFFF
;
border-radius
:
2px
;
padding
:
11px
18px
;
text-transform
:
none
;
}
.div-archives
>
div
>
ul
{
position
:
relative
;
}
...
...
themes/project/static/css/custommobile.css
浏览文件 @
bae78be9
...
...
@@ -307,44 +307,64 @@
.partners
.box
img
:nth-child
(
2
)
{
width
:
4.5rem
;
}
.e_mail
{
.emailAndApply
{
background
:
none
;
padding
:
0
;
}
.emailAndApplyBox
{
display
:
inline
;
}
.emailAndApplyBoxL2
{
width
:
100%
;
margin-right
:
0
!important
;
background
:
url('../img/bannernew.jpg')
no-repeat
;
}
.emailAndApplyBoxL3
{
width
:
100%
;
margin-right
:
0
!important
;
background
:
url('../img/3.jpg')
no-repeat
;
}
.emailAndApplyBoxL2
{
text-align
:
center
;
justify-content
:
space-around
;
padding
:
.4rem
0
;
height
:
7.5rem
;
background-position
:
top
;
}
.e_mail
h2
{
.emailAndApplyBoxL2
h2
{
font-size
:
0.46rem
;
margin-bottom
:
0
;
}
.e
_mail
ul
{
.e
mailAndApplyBoxL2
ul
{
width
:
auto
;
padding
:
0px
;
}
.e
_mail
ul
li
{
.e
mailAndApplyBoxL2
ul
li
{
justify-content
:
space-around
;
}
.e
_mail
ul
li
:last-child
{
.e
mailAndApplyBoxL2
ul
li
:last-child
{
margin-bottom
:
0
;
}
.e
_mail
ul
li
h3
{
.e
mailAndApplyBoxL2
ul
li
h3
{
font-size
:
.38rem
;
line-height
:
.44rem
;
}
.e
_mail
ul
li
p
{
.e
mailAndApplyBoxL2
ul
li
p
{
font-size
:
.24rem
;
margin-top
:
0
;
padding-right
:
0
;
}
.e
_mail
ul
li
.btn
{
.e
mailAndApplyBoxL2
ul
li
.btn
{
padding
:
.1rem
.15rem
;
font-size
:
.26rem
;
font-family
:
"HuaweiSansBold"
;
}
.e
_mail
ul
li
>
div
{
.e
mailAndApplyBoxL2
ul
li
>
div
{
width
:
60%
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录