Skip to content
GitLab
菜单
为什么选择 GitLab
定价
联系销售
探索
为什么选择 GitLab
定价
联系销售
探索
登录
获取免费试用
主导航
搜索或转到…
项目
Z
zap
管理
动态
成员
标记
计划
议题
议题看板
里程碑
迭代
Wiki
代码
合并请求
仓库
分支
提交
标签
仓库图
比较修订版本
代码片段
锁定的文件
构建
流水线
作业
流水线计划
产物
部署
发布
Package registry
容器镜像库
模型注册表
运维
环境
Terraform 模块
监控
事件
服务台
分析
价值流分析
贡献者分析
CI/CD 分析
仓库分析
代码评审分析
议题分析
模型实验
效能分析
帮助
帮助
支持
GitLab 文档
比较 GitLab 各版本
社区论坛
为极狐GitLab 提交贡献
提交反馈
隐私声明
快捷键
?
新增功能
4
代码片段
群组
项目
显示更多面包屑
esp-mirror
project-chip
zap
提交
6f89b576
提交
6f89b576
编辑于
3 years ago
作者:
sahar kargar
提交者:
Timotej Ecimovic
3 years ago
浏览文件
操作
下载
补丁
差异文件
https://github.com/project-chip/zap/issues/343
上级
be6a7ee3
No related branches found
No related tags found
无相关合并请求
变更
3
隐藏空白变更内容
行内
左右并排
显示
3 个更改的文件
src/layouts/ZclLayout.vue
+9
-0
9 个添加, 0 个删除
src/layouts/ZclLayout.vue
src/pages/About.vue
+15
-9
15 个添加, 9 个删除
src/pages/About.vue
src/pages/Preference.vue
+3
-19
3 个添加, 19 个删除
src/pages/Preference.vue
有
27 个添加
和
28 个删除
src/layouts/ZclLayout.vue
+
9
−
0
浏览文件 @
6f89b576
...
...
@@ -62,6 +62,9 @@ limitations under the License.
id=
"preference"
to=
"/preference"
/>
<q-btn
flat
@
click=
"homeDialog = !homeDialog"
icon=
"mdi-alert-circle"
>
<q-tooltip>
About
</q-tooltip>
</q-btn>
</q-toolbar>
<q-layout
view=
"hHh Lpr lff"
...
...
@@ -161,6 +164,9 @@ limitations under the License.
</q-page-container>
</q-layout>
</div>
<q-dialog
v-model=
"homeDialog"
>
<About
/>
</q-dialog>
</div>
</template>
...
...
@@ -170,6 +176,7 @@ import Exceptions from '../components/Exceptions.vue'
import
ZclInformationSetup
from
'
../components/ZclInformationSetup.vue
'
import
ZclConfiguratorLayout
from
'
./ZclConfiguratorLayout.vue
'
import
SqlQuery
from
'
../components/SqlQuery.vue
'
import
About
from
'
../pages/About.vue
'
const
restApi
=
require
(
`../../src-shared/rest-api.js`
)
const
rendApi
=
require
(
`../../src-shared/rend-api.js`
)
const
observable
=
require
(
'
../util/observable.js
'
)
...
...
@@ -245,6 +252,7 @@ export default {
ZclConfiguratorLayout
,
SqlQuery
,
Exceptions
,
About
,
},
data
()
{
return
{
...
...
@@ -264,6 +272,7 @@ export default {
index
:
0
,
maxIndex
:
0
,
generationDirectory
:
''
,
homeDialog
:
false
,
}
},
computed
:
{
...
...
此差异已折叠。
点击以展开。
src/pages/About.vue
+
15
−
9
浏览文件 @
6f89b576
...
...
@@ -14,15 +14,21 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
<
template
>
<div>
<q-img
src=
"~assets/zap_splash.png"
>
<div
class=
"absolute-bottom text-subtitle1 text-center"
>
Version
{{
version
}}
(fl
{{
featureLevel
}}
,
{{
date
}}
, #
{{
hash
}}
)
<br
/>
©
2020 by the authors. Released as open-source, under terms of
Apache 2.0 license.
{{
version
}}
</div>
</q-img>
<div
style=
"width: 100%; height: auto"
>
<q-card>
<q-card-section
><q-img
src=
"~assets/zap_splash.png"
>
<div
class=
"absolute-bottom text-subtitle1 text-center"
>
Version
{{
version
}}
(fl
{{
featureLevel
}}
,
{{
date
}}
, #
{{
hash
}}
)
<br
/>
©
2020 by the authors. Released as open-source, under terms of
Apache 2.0 license.
{{
version
}}
</div>
</q-img>
</q-card-section>
</q-card>
</div>
</
template
>
<
script
>
...
...
此差异已折叠。
点击以展开。
src/pages/Preference.vue
+
3
−
19
浏览文件 @
6f89b576
...
...
@@ -15,12 +15,8 @@ limitations under the License.
-->
<
template
>
<div>
<q-toolbar
class=
"shadow-2"
>
<q-btn
icon=
"arrow_back"
to=
"/"
label=
"Back"
/>
<q-toolbar
class=
"shadow-2"
>
<q-btn
icon=
"arrow_back"
to=
"/"
label=
"Back"
/>
</q-toolbar>
<q-splitter
v-model=
"splitterModel"
style=
"height: 100%"
>
<template
v-slot:before
>
...
...
@@ -32,11 +28,6 @@ limitations under the License.
icon=
"mdi-file-document-edit-outline"
label=
"Generation"
/>
<q-tab
name=
"About"
icon=
"mdi-alert-circle"
label=
"About"
/>
</q-tabs>
</
template
>
...
...
@@ -49,7 +40,7 @@ limitations under the License.
transition-prev=
"jump-up"
transition-next=
"jump-up"
>
<q-tab-panel
name=
"user"
>
<q-tab-panel
name=
"user"
>
<PreferenceUser
/>
</q-tab-panel>
<q-tab-panel
name=
"package"
>
...
...
@@ -59,11 +50,6 @@ limitations under the License.
<q-tab-panel
name=
"gen"
>
<PreferenceGeneration
/>
</q-tab-panel>
<q-tab-panel
name=
"About"
>
<About
/>
</q-tab-panel>
</q-tab-panels>
</
template
>
</q-splitter>
...
...
@@ -73,14 +59,12 @@ limitations under the License.
import
PreferencePackage
from
'
./PreferencePackage.vue
'
import
PreferenceGeneration
from
'
./PreferenceGeneration.vue
'
import
PreferenceUser
from
'
./PreferenceUser.vue
'
import
About
from
'
./About.vue
'
export
default
{
name
:
'
Preference
'
,
components
:
{
PreferencePackage
,
PreferenceGeneration
,
PreferenceUser
,
About
,
},
data
()
{
return
{
...
...
此差异已折叠。
点击以展开。
预览
0%
加载中
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
保存评论
取消
想要评论请
注册
或
登录