mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
On a phone the settings page opened with its group index on seven lines, and the index was gone once the page, nine screens long, was scrolled. Below the lg breakpoint it is now one row that scrolls sideways and sticks under the navbar (navbar_height.js gives what sticks the navbar's height, which differs between themes and grows when the phone menu opens). Turkish said "VM" in 65 messages and "sanal makine" everywhere else; it now says "sanal makine" throughout. Headings and buttons that still capitalised every word follow the panel's sentence case, in English too (Change password, SSH keys, Power off, ...). Wrong translations fixed: a password that is set read as the command "Ayarla", the firmware setting was called a chip type, Create flavor said Create user, the console viewport setting was called a port, a DRBD typo, and host and interface are sunucu and arabirim as on every page. A group's save button reads "Kaydet: <group>".
37 lines
1.7 KiB
HTML
37 lines
1.7 KiB
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
{% load static %}
|
|
{% load operations %}
|
|
{% load bootstrap_icons %}
|
|
{% block title %}{% trans "Instances" %} - {{ compute.name }}{% endblock %}
|
|
{% block page_heading %}{{ compute.name }} - {% trans "Instances" %}{% endblock page_heading %}
|
|
|
|
{% block page_heading_extra %}
|
|
<input id="filter" class="form-control w-auto" type="text" placeholder="{% trans 'Search' %}" aria-label="{% trans 'Search' %}">
|
|
{% if instances %}
|
|
<a href="{% url 'bulk_migrate' compute.id %}" class="btn btn-outline-primary">{% trans "Bulk migrate" %}</a>
|
|
{% endif %}
|
|
{% if compute.maintenance %}
|
|
{# a disabled button shows no title: its wrapper says why #}
|
|
<span class="d-inline-block" tabindex="0" title="{% blocktrans with compute=compute.name %}{{ compute }} is in maintenance: no new VM or migration comes to it{% endblocktrans %}">
|
|
<button type="button" class="btn btn-primary" disabled>{% bs_icon 'plus-lg' %} {% trans "New VM" %}</button>
|
|
</span>
|
|
{% else %}
|
|
<a href="{% url 'instances:create_instance_select_type' compute.id %}" class="btn btn-primary">{% bs_icon 'plus-lg' %} {% trans "New VM" %}</a>
|
|
{% endif %}
|
|
{% endblock page_heading_extra %}
|
|
|
|
{% block content %}
|
|
<div id="job-panel" aria-live="polite"></div>
|
|
{% include "computes/host_nav.html" with section="instances" %}
|
|
{% if compute.status is not True %}
|
|
<div class="alert alert-danger shadow-sm">
|
|
{% blocktrans with name=compute.name error=compute.connection_error %}Problem occurred with host {{ name }}: {{ error }}{% endblocktrans %}
|
|
</div>
|
|
{% endif %}
|
|
{% include 'instances/vm_list.html' %}
|
|
{% endblock %}
|
|
{% block script %}
|
|
{% include 'instances/vm_list_scripts.html' %}
|
|
{% job_panel_script job_resource %}
|
|
{% endblock %}
|