This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb-website.git
The following commit(s) were added to refs/heads/master by this push:
new e83c72d [IOTDB-176] Change version display to IoTDB v0.7.0 pre-Apache
Release
e83c72d is described below
commit e83c72df8e4a61332f99bf11303fe0074a505e01
Author: 151250128 <[email protected]>
AuthorDate: Sun Aug 25 13:13:11 2019 +0800
[IOTDB-176] Change version display to IoTDB v0.7.0 pre-Apache Release
---
src/views/Download.vue | 72 ++++++++++++++++++++++++++++++++------------------
1 file changed, 46 insertions(+), 26 deletions(-)
diff --git a/src/views/Download.vue b/src/views/Download.vue
index 26e24cc..d4d1c68 100644
--- a/src/views/Download.vue
+++ b/src/views/Download.vue
@@ -10,19 +10,35 @@
</select>
</p>
<ul>
- <li style="margin: 5px">Download IoTDB Binaries:<a
class="link-color" :href="selectVersionObj.binariesUrl">
{{selectVersionObj.text}} Release</a>
- <span v-if="selectVersionObj.binariesSHA512Url!==''">[<a
class="link-color" :href="selectVersionObj.binariesSHA512Url">
SHA512</a>]</span>
- <span v-if="selectVersionObj.binariesASCUrl!==''">[<a
class="link-color" :href="selectVersionObj.binariesASCUrl"> ASC</a>]</span>
+ <li style="margin: 5px">Download IoTDB Binaries:<a
class="link-color" :href="selectVersionObj.binariesUrl">
+ {{selectVersionObj.text}} Release</a>
+ <span v-if="selectVersionObj.binariesSHA512Url!==''">[<a
class="link-color"
+
:href="selectVersionObj.binariesSHA512Url">SHA512</a>]</span>
+ <span v-if="selectVersionObj.binariesASCUrl!==''">[<a
class="link-color"
+
:href="selectVersionObj.binariesASCUrl">ASC</a>]</span>
</li>
<li style="margin: 5px" v-if="selectVersionObj.sourcesUrl!==''">
Download IoTDB Sources:<a class="link-color"
:href="selectVersionObj.sourcesUrl"> {{selectVersionObj.text}} Sources</a>
- <span v-if="selectVersionObj.sourcesSHA512Url!==''">[<a
class="link-color" :href="selectVersionObj.sourcesSHA512Url"> SHA512</a>]</span>
- <span v-if="selectVersionObj.sourcesASCUrl!==''">[<a
class="link-color" :href="selectVersionObj.sourcesASCUrl"> ASC</a>]</span>
+ <span v-if="selectVersionObj.sourcesSHA512Url!==''">[<a
class="link-color"
+
:href="selectVersionObj.sourcesSHA512Url">SHA512</a>]</span>
+ <span v-if="selectVersionObj.sourcesASCUrl!==''">[<a
class="link-color"
+
:href="selectVersionObj.sourcesASCUrl">ASC</a>]</span>
</li>
- </ul>
- <p>Main features and change list of each version, please check
<router-link to="/Materials/Release Notes">release notes</router-link>.</p>
+ </ul>
- <span v-if="selectVersionObj.isUnofficialVersion!=='true'">
+ <div class="unofficial-notice"
v-if="selectVersionObj.isUnofficialVersion">
+ <p><b>Notice:</b> The version is a legacy version and was released
before IoTDB was donated to ASF.
+ <br/>
+ As it is not an Apache-verified released version, we suggest
users who use the version
+ upgrade the latest Apache released version ASAP.</p>
+ </div>
+
+ <p>Main features and change list of each version, please check
+ <router-link to="/Materials/Release Notes">release
notes</router-link>
+ .
+ </p>
+
+ <span v-if="!selectVersionObj.isUnofficialVersion">
<h2 class="download-title">Verifying Hashes and Signatures</h2>
<p>
Along with our releases, we also provide sha512 hashes in *.sha512
files and
@@ -35,14 +51,6 @@
KEYS </a>.
</p>
</span>
- <span v-if="selectVersionObj.isUnofficialVersion=='true'">
- <h2 class="download-title">Notice</h2>
- The version is a legacy version and was released before IoTDB was
donated to ASF.
- <br/>
- As it is not an Apache-verified released version, we suggest users
who use the version
- upgrade the latest Apache released version ASAP.
- </span>
-
</div>
<my-sidebar/>
</div>
@@ -66,7 +74,8 @@
iotdbGithubUrl: 'https://github.com/apache/incubator-iotdb',
selectVersionObj: {},
downloadVersionList: [
- {text: 'IoTDB v0.8.0',
+ {
+ text: 'IoTDB v0.8.0',
binariesUrl:
'https://www.apache.org/dyn/closer.cgi/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-bin.zip',
binariesSHA512Url:
'https://www.apache.org/dist/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-bin.zip.sha512',
binariesASCUrl:
'https://www.apache.org/dist/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-bin.zip.asc',
@@ -75,14 +84,14 @@
sourcesASCUrl:
'https://www.apache.org/dist/incubator/iotdb/0.8.0-incubating/apache-iotdb-0.8.0-incubating-source-release.zip.asc'
},
{
- text: 'IoTDB v0.7.0',
+ text: 'IoTDB v0.7.0 pre-Apache',
binariesUrl: 'https://github.com/thulab/iotdb/releases/tag/v0.7.0',
binariesSHA512Url: '',
binariesASCUrl: '',
sourcesUrl: '',
sourcesSHA512Url: '',
sourcesASCUrl: '',
- isUnofficialVersion: 'true'
+ isUnofficialVersion: true
},
]
}
@@ -94,42 +103,53 @@
</script>
<style scoped>
- .main>div {
+ .main > div {
margin-top: 10px;
}
+
.download-title {
margin-bottom: 15px;
margin-top: 15px;
color: #fcac45;
}
+
.link-color {
color: #fcac45;
}
+
.download-version-select {
- -webkit-appearance: none; /* google */
- -moz-appearance: none; /* firefox */
- appearance: none; /* IE */
+ -webkit-appearance: none; /* google */
+ -moz-appearance: none; /* firefox */
+ appearance: none; /* IE */
border: none;
outline: none;
border-radius: 5px;
- width: 150px;
+ width: 230px;
height: 30px;
padding-left: 15px;
background: #fcac45 url("../assets/img/arrow.png") no-repeat scroll right
center;
}
+
select::-ms-expand {
display: none;
}
- p, a{
+ .unofficial-notice {
+ color: #fcac45;
+ border-radius: 5px;
+ padding: 0 15px;
+ }
+
+ p, a {
font-size: 16px;
}
+
.download-section > ul {
padding-left: 20px;
font-size: 16px;
}
- .download-section > p{
+ .download-section > p {
font-size: 16px;
}
</style>