put extension download link to api-key page

This commit is contained in:
Son NK 2019-11-30 18:13:03 +00:00
parent b514068340
commit 2b00ceaa6b

View file

@ -13,12 +13,16 @@
<h1 class="h3"> API Key </h1> <h1 class="h3"> API Key </h1>
<p> <p>
The API Key is used inside the Chrome/Firefox extension. The API Key is used inside the SimpleLogin Chrome extension. You can install the extension
Please copy and paste the API key below into the browser extension to get started. <a href="https://chrome.google.com/webstore/detail/simplelogin-extension/dphilobhebphkdjbpfohgikllaljmgbn"
</p> target="_blank">
here <i class="fe fe-external-link"></i>
<p class="text-danger"> </a>.
Your API Keys are secret and should be treated as passwords. <br>
Please copy and paste the API key below into the browser extension to get started. <br>
<span class="text-danger">
Your API Keys are secret and should be treated as passwords.
</span>
</p> </p>
{% for api_key in api_keys %} {% for api_key in api_keys %}
@ -34,14 +38,15 @@
{% endif %} {% endif %}
</h6> </h6>
<textarea class="card-text w-100" id="apikey-{{ api_key.id }}" readonly>{{ api_key.code }}</textarea> <input class="form-control w-100" id="apikey-{{ api_key.id }}" readonly value="**********">
<br> <br>
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<button class="clipboard btn btn-primary" data-clipboard-action="copy" <button class="clipboard btn btn-primary" data-clipboard-action="copy"
data-clipboard-text="{{ api_key.code }}"
data-clipboard-target="#apikey-{{ api_key.id }}"> data-clipboard-target="#apikey-{{ api_key.id }}">
Copy &nbsp; &nbsp; <i class="dropdown-icon fe fe-clipboard"></i> Copy &nbsp; &nbsp; <i class="fe fe-clipboard"></i>
</button> </button>
</div> </div>