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
8b33482c
Commit
8b33482c
authored
Oct 27, 2021
by
robertperez-upc
Committed by
Francesc Guasch
Nov 19, 2021
Browse files
#1511: improve the description that is displayed when hovering the mouse over the machine (#1633)
parent
11ae4aa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/main/list_bases_ng.html.ep
View file @
8b33482c
...
...
@@ -26,17 +26,17 @@
<i
ng-show=
"!machine.is_public"
><i
class=
"far fa-eye-slash fa-xs"
title=
"<%=l 'not public' %>"
></i></i>
</h3>
<div
class=
"container"
>
<a
ng-show=
"machine.screenshot"
ng-click=
"action(machine, 'start')"
><img
<a
ng-show=
"machine.screenshot"
ng-click=
"action(machine, 'start')"
><img
ng-src=
"data:image/png;base64,{{machine.screenshot}}"
alt=
"{{machine.name}}"
class=
"img-thumbnail"
width=
"260"
></a>
<a
ng-show=
"!machine.screenshot"
ng-click=
"action(machine, 'start')"
><img
<a
ng-show=
"!machine.screenshot"
ng-click=
"action(machine, 'start')"
><img
src=
"/img/default_screenshot.png"
class=
"screenshot-default img-thumbnail"
alt=
"{{machine.name}}"
width=
"260"
></a>
<div
ng-show=
"machine.description || (!machine.description && is_admin)"
class=
"overlay"
>
<div
ng-show=
"machine.description"
class=
"text"
ng-bind-html=
"machine.description"
></div>
<div
ng-show=
"!machine.description"
class=
"text"
><a
style=
"background-color: white; pointer-events: auto;"
href=
"/machine/manage/{{machine.id}}.html#v-pills-description"
><
%=
l
'
Add
description
'
%
></a></div>
</div>
<div
ng-show=
"machine.description || (!machine.description && is_admin)"
class=
"overlay"
>
<div
ng-show=
"machine.description"
class=
"text"
ng-bind-html=
"machine.description"
style=
"width: 260px; max-height: 175px; overflow: auto; pointer-events: all"
ng-click=
"action(machine, 'start')"
></div>
<div
ng-show=
"!machine.description"
class=
"text"
><a
style=
"background-color: white; pointer-events: auto;"
href=
"/machine/manage/{{machine.id}}.html#v-pills-description"
><
%=
l
'
Add
description
'
%
></a></div>
</div>
</div>
</div>
<div
class=
"card-body"
id=
"step2"
>
...
...
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