Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ASM
edulab-frontend
Commits
61b14267
Commit
61b14267
authored
Jul 06, 2017
by
Rune Myrhaug
Browse files
Bytte om på rekkefølge på knapper
parent
c83d0651
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/machines.mustache
View file @
61b14267
...
...
@@ -82,9 +82,6 @@
{{
display_status
}}
/
{{
provisioning_state
}}
</td>
<td
rowspan=
"2"
>
{{#
may
.
stop
}}
<button
type=
"button"
name=
"button"
data-vmid=
"
{{
name
}}
"
class=
"vmstop btn btn-xs btn-default"
><i
class=
"glyphicon glyphicon-pause"
></i>
Stopp
</button>
{{/
may
.
stop
}}
{{#
may
.
start
}}
<button
type=
"button"
name=
"button"
data-vmid=
"
{{
name
}}
"
class=
"vmstart btn btn-xs btn-primary"
><i
class=
"glyphicon glyphicon-play"
></i>
Start
</button>
{{/
may
.
start
}}
{{#
may
.
delete
}}
<button
type=
"button"
name=
"button"
data-vmid=
"
{{
name
}}
"
class=
"vmdelete btn btn-xs btn-danger"
><i
class=
"glyphicon glyphicon-remove"
></i>
Delete
</button>
{{/
may
.
delete
}}
{{#
showRdp
}}
{{#
may
.
stop
}}
<a
href=
"/rdp?address=
{{
publicIp
}}
"
name=
"button"
class=
"btn btn-xs btn-default"
>
...
...
@@ -92,6 +89,10 @@
</button>
{{/
may
.
stop
}}
{{/
showRdp
}}
{{#
may
.
stop
}}
<button
type=
"button"
name=
"button"
data-vmid=
"
{{
name
}}
"
class=
"vmstop btn btn-xs btn-default"
><i
class=
"glyphicon glyphicon-pause"
></i>
Stopp
</button>
{{/
may
.
stop
}}
{{#
may
.
start
}}
<button
type=
"button"
name=
"button"
data-vmid=
"
{{
name
}}
"
class=
"vmstart btn btn-xs btn-primary"
><i
class=
"glyphicon glyphicon-play"
></i>
Start
</button>
{{/
may
.
start
}}
{{#
may
.
delete
}}
<button
type=
"button"
name=
"button"
data-vmid=
"
{{
name
}}
"
class=
"vmdelete btn btn-xs btn-danger"
><i
class=
"glyphicon glyphicon-remove"
></i>
Delete
</button>
{{/
may
.
delete
}}
<!-- <button type="button" name="button" class="btn btn-xs btn-default"><i class="glyphicon glyphicon-console"></i> SSH</button> -->
</td>
</tr>
...
...
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