11<!DOCTYPE html>
22< html lang ="en ">
3+ < link href ="../static/css/community.css " rel ="stylesheet ">
34< html xmlns:th ="http://www.thymeleaf.org ">
45< head >
56 < title > 发布 - 麻酱社区</ title >
67 < meta charset ="UTF-8 " http-equiv ="Content-Type "/>
78 < link href ="css/bootstrap.min.css " rel ="stylesheet ">
89 < link href ="css/bootstrap-theme.min.css " rel ="stylesheet ">
10+ < link href ="css/community.css " rel ="stylesheet ">
911 < script src ="js/bootstrap.min.js " type ="application/javascript "> </ script >
1012
1113</ head >
12- < body >
1314< nav class ="navbar navbar-default ">
1415 < div class ="container-fluid ">
15-
1616 < div class ="navbar-header ">
17- < button aria-expanded ="false " class ="navbar-toggle collapsed " data-target ="#bs-example-navbar-collapse-1 "
17+ < button aria-expanded ="false " class ="navbar-toggle collapsed "
18+ data-target ="#bs-example-navbar-collapse-1 "
1819 data-toggle ="collapse " type ="button ">
1920 < span class ="sr-only "> 麻酱社区</ span >
2021 </ button >
3435 <!--如果不为空则展示,打印<li>整个节点-->
3536 < li class ="dropdown " th:if ="${session.user != null } ">
3637 <!--th:text 替换整个标签a-->
37- < a href =" # " class =" dropdown-toggle "
38- aria-haspopup =" true " data-toggle ="dropdown "
39- aria-expanded =" false " role ="button "
40- th:text ="${session.user.getName()} "> 个人信息< span class ="caret "> </ span > </ a >
38+ < a aria-expanded =" false " aria-haspopup =" true "
39+ class =" dropdown-toggle " data-toggle ="dropdown "
40+ href =" # " role ="button "
41+ th:text ="${session.user.getName()} "> 个人信息< span class ="caret "> </ span > </ a >
4142 < ul class ="dropdown-menu ">
4243 < li > < a href ="# "> 消息中心</ a > </ li >
4344 < li > < a href ="# "> 个人资料</ a > </ li >
4748 < li th:if ="${session.user == null} ">
4849 < a href ="https://github.com/login/oauth/authorize?client_id=639f4c8d6441c6136b44&redirect_url=http://localhost:8080/callback&scope=user&state=1 "> 登录</ a >
4950 </ li >
50-
5151 </ ul >
5252 </ div >
5353 </ div >
54- < div class ="container-fluid ">
55- < div class ="row ">
56- < div class ="col-lg-9 col-md-12 col-sm-12 col-xs-12 " style ="background-color: red "> </ div >
57- < div class ="col-lg-3 col-md-12 col-sm-12 col-xs-12 " style ="background-color: green "> </ div >
54+ </ nav >
55+ < div class ="container-fluid main ">
56+ < div class ="row ">
57+ < div class ="col-lg-9 col-md-12 col-sm-12 col-xs-12 ">
58+ < h2 > < span aria-hidden ="true " class ="glyphicon glyphicon-plus "> </ span > 发起</ h2 >
59+ < hr >
60+ < from action ="">
61+ < div class ="form-group ">
62+ < label for ="titile "> 问题标题 (简明扼要):</ label >
63+ < input class ="form-control " id ="titile " name ="titile " placeholder ="问题标题 " type ="text ">
64+ </ div >
65+ < div class ="form-group ">
66+ < label for ="titile "> 问题补充 (必填 参考右侧提示):</ label >
67+ < textarea class ="form-control " cols ="30 " id ="description " name ="description "
68+ rows ="30 "> </ textarea >
69+ </ div >
70+ < div class ="form-group ">
71+ < label for ="titile "> 添加标签:</ label >
72+ < input class ="form-control " id ="tag " name ="tag " placeholder ="输入标签 以,分隔 " type ="text ">
73+ </ div >
74+ < button class ="btn btn-info btn-publish " type ="submit "> 确认发布</ button >
75+ </ from >
76+ </ div >
77+ < div class ="col-lg-3 col-md-12 col-sm-12 col-xs-12 ">
78+ < h3 > 问题发起指南</ h3 >
79+ • 问题标题: 请用精简的语言描述您发布的问题,不超过25字 < br >
80+ • 问题补充: 详细补充您的问题内容,并确保问题描述清晰直观, 并提供一些相关的资料< br >
81+ • 选择标签: 选择一个或者多个合适的标签,用逗号隔开,每个标签不超过10个字< br >
5882 </ div >
5983 </ div >
60- </ nav >
84+ </ div >
6185</ body >
6286</ html >
0 commit comments