|
|
@ -229,6 +229,8 @@ class Challengesjupyter extends Component {
|
|
|
|
const business = this.props&&this.props.current_user&&this.props.current_user.business?this.props.current_user.business:false;
|
|
|
|
const business = this.props&&this.props.current_user&&this.props.current_user.business?this.props.current_user.business:false;
|
|
|
|
//管理员
|
|
|
|
//管理员
|
|
|
|
const admin = this.props&&this.props.current_user&&this.props.current_user.admin?this.props.current_user.admin:false;
|
|
|
|
const admin = this.props&&this.props.current_user&&this.props.current_user.admin?this.props.current_user.admin:false;
|
|
|
|
|
|
|
|
//用户
|
|
|
|
|
|
|
|
const login = this.props&&this.props.current_user&&this.props.current_user.login?this.props.current_user.login:"";
|
|
|
|
|
|
|
|
|
|
|
|
let mysidentity =false;
|
|
|
|
let mysidentity =false;
|
|
|
|
try {
|
|
|
|
try {
|
|
|
@ -409,10 +411,19 @@ class Challengesjupyter extends Component {
|
|
|
|
:""
|
|
|
|
:""
|
|
|
|
)
|
|
|
|
)
|
|
|
|
:
|
|
|
|
:
|
|
|
|
<iframe src={this.state.jupyter_url} className={enlarge?"fangdatwo":""}
|
|
|
|
(
|
|
|
|
sandbox="allow-same-origin allow-scripts allow-top-navigation " scrolling="no" id="frame"
|
|
|
|
login==="innov"?
|
|
|
|
name="framename" width="100%" height="700" frameBorder="0"
|
|
|
|
<iframe src={"http://121.41.4.83:46666/notebooks/root/work/01.ipynb"} className={enlarge?"fangdatwo":""}
|
|
|
|
></iframe>
|
|
|
|
sandbox="allow-same-origin allow-scripts allow-top-navigation " scrolling="no" id="frame"
|
|
|
|
|
|
|
|
name="framename" width="100%" height="700" frameBorder="0"
|
|
|
|
|
|
|
|
></iframe>
|
|
|
|
|
|
|
|
:
|
|
|
|
|
|
|
|
<iframe src={this.state.jupyter_url} className={enlarge?"fangdatwo":""}
|
|
|
|
|
|
|
|
sandbox="allow-same-origin allow-scripts allow-top-navigation " scrolling="no" id="frame"
|
|
|
|
|
|
|
|
name="framename" width="100%" height="700" frameBorder="0"
|
|
|
|
|
|
|
|
></iframe>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|