Hide Tor URLS on Tor page by default
This commit is contained in:
parent
485eab969d
commit
d3ab58fc1c
|
@ -3,6 +3,20 @@
|
|||
<title>{{ title }}</title>
|
||||
{% include 'includes/head.html' %}
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("#show_onion_urls").on("click", function() {
|
||||
//$("#show_onion_urls").hide(0);
|
||||
$(".onion_url_placeholder").hide(0)
|
||||
$(".onion_url").show();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<style>
|
||||
.onion_url {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -29,6 +43,11 @@
|
|||
|
||||
<br/>
|
||||
<div class="main_header">Tor Onion Addresses</div>
|
||||
<div class="main_header_sub_text">
|
||||
Sharing these Onion URLs will allow others to access your device. Keep them private unless there is someone you specifically want to share access with.
|
||||
<br/><br/>
|
||||
<button id="show_onion_urls" class="ui-button ui-widget ui-corner-all">Show Onion URLs</button>
|
||||
</div>
|
||||
<table class="bitcoind_table">
|
||||
<thead class="bitcoind_table_header">
|
||||
<td>Service</td>
|
||||
|
@ -40,7 +59,10 @@
|
|||
{% for service in services %}
|
||||
<tr>
|
||||
<td><b>{{ service.service }}</b></td>
|
||||
<td>{{ service.url }}</td>
|
||||
<td>
|
||||
<span class="onion_url">{{ service.url }}</span>
|
||||
<span class="onion_url_placeholder">.....................................</span>
|
||||
</td>
|
||||
<td>{{ service.port }}</td>
|
||||
<td>
|
||||
{% if service.guide|length %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user