Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
W
WidgetUI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WuFeiyang
WidgetUI
Commits
58afa437
Commit
58afa437
authored
5 years ago
by
WuFeiyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完全版
parent
c6dd3f22
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
7 deletions
+9
-7
src/App.vue
src/App.vue
+4
-3
src/components/Common/WidgetParams.vue
src/components/Common/WidgetParams.vue
+2
-2
src/components/Status/Status.vue
src/components/Status/Status.vue
+2
-2
src/components/WaveView/showViewInfo.vue
src/components/WaveView/showViewInfo.vue
+1
-0
No files found.
src/App.vue
View file @
58afa437
<
template
>
<div
id=
"app"
>
<b-navbar
class=
"Widget"
>
<b-dropdown
id=
"dropdown-1"
text=
"Add Widget"
class=
"m-md-2"
variant=
"primary"
>
<b-dropdown-item
v-for=
"(availableWidget,index) in availableWidgets"
:key=
"index"
>
<b-dropdown
id=
"dropdown-1"
text=
"Add Widget"
class=
"m-md-2"
variant=
"primary"
size=
"lg"
>
<b-dropdown-item
v-for=
"(availableWidget,index) in availableWidgets"
:key=
"index"
class=
"smallFont"
>
<div
v-on:click=
"addWidget(availableWidget)"
>
{{
availableWidget
}}
</div>
</b-dropdown-item>
</b-dropdown>
<b-button
@
click=
"saveWidgetList"
style=
"margin-left:2%"
variant=
"primary"
>
Save
</b-button>
<b-button
class=
"smallFont"
@
click=
"saveWidgetList"
style=
"margin-left:2%"
variant=
"primary"
>
Save
</b-button>
<b-form-file
id=
"file"
type=
"file"
...
...
@@ -14,6 +14,7 @@
placeholder=
"Choose a widgetTemplate file to laod"
accept=
".json"
style=
"width:30%;margin-left:2%"
class=
"smallFont"
/>
</b-navbar>
...
...
This diff is collapsed.
Click to expand it.
src/components/Common/WidgetParams.vue
View file @
58afa437
...
...
@@ -2,12 +2,12 @@
<div
style=
"width:100%"
>
<div
v-for=
"(label, index) in userInputData.keys()"
:key=
"index"
>
<b-input-group
size=
"lg"
style=
"margin:5px"
>
<b-input-group-text>
{{
label
}}
</b-input-group-text>
<b-input-group-text
class=
"smallFont"
>
{{
label
}}
</b-input-group-text>
<b-form-input
v-model=
"tempUserInputData[label]"
></b-form-input>
</b-input-group>
</div>
<div
style=
"width:100%;margin:5px"
>
<b-button
variant=
"primary"
@
click=
"update"
style=
"float:right"
>
<b-button
variant=
"primary"
size=
"lg"
@
click=
"update"
style=
"float:right"
>
<b>
{{
action
}}
</b>
<span
class=
"glyphicon glyphicon-save"
></span>
</b-button>
...
...
This diff is collapsed.
Click to expand it.
src/components/Status/Status.vue
View file @
58afa437
...
...
@@ -9,10 +9,10 @@
</b-col>
<div
v-show=
"isShowPath"
><hr
/></div>
</b-row>
<div
style=
"width:100%
"
>
<div
style=
"width:100%;overflow:auto
"
>
<span
style=
"float:left;"
class=
"largeFont"
>
{{
StatusValue
}}
</span>
<div
v-show=
"isShowPath"
><hr
/></div>
</div>
<div
v-show=
"isShowPath"
><hr
/></div>
<b-input-group
size=
"lg"
prepend=
"path"
v-show=
"isShowPath"
>
<b-form-input
v-model=
"config.data.url"
></b-form-input>
<b-input-group-append>
...
...
This diff is collapsed.
Click to expand it.
src/components/WaveView/showViewInfo.vue
View file @
58afa437
...
...
@@ -6,6 +6,7 @@
<b-button
variant=
"primary"
style=
"float:right"
>
<span
class=
"glyphicon glyphicon-cog"
@
click=
"showPathIdConfig"
></span>
</b-button>
<br>
<hr
/>
</div>
</
template
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment