Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
FUSS
octomon
Commits
8b341a69
Unverified
Commit
8b341a69
authored
Mar 23, 2019
by
Marco Marinello
Browse files
etc ui
parent
632fde40
Changes
1
Hide whitespace changes
Inline
Side-by-side
hosts/templates/hosts/host.html
View file @
8b341a69
...
...
@@ -205,6 +205,38 @@
{% endfor %}
</tbody>
</table>
<h3
style=
"font-weight:bold;"
>
{% trans "Latest /etc modifications" %}
</h3>
{% if not etc %}{% trans "No etc data available." %}
{% else %}
<table
class=
"table table-striped table-bordered"
>
<thead>
<tr>
<th>
{% trans "Commit" %}
</th>
<th>
{% trans "Modifications" %}
</th>
</tr>
</thead>
<tbody>
{% for commit in etc %}
<tr>
<td><b>
{{commit.message}}
</b><br>
{{commit.datetime}}
</td>
<td>
{% for file in commit.additions %}
<i
class=
"fa fa-plus"
style=
"color:green;"
></i>
{{file}}
<br>
{% endfor %}
{% for file in commit.deletions %}
<i
class=
"fa fa-minus-circle"
style=
"color:red;"
></i>
{{file}}
<br>
{% endfor %}
</td>
<td>
{{iface.2}}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
</div>
</div>
<br>
...
...
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