|
|
@ -174,9 +174,6 @@ |
|
|
|
<form action="upload" method="post" enctype="multipart/form-data"> |
|
|
|
<div class="form-group qbox"> |
|
|
|
<h1 style="margin: -16px -26px 35px">上传</h1> |
|
|
|
<p>欢迎分享你手上的往年考题,大家一起实现信息共享,消除信息不对等。课程名请与已有的保持一致,方便查询。</p> |
|
|
|
|
|
|
|
<br> |
|
|
|
<div class="form-group row"> |
|
|
|
<label class="col-sm-3 col-form-label mb-0">课程名</label> |
|
|
|
<div class="col-sm-9"> |
|
|
@ -205,9 +202,13 @@ |
|
|
|
<input type="file" class="custom-file-input" name="files[]" multiple required> |
|
|
|
<label class="custom-file-label" for="customFile" data-browse="浏览">选择文件,可以多选</label> |
|
|
|
</div> |
|
|
|
<p> TODO: 设置是否匿名展示 </p> |
|
|
|
<button type="submit" class="btn btn-link btn-lg mt-4 mb-4">分享!</button> |
|
|
|
<p><small>*发布内容的版权属于上传者/原作者/公有领域,基于上传前的版权情况。文件可以多选,电脑端一般是按住ctrl选择,移动端一般是直接勾选多个。对文件数量和大小没有限制,总大小不要太过分就行。时间请填写该学期开始时的年份。</small></p> |
|
|
|
<p> TODO: 设置是否匿名展示。勾选匿名发布后,其他人在查看时作者会显示为“匿名”。 </p> |
|
|
|
<button type="submit" class="btn btn-link btn-lg mt-4 pr-1">分享</button> |
|
|
|
<span> |
|
|
|
<a href="##" role="button"data-toggle="popover" > |
|
|
|
<svg width="20px" viewBox="0 0 24 28"><path d="M15.07 11.25l-.9.92C13.45 12.89 13 13.5 13 15h-2v-.5c0-1.11.45-2.11 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41a2 2 0 0 0-2-2a2 2 0 0 0-2 2H8a4 4 0 0 1 4-4a4 4 0 0 1 4 4a3.2 3.2 0 0 1-.93 2.25M13 19h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10c0-5.53-4.5-10-10-10z" fill="#626262"/></svg> |
|
|
|
</a> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
</div> |
|
|
@ -357,7 +358,14 @@ |
|
|
|
|
|
|
|
$(document).ready(function () { |
|
|
|
bsCustomFileInput.init() |
|
|
|
}) |
|
|
|
$('[data-toggle="popover"]').popover({ |
|
|
|
html: true, |
|
|
|
placement: "top", |
|
|
|
trigger: "focus", |
|
|
|
title: "说明", |
|
|
|
content:"发布内容的版权属于上传者/原作者/公有领域,基于上传前的版权情况。<br>文件可以多选,电脑端一般是按住ctrl选择,移动端一般是直接勾选多个。对文件数量和大小没有限制,总大小不要太过分就行。<br>时间请填写该学期开始时的年份,课程名尽量与已有的保持一致。" |
|
|
|
}); |
|
|
|
}) |
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|