You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2020/04/14 12:00:56 UTC

[incubator-iotdb] branch master updated: Solved the warning vue IoTDB & modify disclaimer & code style (#1044)

This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new c0f0f57  Solved the warning vue IoTDB & modify disclaimer & code style (#1044)
c0f0f57 is described below

commit c0f0f5773aa7ec89d4e0d92e394c636a993f574a
Author: Sail <37...@users.noreply.github.com>
AuthorDate: Tue Apr 14 20:00:45 2020 +0800

    Solved the warning vue IoTDB & modify disclaimer & code style (#1044)
    
    * modift vue IoTDB
    * modify disclaimer and code style
---
 site/src/main/.vuepress/theme/components/Page.vue      |  2 +-
 .../main/.vuepress/theme/global-components/IoTDB.vue   |  4 +---
 .../main/.vuepress/theme/global-components/IoTDBZH.vue |  6 +-----
 site/src/main/.vuepress/theme/noopModule.js            | 18 ------------------
 site/src/main/.vuepress/theme/styles/code.styl         |  2 +-
 5 files changed, 4 insertions(+), 28 deletions(-)

diff --git a/site/src/main/.vuepress/theme/components/Page.vue b/site/src/main/.vuepress/theme/components/Page.vue
index 5850ffa..356c34a 100644
--- a/site/src/main/.vuepress/theme/components/Page.vue
+++ b/site/src/main/.vuepress/theme/components/Page.vue
@@ -78,7 +78,7 @@
     <p style="text-align: center;">Copyright © 2020 The Apache Software Foundation.<br>
        Apache and the Apache feather logo are trademarks of The Apache Software Foundation</p>
     <p style="text-align:justify!important;paddingLeft:10px;paddingRight:10px;">
-        Disclaimer: Apache IoTDB (incubating) (Database for Internet of Things) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the complet [...]
+        Disclaimer: Apache IoTDB (incubating) (Database for Internet of Things) is an effort undergoing incubation at <a href="https://apache.org/">The Apache Software Foundation (ASF)</a>, sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not neces [...]
     </p>
   </main>
 </template>
diff --git a/site/src/main/.vuepress/theme/global-components/IoTDB.vue b/site/src/main/.vuepress/theme/global-components/IoTDB.vue
index 9580e61..4c931b7 100644
--- a/site/src/main/.vuepress/theme/global-components/IoTDB.vue
+++ b/site/src/main/.vuepress/theme/global-components/IoTDB.vue
@@ -18,8 +18,6 @@
 
 <template >
   <div style="background:linear-gradient(top,#A2A2A2,#fff);">
-
-    <gh-btns-fork slug="vuejs/vue" show-count></gh-btns-fork>
     
     <div style="width:100%;margin: 0 auto;position: relative;height:480px;text-align:center;">
       <h2 class="h2">Apache IoTDB</h2>
@@ -64,7 +62,7 @@
 
     <div class="block">
         <el-carousel trigger="click" height="700px">
-          <el-carousel-item v-for="item in imgBlock" :key="item" style="text-align:center;">
+          <el-carousel-item v-for="(item,index) in imgBlock" :key="index" style="text-align:center;">
             <img :src="item.src" height="500px">
             <h3 style="font-size: 30px;color: #fcac45;text-align: center;line-height: 0px;">{{item.des}}</h3>
             <p style="font-size: 18px;padding:10px;line-height: 22px;text-align:justify!important;font-weight:bold;">{{item.detail}}</p>
diff --git a/site/src/main/.vuepress/theme/global-components/IoTDBZH.vue b/site/src/main/.vuepress/theme/global-components/IoTDBZH.vue
index 28edeae..7a3227d 100644
--- a/site/src/main/.vuepress/theme/global-components/IoTDBZH.vue
+++ b/site/src/main/.vuepress/theme/global-components/IoTDBZH.vue
@@ -18,8 +18,6 @@
 
 <template >
   <div style="background:linear-gradient(top,#A2A2A2,#fff);">
-
-    <gh-btns-fork slug="vuejs/vue" show-count></gh-btns-fork>
     
     <div style="width:100%;margin: 0 auto;position: relative;height:480px;text-align:center;">
       <h2 class="h2">Apache IoTDB</h2>
@@ -52,13 +50,11 @@ Apache IoTDB(孵化中)(物联网数据库)是一个集成数据专为
       </el-row>
     </div>
 
-
-
     <p class="home-title" style="font-size: 50px;">应用场景</p>
 
     <div class="block">
         <el-carousel trigger="click" height="700px">
-          <el-carousel-item v-for="item in imgBlock" :key="item" style="text-align:center;">
+          <el-carousel-item v-for="(item,index) in imgBlock" :key="index" style="text-align:center;">
             <img :src="item.src" height="500px">
             <h3 style="font-size: 30px;color: #fcac45;text-align: center;line-height: 0px;">{{item.des}}</h3>
             <p style="font-size: 18px;padding:10px;line-height: 22px;text-align:justify!important;font-weight:bold;">{{item.detail}}</p>
diff --git a/site/src/main/.vuepress/theme/noopModule.js b/site/src/main/.vuepress/theme/noopModule.js
deleted file mode 100644
index e705a6e..0000000
--- a/site/src/main/.vuepress/theme/noopModule.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-export default {}
diff --git a/site/src/main/.vuepress/theme/styles/code.styl b/site/src/main/.vuepress/theme/styles/code.styl
index 60848ca..4601bb2 100644
--- a/site/src/main/.vuepress/theme/styles/code.styl
+++ b/site/src/main/.vuepress/theme/styles/code.styl
@@ -37,7 +37,7 @@
       &.string
         color complement($accentColor)
       &.function, &.class-name, &.property
-        color darken($secondaryColor, 20%)
+        color skyblue
 
 .content
   pre, pre[class*="language-"]