切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
6a1fc327283738b92c306770fc82fe006e219bf4
1 个父辈
b0f07ff9
1 个管道 的构建
通过
耗费 0 秒
添加分类缩略图
变更
1
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
21 行增加
和
4 行删除
public/themes/admin_simpleboot3/admin/label/classify_add.html
public/themes/admin_simpleboot3/admin/label/classify_add.html
查看文件 @
6a1fc32
...
...
@@ -11,10 +11,10 @@
<div
class=
"col-md-9"
>
<table
class=
"table table-bordered"
>
<tr>
<th>
标题
<span
class=
"form-required"
>
*
</span></th>
<th>
分类名称
<span
class=
"form-required"
>
*
</span></th>
<td>
<input
class=
"form-control"
type=
"text"
name=
"post[post_title]"
id=
"title"
required
value=
""
placeholder=
"请输入标题"
/>
<input
class=
"form-control"
type=
"text"
name=
"name"
id=
"title"
required
value=
""
placeholder=
"请输入分类名称"
/>
</td>
</tr>
</table>
...
...
@@ -32,7 +32,7 @@
<tr>
<td>
<div
style=
"text-align: center;"
>
<input
type=
"hidden"
name=
"
post[more][thumbnail]
"
id=
"thumbnail"
value=
""
>
<input
type=
"hidden"
name=
"
thumbnail
"
id=
"thumbnail"
value=
""
>
<a
href=
"javascript:uploadOneImage('图片上传','#thumbnail');"
>
<img
src=
"__TMPL__/public/assets/images/default-thumbnail.png"
id=
"thumbnail-preview"
...
...
@@ -47,5 +47,22 @@
</div>
</form>
</div>
<script>
$
(
function
()
{
editorcontent
=
new
baidu
.
editor
.
ui
.
Editor
();
editorcontent
.
render
(
'content'
);
try
{
editorcontent
.
sync
();
}
catch
(
err
)
{
}
$
(
'.btn-cancel-thumbnail'
).
click
(
function
()
{
$
(
'#thumbnail-preview'
).
attr
(
'src'
,
'__TMPL__/public/assets/images/default-thumbnail.png'
);
$
(
'#thumbnail'
).
val
(
''
);
});
});
</script>
</body>
</html>
\ No newline at end of file
...
...
请
注册
或
登录
后发表评论