Commit 130483ab935047c9cfee260f372a7e3404ddfd11
1 parent
2a1a1e5b
优化点播、直播、评论、图文模块条件输入框的数据回填显示及样式
Showing
9 changed files
with
64 additions
and
45 deletions
src/main/java/com/cnlive/shenhe/controller/CommentsController.java
| @@ -144,6 +144,11 @@ public class CommentsController extends BaseController { | @@ -144,6 +144,11 @@ public class CommentsController extends BaseController { | ||
| 144 | model.addAttribute("pageSize", commentsDTO.getPageSize()); | 144 | model.addAttribute("pageSize", commentsDTO.getPageSize()); |
| 145 | model.addAttribute("commentPage", commentPage); | 145 | model.addAttribute("commentPage", commentPage); |
| 146 | model.addAttribute("Type", commentsDTO.getType()); | 146 | model.addAttribute("Type", commentsDTO.getType()); |
| 147 | + model.addAttribute("Activity_id", commentsDTO.getActivity_id()); | ||
| 148 | + model.addAttribute("Comment_user_id", commentsDTO.getComment_user_id()); | ||
| 149 | + model.addAttribute("Content", commentsDTO.getContent()); | ||
| 150 | + model.addAttribute("Start_date", commentsDTO.getStart_date()); | ||
| 151 | + model.addAttribute("End_date", commentsDTO.getEnd_date()); | ||
| 147 | return "page/comment.html"; | 152 | return "page/comment.html"; |
| 148 | } | 153 | } |
| 149 | 154 |
src/main/java/com/cnlive/shenhe/controller/ContentController.java
| @@ -110,6 +110,13 @@ public class ContentController extends BaseController { | @@ -110,6 +110,13 @@ public class ContentController extends BaseController { | ||
| 110 | model.addAttribute("contentPage", contentPage); | 110 | model.addAttribute("contentPage", contentPage); |
| 111 | model.addAttribute("pageSize", contentDTO.getPageSize()); | 111 | model.addAttribute("pageSize", contentDTO.getPageSize()); |
| 112 | model.addAttribute("ContentTag", contentDTO.getContent_tag()); | 112 | model.addAttribute("ContentTag", contentDTO.getContent_tag()); |
| 113 | + model.addAttribute("Title", contentDTO.getTitle()); | ||
| 114 | + model.addAttribute("Author", contentDTO.getAuthor()); | ||
| 115 | + model.addAttribute("Source", contentDTO.getSource()); | ||
| 116 | + model.addAttribute("Start_date", contentDTO.getStart_date()); | ||
| 117 | + model.addAttribute("End_date", contentDTO.getEnd_date()); | ||
| 118 | + model.addAttribute("Sp_desc", contentDTO.getSp_desc()); | ||
| 119 | + model.addAttribute("ContentId", contentDTO.getContentId()); | ||
| 113 | return "page/content.html"; | 120 | return "page/content.html"; |
| 114 | } | 121 | } |
| 115 | 122 |
src/main/java/com/cnlive/shenhe/controller/LiveController.java
| @@ -178,6 +178,12 @@ public class LiveController extends BaseController { | @@ -178,6 +178,12 @@ public class LiveController extends BaseController { | ||
| 178 | model.addAttribute("livePage", livePage); | 178 | model.addAttribute("livePage", livePage); |
| 179 | model.addAttribute("pageSize", liveDTO.getPageSize()); | 179 | model.addAttribute("pageSize", liveDTO.getPageSize()); |
| 180 | model.addAttribute("ActivityStatus", liveDTO.getActivity_status()); | 180 | model.addAttribute("ActivityStatus", liveDTO.getActivity_status()); |
| 181 | + model.addAttribute("Activity_name",liveDTO.getActivity_name()); | ||
| 182 | + model.addAttribute("Activity_id",liveDTO.getActivity_id()); | ||
| 183 | + model.addAttribute("Sp_desc", liveDTO.getSp_desc()); | ||
| 184 | + model.addAttribute("Start_date", liveDTO.getStart_date()); | ||
| 185 | + model.addAttribute("End_date", liveDTO.getEnd_date()); | ||
| 186 | + model.addAttribute("ContentId", liveDTO.getContentId()); | ||
| 181 | return "page/live.html"; | 187 | return "page/live.html"; |
| 182 | } | 188 | } |
| 183 | 189 |
src/main/java/com/cnlive/shenhe/controller/VideosController.java
| @@ -238,6 +238,9 @@ public class VideosController extends BaseController { | @@ -238,6 +238,9 @@ public class VideosController extends BaseController { | ||
| 238 | model.addAttribute("sp_desc", videosDTO.getSp_desc()); | 238 | model.addAttribute("sp_desc", videosDTO.getSp_desc()); |
| 239 | model.addAttribute("Start_date", videosDTO.getStart_date()); | 239 | model.addAttribute("Start_date", videosDTO.getStart_date()); |
| 240 | model.addAttribute("End_date", videosDTO.getEnd_date()); | 240 | model.addAttribute("End_date", videosDTO.getEnd_date()); |
| 241 | + model.addAttribute("ContentId", videosDTO.getContentId()); | ||
| 242 | + model.addAttribute("Video_user_id", videosDTO.getVideo_user_id()); | ||
| 243 | + model.addAttribute("Shen_auditor_id", videosDTO.getShen_auditor_id()); | ||
| 241 | return "page/video.html"; | 244 | return "page/video.html"; |
| 242 | } | 245 | } |
| 243 | 246 |
src/main/resources/templates/page/comment.html
| @@ -94,25 +94,24 @@ | @@ -94,25 +94,24 @@ | ||
| 94 | <div class="col-md-3" style="padding: 0"> | 94 | <div class="col-md-3" style="padding: 0"> |
| 95 | <label for="activity_id" class="control-label cb-toolbar">活动id:</label> | 95 | <label for="activity_id" class="control-label cb-toolbar">活动id:</label> |
| 96 | <div class="col-sm-8" style="padding: 0;"> | 96 | <div class="col-sm-8" style="padding: 0;"> |
| 97 | - <input class="form-control" name="activity_id" type="text" | 97 | + <input class="form-control" name="activity_id" type="text" th:value="${Activity_id}" |
| 98 | id="activity_id"> | 98 | id="activity_id"> |
| 99 | </div> | 99 | </div> |
| 100 | </div> | 100 | </div> |
| 101 | <div class="col-md-2" style="padding: 0"> | 101 | <div class="col-md-2" style="padding: 0"> |
| 102 | <label for="comment_user_id" class="control-label cb-toolbar">sid:</label> | 102 | <label for="comment_user_id" class="control-label cb-toolbar">sid:</label> |
| 103 | <div class="col-sm-8" style="padding: 0;"> | 103 | <div class="col-sm-8" style="padding: 0;"> |
| 104 | - <input class="form-control" name="comment_user_id" type="text" | 104 | + <input class="form-control" name="comment_user_id" type="text" th:value="${Comment_user_id}" |
| 105 | id="comment_user_id"> | 105 | id="comment_user_id"> |
| 106 | </div> | 106 | </div> |
| 107 | </div> | 107 | </div> |
| 108 | - | ||
| 109 | - <div class="col-md-5" style="padding: 0"> | 108 | + <div class="col-md-3" style="padding: 0"> |
| 110 | <label for="content" class="control-label cb-toolbar">内容:</label> | 109 | <label for="content" class="control-label cb-toolbar">内容:</label> |
| 111 | <div class="col-sm-9" style="padding: 0;"> | 110 | <div class="col-sm-9" style="padding: 0;"> |
| 112 | - <input class="form-control" name="content" type="text" id="content"> | 111 | + <input class="form-control" name="content" th:value="${Content}" type="text" id="content"> |
| 113 | </div> | 112 | </div> |
| 114 | </div> | 113 | </div> |
| 115 | - <div class="col-md-2" style="padding: 0"> | 114 | + <div class="col-md-3" style="padding: 0"> |
| 116 | <label for="state" class="control-label cb-toolbar">状态:</label> | 115 | <label for="state" class="control-label cb-toolbar">状态:</label> |
| 117 | <div class="col-sm-8" style="padding: 0;"> | 116 | <div class="col-sm-8" style="padding: 0;"> |
| 118 | <select class="form-control col-sm-2" id="state" name="state"> | 117 | <select class="form-control col-sm-2" id="state" name="state"> |
| @@ -124,7 +123,6 @@ | @@ -124,7 +123,6 @@ | ||
| 124 | </div> | 123 | </div> |
| 125 | </div> | 124 | </div> |
| 126 | </div> | 125 | </div> |
| 127 | - | ||
| 128 | <div class="btn-group margin-bottom col-md-6 pull-right" style="padding: 0"> | 126 | <div class="btn-group margin-bottom col-md-6 pull-right" style="padding: 0"> |
| 129 | <div class="col-md-3" style="padding: 0"> | 127 | <div class="col-md-3" style="padding: 0"> |
| 130 | <label for="state" class="control-label cb-toolbar">类型:</label> | 128 | <label for="state" class="control-label cb-toolbar">类型:</label> |
| @@ -136,24 +134,24 @@ | @@ -136,24 +134,24 @@ | ||
| 136 | </select> | 134 | </select> |
| 137 | </div> | 135 | </div> |
| 138 | </div> | 136 | </div> |
| 139 | - <div class="col-md-5" style="padding: 0;"> | 137 | + <div class="col-md-4" style="padding: 0;"> |
| 140 | <label for="start_date" class="control-label cb-toolbar">时间:</label> | 138 | <label for="start_date" class="control-label cb-toolbar">时间:</label> |
| 141 | <div class="input-group col-md-9 date"> | 139 | <div class="input-group col-md-9 date"> |
| 142 | <input class="form-control date" name="start_date" type="text" | 140 | <input class="form-control date" name="start_date" type="text" |
| 143 | - id="start_date"> | 141 | + id="start_date" th:value="${Start_date}"> |
| 144 | <span class="input-group-addon"> | 142 | <span class="input-group-addon"> |
| 145 | <span class="glyphicon glyphicon-calendar"></span> | 143 | <span class="glyphicon glyphicon-calendar"></span> |
| 146 | - </span> | 144 | + </span> |
| 147 | </div> | 145 | </div> |
| 148 | </div> | 146 | </div> |
| 149 | <div class="col-md-4" style="padding: 0;"> | 147 | <div class="col-md-4" style="padding: 0;"> |
| 150 | <label for="start_date" class="control-label cb-toolbar">至</label> | 148 | <label for="start_date" class="control-label cb-toolbar">至</label> |
| 151 | <div class="input-group col-md-9 date"> | 149 | <div class="input-group col-md-9 date"> |
| 152 | <input class="form-control date" name="end_date" type="text" | 150 | <input class="form-control date" name="end_date" type="text" |
| 153 | - id="end_date"> | 151 | + id="end_date" th:value="${End_date}"> |
| 154 | <span class="input-group-addon"> | 152 | <span class="input-group-addon"> |
| 155 | <span class="glyphicon glyphicon-calendar"></span> | 153 | <span class="glyphicon glyphicon-calendar"></span> |
| 156 | - </span> | 154 | + </span> |
| 157 | </div> | 155 | </div> |
| 158 | </div> | 156 | </div> |
| 159 | </div> | 157 | </div> |
src/main/resources/templates/page/content.html
| @@ -81,7 +81,7 @@ | @@ -81,7 +81,7 @@ | ||
| 81 | <div class="col-md-5" style="padding: 0;width: 100%;"> | 81 | <div class="col-md-5" style="padding: 0;width: 100%;"> |
| 82 | <label for="video_titleID" class="control-label cb-toolbar">标题:</label> | 82 | <label for="video_titleID" class="control-label cb-toolbar">标题:</label> |
| 83 | <div class="col-sm-9" style="padding: 0;"> | 83 | <div class="col-sm-9" style="padding: 0;"> |
| 84 | - <input class="form-control" type="text" value="" id="video_titleID"> | 84 | + <input class="form-control" type="text" th:value="${Title}" value="" id="video_titleID"> |
| 85 | </div> | 85 | </div> |
| 86 | </div> | 86 | </div> |
| 87 | </div> | 87 | </div> |
| @@ -89,9 +89,9 @@ | @@ -89,9 +89,9 @@ | ||
| 89 | <div class="btn-group margin-bottom col-md-6" | 89 | <div class="btn-group margin-bottom col-md-6" |
| 90 | style="padding: 0;width: 23%;float: left;"> | 90 | style="padding: 0;width: 23%;float: left;"> |
| 91 | <div class="col-md-5" style="padding: 0;width: 100%;"> | 91 | <div class="col-md-5" style="padding: 0;width: 100%;"> |
| 92 | - <label for="source" class="control-label cb-toolbar">来源(昵称):</label> | 92 | + <label for="source" class="control-label cb-toolbar">来源昵称:</label> |
| 93 | <div class="col-sm-9" style="padding: 0;"> | 93 | <div class="col-sm-9" style="padding: 0;"> |
| 94 | - <input class="form-control" type="text" value="" id="source"> | 94 | + <input class="form-control" type="text" th:value="${Source}" value="" id="source"> |
| 95 | </div> | 95 | </div> |
| 96 | </div> | 96 | </div> |
| 97 | </div> | 97 | </div> |
| @@ -99,9 +99,9 @@ | @@ -99,9 +99,9 @@ | ||
| 99 | <div class="btn-group margin-bottom col-md-6" | 99 | <div class="btn-group margin-bottom col-md-6" |
| 100 | style="padding: 0;width: 23%;float: left;"> | 100 | style="padding: 0;width: 23%;float: left;"> |
| 101 | <div class="col-md-5" style="padding: 0;width: 100%;"> | 101 | <div class="col-md-5" style="padding: 0;width: 100%;"> |
| 102 | - <label for="author" class="control-label cb-toolbar">作者(sid):</label> | 102 | + <label for="author" class="control-label cb-toolbar">作者sid:</label> |
| 103 | <div class="col-sm-9" style="padding: 0;"> | 103 | <div class="col-sm-9" style="padding: 0;"> |
| 104 | - <input class="form-control" type="text" value="" id="author"> | 104 | + <input class="form-control" type="text" th:value="${Author}" value="" id="author"> |
| 105 | </div> | 105 | </div> |
| 106 | </div> | 106 | </div> |
| 107 | </div> | 107 | </div> |
| @@ -130,7 +130,7 @@ | @@ -130,7 +130,7 @@ | ||
| 130 | <label for="start_date" class="control-label cb-toolbar">时间:</label> | 130 | <label for="start_date" class="control-label cb-toolbar">时间:</label> |
| 131 | <div class="input-group col-md-9 date"> | 131 | <div class="input-group col-md-9 date"> |
| 132 | <input class="form-control date" name="start_date" type="text" | 132 | <input class="form-control date" name="start_date" type="text" |
| 133 | - id="start_date"> | 133 | + id="start_date" th:value="${Start_date}"> |
| 134 | <span class="input-group-addon"> | 134 | <span class="input-group-addon"> |
| 135 | <span class="glyphicon glyphicon-calendar"></span> | 135 | <span class="glyphicon glyphicon-calendar"></span> |
| 136 | </span> | 136 | </span> |
| @@ -140,7 +140,7 @@ | @@ -140,7 +140,7 @@ | ||
| 140 | <label for="start_date" class="control-label cb-toolbar">至</label> | 140 | <label for="start_date" class="control-label cb-toolbar">至</label> |
| 141 | <div class="input-group col-md-9 date"> | 141 | <div class="input-group col-md-9 date"> |
| 142 | <input class="form-control date" name="end_date" type="text" | 142 | <input class="form-control date" name="end_date" type="text" |
| 143 | - id="end_date"> | 143 | + id="end_date" th:value="${End_date}"> |
| 144 | <span class="input-group-addon"> | 144 | <span class="input-group-addon"> |
| 145 | <span class="glyphicon glyphicon-calendar"></span> | 145 | <span class="glyphicon glyphicon-calendar"></span> |
| 146 | </span> | 146 | </span> |
| @@ -151,23 +151,23 @@ | @@ -151,23 +151,23 @@ | ||
| 151 | th:if="${session.sessionUser.spid==0}"> | 151 | th:if="${session.sessionUser.spid==0}"> |
| 152 | <label for="sp_desc" class="control-label cb-toolbar">sp简称:</label> | 152 | <label for="sp_desc" class="control-label cb-toolbar">sp简称:</label> |
| 153 | <div class="col-sm-7" style="padding: 0;"> | 153 | <div class="col-sm-7" style="padding: 0;"> |
| 154 | - <input class="form-control" type="text" value="" id="sp_desc"> | 154 | + <input class="form-control" type="text" th:value="${Sp_desc}" value="" id="sp_desc"> |
| 155 | </div> | 155 | </div> |
| 156 | </div> | 156 | </div> |
| 157 | 157 | ||
| 158 | - <div class="col-md-6" style="padding: 0;width: 15%;" | ||
| 159 | - th:if="${session.sessionUser.spid==0}"> | ||
| 160 | - <label for="count" class="control-label cb-toolbar">每页条数:</label> | ||
| 161 | - <div class="col-sm-5" style="padding: 0;"> | ||
| 162 | - <input class="form-control" type="text" value="" id="count"> | ||
| 163 | - </div> | ||
| 164 | - </div> | 158 | +<!-- <div class="col-md-6" style="padding: 0;width: 15%;"--> |
| 159 | +<!-- th:if="${session.sessionUser.spid==0}">--> | ||
| 160 | +<!-- <label for="count" class="control-label cb-toolbar">每页条数:</label>--> | ||
| 161 | +<!-- <div class="col-sm-5" style="padding: 0;">--> | ||
| 162 | +<!-- <input class="form-control" type="text" value="" id="count">--> | ||
| 163 | +<!-- </div>--> | ||
| 164 | +<!-- </div>--> | ||
| 165 | 165 | ||
| 166 | <div class="col-md-6" style="padding: 0;width: 20%;" | 166 | <div class="col-md-6" style="padding: 0;width: 20%;" |
| 167 | th:if="${session.sessionUser.spid==0}"> | 167 | th:if="${session.sessionUser.spid==0}"> |
| 168 | <label for="contentId" class="control-label cb-toolbar">图文发布id:</label> | 168 | <label for="contentId" class="control-label cb-toolbar">图文发布id:</label> |
| 169 | - <div class="col-sm-5" style="padding: 0;"> | ||
| 170 | - <input class="form-control" type="text" value="" id="contentId"> | 169 | + <div class="col-sm-6" style="padding: 0;"> |
| 170 | + <input class="form-control" type="text" th:value="${ContentId}" value="" id="contentId"> | ||
| 171 | </div> | 171 | </div> |
| 172 | </div> | 172 | </div> |
| 173 | </div> | 173 | </div> |
src/main/resources/templates/page/contentDetail.html
| @@ -144,14 +144,14 @@ | @@ -144,14 +144,14 @@ | ||
| 144 | 144 | ||
| 145 | <div class="form-group"> | 145 | <div class="form-group"> |
| 146 | <label for="comment_user_ip" | 146 | <label for="comment_user_ip" |
| 147 | - class="control-label col-sm-2">来源(昵称):</label> | 147 | + class="control-label col-sm-2">来源昵称:</label> |
| 148 | <div class="col-sm-10"> | 148 | <div class="col-sm-10"> |
| 149 | <h5 th:text="${content.source}">114.242.177.100</h5> | 149 | <h5 th:text="${content.source}">114.242.177.100</h5> |
| 150 | </div> | 150 | </div> |
| 151 | </div> | 151 | </div> |
| 152 | 152 | ||
| 153 | <div class="form-group"> | 153 | <div class="form-group"> |
| 154 | - <label for="app_id" class="control-label col-sm-2">作者(sid):</label> | 154 | + <label for="app_id" class="control-label col-sm-2">作者sid:</label> |
| 155 | <div class="col-sm-10"> | 155 | <div class="col-sm-10"> |
| 156 | <h5 th:text="${content.author}">769_jetj7bq525</h5> | 156 | <h5 th:text="${content.author}">769_jetj7bq525</h5> |
| 157 | </div> | 157 | </div> |
src/main/resources/templates/page/live.html
| @@ -86,14 +86,14 @@ | @@ -86,14 +86,14 @@ | ||
| 86 | <label for="activity_name" class="control-label cb-toolbar">直播名称:</label> | 86 | <label for="activity_name" class="control-label cb-toolbar">直播名称:</label> |
| 87 | <div class="col-sm-7" style="padding: 0;"> | 87 | <div class="col-sm-7" style="padding: 0;"> |
| 88 | <input class="form-control col-sm-2" name="activity_name" | 88 | <input class="form-control col-sm-2" name="activity_name" |
| 89 | - type="text" id="activity_name"> | 89 | + type="text" id="activity_name" th:value="${Activity_name}"> |
| 90 | </div> | 90 | </div> |
| 91 | </div> | 91 | </div> |
| 92 | <div class="col-md-3" style="padding: 0"> | 92 | <div class="col-md-3" style="padding: 0"> |
| 93 | <label for="activity_id" class="control-label cb-toolbar">直播id:</label> | 93 | <label for="activity_id" class="control-label cb-toolbar">直播id:</label> |
| 94 | <div class="col-sm-7" style="padding: 0;"> | 94 | <div class="col-sm-7" style="padding: 0;"> |
| 95 | <input class="form-control" name="activity_id" type="text" | 95 | <input class="form-control" name="activity_id" type="text" |
| 96 | - id="activity_id"> | 96 | + id="activity_id" th:value="${Activity_id}"> |
| 97 | </div> | 97 | </div> |
| 98 | </div> | 98 | </div> |
| 99 | 99 | ||
| @@ -101,7 +101,7 @@ | @@ -101,7 +101,7 @@ | ||
| 101 | <label for="contentId" class="control-label cb-toolbar">内容id:</label> | 101 | <label for="contentId" class="control-label cb-toolbar">内容id:</label> |
| 102 | <div class="col-sm-7" style="padding: 0;"> | 102 | <div class="col-sm-7" style="padding: 0;"> |
| 103 | <input class="form-control" name="contentId" type="text" | 103 | <input class="form-control" name="contentId" type="text" |
| 104 | - id="contentId"> | 104 | + id="contentId" th:value="${ContentId}"> |
| 105 | </div> | 105 | </div> |
| 106 | </div> | 106 | </div> |
| 107 | 107 | ||
| @@ -119,13 +119,13 @@ | @@ -119,13 +119,13 @@ | ||
| 119 | th:if="${session.sessionUser.spid==0}"> | 119 | th:if="${session.sessionUser.spid==0}"> |
| 120 | <label for="sp_desc" class="control-label cb-toolbar">sp简称:</label> | 120 | <label for="sp_desc" class="control-label cb-toolbar">sp简称:</label> |
| 121 | <div class="col-sm-8" style="padding: 0;"> | 121 | <div class="col-sm-8" style="padding: 0;"> |
| 122 | - <input class="form-control" type="text" value="" id="sp_desc"> | 122 | + <input class="form-control" type="text" th:value="${Sp_desc}" value="" id="sp_desc"> |
| 123 | </div> | 123 | </div> |
| 124 | </div> | 124 | </div> |
| 125 | <div class="col-md-3" style="padding: 0"> | 125 | <div class="col-md-3" style="padding: 0"> |
| 126 | <label for="activity_status" | 126 | <label for="activity_status" |
| 127 | class="control-label cb-toolbar">直播状态:</label> | 127 | class="control-label cb-toolbar">直播状态:</label> |
| 128 | - <div class="col-sm-6" style="padding: 0;"> | 128 | + <div class="col-sm-7" style="padding: 0;"> |
| 129 | <select class="form-control col-sm-2" id="activity_status" | 129 | <select class="form-control col-sm-2" id="activity_status" |
| 130 | name="activity_status"> | 130 | name="activity_status"> |
| 131 | <option value="">全部</option> | 131 | <option value="">全部</option> |
| @@ -147,7 +147,7 @@ | @@ -147,7 +147,7 @@ | ||
| 147 | <label for="start_date" class="control-label cb-toolbar">时间:</label> | 147 | <label for="start_date" class="control-label cb-toolbar">时间:</label> |
| 148 | <div class='input-group col-md-9 date'> | 148 | <div class='input-group col-md-9 date'> |
| 149 | <input class="form-control date" name="start_date" | 149 | <input class="form-control date" name="start_date" |
| 150 | - type="text" id="start_date"> <span | 150 | + type="text" id="start_date" th:value="${Start_date}"> <span |
| 151 | class="input-group-addon"> <span | 151 | class="input-group-addon"> <span |
| 152 | class="glyphicon glyphicon-calendar"></span> | 152 | class="glyphicon glyphicon-calendar"></span> |
| 153 | </span> | 153 | </span> |
| @@ -157,7 +157,7 @@ | @@ -157,7 +157,7 @@ | ||
| 157 | <label for="start_date" class="control-label cb-toolbar">至</label> | 157 | <label for="start_date" class="control-label cb-toolbar">至</label> |
| 158 | <div class='input-group col-md-9 date'> | 158 | <div class='input-group col-md-9 date'> |
| 159 | <input class="form-control date" name="end_date" | 159 | <input class="form-control date" name="end_date" |
| 160 | - type="text" id="end_date"> <span class="input-group-addon"> | 160 | + type="text" id="end_date" th:value="${End_date}"> <span class="input-group-addon"> |
| 161 | <span class="glyphicon glyphicon-calendar"></span> | 161 | <span class="glyphicon glyphicon-calendar"></span> |
| 162 | </span> | 162 | </span> |
| 163 | </div> | 163 | </div> |
src/main/resources/templates/page/video.html
| @@ -105,7 +105,7 @@ | @@ -105,7 +105,7 @@ | ||
| 105 | 105 | ||
| 106 | <div class="btn-group margin-bottom col-md-6 pull-right" | 106 | <div class="btn-group margin-bottom col-md-6 pull-right" |
| 107 | style="position: relative;width: 75%;float: left !important;"> | 107 | style="position: relative;width: 75%;float: left !important;"> |
| 108 | - <div class="col-md-18" style="width: 100%;padding: 0;"> | 108 | + <div class="col-md-10" style="width: 100%;padding: 0;"> |
| 109 | <div class="col-md-10" style="padding: 0;width: 25%;"> | 109 | <div class="col-md-10" style="padding: 0;width: 25%;"> |
| 110 | <label for="start_date" class="control-label cb-toolbar">时间:</label> | 110 | <label for="start_date" class="control-label cb-toolbar">时间:</label> |
| 111 | <div class="input-group col-md-9 date"> | 111 | <div class="input-group col-md-9 date"> |
| @@ -136,9 +136,9 @@ | @@ -136,9 +136,9 @@ | ||
| 136 | </div> | 136 | </div> |
| 137 | 137 | ||
| 138 | 138 | ||
| 139 | - <div class="col-md-6" style="padding: 0;width: 25%;"> | 139 | + <div class="col-md-5" style="padding: 0;width: 25%;"> |
| 140 | <label for="state" class="control-label cb-toolbar">分类:</label> | 140 | <label for="state" class="control-label cb-toolbar">分类:</label> |
| 141 | - <div class="col-sm-10" style="padding: 0;"> | 141 | + <div class="col-sm-8" style="padding: 0;"> |
| 142 | <select class="form-control" id="source" name="source"> | 142 | <select class="form-control" id="source" name="source"> |
| 143 | <option value="">全部</option> | 143 | <option value="">全部</option> |
| 144 | <option th:each="activitys : ${activityList}" | 144 | <option th:each="activitys : ${activityList}" |
| @@ -154,7 +154,7 @@ | @@ -154,7 +154,7 @@ | ||
| 154 | 154 | ||
| 155 | <div class="col-md-6" style="padding: 0;width: 18%;" | 155 | <div class="col-md-6" style="padding: 0;width: 18%;" |
| 156 | th:if="${session.sessionUser.spid==0}"> | 156 | th:if="${session.sessionUser.spid==0}"> |
| 157 | - <label for="video_id" class="control-label cb-toolbar">video_id</label> | 157 | + <label for="video_id" class="control-label cb-toolbar">videoId</label> |
| 158 | <div class="col-sm-9" style="padding: 0;"> | 158 | <div class="col-sm-9" style="padding: 0;"> |
| 159 | <input class="form-control" type="text" th:value="${VideoId}" value="" id="video_id"> | 159 | <input class="form-control" type="text" th:value="${VideoId}" value="" id="video_id"> |
| 160 | </div> | 160 | </div> |
| @@ -164,7 +164,7 @@ | @@ -164,7 +164,7 @@ | ||
| 164 | th:if="${session.sessionUser.spid==0}"> | 164 | th:if="${session.sessionUser.spid==0}"> |
| 165 | <label for="video_user_id" class="control-label cb-toolbar">sid</label> | 165 | <label for="video_user_id" class="control-label cb-toolbar">sid</label> |
| 166 | <div class="col-sm-9" style="padding: 0;"> | 166 | <div class="col-sm-9" style="padding: 0;"> |
| 167 | - <input class="form-control" type="text" value="" id="video_user_id"> | 167 | + <input class="form-control" type="text" th:value="${Video_user_id}" value="" id="video_user_id"> |
| 168 | </div> | 168 | </div> |
| 169 | </div> | 169 | </div> |
| 170 | 170 | ||
| @@ -172,7 +172,7 @@ | @@ -172,7 +172,7 @@ | ||
| 172 | th:if="${session.sessionUser.spid==0}"> | 172 | th:if="${session.sessionUser.spid==0}"> |
| 173 | <label for="contentId" class="control-label cb-toolbar">内容id:</label> | 173 | <label for="contentId" class="control-label cb-toolbar">内容id:</label> |
| 174 | <div class="col-sm-9" style="padding: 0;"> | 174 | <div class="col-sm-9" style="padding: 0;"> |
| 175 | - <input class="form-control" type="text" value="" id="contentId"> | 175 | + <input class="form-control" type="text" th:value="${ContentId}" value="" id="contentId"> |
| 176 | </div> | 176 | </div> |
| 177 | </div> | 177 | </div> |
| 178 | 178 | ||
| @@ -189,7 +189,7 @@ | @@ -189,7 +189,7 @@ | ||
| 189 | th:if="${session.sessionUser.spid==0}"> | 189 | th:if="${session.sessionUser.spid==0}"> |
| 190 | <label for="shen_auditor_id" class="control-label cb-toolbar">审核员</label> | 190 | <label for="shen_auditor_id" class="control-label cb-toolbar">审核员</label> |
| 191 | <div class="col-sm-9" style="padding: 0;"> | 191 | <div class="col-sm-9" style="padding: 0;"> |
| 192 | - <input class="form-control" type="text" value="" id="shen_auditor_id"> | 192 | + <input class="form-control" type="text" th:value="${Shen_auditor_id}" value="" id="shen_auditor_id"> |
| 193 | </div> | 193 | </div> |
| 194 | </div> | 194 | </div> |
| 195 | </div> | 195 | </div> |