diff --git a/WGDashboard/clientarea.tpl b/WGDashboard/clientarea.tpl index 0e48f54..4147ca8 100644 --- a/WGDashboard/clientarea.tpl +++ b/WGDashboard/clientarea.tpl @@ -1,288 +1,152 @@ -{if $error} -
- Error: {$error} -
-{else} -
-
- {if $formatted_config} + {if $error} +
+ Error: {$error} +
+ {else} +
+
+ {if $formatted_config} +
+
+

+ QR Code +

+
+
+
+

Scan this QR code with your WireGuard client

+
+ +
+
+
+ {else} +
+
+

+ QR Code +

+
+
+

Configuration not available

+
+
+ {/if} +
+ +

- QR Code + WireGuard Configuration

-
-
-

Scan this QR code with your WireGuard client

-
- -
+
+ {if $formatted_config} +
+ +
{$formatted_config|escape}
+
+
+ + +
+ {else} +

Configuration not available

+ {/if}
- {else} -
-
-

- QR Code -

-
-
-

Configuration not available

-
-
- {/if} +
+ {/if} -
-
-
-

- WireGuard Configuration -

+ {* Instructions Modal *} +