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;
|
||||
}
|
||||
|
||||
.subscribe-ul {
|
||||
list-style-type: none;
|
||||
margin-left: 0;
|
||||
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;
|
||||
}
|
||||
.wechat_qrcode {
|
||||
width: 200px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
|
|
@ -27,15 +27,4 @@
|
|||
h4 #{t('subscribes.title')}
|
||||
.row
|
||||
.small-12.medium-6.large-12.columns
|
||||
ul.subscribe-ul
|
||||
- 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')
|
||||
= image_tag 'wechat_qrcode.jpg', class: 'wechat_qrcode'
|
||||
|
|
Loading…
Reference in New Issue