[DEBIAN] test for multiline cell in tables
All checks were successful
/ test (push) Successful in 12s
All checks were successful
/ test (push) Successful in 12s
This commit is contained in:
parent
08b8cab8b1
commit
6b822046ae
1 changed files with 9 additions and 6 deletions
|
@ -33,12 +33,15 @@ services
|
|||
{% if docker %}Docker
|
||||
######
|
||||
|
||||
============================================================ ============================================================ ============================================================ ============================================================
|
||||
Name Image Port Status
|
||||
============================================================ ============================================================ ============================================================ ============================================================{% for dock in docker %}
|
||||
{{ "{:<60}".format(dock["names"]) }} {{ "{:<60}".format(dock["image"]) }} {% if dock["ports"] %}{% for port in dock["ports"].split(",") %}{% if dock["ports"].split(",").index(port) != 0 %}
|
||||
{{ " "*121 }}{{ "{:<62}".format(port) }}{% else %}{{ "{:<60}".format(port) }} {{ "{:<62}".format(dock["status"]) }}{% endif %}{% endfor %}{% endif %}{% if not dock["ports"] %}{{ "{:<61}".format("None") }}{% endif %}{{ "{:<60}".format(dock["status"]) }} {% endfor %}
|
||||
============================================================ ============================================================ ============================================================ ============================================================{% endif %}
|
||||
.. table::
|
||||
:class: sphinx-datatable
|
||||
|
||||
============================================================ ============================================================ ============================================================ ============================================================
|
||||
Name Image Port Status
|
||||
============================================================ ============================================================ ============================================================ ============================================================{% for dock in docker %}
|
||||
{{ "{:<60}".format(dock["names"]) }} {{ "{:<60}".format(dock["image"]) }} {% if dock["ports"] %}{% for port in dock["ports"].split(",") %}{% if dock["ports"].split(",").index(port) != 0 %}
|
||||
{{ " "*121 }}{{ "{:<62}".format(port) }}{% else %}{{ "{:<60}".format(port) }} {{ "{:<62}".format(dock["status"]) }}{% endif %}{% endfor %}{% endif %}{% if not dock["ports"] %}{{ "{:<61}".format("None") }}{% endif %}{{ "{:<60}".format(dock["status"]) }} {% endfor %}
|
||||
============================================================ ============================================================ ============================================================ ============================================================{% endif %}
|
||||
|
||||
Systemd
|
||||
#######
|
||||
|
|
Loading…
Add table
Reference in a new issue