|
|
|
@ -1097,7 +1097,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
{/*<li><a href={this.props.Headertop===undefined?"":'/courses'}>课堂</a></li>*/}
|
|
|
|
|
<li className={`${coursestype === true ? 'pr active' : 'pr'}`}>
|
|
|
|
|
{/*<a href={this.props.Headertop===undefined?"":this.props.Headertop.course_url}>课堂</a>*/}
|
|
|
|
|
<Link to={this.props.Headertop===undefined?"":'/courses'}>翻转课堂</Link>
|
|
|
|
|
<Link to={this.props.Headertop===undefined?"":'/courses'}>教学课堂</Link>
|
|
|
|
|
</li>
|
|
|
|
|
<li className={`${activeShixuns === true ? 'pr active' : 'pr'}`}>
|
|
|
|
|
<Link to="/shixuns">实训项目</Link>
|
|
|
|
@ -1183,7 +1183,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
onBlur={(e)=>this.hideshowSearchOpen(e)} onMouseLeave={()=>this.setevaluatinghides()}>
|
|
|
|
|
<Search
|
|
|
|
|
id={"HeaderSearchs"}
|
|
|
|
|
placeholder="实践课程/翻转课堂/实训项目/交流问答"
|
|
|
|
|
placeholder="实践课程/教学课堂/实训项目/交流问答"
|
|
|
|
|
onInput={()=>this.onKeywordSearchKeyDowns()}
|
|
|
|
|
onSearch={(value) => this.onKeywordSearchKeyDown(value)}
|
|
|
|
|
// onPressEnter={this.onKeywordSearchKeyDown}
|
|
|
|
@ -1230,7 +1230,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
<ul className="edu-menu-list" style={{top:'60px'}}>
|
|
|
|
|
{/*<span className="bor-bottom-greyE currentName task-hide">{user.username}</span>*/}
|
|
|
|
|
<li><Link to={`/users/${this.props.current_user.login}/courses`}>我的个人主页</Link></li>
|
|
|
|
|
{coursestypes===true?"":<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/courses`}>{this.props.user&&this.props.user.main_site===false?"我的课堂":"我的翻转课堂"}</Link></li>}
|
|
|
|
|
{coursestypes===true?"":<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/courses`}>{this.props.user&&this.props.user.main_site===false?"我的课堂":"我的教学课堂"}</Link></li>}
|
|
|
|
|
{/* p 老师 l 学生 */}
|
|
|
|
|
{shixuntype===true?"":<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/shixuns`}>我的实训项目</Link></li>}
|
|
|
|
|
{pathstype===true?"":<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/paths`}>{this.props.user&&this.props.user.main_site===false?"我的课程":"我的实践课程"}</Link></li>}
|
|
|
|
@ -1282,7 +1282,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
<div className="overPart"></div>
|
|
|
|
|
<ul className={coursestypes===true&&this.props.user&&this.props.user.main_site===false?"fl headwith100b edu-txt-center pr ul-leftline":"fl with50 edu-txt-center pr ul-leftline"}>
|
|
|
|
|
{this.props.current_user&&this.props.current_user.user_identity==="学生"?"":coursestypes===false?
|
|
|
|
|
<li><a onClick={(url)=>this.getUser("/courses/new")}>{this.props.user&&this.props.user.main_site===false?"新建课堂":"新建翻转课堂"}</a></li>:""
|
|
|
|
|
<li><a onClick={(url)=>this.getUser("/courses/new")}>{this.props.user&&this.props.user.main_site===false?"新建课堂":"新建教学课堂"}</a></li>:""
|
|
|
|
|
}
|
|
|
|
|
{shixuntype===true?"":
|
|
|
|
|
<li><a onClick={(url)=>this.getUser("/shixuns/new","newshixuns")}>新建实训项目</a></li>
|
|
|
|
@ -1296,7 +1296,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
{coursestypes===true&&this.props.user&&this.props.user.main_site===false?"":<ul className="fl with50 edu-txt-center">
|
|
|
|
|
|
|
|
|
|
{coursestypes===true?"":<li>
|
|
|
|
|
<a onClick={this.tojoinclass}>{this.props.user&&this.props.user.main_site===false?"加入课堂":"加入翻转课堂"}</a>
|
|
|
|
|
<a onClick={this.tojoinclass}>{this.props.user&&this.props.user.main_site===false?"加入课堂":"加入教学课堂"}</a>
|
|
|
|
|
</li>}
|
|
|
|
|
|
|
|
|
|
{Addcoursestypes===true?<Addcourses
|
|
|
|
|