Files
iblog2/views/admin/aboutmanage.jade
2016-03-01 13:50:27 +08:00

59 lines
4.3 KiB
Plaintext

extends ../shared/layoutAdmin
block content
link(href='/libs/sweetalert/dist/sweetalert.css', rel='stylesheet')
link(href='/libs/blueimp-file-upload/css/jquery.fileupload.css', rel='stylesheet')
.row.wrapper.border-bottom.white-bg.page-heading
.col-lg-8
h2 关于管理
.wrapper.wrapper-content.animated.fadeIn
.row
.col-lg-12
.ibox
.ibox-content
.row
.col-lg-4.col-lg-offset-4
.about-block
form#formAbout(action='/admin/saveAbout', method='Post')
.widget-head-color-box.navy-bg.p-lg.text-center
.m-b-md
input#FirstLine.form-group.form-control.text-center(type='text', name='FirstLine', placeholder='第一行文本', value=about.FirstLine)
input#SecondLine.form-control.text-center(type='text', name='SecondLine', placeholder='第一行文本', value=about.SecondLine)
span.fileinput-button
img.img-circle.profile-img.m-b-md(alt='profile', src=about.PhotoPath)
input.fileupload(type='file', name='file')
input#PhotoPath(type='hidden', name='PhotoPath', value=about.PhotoPath)
span.fileinput-button
img.wechat-img.m-b-md(alt='wechat', src=about.QrcodePath, style='width:100px;height:100px;')
input.fileupload(type='file', name='file')
input#QrcodePath(type='hidden', name='QrcodePath',value=about.QrcodePath)
h4
span#job-title
textarea#ThirdLine.form-control(name='ThirdLine', placeholder='第三行文本,支持用 | 分割切换显示')
!=about.ThirdLine
.widget-text-box
p
textarea#Profile.form-control(name='Profile', cols='3', placeholder='个人简介')
!=about.Profile
.row.form-inline
.col-md-6
i.fa.fa-wechat
=' '
input#Wechat.form-control(type='text', name='Wechat', placeholder='微信号', value=about.Wechat)
=' '
.col-md-6
i.fa.fa-envelope
=' '
input#Email.form-control(type='text', name='Email', placeholder='Email地址', value=about.Email)
button#btnSave.btn.btn-primary.pull-right.m-t-sm(type='button')
i.fa.fa-cloud-upload
| 保存修改
script(type='text/javascript', src='/libs/jquery/dist/jquery.min.js', charset='utf-8')
script(type='text/javascript', src='/libs/bootstrap/dist/js/bootstrap.min.js', charset='utf-8')
script(type='text/javascript', src='/libs/metisMenu/dist/metisMenu.min.js', charset='utf-8')
script(type='text/javascript', src='/javascripts/admin.js', charset='utf-8')
script(type='text/javascript', src='/libs/blueimp-file-upload/js/vendor/jquery.ui.widget.js', charset='utf-8')
script(type='text/javascript', src='/libs/blueimp-file-upload/js/jquery.fileupload.js', charset='utf-8')
script(type='text/javascript', src='/libs/sweetalert/dist/sweetalert.min.js', charset='utf-8')
script(type='text/javascript', src='/javascripts/aboutmanage.js', charset='utf-8')