diff --git a/docker.labelInjector.plg b/docker.labelInjector.plg index ee5099c..5517f43 100644 --- a/docker.labelInjector.plg +++ b/docker.labelInjector.plg @@ -12,6 +12,11 @@ +###2024.10.05 +- Fix visibility of changes in the summary when dark mode +- Add remove all button during edit mode +- Adjusted summary text to make it more obvious the sequence of events + ###2024.10.02 - Hard code options to be black text to avoid fighting dark mode - Fix permissions in archive being set to my user instead of none diff --git a/src/docker.labelInjector/usr/local/emhttp/plugins/docker.labelInjector/scripts/docker.js b/src/docker.labelInjector/usr/local/emhttp/plugins/docker.labelInjector/scripts/docker.js index 07db69e..1263548 100644 --- a/src/docker.labelInjector/usr/local/emhttp/plugins/docker.labelInjector/scripts/docker.js +++ b/src/docker.labelInjector/usr/local/emhttp/plugins/docker.labelInjector/scripts/docker.js @@ -88,12 +88,16 @@ function labelForm() {
-

Type and press enter to save a label, separate label from value via '='

-

Empty values are valid to allow for easy filling

-

spaces will be replaced with a -

-

To use quotes in an options use \` Otherwise the option fails to save

-

The following special values are available replacement of values or keys:

-
    +

    Note:

    +
      +
    • Type and press enter to save a label, separate label from value via '='
    • +
    • When empty values are provided the label will be removed or ignored if not found
    • +
    • Existing tags will be replaced
    • +
    • Spaces will be replaced with a -
    • +
    • To use quotes in an options use \` Otherwise the option fails to save
    • +
    +

    The following special values are available replacement of values or keys:

    +
    • \${CONTAINER_NAME} - i.e 'LABEL_A=\${CONTAINER_NAME}.domain.com' -> 'LABEL_A=container_a.domain.com'
    diff --git a/src/docker.labelInjector/usr/local/emhttp/plugins/docker.labelInjector/styles/styles.css b/src/docker.labelInjector/usr/local/emhttp/plugins/docker.labelInjector/styles/styles.css index 397956d..cba92a2 100644 --- a/src/docker.labelInjector/usr/local/emhttp/plugins/docker.labelInjector/styles/styles.css +++ b/src/docker.labelInjector/usr/local/emhttp/plugins/docker.labelInjector/styles/styles.css @@ -36,6 +36,17 @@ color: black; } +#label-injector-form ul { + list-style-type: none; /* Remove default list styling */ + padding: 0; /* Remove default padding */ + text-align: center; /* Center the text */ +} + +#label-injector-form ul li { + margin: 0 10px; /* Add some margin between items */ + width: auto; /* Ensure items do not take up the maximum width */ +} + .docker-label-updates { overflow-y: scroll; height:400px;