diff --git a/services/webapp/code/rosetta/core_app/static/css/stylish-portfolio.css b/services/webapp/code/rosetta/core_app/static/css/stylish-portfolio.css index d666a80f52e503a0a415c9610f8de1bca2269234..8aa7c743919c840f7fcc40d3626e6f92e585b969 100644 --- a/services/webapp/code/rosetta/core_app/static/css/stylish-portfolio.css +++ b/services/webapp/code/rosetta/core_app/static/css/stylish-portfolio.css @@ -586,7 +586,6 @@ th, td { .image-version-box { width: 100%; display: -webkit-box; - -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 5px; diff --git a/services/webapp/code/rosetta/core_app/templates/components/computing.html b/services/webapp/code/rosetta/core_app/templates/components/computing.html index 0a56384b893090a8395eb06092135c0b07b0a20f..d405510cee833e88e59dcded61c81497e71467f4 100644 --- a/services/webapp/code/rosetta/core_app/templates/components/computing.html +++ b/services/webapp/code/rosetta/core_app/templates/components/computing.html @@ -19,11 +19,6 @@ <td>{{ data.computing.description }}</td> </tr> - <tr> - <td width="110px"><b>ID</b></td> - <td>{{ data.computing.id }}</a></td> - </tr> - <tr> <td><b>Type</b></td> <td>{{ data.computing.type }}</td> @@ -45,15 +40,28 @@ </tr> <tr> - <td><b>Owner</b></td> - <td>{% if data.computing.user %}{{ data.computing.user }}{% else %}platform{% endif %}</td> + <td><b>Container runtimes</b></td> + <td>{{ data.computing.container_runtimes }}</td> </tr> + <tr> - <td><b>Container runtimes</b></td> - <td>{{ data.computing.container_runtimes }}</td> + <td><b>Storages</b></td> + <td> + {% if not computing.storages.all %} + none + {% else %} + {% for storage in computing.storages.all %} + {% if storage.bind_path %} + {{ storage.name }} @ <code>{{ storage.bind_path }}</code><br/> + {% endif %} + {% endfor %} + {% endif %} + </td> </tr> + + </table> </div> @@ -77,11 +85,23 @@ {% endif %} <div class="image-version-box"> <b>Type:</b> {{ computing.type }}<br/> - {% if computing.auth_mode == 'user_keys' %} - <b>Access:</b> restricted + <!-- -->{% if computing.auth_mode == 'user_keys' %} + <b>Access:</b> user keys {% else %} <b>Access:</b> open {% endif %} + <br/> + <b>Storages:</b> + {% if not computing.storages.all %} + none + {% else %} + <br/> + {% for storage in computing.storages.all %} + {% if storage.bind_path %} + {{ storage.name }} @ <code>{{ storage.bind_path }}</code><br/> + {% endif %} + {% endfor %} + {% endif %} </div> <!-- ><b>Access:</b> {{ computing.access_mode }}<br/> -- <!-- <b>Owner:</b> {% if computing.user %}{{ computing.user }}{% else %}Platform{% endif %}<br/> -->