Skip to content

Commit

Permalink
Improved options layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkarex committed Oct 10, 2023
1 parent 5b16e13 commit 4954fba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ It is to be used in conjunction with an [HTTP Input node](https://cookbook.noder

There are three type of configuration:

1. *Not Shared*: each node has it's own credentials. (one credential)
2. *Shared*: credentials shared which multiple nodes. (one credential)
1. *Simple*: each node has its own credentials. (one credential)
2. *Shared*: credentials shared with multiple nodes. (one credential)
3. *File*: the user credentials are stored in a file. (multiple credentials)

With all three config types you must specify the following:

- *Realm*: what realm will be used with this node
- *Hashed*: are the passwords in the *Password* field or in the credentials file hashed.

With *Shared* and *Not Shared* config types you must specify the following:
With *Simple* and *Shared* config types you must specify the following:

- *Username*: the username
- *Password*: the password.
Expand Down
11 changes: 4 additions & 7 deletions nodes/http-auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" />
</div>
<hr />

<fieldset>
<legend>Option 1: Simple (not shared)</legend>
<legend>Option 1: Simple</legend>
<div class="form-row">
<label for="node-input-realm"><i class="fa fa-globe"></i> Realm</label>
<input type="text" id="node-input-realm" />
Expand All @@ -47,7 +46,6 @@
<input type="checkbox" id="node-input-hashed" />
</div>
</fieldset>
<hr />

<fieldset>
<legend>Option 2: Shared</legend>
Expand All @@ -56,7 +54,6 @@
<input type="text" id="node-input-cred" />
</div>
</fieldset>
<hr />

<fieldset>
<legend>Option 3: File</legend>
Expand Down Expand Up @@ -85,9 +82,9 @@ <h2>Config</h2>
</p>
<p>There are three type of configuration:</p>
<ol>
<li><i>Simple</i>: each node has it’s own credentials. (one credential)</li>
<li><i>Shared</i>: credentials shared with multiple nodes. (one credential)</li>
<li><i>File</i>: the user credentials are stored in a file. (multiple credentials)</li>
<li><i>Shared</i>: credentials shared which multiple nodes. (one credential)</li>
<li><i>Not Shared</i>: each node has it's own credentials. (one credential)</li>
</ol>

<p>With all three config types you must specify the following:</p>
Expand All @@ -96,7 +93,7 @@ <h2>Config</h2>
<li><i>Hashed</i>: are the passwords in the Password field or in the credentials file hashed.</li>
</ul>

<p>With <i>Shared</i> and <i>Not Shared</i> config types you must specify the following:</p>
<p>With <i>Simple</i> and <i>Shared</i> config types you must specify the following:</p>
<ul>
<li><i>Username</i>: the username</li>
<li>
Expand Down

0 comments on commit 4954fba

Please sign in to comment.