Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-admin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-boot-admin
Commits
f8b9d82f
Commit
f8b9d82f
authored
Apr 19, 2016
by
Johannes Edmeier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix boolean attribute in jmx view
fixes #184
parent
e630274d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
jmx.html
spring-boot-admin-server-ui/app/views/apps/jmx.html
+6
-2
No files found.
spring-boot-admin-server-ui/app/views/apps/jmx.html
View file @
f8b9d82f
...
...
@@ -50,7 +50,9 @@
<input
ng-switch-when=
"long"
class=
"span5"
type=
"number"
ng-model=
"attr.value"
ng-disabled=
"!attr.rw"
/>
<input
ng-switch-when=
"int"
class=
"span5"
type=
"number"
ng-model=
"attr.value"
ng-disabled=
"!attr.rw"
/>
<input
ng-switch-when=
"double"
class=
"span5"
type=
"number"
ng-model=
"attr.value"
ng-disabled=
"!attr.rw"
/>
<select
ng-switch-when=
"boolean"
class=
"span5"
ng-model=
"attr.value"
ng-disabled=
"!attr.rw"
ng-options=
"val for val in [true, false]"
/>
<select
ng-switch-when=
"boolean"
class=
"span5"
ng-model=
"attr.value"
ng-disabled=
"!attr.rw"
>
<option
ng-repeat=
"opt in [true, false]"
value=
"{{opt}}"
ng-selected=
"attr.value == opt"
>
{{opt}}
</option>
</select>
<textarea
ng-switch-default
style=
"word-break: break-all;"
class=
"span5"
ng-model=
"attr.jsonValue"
ng-disabled=
"!attr.rw"
/>
</div>
<span
class=
"help-block"
>
{{attr.desc}}
</span>
...
...
@@ -91,7 +93,9 @@
<
input
ng
-
switch
-
when
=
"long"
class
=
"span6"
type
=
"number"
ng
-
model
=
"invocation.args[$index]"
/>
<
input
ng
-
switch
-
when
=
"int"
class
=
"span6"
type
=
"number"
ng
-
model
=
"invocation.args[$index]"
/>
<
input
ng
-
switch
-
when
=
"double"
class
=
"span6"
type
=
"number"
ng
-
model
=
"invocation.args[$index]"
/>
<
select
ng
-
switch
-
when
=
"boolean"
class
=
"span6"
ng
-
model
=
"invocation.args[$index]"
ng
-
options
=
"val for val in [true, false]"
/>
<
select
ng
-
switch
-
when
=
"boolean"
class
=
"span5"
ng
-
model
=
"invocation.args[$index]"
>
<
option
ng
-
repeat
=
"opt in [true, false]"
value
=
"{{opt}}"
ng
-
selected
=
"invocation.args[$index] == opt"
>
{{
opt
}}
<
/option
>
<
/select
>
<
textarea
ng
-
switch
-
default
style
=
"word-break: break-all;"
class
=
"span6"
ng
-
model
=
"invocation.args[$index]"
/>
<
span
class
=
"help-block"
>
{{
arg
.
desc
}}
<
/span
>
<
/div
>
...
...
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