no-style-please2 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +4 -1
- data/_includes/encrypted.html +6 -2
- data/_layouts/tagpage.html +12 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2461eca97e61c3f33512d5dac781ee5136f3d56fec9a7a6dd6231de205a5f6c3
|
4
|
+
data.tar.gz: 64cca40402fa13421ad158a8db0d1fe3025096e7afe6e2e7c890ff735d6c31eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a03bf0b15b4c0ea7df4f3e8873d7761efd6060978114ba865afe57af65ed6bdb2c279148c35d1b8e7ecf1f0e221ecdf279dee3e7772a205ab4952a728b9b27a
|
7
|
+
data.tar.gz: 4afe8a137187b62c5cc3d4bd47b3d147169c3d51a32b4227d268ca1f126ddb1b8dfd5b5e756915a3128cb8798360a0e62c779c7ae423deba80ab7d7435819878
|
data/_config.yml
CHANGED
data/_includes/encrypted.html
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
<input style="width:100%; " type="password" id="passwordinput" placeholder="输入密码"></input>
|
6
6
|
<p>
|
7
7
|
<input type="button" value= "{{ site.theme_config.decrypt_btn | default : 'Decrypt' }}" id="DecryptBtn"/>
|
8
|
+
<input type="button" value= "{{ site.theme_config.encrypt_clear_btn | default: 'Clear password cache' }}" id="ClearBtn1"/>
|
8
9
|
|
9
10
|
</div>
|
10
11
|
|
@@ -14,7 +15,7 @@
|
|
14
15
|
|
15
16
|
<input type="button" value= "{{ site.theme_config.encrypt_btn | default: 'Encrypt' }}" id="EncryptBtn"/>
|
16
17
|
|
17
|
-
<input type="button" value= "{{ site.theme_config.encrypt_clear_btn | default: 'Clear password cache' }}" id="
|
18
|
+
<input type="button" value= "{{ site.theme_config.encrypt_clear_btn | default: 'Clear password cache' }}" id="ClearBtn2"/>
|
18
19
|
|
19
20
|
</div>
|
20
21
|
<div id = 'decryptContent'>
|
@@ -94,7 +95,10 @@
|
|
94
95
|
clearKey()
|
95
96
|
}
|
96
97
|
|
97
|
-
document.getElementById("
|
98
|
+
document.getElementById("ClearBtn1").onclick = function(){
|
99
|
+
localStorage.clear();
|
100
|
+
}
|
101
|
+
document.getElementById("ClearBtn2").onclick = function(){
|
98
102
|
localStorage.clear();
|
99
103
|
}
|
100
104
|
|
data/_layouts/tagpage.html
CHANGED
@@ -3,13 +3,22 @@ layout: default
|
|
3
3
|
---
|
4
4
|
{%-include back_link.html -%}
|
5
5
|
<div class="post">
|
6
|
-
<h1
|
6
|
+
<h1></h1>
|
7
|
+
<li>Tag: {{ page.tag }}</li>
|
8
|
+
|
7
9
|
<ul>
|
8
|
-
{% for post in site.tags[page.tag] %}
|
10
|
+
{% for post in site.tags[page.tag] %}
|
9
11
|
<li><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a> ({{ post.date | date_to_string }})<br>
|
10
12
|
{{ post.description }}
|
11
13
|
</li>
|
12
14
|
{% endfor %}
|
13
15
|
</ul>
|
14
16
|
</div>
|
15
|
-
|
17
|
+
{% if site.theme_config.tag_showall %}
|
18
|
+
<li><a href="{{ site.baseurl }}/{{site.theme_config.all_tags_path | default:'tags' }}.html"> {{site.theme_config.all_tags_title | default:'All Tags' }}</a>
|
19
|
+
</li>
|
20
|
+
|
21
|
+
{% endif %}
|
22
|
+
|
23
|
+
<hr>
|
24
|
+
|