-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from giosakti/gate-84
#84 - Better Profile Page
- Loading branch information
Showing
3 changed files
with
67 additions
and
21 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,76 @@ | ||
.container.container-profile | ||
.row.mt-3 | ||
.jumbotron | ||
.row.marketing | ||
.col-lg-6 | ||
img src="http://chart.apis.google.com/chart?cht=qr&chs=250x250&chl=#{current_user.provisioning_uri}" | ||
.row | ||
.col-lg-12 | ||
strong Use Google Authenticator to scan this QR Code | ||
.row.mt-2 | ||
.row | ||
.col-lg-12 | ||
img src="http://chart.apis.google.com/chart?cht=qr&chs=250x250&chl=#{current_user.provisioning_uri}" | ||
.row | ||
.col-lg-12 | ||
small Note: If you can't see the QR Code, please logout and login again. | ||
.col-lg-6 | ||
Please Scan QR Code | ||
br | ||
pre | ||
h5 #{current_user.auth_key} | ||
If you can't see QR Code, please logout and login again. | ||
br | ||
a.btn.btn-success.btn-sm href="/regenerate_authentication" role="button" data-turbolinks="false" Generate Auth Token | ||
br | ||
a.btn.btn-success.btn-sm href="/download_vpn" role="button" data-turbolinks="false" Download your OpenVPN profile | ||
br | ||
a.btn.btn-success.btn-sm href="/download_vpn_for_ios_and_mac" role="button" data-turbolinks="false" Download IPSec profile for iOS/Mac | ||
.row | ||
.col-lg-12 Or use this token for the authenticator | ||
.row.mt-2 | ||
.row | ||
.col-lg-12 | ||
pre | ||
h5 #{current_user.auth_key} | ||
.row | ||
.col-lg-12 | ||
a.btn.btn-warning.btn-sm href="/regenerate_authentication" role="button" data-turbolinks="false" (Re)generate Token | ||
.row.mt-4 | ||
.row | ||
.col-lg-12 Download Profiles | ||
.row.mt-3 | ||
.row | ||
.col-lg-12 | ||
a.btn.btn-success.btn-sm href="/download_vpn" role="button" data-turbolinks="false" Download OpenVPN profile | ||
.row.mt-3 | ||
.row | ||
.col-lg-12 | ||
a.btn.btn-success.btn-sm href="/download_vpn_for_ios_and_mac" role="button" data-turbolinks="false" Download IPSec profile for iOS/Mac | ||
.row.mt-4 | ||
.row | ||
.col-lg-12 Google Authenticator | ||
.row | ||
.col-lg-12 | ||
a href="https://itunes.apple.com/us/app/google-authenticator/id388497605" target="_blank" | ||
= image_tag "app_store_en_badge.png", width: 120, alt: "Apple App Store" | ||
a href="https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2&hl=en" target="_blank" | ||
= image_tag "google_play_en_badge.png", width: 120, alt: "Google Play Store" | ||
.row.marketing | ||
.col-lg-6 | ||
h6 Step 1 | ||
p Download Google Authentication from Apple App Store or Play Store | ||
h6 Step 2 | ||
h4 | ||
strong OpenVPN | ||
h5 | ||
strong Step 1 | ||
p | ||
| Download OpenVPN client - for Mac, use | ||
a href="https://tunnelblick.net/" TunnelBlick | ||
| Download OpenVPN client. For Mac, use | ||
a href="https://tunnelblick.net/" target="_blank" TunnelBlick. | ||
h5 | ||
strong Step 2 | ||
p Download your OpenVPN profile and install to OpenVPN client. | ||
h5 | ||
strong Step 3 | ||
p Launch OpenVPN client, connect to your profile and enter token code shown on Google Authenticator. | ||
.col-lg-6 | ||
h6 Step 3 | ||
p Install your VPN profile, to Download click above button | ||
h6 Step 4 | ||
p Launch TunnelBlick, connect to your profile and enter token code shown on Google Authenticator. | ||
h4 | ||
strong IPSec VPN | ||
h5 | ||
strong Step 1 | ||
p Download your IPSec VPN profile and install by double-clicking on it. | ||
h5 | ||
strong Step 2 | ||
p | ||
| Open | ||
code System Preferences >> Network | ||
| , you will see list of VPNs that you can connect to. | ||
h5 | ||
strong Step 3 | ||
p Connect to any VPN and enter token code shown on Google Authenticator. |