|
|
|
@ -860,7 +860,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
</a>
|
|
|
|
|
<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===undefined?"":this.props.current_user.login}/courses`}>我的课堂</Link></li>
|
|
|
|
|
<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/courses`}>我的翻转课堂</Link></li>
|
|
|
|
|
{/* p 老师 l 学生 */}
|
|
|
|
|
<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/shixuns`}>我的实训项目</Link></li>
|
|
|
|
|
<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/paths`}>我的实践课程</Link></li>
|
|
|
|
@ -902,7 +902,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
<div className="edu-menu-list" style={{top: '60px',width:"240px"}}>
|
|
|
|
|
<div className="overPart"></div>
|
|
|
|
|
<ul className="fl with50 edu-txt-center pr ul-leftline">
|
|
|
|
|
{this.props.current_user&&this.props.current_user.user_identity==="学生"?"":<li><a onClick={(url)=>this.getUser("/courses/new")}>新建课堂</a></li>}
|
|
|
|
|
{this.props.current_user&&this.props.current_user.user_identity==="学生"?"":<li><a onClick={(url)=>this.getUser("/courses/new")}>新建翻转课堂</a></li>}
|
|
|
|
|
<li><a onClick={(url)=>this.getUser("/shixuns/new")}>新建实训项目</a></li>
|
|
|
|
|
{this.props.Headertop===undefined?"":
|
|
|
|
|
<li><a onClick={(url)=>this.getUser("/paths/new")} >新建实践课程</a></li>
|
|
|
|
@ -912,7 +912,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
<ul className="fl with50 edu-txt-center">
|
|
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
<a onClick={this.tojoinclass}>加入课堂</a>
|
|
|
|
|
<a onClick={this.tojoinclass}>加入翻转课堂</a>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
{Addcoursestypes===true?<Addcourses
|
|
|
|
|