Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
9cde8d3c
Commit
9cde8d3c
authored
Nov 24, 2020
by
frankiejol
Browse files
refactor(frontend): fixed un-balanced tags
parent
796002dd
Changes
12
Hide whitespace changes
Inline
Side-by-side
templates/bootstrap/navigation.html.ep
View file @
9cde8d3c
...
...
@@ -31,10 +31,10 @@ navbar-dark bg-dark fixed-top navbar-expand-lg navbar-inverse">
% }
<a class="dropdown-item" href="/admin/messages"><i class="fa fa-envelope" aria-hidden="true"></i> <%=l 'messages' %></a>
% if ($monitoring) {
<a class="dropdown-item" href="/admin/monitoring"><i class="fas fa-tachometer-alt" aria-hidden="true"></i> <%=l 'monitoring' %></a>
<a class="dropdown-item" href="/admin/monitoring"><i class="fas fa-tachometer-alt" aria-hidden="true"></i> 
;
<%=l 'monitoring' %></a>
% }
% if ($_user->is_admin) {
<a class="dropdown-item" href="/admin/settings"><i class="fas fa-tachometer-alt" aria-hidden="true"></i> <%=l 'settings' %></a>
<a class="dropdown-item" href="/admin/settings"><i class="fas fa-tachometer-alt" aria-hidden="true"></i> 
;
<%=l 'settings' %></a>
% }
</div>
</li>
...
...
templates/main/manage_machine_edit_net.html.ep
View file @
9cde8d3c
...
...
@@ -18,7 +18,6 @@
<li class="list-group-item list-group-item-primary">
<span ng-show="item.type == 'NAT'">nat</span>
<span ng-show="item.type == 'bridge'">bridge</span>
</p>
</li>
<li class="list-group-item">
<select ng-model="item.network"
...
...
templates/main/manage_machine_new_disk.html.ep
View file @
9cde8d3c
...
...
@@ -68,7 +68,7 @@
</div>
<div class="row">
<div class="col-lg-2">
<label for
"boot"><%=l 'boot order' %></label>
<label for
=
"boot"><%=l 'boot order' %></label>
</div>
<div class="col-lg-2">
<input type="text" size="2" name="boot" ng-model="add_disk.boot">
...
...
templates/main/manage_user.html.ep
View file @
9cde8d3c
<html>
%= include 'bootstrap/header'
<body
id=
"page-top"
data-spy=
"scroll"
data-target=
".fixed-top"
role=
"document"
>
<div
id=
"wrapper"
>
...
...
@@ -34,8 +35,8 @@
</div>
% }
</div>
</div>
<div>
</div>
<
!
--page-header
--
>
<
/
div>
</div>
...
...
templates/main/manage_user_grants.html.ep
View file @
9cde8d3c
...
...
@@ -12,6 +12,5 @@
<button type="reset" class="btn btn-outline-secondary" onclick = "location='/admin/users'"><%=l 'Cancel' %></button>
<input type="submit" class="btn btn-primary" name="grant" value="<%=l 'Submit' %>">
</form>
</form>
</div>
</div>
templates/main/run_request.html.ep
View file @
9cde8d3c
...
...
@@ -30,7 +30,7 @@
{{domain.msg_timeout}}
</span>
</div>
<div
"
panel-body
"
ng-show=
"domain.is_active"
>
<div
class=
"panel-body"
ng-show=
"domain.is_active"
>
<h3>
Connection
</h3>
<ul
ng-show=
"domain.is_active"
>
<li
ng-show=
"domain.spice_password"
>
...
...
@@ -46,7 +46,7 @@
<li><b>
Display URL :
</b>
<a
ng-click=
"copy_password(); redirect()"
href=
"{{domain.display_url}}"
>
{{domain.display_url}}
</a>
</li>
href=
"{{domain.display_url}}"
>
{{domain.display_url}}
</a>
</li>
<li><b>
Display IP :
</b>
{{domain.display.ip}}
</li>
<li><b>
Display Port :
</b>
{{domain.display.port}}
</li>
...
...
templates/main/settings_machine_tabs_body.html.ep
View file @
9cde8d3c
...
...
@@ -11,10 +11,9 @@
</div>
% }
<div class="card_body" ng-cloak="">
% if ($USER->can_change_settings($domain->id)) {
<div class="tab-content" id="v-pills-tabContent">
<div class="tab-pane fade show active" id="v-pills-description" role="tabpanel" aria-labelledby="v-pills-description-tab">
% if ($USER->can_change_settings($domain->id)) {
<div class="tab-pane fade" id="v-pills-description" role="tabpanel" aria-labelledby="v-pills-description-tab">
%= include 'main/vm_description'
</div>
<div class="tab-pane fade" id="v-pills-rename" role="tabpanel" aria-labelledby="v-pills-rename-tab">
...
...
@@ -53,7 +52,7 @@
</div>
% }
% if ($USER->can_change_settings($domain->id) && !$domain->is_base) {
<div class="tab-pane fade" id="v-pills-actions" role="tabpanel" aria-labelledby="v-pills-actions-tab" >
<div class="tab-pane fade
show active
" id="v-pills-actions" role="tabpanel" aria-labelledby="v-pills-actions-tab" >
%= include 'main/vm_actions'
</div>
% }
...
...
templates/main/settings_machine_tabs_head.html.ep
View file @
9cde8d3c
<div class="nav flex-column nav-pills bg-light" id="v-pills-tab" role="tablist" aria-orientation="vertical">
% if (($USER->can_change_settings($domain->id)) && !$domain->is_base) {
<a class="nav-link" id="v-pills-actions-tab"
ng-click="refresh_machine()"
href="#v-pills-actions" data-toggle="pill" role="tab" aria-controls="v-pills-i
c
ons" aria-selected="true"><%=l 'Actions' %></a>
<a class="nav-link
active
" id="v-pills-actions-tab" href="#v-pills-actions" data-toggle="pill" role="tab" aria-controls="v-pills-
act
ions" aria-selected="true"><%=l 'Actions' %></a>
% }
% if ($USER->can_change_settings($domain->id)) {
<a class="nav-link
active
" id="v-pills-description-tab" ng-click="refresh_machine()" href="#v-pills-description" data-toggle="pill" role="tab" aria-controls="v-pills-description" aria-selected="
tru
e"><%=l 'Description' %></a>
<a class="nav-link" id="v-pills-description-tab" ng-click="refresh_machine()" href="#v-pills-description" data-toggle="pill" role="tab" aria-controls="v-pills-description" aria-selected="
fals
e"><%=l 'Description' %></a>
% }
% if ($USER->can_change_settings($domain->id)) {
<a class="nav-link" id="v-pills-rename-tab" ng-click="refresh_machine()" href="#v-pills-rename" data-toggle="pill" role="tab" aria-controls="v-pills-rename" aria-selected="
tru
e"><%=l 'Rename' %></a>
<a class="nav-link" id="v-pills-rename-tab" ng-click="refresh_machine()" href="#v-pills-rename" data-toggle="pill" role="tab" aria-controls="v-pills-rename" aria-selected="
fals
e"><%=l 'Rename' %></a>
% }
% if ($USER->can_change_settings($domain->id) ) {
<a class="nav-link" id="v-pills-options-tab" ng-click="refresh_machine()" href="#v-pills-options" data-toggle="pill" role="tab" aria-controls="v-pills-options" aria-selected="false"><%=l 'Options' %></a>
...
...
templates/main/vm_actions.html.ep
View file @
9cde8d3c
...
...
@@ -8,7 +8,7 @@
</button>
<span><%=l 'Start' %></span>
<br><br>
<div>
<
/
div>
<div ng-show="showmachine.can_hibernate">
<button type="button" class="btn btn-warning btn-sm"
...
...
templates/main/vm_pool.html.ep
View file @
9cde8d3c
...
...
@@ -60,7 +60,6 @@
</div>
</div>
</div>
</form>
</div>
<div class="panel-body" ng-show="!showmachine.is_base && showmachine.id_base">
<div class="row">
...
...
templates/ng-templates/machines_notif.html.ep
View file @
9cde8d3c
...
...
@@ -15,6 +15,5 @@
</li>
</ul>
</div>
</div>
</div>
templates/ng-templates/new_machine_template.html.ep
View file @
9cde8d3c
...
...
@@ -110,7 +110,6 @@
<a ng-show="swap.enabled"
ng-click="swap.enabled=false"
align="right"><span class="badge badge-primary ml-2">Disable</span></a>
</label>
</div>
<div>
<span>Content will be cleaned on restore and shutdown</span>
...
...
@@ -133,7 +132,6 @@
<a ng-show="data.enabled"
ng-click="data.enabled=false"
align="right"><span class="badge badge-primary ml-2">Disable</span></a>
</label>
</div>
<div>
<span>Content will be kept on restore</span>
...
...
Write
Preview
Supports
Markdown
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