style
This commit is contained in:
parent
99174c2782
commit
f4332db4ad
|
@ -27,7 +27,7 @@ if (isDev) {
|
||||||
}
|
}
|
||||||
debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' :
|
debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' :
|
||||||
window.location.search.indexOf('debug=s') !== -1 ? 'student' :
|
window.location.search.indexOf('debug=s') !== -1 ? 'student' :
|
||||||
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'admin'
|
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'student'
|
||||||
}
|
}
|
||||||
function clearAllCookie() {
|
function clearAllCookie() {
|
||||||
cookie.remove('_educoder_session', { path: '/' });
|
cookie.remove('_educoder_session', { path: '/' });
|
||||||
|
|
|
@ -2,14 +2,14 @@ import React from 'react';
|
||||||
import { Table , Popconfirm } from 'antd';
|
import { Table , Popconfirm } from 'antd';
|
||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
|
|
||||||
const STATUS = {
|
// const STATUS = {
|
||||||
running:"运行中",
|
// running:"运行中",
|
||||||
failure:"未通过",
|
// failure:"未通过",
|
||||||
error:"未通过",
|
// error:"未通过",
|
||||||
success:"已通过",
|
// success:"已通过",
|
||||||
killed:"已撤销",
|
// killed:"已撤销",
|
||||||
pending:"准备中"
|
// pending:"准备中"
|
||||||
}
|
// }
|
||||||
function renderTableStatus(status) {
|
function renderTableStatus(status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case "running":
|
case "running":
|
||||||
|
@ -36,7 +36,7 @@ function renderTableStatus(status) {
|
||||||
<i className="iconfont icon-weitongguo"></i>已撤销
|
<i className="iconfont icon-weitongguo"></i>已撤销
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
case 'pending':
|
default :
|
||||||
return (
|
return (
|
||||||
<span className="statusTag Preparing">
|
<span className="statusTag Preparing">
|
||||||
<i className="iconfont icon-zhunbeizhong"></i>准备中
|
<i className="iconfont icon-zhunbeizhong"></i>准备中
|
||||||
|
|
|
@ -187,7 +187,7 @@ function Structure(props,ref){
|
||||||
<i className="iconfont icon-weitongguo"></i>已撤销
|
<i className="iconfont icon-weitongguo"></i>已撤销
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
case 'pending':
|
default:
|
||||||
return (
|
return (
|
||||||
<span className="statusTag Preparing">
|
<span className="statusTag Preparing">
|
||||||
<i className="iconfont icon-zhunbeizhong"></i>准备中
|
<i className="iconfont icon-zhunbeizhong"></i>准备中
|
||||||
|
|
|
@ -145,7 +145,7 @@ class CoderRootCommit extends Component{
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
{commitDatas && commitDatas.length > 0 && <Nodata _html="暂无数据"/>}
|
{commitDatas && commitDatas.length === 0 && <Nodata _html="暂无数据"/>}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{
|
{
|
||||||
|
|
|
@ -665,7 +665,6 @@ a.color-grey-ccc:hover{
|
||||||
|
|
||||||
.commitList{
|
.commitList{
|
||||||
padding:0px 30px;
|
padding:0px 30px;
|
||||||
min-height: 450px;
|
|
||||||
}
|
}
|
||||||
.commitList > div{
|
.commitList > div{
|
||||||
border-bottom: 1px solid #EEEEEE;
|
border-bottom: 1px solid #EEEEEE;
|
||||||
|
|
Loading…
Reference in New Issue