Skip to content

Commit 4aceffc

Browse files
committed
changes to the README file
minor tweaks to code and layout
1 parent a2358c0 commit 4aceffc

File tree

5 files changed

+15
-13
lines changed

5 files changed

+15
-13
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@ Please keep the following in mind:
1616
- please read the Security Notice below before installing this tool!
1717

1818

19+
### Demo ###
20+
21+
A demo version that is connected to Ubiquiti's demo controller is available here: https://api-browser-demo.artofwifi.net/
22+
23+
1924
### Upgrading from 1.X to 2.X
2025

21-
Because the structure of the configuration file has changed slightly, we recommend creating a fresh install when upgrading from 1.X to 2.X.
26+
Because the structure of the configuration file has changed, we recommend creating a fresh install when upgrading from 1.X to 2.X.
2227

2328

2429
### Features
@@ -117,7 +122,7 @@ Alternatively you may choose to download the zip file and unzip it in your direc
117122

118123
### Configuration
119124

120-
- credentials for access to the UniFi Controller API can be configured, in part or in whole, in the file named `config/config-template.php` which should be copied/renamed to `config/config.php`
125+
- credentials for access to the UniFi Controller API are configured in the file named `config/config-template.php` which should be copied/renamed to `config/config.php`
121126
- starting with version 1.0.3, you can store **multiple controller configurations** in an array inside the `config/config.php` file
122127
- please refer to the instructions in the `config/config-template.php` file for further configuration instructions
123128
- starting with API browser tool version 2.0.0 you can restrict access to the tool by creating user accounts and passwords, please refer to the instructions in the `config/users-template.php` file for further details

common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* with this package in the file LICENSE.md
88
*
99
*/
10-
define('TOOL_VERSION', '2.0.5');
10+
define('TOOL_VERSION', '2.0.6');
1111

1212
/**
1313
* gather some basic information for the About modal

config/users-template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*
2525
* IMPORTANT NOTE:
2626
* If you do not create the users.php file or do no create any user accounts, the API browser tool
27-
* will be accessible without providing and means of authentication.
27+
* will be accessible without providing any means of authentication.
2828
*/
2929
$users = [
3030
[

templates/collections_view.html.twig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<input class="" type="radio" name="options" id="output_kint" value="kint" autocomplete="off"> PHP array, interactive
6969
</label>
7070
<label class="btn btn-secondary btn-sm output_radio_button">
71-
<input class="" type="radio" name="options" id="output_kint_plain" value="kint_plain" autocomplete="off"> PHP array, hightlighted
71+
<input class="" type="radio" name="options" id="output_kint_plain" value="kint_plain" autocomplete="off"> PHP array, highlighted
7272
</label>
7373
</div>
7474
</div>
@@ -90,6 +90,7 @@
9090
</div>
9191
</div>
9292
</div>
93+
9394
<br>
9495
<br>
9596
{% endblock %}

templates/config_error.html.twig

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,11 @@
1010
<div class="container h-100">
1111
<div class="row align-items-center h-100">
1212
<div class="col-sm-6 mx-auto">
13-
<div class="card text-center shadow-sm">
14-
<div class="card-body">
15-
<br>
16-
<div class="alert alert-danger" role="alert">
17-
{{error_message | raw}}
18-
</div>
19-
<br>
20-
</div>
13+
<br>
14+
<div class="alert alert-danger shadow-sm" role="alert">
15+
<i class="fas fa-exclamation-circle fa-lg fa-fw"></i> {{error_message | raw}}
2116
</div>
17+
<br>
2218
</div>
2319
</div>
2420
</div>

0 commit comments

Comments
 (0)