Commit d9b06b48 authored by fv3rdugo's avatar fv3rdugo
Browse files

Reorder tabs

Add warning in Delete machine tab
parent d68ff10e
......@@ -381,3 +381,10 @@ ul.alert-dropdown {
border-radius: 5px;
border-top:1px solid #d73a49;
border-bottom:1px solid #d73a49;
border-left:1px solid #d73a49;
border-right:1px solid #d73a49;
......@@ -19,11 +19,11 @@
</div> <!-- del panel heading-->
<ul class="nav nav-tabs" id="myTab">
<li class="nav active"><a href="#drivers" data-toggle="tab">Drivers</a></li>
<li class="nav"><a href="#graphics" data-toggle="tab">Graphics</a></li>
% if ( $USER->is_admin ) {
<li class="nav"><a href="#remove" data-toggle="tab">Remove Machine</a></li>
<li class="nav"><a href="#rename" data-toggle="tab">Rename</a></li>
<li class="nav"><a href="#copy" data-toggle="tab">Copy</a></li>
<li class="nav"><a href="#graphics" data-toggle="tab">Graphics</a></li>
<li class="nav"><a href="#remove" data-toggle="tab">Delete Machine</a></li>
% }
<div class="tab-content">
<div class="panel-body">
<div class="panel-body nav--danger">
<div class="panel panel-warning" ng-show="showmachine.has_clones">
<div class="panel-heading">
......@@ -13,21 +13,24 @@
<%=l 'Remove Clones' %>
<a type="button" class="btn btn-danger"
<h2 class="Subhead-heading">
Danger Zone
<span class="text">Once you delete the machine, there is no going back. Please be certain.</span><br>
<a type="button" class="btn btn-danger"
ng-hide="showmachine.has_clones > 0"
<%=l 'Remove' %>
<%=l 'Delete this machine' %>
<div ng-show="domain_remove">
<span class="text-danger"><b>Danger</b>.
This will remove all the contents of the machine
<i><%= $domain->name %></i>.
<b>This action can't be undone</b>.
Are you sure ? <br/>
Are you sure ? </span><br/>
<a type="button" class="btn btn-danger"
Supports Markdown
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