Commit c83d0651 authored by Rune Myrhaug's avatar Rune Myrhaug
Browse files

Flytte RDP knapp

parent 2e8bb322
Pipeline #2989 passed with stages
in 1 minute and 57 seconds
......@@ -40,7 +40,7 @@
<!-- <th>VM Status</th> -->
<th>Instanstype</th>
<th>RDP</th>
<!-- <th>RDP</th> -->
<th>Status</th>
<th>Opsjoner</th>
</tr>
......@@ -61,7 +61,7 @@
<!-- <td>{{ provisioning_state }}</td> -->
<td><a target="_blank" href="{{ vm_size_doc }}">{{ vm_size }}</a></td>
<td >
<!--<td >
{{#showRdp}}
{{#may.stop}}
......@@ -73,7 +73,7 @@
{{^showRdp}}
NA
{{/showRdp}}
</td>
</td>-->
<td rowspan="2">
{{#may.stop}}<i style="color: #484" class="glyphicon glyphicon-play"></i> {{/may.stop}}
......@@ -85,7 +85,13 @@
{{#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">
<i style="color: #484" class="glyphicon glyphicon-modal-window"></i> RDP
</button>
{{/may.stop}}
{{/showRdp}}
<!-- <button type="button" name="button" class="btn btn-xs btn-default"><i class="glyphicon glyphicon-console"></i> SSH</button> -->
</td>
</tr>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment