Skip to content

Commit

Permalink
add changelog, adjust styling of notes on summaryt
Browse files Browse the repository at this point in the history
  • Loading branch information
phyzical committed Oct 5, 2024
1 parent 80ba165 commit 8f1fb30
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 6 deletions.
5 changes: 5 additions & 0 deletions docker.labelInjector.plg
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@

<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;" min="6.12.3">
<CHANGES>
###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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,16 @@ function labelForm() {
<button id="remove-all-label-injector-containers">Remove All</button>
</div>
<div class="label-injector-form-group">
<p>Type and press enter to save a label, separate label from value via '='</p>
<p>Empty values are valid to allow for easy filling</p>
<p>spaces will be replaced with a -</p>
<p>To use quotes in an options use \` Otherwise the option fails to save</p>
<p>The following special values are available replacement of values or keys:</p>
<ul>
<h3> Note:</h3>
<ul class="list">
<li>Type and press enter to save a label, separate label from value via '='</li>
<li>When empty values are provided the label will be removed or ignored if not found</li>
<li>Existing tags will be replaced</li>
<li>Spaces will be replaced with a -</li>
<li>To use quotes in an options use \` Otherwise the option fails to save</li>
</ul>
<h3>The following special values are available replacement of values or keys:</h3>
<ul class="list">
<li>\${CONTAINER_NAME} - i.e 'LABEL_A=\${CONTAINER_NAME}.domain.com' -> 'LABEL_A=container_a.domain.com'</li>
</ul>
<select id="label-injector-labels" name="labels" class="label-injector-select" multiple required ></select>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8f1fb30

Please sign in to comment.