add wechat_qrcode
This commit is contained in:
parent
8d3666cc5c
commit
a58ae723a7
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
|
@ -86,24 +86,7 @@
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.subscribe-ul {
|
.wechat_qrcode {
|
||||||
list-style-type: none;
|
width: 200px;
|
||||||
margin-left: 0;
|
margin-bottom: 20px;
|
||||||
li {
|
|
||||||
margin-left: 0;
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
|
||||||
.rss-subscribe {
|
|
||||||
margin-top: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.subscribe-success {
|
|
||||||
margin-left: 1rem;
|
|
||||||
color: green;
|
|
||||||
}
|
|
||||||
|
|
||||||
.subscribe-fail {
|
|
||||||
margin-left: 1rem;
|
|
||||||
color: red;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,15 +27,4 @@
|
||||||
h4 #{t('subscribes.title')}
|
h4 #{t('subscribes.title')}
|
||||||
.row
|
.row
|
||||||
.small-12.medium-6.large-12.columns
|
.small-12.medium-6.large-12.columns
|
||||||
ul.subscribe-ul
|
= image_tag 'wechat_qrcode.jpg', class: 'wechat_qrcode'
|
||||||
- if ENV['ADMIN_USER'].present? && ENV['ADMIN_USER'].include?('@')
|
|
||||||
li
|
|
||||||
= link_to t('subscribes.email'), new_subscribe_path
|
|
||||||
li
|
|
||||||
a data-toggle="qrcode-home" #{t('subscribes.wechat') }
|
|
||||||
#qrcode-home.weixin-subscribe.hide data-toggler='hide' data-url=root_url
|
|
||||||
li
|
|
||||||
a data-toggle="rss-home" #{t('subscribes.rss') }
|
|
||||||
#rss-home.rss-subscribe.hide data-toggler='hide'
|
|
||||||
= link_to rss_blogs_path do
|
|
||||||
- image_tag('rss.png')
|
|
||||||
|
|
Loading…
Reference in New Issue