fix 优化了登录的记住密码描述,
修改了个人中心的样式。优化了编辑栏位
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
<p>论坛详情</p>
|
||||
<div id="blog-content">
|
||||
<div id="editor-toolbar"></div>
|
||||
<div id="editor-text-area" style="height: 600px;border: 1px solid lightgrey"></div>
|
||||
<div id="editor-text-area" style="border: 1px solid lightgrey"></div>
|
||||
<textarea id="content-textarea" name="content" th:text="${blog.getContent()}" style="display: none;" minlength="30" required></textarea>
|
||||
<textarea id="contentText-textarea" name="contentJson" style="display: none;"></textarea>
|
||||
</div>
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
<hr style="margin-top: 18px">
|
||||
|
||||
<!--文章主体内容-->
|
||||
<div id="editor-text-area" style="height: 600px"></div>
|
||||
<div id="editor-text-area"></div>
|
||||
<textarea id="content-textarea" th:text="${blog.getContent()}" name="content" style="display: none;"></textarea>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
<p>文章内容</p>
|
||||
<div id="blog-content">
|
||||
<div id="editor-toolbar"></div>
|
||||
<div id="editor-text-area" style="height: 600px;border: 1px solid lightgrey"></div>
|
||||
<div id="editor-text-area" style="border: 1px solid lightgrey"></div>
|
||||
<textarea id="content-textarea" name="content" style="display: none;"></textarea>
|
||||
<textarea id="contentText-textarea" name="contentJson" style="display: none;"></textarea>
|
||||
</div>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
</div>
|
||||
<div class="checkbox float-left mb-3">
|
||||
<label>
|
||||
<input type="checkbox" name="remember-me"> 记住密码
|
||||
<input type="checkbox" name="remember-me"> 7天免登录
|
||||
</label>
|
||||
</div>
|
||||
<button class="btn btn-dark btn-block" type="button" onclick="loginSubmit()">登 录</button>
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
<hr/>
|
||||
<div id="blog-content">
|
||||
<div id="editor-toolbar"></div>
|
||||
<div id="editor-text-area" style="height: 600px;border: 1px solid lightgrey"></div>
|
||||
<div id="editor-text-area" style="border: 1px solid lightgrey"></div>
|
||||
<textarea id="content-textarea" name="sourceContent" style="display: none;" th:text="${source.getSourceContent()}"></textarea>
|
||||
<textarea id="contentText-textarea" name="contentJson" style="display: none;"></textarea>
|
||||
</div>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<link rel="stylesheet" th:href="@{/css/backgroud.css}">
|
||||
<style>
|
||||
#maxLength {
|
||||
max-width: 500px;
|
||||
max-width: 320px;
|
||||
white-space: nowrap; /* 不换行 */
|
||||
overflow: hidden; /* 超出部分不显示 */
|
||||
text-overflow: ellipsis; /* 超出部分显示为... */
|
||||
@@ -33,14 +33,13 @@
|
||||
<!-- 标题 -->
|
||||
<a th:href="@{'/source/view/'+${source.getSid()}}"
|
||||
class="text-dark font-weight-bold text-decoration-none">
|
||||
<span class="badge badge-primary">
|
||||
[[${source.getCategoryName()}]]
|
||||
</span>
|
||||
<span th:if="${source.getDownRecord() > 20}" class="badge badge-danger">精</span>
|
||||
[[${source.getSourceName()}]]
|
||||
</a>
|
||||
<!-- 收藏 -->
|
||||
<span class="badge badge-primary">
|
||||
[[${source.getCategoryName()}]]
|
||||
</span>
|
||||
<p class="float-right" th:text="${#dates.format(source.getGmtUpdate(),'yyyy-MM-dd HH:mm:ss')}"></p>
|
||||
<p class="float-right" th:text="${#dates.format(source.getGmtUpdate(),'yyyy-MM-dd')}"></p>
|
||||
<div class="small">
|
||||
<span id="maxLength" th:text="${source.getDetail()}"
|
||||
class="d-block">
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
<hr/>
|
||||
<div id="blog-content">
|
||||
<div id="editor-toolbar"></div>
|
||||
<div id="editor-text-area" style="height: 600px;border: 1px solid lightgrey"></div>
|
||||
<div id="editor-text-area" style="border: 1px solid lightgrey"></div>
|
||||
<textarea id="content-textarea" name="content" style="display: none;"></textarea>
|
||||
<textarea id="contentText-textarea" name="contentJson" style="display: none;"></textarea>
|
||||
</div>
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<hr style="margin-top: 18px">
|
||||
|
||||
<!--文章主体内容-->
|
||||
<div id="editor-text-area" style="height: 600px"></div>
|
||||
<div id="editor-text-area"></div>
|
||||
<textarea id="content-textarea" th:text="${source.getSourceContent()}" name="content" style="display: none;"></textarea>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -58,12 +58,13 @@
|
||||
<div th:each="blog:${blogList}" class="media text-muted pt-1">
|
||||
<p class="media-body pb-1 mb-0 small border-bottom border-gray" style="margin-left: 5px">
|
||||
<!-- 标题 -->
|
||||
<a th:text="${blog.getTitle()}"
|
||||
th:href="@{'/blog/read/'+${blog.getBid()}}"
|
||||
<a th:href="@{'/blog/read/'+${blog.getBid()}}"
|
||||
class="text-dark font-weight-bold text-decoration-none d-block">
|
||||
<span th:class="${blog.getCategoryId()==1?'badge badge-pill badge-danger':'badge badge-pill badge-primary'}" th:text="${blog.getCategoryName()}"></span>
|
||||
[[${blog.getTitle()}]]
|
||||
</a>
|
||||
<!-- 浏览量 -->
|
||||
<span class="badge badge-success">
|
||||
<span>
|
||||
<svg class="bi bi-eye-fill" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10.5 8a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0z"/>
|
||||
<path fill-rule="evenodd" d="M0 8s3-5.5 8-5.5S16 8 16 8s-3 5.5-8 5.5S0 8 0 8zm8 3.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z"/>
|
||||
|
||||
Reference in New Issue
Block a user