diff --git a/CHANGELOG.md b/CHANGELOG.md index 2051e9f..dec16d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 2.1.4 - 2019/11/08 +* Use autofocus on username input field instead of the password field +* Fill missing cells on incorrect cell count in table views when only partial data is available + ## 2.1.3 - 2019/08/08 * Fixed false rendering of forms * Fixed channel tree view showing the wrong virtual server after selection diff --git a/README.md b/README.md index 6a2ac08..1dcb256 100755 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ ts3web is a free and open-source web interface for TeamSpeak 3 instances. The minimalistic approach of this application is intentional. -* Docker images available on https://hub.docker.com/r/varakh/ts3web -* Sources are hosted on https://gitlab.com/varakh/ts3web +* Docker images available on [https://hub.docker.com/r/varakh/ts3web](https://hub.docker.com/r/varakh/ts3web) +* Sources are hosted on [https://gitlab.com/varakh/ts3web](https://gitlab.com/varakh/ts3web) ## Limitations Features which are currently not supported: @@ -52,7 +52,7 @@ IP for this example setup. the `env` file referenced in the example `docker-compose`. ``` -version: '2' +version: '2.1' networks: teamspeak: external: false @@ -86,6 +86,11 @@ services: restart: always networks: - teamspeak + healthcheck: + test: "nc -z localhost 80" + interval: 1s + timeout: 10s + retries: 5 ``` Now execute `docker-compose up -d` to start those containers. If you like to update, do `docker-compose down`, diff --git a/docker/nginx.conf b/docker/nginx.conf index 1dc14e7..a560d80 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -75,7 +75,6 @@ http { # Enable checking the existence of precompressed files. #gzip_static on; - # Specifies the main log format. log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' diff --git a/src/View/bootstrap4/login.twig b/src/View/bootstrap4/login.twig index 76c3757..67a4866 100644 --- a/src/View/bootstrap4/login.twig +++ b/src/View/bootstrap4/login.twig @@ -24,14 +24,14 @@ + autofocus required>
- {% set item = value %} + + {% set showColumn = true %} + {% if key in hiddenColumns %} + {% set showColumn = false %} + {% endif %} - - {% set editable = null %} - {% for attr in attributesEditable %} - {% if attr.key == key %} - {% set editable = attr %} + {% if showColumn %} + | + {% set item = value %} + + + {% set editable = null %} + {% for attr in attributesEditable %} + {% if attr.key == key %} + {% set editable = attr %} + {% endif %} + {% endfor %} + + + {% if editable is not empty %} + {% include 'form_inline.twig' with {'editable': editable} %} + + {% else %} + {% for link in links %} + {% if link.key == key %} + {% if link.uri_param is not empty %} + {% for searchingKey, searchingValue in arr %} + {% if searchingKey == link.uri_param %} + {% set item = "#{value}" %} + {% endif %} + {% endfor %} + {% else %} + {% set item = "#{value}" %} + {% endif %} {% endif %} {% endfor %} - - {% if editable is not empty %} - {% include 'form_inline.twig' with {'editable': editable} %} - + {% if item is empty %} {% else %} - {% for link in links %} - {% if link.key == key %} - {% if link.uri_param is not empty %} - {% for searchingKey, searchingValue in arr %} - {% if searchingKey == link.uri_param %} - {% set item = "#{value}" %} - {% endif %} - {% endfor %} - {% else %} - {% set item = "#{value}" %} - {% endif %} - {% endif %} - {% endfor %} - {{ item|raw }} {% endif %} - | - {% endif %} - {% endfor %} + {% endif %} + + {% endif %} + {% endfor %} - - {% for link in additional_links %} -- {% set item = "#{link.label}" %} + + {% for link in additional_links %} + | + {% set item = "#{link.label}" %} - {% if link.uri_param is not empty %} - {% for searchingKey, searchingValue in arr %} - {% if searchingKey == link.uri_param %} - {% set shownValue = searchingValue %} + {% if link.uri_param is not empty %} + {% for searchingKey, searchingValue in arr %} + {% if searchingKey == link.uri_param %} + {% set shownValue = searchingValue %} - {% if link.apply is not empty %} + {% if link.apply is not empty %} + {% if shownValue is not empty %} {% set shownValue = shownValue|apply_filter(link.apply)|raw %} {% endif %} - - {% set item = "#{link.label}" %} {% endif %} - {% endfor %} - {% endif %} - {{ item|raw }} - | - {% endfor %} -