|
|
@ -199,42 +199,42 @@ class Challengesjupyter extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<React.Fragment>
|
|
|
|
<React.Fragment>
|
|
|
|
<div className="mt30 pl20 pr20 edu-back-white" >
|
|
|
|
<div className="">
|
|
|
|
<p className="clearfix mb20">
|
|
|
|
<p className="clearfix mb20 edu-back-white">
|
|
|
|
<span className="font-16 fl">简介</span>
|
|
|
|
<div className={"shixunjianjie"}>
|
|
|
|
<Tooltip placement="bottom" title={"编辑"}>
|
|
|
|
<span className="font-16 fl">简介</span>
|
|
|
|
<a style={{ display: this.props.identity < 5 && ChallengesDataList&&ChallengesDataList.shixun_status < 3 ? "block" : 'none' }}
|
|
|
|
<Tooltip placement="bottom" title={"编辑"}>
|
|
|
|
href={"/shixuns/" + id + "/settings?edit=1"} className="ring-green fr">
|
|
|
|
<a style={{ display: this.props.identity < 5 && ChallengesDataList&&ChallengesDataList.shixun_status < 3 ? "block" : 'none' }}
|
|
|
|
<img src={getImageUrl("images/educoder/icon/edit.svg")} className="fl mt3 ml2" />
|
|
|
|
href={"/shixuns/" + id + "/settings?edit=1"} className="fr color-blue font-14">
|
|
|
|
</a>
|
|
|
|
编辑
|
|
|
|
</Tooltip>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div className={"pd20"}>
|
|
|
|
|
|
|
|
<p id="ReactMarkdown" style={{overflow:'hidden'}}>
|
|
|
|
|
|
|
|
{ChallengesDataList === undefined ? "" :ChallengesDataList&&ChallengesDataList.description===null?"":
|
|
|
|
|
|
|
|
<div className={"markdown-body"} dangerouslySetInnerHTML={{__html: markdownToHTML(ChallengesDataList.description).replace(/▁/g,"▁▁▁")}}></div>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
booljupyterurls===true?
|
|
|
|
|
|
|
|
(
|
|
|
|
|
|
|
|
this.state.jupyter_url === null?
|
|
|
|
|
|
|
|
<div className="mt50 intermediatecenter juplbool">
|
|
|
|
|
|
|
|
<span className="icon iconfontysl icon-jiazaishibai1"></span>
|
|
|
|
|
|
|
|
<p className="intermediatecenter sortinxdirection mt5 juplboolp"><p className="colorbluetest">加载实训失败,</p><p className="colorbluetwo" onClick={()=>this.updatamakedowns()}>重新加载</p></p>
|
|
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div className="justify break_full_word new_li "
|
|
|
|
:""
|
|
|
|
id="challenge_editorMd_description">
|
|
|
|
)
|
|
|
|
<p id="ReactMarkdown" style={{overflow:'hidden'}}>
|
|
|
|
:""
|
|
|
|
{ChallengesDataList === undefined ? "" :ChallengesDataList&&ChallengesDataList.description===null?"":
|
|
|
|
|
|
|
|
<div className={"markdown-body"} dangerouslySetInnerHTML={{__html: markdownToHTML(ChallengesDataList.description).replace(/▁/g,"▁▁▁")}}></div>
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{
|
|
|
|
</p>
|
|
|
|
booljupyterurls===true?
|
|
|
|
|
|
|
|
(
|
|
|
|
|
|
|
|
this.state.jupyter_url === null?
|
|
|
|
|
|
|
|
<div className="mt50 intermediatecenter juplbool">
|
|
|
|
|
|
|
|
<span className="icon iconfontysl icon-jiazaishibai1"></span>
|
|
|
|
|
|
|
|
<p className="intermediatecenter sortinxdirection mt5 juplboolp"><p className="colorbluetest">加载实训失败,</p><p className="colorbluetwo" onClick={()=>this.updatamakedowns()}>重新加载</p></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:""
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
:""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className="justify break_full_word new_li edu-back-white"
|
|
|
|
|
|
|
|
id="challenge_editorMd_description">
|
|
|
|
<style>
|
|
|
|
<style>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
`
|
|
|
|
`
|
|
|
@ -265,7 +265,7 @@ class Challengesjupyter extends Component {
|
|
|
|
:
|
|
|
|
:
|
|
|
|
(
|
|
|
|
(
|
|
|
|
admin===true||business===true||mysidentity===true?
|
|
|
|
admin===true||business===true||mysidentity===true?
|
|
|
|
<div className="sortinxdirection mt60">
|
|
|
|
<div className={"shixunjianjiecballenges edu-back-white sortinxdirection mt20"}>
|
|
|
|
<div className="renwuxiangssi sortinxdirection">
|
|
|
|
<div className="renwuxiangssi sortinxdirection">
|
|
|
|
<div><p className="renwuxiangqdiv">任务详情</p></div>
|
|
|
|
<div><p className="renwuxiangqdiv">任务详情</p></div>
|
|
|
|
<div><p className="renwuxiangqdivtest ml1 shixunbingbaocun">(请将实训题目写在下方并保存)</p></div>
|
|
|
|
<div><p className="renwuxiangqdivtest ml1 shixunbingbaocun">(请将实训题目写在下方并保存)</p></div>
|
|
|
@ -308,7 +308,7 @@ class Challengesjupyter extends Component {
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
admin===true||business===true||mysidentity===true?
|
|
|
|
admin===true||business===true||mysidentity===true?
|
|
|
|
<div className="mt35">
|
|
|
|
<div>
|
|
|
|
<div className="pb47">
|
|
|
|
<div className="pb47">
|
|
|
|
{
|
|
|
|
{
|
|
|
|
this.state.jupyter_url===null || this.state.jupyter_url===undefined?
|
|
|
|
this.state.jupyter_url===null || this.state.jupyter_url===undefined?
|
|
|
|