Skip to content

Commit

Permalink
docs(wizard): add deeplink page
Browse files Browse the repository at this point in the history
Signed-off-by: Naylin Medina <[email protected]>
  • Loading branch information
Naylin15 committed Sep 14, 2018
1 parent 037a4a4 commit 32c94f1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
6 changes: 3 additions & 3 deletions inc/config.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ class PluginFlyvemdmConfig extends CommonDBTM {

// first and last steps of requirement pages of wizard
const WIZARD_REQUIREMENT_BEGIN = 100;
const WIZARD_REQUIREMENT_END = 106;
const WIZARD_REQUIREMENT_END = 107;

// first and last steps of the MQTT pages of wizard
const WIZARD_MQTT_BEGIN = 107;
const WIZARD_MQTT_END = 110;
const WIZARD_MQTT_BEGIN = 108;
const WIZARD_MQTT_END = 111;

const WIZARD_FINISH = -1;
static $config = [];
Expand Down
18 changes: 15 additions & 3 deletions tpl/config-wizard.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,18 @@ upload_max_filesize = 8M
</td>
</tr>
{% endif %} {% if step == 107 %}
<tr>
<th colspan="3" class="">{{ __('Flyve MDM Deeplink Microservice', 'flyvemdm') }}</th>
</tr>
<tr class="tab_bg_1">
<td>
<p>{{ __('We host an instance of this microservice and provide it by default in the plugin configuration.', 'flyvemdm') }}</p>
<p>{{ __('In case you would like to host the microservice by yourself, just follow the documentation', 'flyvemdm') }}</p>
<p><a href="https://github.com/flyve-mdm/deeplink#installation" target="_blank">{{ __('Flyve MDM Deeplink', 'flyvemdm' )}}</a></p>
<p>{{ __(' Then update the URL in the General Configuration tab', 'flyvemdm') }}</p>
</td>
</tr>
{% endif %} {% if step == 108 %}
<tr>
<th colspan="3" class="">{{ __('DBMS access for Mosquitto', 'flyvemdm') }}</th>
</tr>
Expand Down Expand Up @@ -167,7 +179,7 @@ bind-address = 0.0.0.0
<p>mysql -h mysql.host.ip -u mosquitto -p -e "select * from \`glpi-database-name\`.\`glpi_plugin_flyvemdm_mqttusers\`;"</p>
</td>
</tr>
{% endif %} {% if step == 108 %}
{% endif %} {% if step == 109 %}
<tr>
<th colspan="3" class="">{{ __('Mosquitto', 'flyvemdm') }}</th>
</tr>
Expand All @@ -194,7 +206,7 @@ auth_opt_cacheseconds 300</textarea></p>
<p>{{ __('Check Mosquitto is listening to port 1883 (insecure).', 'flyvemdm') }}</p>
</td>
</tr>
{% endif %} {% if step == 109 %}
{% endif %} {% if step == 110 %}
<tr>
<th colspan="3" class="">{{ __('TLS Listener setup', 'flyvemdm') }}</th>
</tr>
Expand Down Expand Up @@ -233,7 +245,7 @@ ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES2
<p>{{ __('This will launch openssl as a client using the TLS protocol and leave the terminal in a state similar to telnet') }}</p>
<p>{{ __('Many debug information is displayed during TLS negociation, useful to diagnose TLS problems') }}</p> </td>
</tr>
{% endif %} {% if step == 110 %}
{% endif %} {% if step == 111 %}
<tr>
<th colspan="3" class="">{{ __('Mosquitto client for the backend', 'flyvemdm') }}</th>
</tr>
Expand Down

0 comments on commit 32c94f1

Please sign in to comment.