You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
information-system/webht/third_party/crm/views/index.php

98 lines
3.6 KiB
PHTML

<script type="text/javascript" src="/js/kindeditor/kindeditor-min.js"></script>
<script type="text/javascript">
var editor;
KindEditor.ready(function(K) {
editor = K.create('#crm_email_content', {
width: '100%',
height: '480px',
//fileManagerJson:'/js/kcfinder/browse.php',
//allowFileManager:true,
filterMode: false,
allowImageUpload: false,
items: [
'source', '|', 'undo', 'redo', '|', 'preview', 'cut', 'copy', 'paste', 'plainpaste', 'wordpaste', '|',
'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', '|',
'clearhtml', 'quickformat', 'removeformat', 'selectall', '/', 'fullscreen', '|',
'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
'italic', 'underline', 'strikethrough', 'lineheight', '|', 'table', 'hr', 'emoticons', 'image', 'map', 'pagebreak',
'link', 'unlink', 'about'
]
});
});
</script>
<div class="container-fluid">
<div class="row">
<div class="col-sm-5"><!-- 菜单 -->
<div class="list-group">
<a href="#" class="list-group-item active"> 新建邮件 </a>
<a href="#" class="list-group-item">发送记录</a>
<a href="#" class="list-group-item">效果统计</a>
</div>
</div> <!-- 菜单 end -->
<div class="col-sm-18"><!-- 邮件编辑器 -->
<div class="page-header">
<h1>第一步,编辑邮件 <small>推荐使用Markdown格式非常简单好用</small></h1>
</div>
<form name="form_edit" id="form_edit" method="post" action="<?php site_url('app/crm/'); ?>" >
<div class="row form-group">
<div class="col-sm-24">
<label>邮件主题</label>
<input type="email" class="form-control " id="exampleInputEmail1" >
</div>
</div>
<div class="row form-group">
<div class="col-sm-12">
<label>发送者名称</label>
<input type="email" class="form-control" id="exampleInputEmail1" >
</div>
<div class="col-sm-12">
<label>发送者email</label>
<input type="email" class="form-control" id="exampleInputEmail1" >
</div>
</div>
<div class="row form-group">
<div class="col-sm-24">
<label>邮件内容</label>
<textarea id="crm_email_content" name="crm_email_content"></textarea>
</div>
</div>
<div class="row form-group">
<div class="col-sm-24 text-right">
<a href="javascript:void(0);" class="btn btn-info" onclick="editor.sync();
submitForm('form_information_edit');">保存邮件</a>
OR
<a href="javascript:void(0);" class="btn btn-info" onclick="editor.sync();
submitForm('form_information_edit');">保存并进入下一步,选择客人发送</a>
</div>
</div>
</form>
</div><!-- 邮件编辑器 end -->
</div>
</div>