add wechat_qrcode

This commit is contained in:
yafeilee 2018-01-28 23:49:37 +08:00
parent 8d3666cc5c
commit a58ae723a7
3 changed files with 4 additions and 32 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -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;
}

View File

@ -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'