|
|
|
@ -734,7 +734,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li className={`${activeShixuns === true ? 'pr active' : 'pr'}`}>
|
|
|
|
|
<Link to="/shixuns">开发社区</Link>
|
|
|
|
|
<Link to="/shixuns">实训项目</Link>
|
|
|
|
|
<img src={getImageUrl("images/educoder/hot-h.png")} className="nav-img">
|
|
|
|
|
</img>
|
|
|
|
|
</li>
|
|
|
|
@ -814,7 +814,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}
|
|
|
|
@ -862,13 +862,13 @@ submittojoinclass=(value)=>{
|
|
|
|
|
<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>
|
|
|
|
|
{/* 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}/shixuns`}>我的实训项目</Link></li>
|
|
|
|
|
<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/paths`}>我的实践课程</Link></li>
|
|
|
|
|
<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/projects`}>我的开发项目</Link></li>
|
|
|
|
|
<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/package`}>我的众包</Link></li>
|
|
|
|
|
<li style={{display: this.props.Headertop === undefined ? 'none' : this.props.Headertop.customer_management_url===null || this.props.Headertop.customer_management_url===""? 'none' : 'block'}}>
|
|
|
|
|
<a href={this.props.Headertop === undefined ? '' : this.props.Headertop.customer_management_url}>客户管理</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/projects`}>我的项目</Link></li>
|
|
|
|
|
<li><Link to={`/users/${this.props.current_user===undefined?"":this.props.current_user.login}/package`}>我的众包</Link></li>
|
|
|
|
|
<li><a href={`/account/profile`}>账号管理</a></li>
|
|
|
|
|
{/*<li><a onClick={()=>this.educoderlogin()} >登入测试接口</a></li>*/}
|
|
|
|
|
{/*<li><a onClick={()=>this.trialapplications()} >试用申请</a> </li>*/}
|
|
|
|
@ -903,11 +903,11 @@ submittojoinclass=(value)=>{
|
|
|
|
|
<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>}
|
|
|
|
|
<li><a onClick={(url)=>this.getUser("/shixuns/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>
|
|
|
|
|
}
|
|
|
|
|
<li><a onClick={(url)=>this.getUser("/projects/new")} target="_blank">新建项目</a></li>
|
|
|
|
|
<li><a onClick={(url)=>this.getUser("/projects/new")} target="_blank">新建开发项目</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<ul className="fl with50 edu-txt-center">
|
|
|
|
|
|
|
|
|
@ -925,7 +925,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
|
|
|
|
|
{/* /courses/join_course_multi_role */}
|
|
|
|
|
<li>
|
|
|
|
|
<a onClick={this.tojoinitem}>加入项目</a>
|
|
|
|
|
<a onClick={this.tojoinitem}>加入开发项目</a>
|
|
|
|
|
</li>
|
|
|
|
|
{tojoinitemtype===true?<Modal
|
|
|
|
|
keyboard={false}
|
|
|
|
@ -941,7 +941,7 @@ submittojoinclass=(value)=>{
|
|
|
|
|
<label className="panel-form-label fl">项目邀请码:</label>
|
|
|
|
|
<Input type="text" className="input-60-40 fl mt5" name="invite_code"
|
|
|
|
|
style={{width: '275px'}}
|
|
|
|
|
placeholder="请输入6位项目邀请码" value={tojoinclasstitle} onInput={this.inputjoinclassvalue}/>
|
|
|
|
|
placeholder="请输入6位开发项目邀请码" value={tojoinclasstitle} onInput={this.inputjoinclassvalue}/>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<p id="none_invite_code_notice"
|
|
|
|
|