diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-19 01:30:15 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-19 01:30:15 +0300 |
commit | 34da00ecb7d96edd9b78a8f019cd05b9d7298fa2 (patch) | |
tree | 8b4324d4186492722ad0870a699c5363d10635f9 | |
parent | add persistent-keepalive to `wg set` (diff) | |
download | wireguard-config-34da00ecb7d96edd9b78a8f019cd05b9d7298fa2.tar.gz wireguard-config-34da00ecb7d96edd9b78a8f019cd05b9d7298fa2.zip |
index.html: add Example button, etc.
Diffstat (limited to '')
-rw-r--r-- | index.html | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -117,8 +117,8 @@ show the configuration that can be easily consumed by the new client.</p> {% capture example_url %}{{ example_url }}{{ param.id }}={{ param.example | url_encode }}{% endcapture %} {% endfor %} {% endfor %} - <p>An example configuration (with bogus key values) can be seen -<a href="{{ example_url | escape_uri | baseurl }}">here</a>.</p> +{% assign example_url = example_url | escape_uri | baseurl %} + <p>Please take a look at an <a href="{{ example_url }}">example configuration</a>.</p> </div> </div> @@ -175,6 +175,7 @@ show the configuration that can be easily consumed by the new client.</p> <div class="row"> <div class="col-sm-offset-3 col-sm-9 text-center"> <button type="submit" class="btn btn-primary">Generate</button> + <a href="{{ example_url }}"><button type="button" class="btn btn-info">Example</button></a> <span class="help-block" style="margin-bottom: 0;"> <span id="params_error" class="text-danger small" style="white-space: pre-line;"></span> </span> |