|
|
@ -1283,7 +1283,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
|
|
|
|
|
|
|
<div className="edu-menu-list" style={{top: '60px',width:"240px"}}>
|
|
|
|
<div className="edu-menu-list" style={{top: '60px',width:"240px"}}>
|
|
|
|
<div className="overPart"></div>
|
|
|
|
<div className="overPart"></div>
|
|
|
|
<ul className={coursestypes===true&&this.props.user&&this.props.user.main_site===true?"fl headwith100b edu-txt-center pr ul-leftline":"fl with50 edu-txt-center pr ul-leftline"}>
|
|
|
|
<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===true?"":<li><a onClick={(url)=>this.getUser("/courses/new")}>新建翻转课堂</a></li>}
|
|
|
|
{this.props.current_user&&this.props.current_user.user_identity==="学生"?"":coursestypes===true?"":<li><a onClick={(url)=>this.getUser("/courses/new")}>新建翻转课堂</a></li>}
|
|
|
|
{shixuntype===true?"":<li><a onClick={(url)=>this.getUser("/shixuns/new")}>新建实训项目</a></li>}
|
|
|
|
{shixuntype===true?"":<li><a onClick={(url)=>this.getUser("/shixuns/new")}>新建实训项目</a></li>}
|
|
|
|
{this.props.Headertop===undefined?"":
|
|
|
|
{this.props.Headertop===undefined?"":
|
|
|
@ -1291,7 +1291,7 @@ submittojoinclass=(value)=>{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{this.props.user&&this.props.user.main_site===true?<li><a onClick={(url)=>this.getUser("/projects/new","projects")} target="_blank">新建开发项目</a></li>:""}
|
|
|
|
{this.props.user&&this.props.user.main_site===true?<li><a onClick={(url)=>this.getUser("/projects/new","projects")} target="_blank">新建开发项目</a></li>:""}
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
{coursestypes===true&&this.props.user&&this.props.user.main_site===true?"":<ul className="fl with50 edu-txt-center">
|
|
|
|
{coursestypes===true&&this.props.user&&this.props.user.main_site===false?"":<ul className="fl with50 edu-txt-center">
|
|
|
|
|
|
|
|
|
|
|
|
{coursestypes===true?"":<li>
|
|
|
|
{coursestypes===true?"":<li>
|
|
|
|
<a onClick={this.tojoinclass}>加入翻转课堂</a>
|
|
|
|
<a onClick={this.tojoinclass}>加入翻转课堂</a>
|
|
|
@ -1360,7 +1360,7 @@ submittojoinclass=(value)=>{
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div className="fl mr30 edu-menu-panel headIcon">
|
|
|
|
{this.props.user&&this.props.user.main_site===true? <div className="fl mr30 edu-menu-panel headIcon">
|
|
|
|
{ user===undefined?"":user.login===""?"": <a
|
|
|
|
{ user===undefined?"":user.login===""?"": <a
|
|
|
|
href={`/messages/${user.login}/user_tidings`}
|
|
|
|
href={`/messages/${user.login}/user_tidings`}
|
|
|
|
style={{position:'relative'}}
|
|
|
|
style={{position:'relative'}}
|
|
|
@ -1373,7 +1373,7 @@ submittojoinclass=(value)=>{
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>:""}
|
|
|
|
|
|
|
|
|
|
|
|
<Modal
|
|
|
|
<Modal
|
|
|
|
keyboard={false}
|
|
|
|
keyboard={false}
|
|
|
|