提交 95e05f15 编写于 作者: L Librahang

1.Change the version to openEuler 1.0 Base in Download Module .2.

Added the Releases Module.3.Updated the 'Why openEuler' Module in Homepage.
上级 54c65e65
......@@ -118,22 +118,28 @@ paginate = 10
url = "/en/docs/Installation/Installation.html"
weight=3
[[menu.main]]
identifier = "releases"
name = "Releases"
url = "/en/releases.html"
weight = 6
[[menu.main]]
identifier = "download"
name = "Download"
url = "/en/download.html"
weight = 6
weight = 7
[[menu.main]]
identifier = "security"
name = "Security"
url = "/en/security.html"
weight = 7
weight = 8
[[menu.main]]
identifier = "lang"
name = "中文"
url = "/zh"
weight = 8
weight = 9
# Menu chinese
[[languages.zh.menu.main]]
......@@ -261,23 +267,29 @@ paginate = 10
weight = 6
[[languages.zh.menu.main]]
identifier = "releases"
name = "版本"
url = "/zh/releases.html"
weight = 7
[[languages.zh.menu.main]]
identifier = "download"
name = "下载"
url = "/zh/download.html"
weight = 6
weight = 8
[[languages.zh.menu.main]]
identifier = "security"
name = "安全"
url = "/zh/security.html"
weight = 7
weight = 9
[[languages.zh.menu.main]]
identifier = "lang"
name = "EN"
url = "/en"
weight = 8
weight = 10
# Top bar social links menu
......
......@@ -4,6 +4,9 @@ title = "openEuler"
brief = ""
+++
<div><p>Co-built, shared, and co-governed community</p></div>
<div><p>With spirit of openness, collaboration, and innovation</p></div>
<div><p>OS community that best matches the application scenarios</p></div>
<div><p>openEuler is an open source, free Linux
distribution platform. The platform provides an open community for global
developers to build an open, diversified, and architecture-inclusive software
ecosystem. openEuler is also an innovative platform that encourages everyone to
propose new ideas, explore new approaches, and practice new solutions.</p></div>
+++
title = "Releases"
+++
此处是版本计划占位
\ No newline at end of file
+++
isLastestVersion="true"
version="openEuler 1.0 Base"
description="openEuler is an open-source Linux distribution. It is an efficient, stable, and secure open-source operating system built by global contributors and applies to database, big data, cloud computing, and artificial intelligence scenarios. "
status="Maintained"
releaseDate="2020/02/08"
installationGuide="https://openeuler.org/en/docs/Installation/Installation.html"
EOLDate="-"
ISOUrl="https://121.36.97.194/openeuler1.0/iso/"
+++
+++
isLastestVersion="true"
version="openEuler 1.0 Beta"
description="openEuler is an open-source Linux distribution. It is an efficient, stable, and secure open-source operating system built by global contributors and applies to database, big data, cloud computing, and artificial intelligence scenarios. "
status=""
releaseDate=""
status="EOL"
releaseDate="2020/01/22"
installationGuide="https://openeuler.org/en/docs/Installation/Installation.html"
EOLDate=""
EOLDate="2020/02/08"
ISOUrl="https://121.36.97.194/openeuler1.0/iso/"
+++
+++
question = "为什么选择openEuler"
question = "openEuler是什么"
title = "openEuler"
brief = ""
+++
<div><p>共建、共享、共治的社区</p></div>
<div><p>开放、协作、创新的精神</p></div>
<div><p>最匹配应用场景的操作系统社区</p></div>
<div><p>openEuler是一个开源、免费的Linux发行版平台,将通过开放的社区形式与全球的开发者共同构建一个开放、多元和架构包容的软件生态体系。同时,openEuler也是一个创新的平台,鼓励任何人在该平台上提出新想法、开拓新思路、实践新方案。</p></div>
......@@ -2,3 +2,4 @@
title = "版本"
+++
此处是版本计划描述
\ No newline at end of file
+++
isLastestVersion="true"
version="openEuler 1.0 Base"
description="openEuler是一款开源操作系统,其内核源于Linux,是由全球开源贡献者构建的高效、稳定、安全的开源操作系统,适用于数据库、大数据、云计算、人工智能等应用场景。"
status="Maintained"
releaseDate="2020/02/08"
releaseNote="https://openeuler.org/zh/docs/Releasenotes/release_notes.html"
installationGuide="https://openeuler.org/zh/docs/Installation/installation.html"
EOLDate="-"
ISOUrl="https://121.36.97.194/openeuler1.0/iso/"
+++
+++
isLastestVersion="true"
version="openEuler 1.0 Beta"
description="openEuler是一款开源操作系统,其内核源于Linux,是由全球开源贡献者构建的高效、稳定、安全的开源操作系统,适用于数据库、大数据、云计算、人工智能等应用场景。"
status=""
releaseDate=""
status="EOL"
releaseDate="2020/01/22"
releaseNote="https://openeuler.org/zh/docs/Releasenotes/release_notes.html"
installationGuide="https://openeuler.org/zh/docs/Installation/installation.html"
EOLDate=""
EOLDate="2020/02/08"
ISOUrl="https://121.36.97.194/openeuler1.0/iso/"
+++
......@@ -103,4 +103,34 @@ other = "Release Note:"
other = "Download ISO:"
[download_installationGuide]
other = "Installation Guide:"
\ No newline at end of file
other = "Installation Guide:"
[download_versionsUrl]
other = "/en/releases.html"
[download_allRelease]
other = "All Releases>>"
[versions_versionPlan]
other = "Version Plan"
[versions_versionName]
other = "Versions"
[versions_status]
other = "Status"
[versions_releaseTime]
other = "Release Date"
[versions_EOLTime]
other = "EOL Date"
[versions_releaseNote]
other = "Release Note"
[versions_getiso]
other = "ISO"
[versions_installationGuide]
other = "Installation Guide"
\ No newline at end of file
......@@ -104,6 +104,36 @@ other = "获取ISO:"
[download_installationGuide]
other = "安装指南:"
[download_versionsUrl]
other = "/zh/releases.html"
[download_allRelease]
other = "获取早期版本>>"
[versions_versionPlan]
other = "版本计划"
[versions_versionName]
other = "版本"
[versions_status]
other = "状态"
[versions_releaseTime]
other = "发行时间"
[versions_EOLTime]
other = "EOL时间"
[versions_releaseNote]
other = "发行说明"
[versions_getiso]
other = "ISO"
[versions_installationGuide]
other = "安装指南"
......@@ -12,12 +12,12 @@
<div class="container">
<div class="row">
<div class="col-md-12 downloadWholeBlock"id="tabArchi">
{{ range where $.Page.Site.Pages "Type" "versions" }}
{{ range where $.Page.Site.Pages "Type" "releases" }}
{{ if .Params }}
{{ if .Params.isLastestVersion}}
<div id="downloadBlock">
<div class="downloadContentBlock">
<h3 class="downloadVersion">{{.Params.version}}</h3>
<div class="downloadVersion"><strong style="font-size:18px;">{{.Params.version}}</strong>&nbsp;&nbsp;&nbsp;&nbsp;<span><a href='{{ i18n "download_versionsUrl"}}'>{{ i18n "download_allRelease"}}</a></span></div>
<div class="downloadDescription">{{.Params.description}}</div>
{{ if .Params.releaseNote}}
<div class="titleLine1"><strong>{{ i18n "download_releaseNote"}}</strong><a href="{{.Params.releaseNote}}" target="_blank">Link</a></div>
......
......@@ -5,10 +5,6 @@
{{ range first 1 $whys }}
<h2>{{ .Params.question }}</h2>
<div class="content_why">
<div class="bg">
<h3>{{ .Params.Title }}</h3>
<p>{{ .Params.Brief }}</p>
</div>
<div class="detail">
{{ .Content }}
</div>
......
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
{{ partial "head.html" . }}
<body>
<div id="all">
<header>
{{ partial "nav.html" . }}
</header>
{{ partial "breadcrumbs.html" . }}
<div id="content">
<div class="container">
<div class="row">
<!--<h3>{{ i18n "versions_versionPlan"}}</h3>
<div class="col-md-12"style="margin-bottom:20px;">{{ .Summary }}</div>
<h3 >Releases</h3>-->
<div class="col-md-12" id="versionReleases" eleasestyle="margin-bottom: 30px;">
<table class="table table-bordered table-striped">
<thead>
<th width="14%">{{ i18n "versions_versionName"}}</th>
<th width="14%">{{ i18n "versions_status"}}</th>
<th width="14%">{{ i18n "versions_releaseTime"}}</th>
<th width="14%">{{ i18n "versions_releaseNote"}}</th>
<th width="14%">{{ i18n "versions_EOLTime"}}</th>
<th width="14%">{{ i18n "versions_getiso"}}</th>
<th width="16%">{{ i18n "versions_installationGuide"}}</th>
</thead>
<tbody>
{{ range where $.Page.Site.Pages "Type" "releases" }}
{{ if .Params }}
{{ if .Params.version}}
<tr>
<td>{{ .Params.version}}</td>
<td>{{ .Params.status}}</td>
<td>{{ .Params.releaseDate}}</td>
{{ if .Params.releaseNote}}
<td><a href="{{ .Params.releaseNote}}" target="_blank">Link</a></td>
{{ else }}
<td>-</td>
{{ end }}
<td>{{ .Params.EOLDate}}</td>
<td><a href="{{ .Params.ISOUrl}}" target="_blank">Link</a></td>
<td><a href="{{ .Params.installationGuide}}" target="_blank">Link</a></td>
</tr>
{{ end }}
{{ end }}
{{ end }}
</tbody>
</table>
</div>
<!-- /.col-md-9 -->
</div>
<!-- /.row -->
</div>
<!-- /.container -->
</div>
<!-- /#content -->
{{ partial "footer.html" . }}
</div>
<!-- /#all -->
{{ partial "scripts.html" . }}
</body>
</html>
......@@ -294,7 +294,7 @@
padding: 170px 30px 70px;
}
.reason h2 {
margin-bottom: 67px;
margin-bottom: 40px;
font-size: 40px;
color: #333333;
text-align: center;
......@@ -307,30 +307,7 @@
max-width: 1366px;
margin: 0 auto;
}
.reason .content_why .bg {
background: url('../img/flows.png') no-repeat;
height: 300px;
width: 500px;
flex-shrink: 0;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #FFFFFF;
padding: 0 10px;
text-align: center;
}
.reason .content_why .bg h3 {
font-size: 59px;
color: #FFFFFF;
margin-top: 80px;
}
.reason .content_why .bg p {
margin-top: 60px;
font-size: 18px;
line-height: 28px;
}
.reason .content_why .detail {
margin-left: 50px;
}
......@@ -340,26 +317,11 @@
line-height: 30px;
padding-left: 15px;
}
/* .reason .content_why .detail p:nth-child(1) {
margin-bottom: 40px;
} */
.reason .content_why .detail>div {
/*.reason .content_why .detail>div {
position: relative;
margin: 30px 0px;
}
.reason .content_why .detail>div p::before{
content:'';
display: inline-block;
position: absolute;
top: 10px;
left:0;
border-radius: 50%;
background: #000;
width: 5px;
height: 5px;
}
}*/
.e_mail {
background: url('../img/bg2.png') no-repeat;
......
......@@ -224,31 +224,14 @@
}
.reason h2 {
font-size: 0.46rem;
margin-bottom: .68rem;
margin-bottom: .38rem;
}
.reason .content_why {
flex-direction: column;
}
.reason .content_why .bg {
width: 95%;
height: 4rem;
background-position: center;
position: relative;
}
.reason .content_why .bg h3 {
font-size: .6rem;
}
.reason .content_why .bg p {
font-size: .24rem;
margin-top: .6rem;
line-height: inherit;
position: absolute;
bottom: .44rem;
padding: 0 10px;
}
.reason .content_why .detail {
margin-left: 0;
margin-top: 0.5rem;
}
.reason .content_why .detail p {
font-size: .28rem;
......@@ -601,7 +584,6 @@
.reason .content_why .detail {
margin-left: 0;
width: 580px;
margin-top: 0.5rem;
}
.action .active_box .active h2 {
font-size: 0.45rem;
......@@ -656,10 +638,6 @@
footer .notice {
width: 360px;
}
.reason .content_why .bg p {
margin-top: 40px;
padding: 0 10px;
}
#mask {
position: fixed;
top: 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册