Auto Submit

dev_local_v9_test1
autosubmit 9 months ago
parent fc006ef622
commit 8545a1f247

@ -26,7 +26,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.d05e186d.js"></script>
<script src="/react/build/umi.5bb439b2.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -145,6 +145,5 @@
text-align: center;
font-style: normal;
cursor: pointer;
margin: 20px auto;
}

@ -94,9 +94,9 @@ var Dataset = function Dataset(_ref) {
var editable = (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 || (_user$userInfo2 = _user$userInfo2.shixun) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.lookable;
return /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
className: Datasetmodules.bg,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Datasetmodules.listWrap,
children: [(list === null || list === void 0 ? void 0 : list.length) > 0 ? list === null || list === void 0 ? void 0 : list.map(function (data, key) {
children: (list === null || list === void 0 ? void 0 : list.length) > 0 ? list === null || list === void 0 ? void 0 : list.map(function (data, key) {
var _data$data_set_info, _data$data_set_info2, _data$data_set_info4, _data$data_set_info5, _data$data_set_info6, _data$data_set_info7, _data$data_set_info8, _data$data_set_info9, _data$data_set_info10, _ref2, _data$data_set_info13;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
className: Datasetmodules.wrap,
@ -286,21 +286,7 @@ var Dataset = function Dataset(_ref) {
styles: {
marginBottom: '20px'
}
}), own && editable && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Datasetmodules.updateStley,
style: {
width: (list === null || list === void 0 ? void 0 : list.length) > 0 ? '68px' : '100px'
},
onClick: function onClick() {
var _shixunsDetail$detail2;
if (shixunsDetail !== null && shixunsDetail !== void 0 && (_shixunsDetail$detail2 = shixunsDetail.detail) !== null && _shixunsDetail$detail2 !== void 0 && _shixunsDetail$detail2.is_jupyter) {
_umi_production_exports.history.push("/shixuns/".concat(shixunId.current, "/dataset/jupyterEdit"));
} else {
_umi_production_exports.history.push("/shixuns/".concat(shixunId.current, "/edit?tabId=dataset"));
}
},
children: (list === null || list === void 0 ? void 0 : list.length) > 0 ? '修改' : '添加数据集'
})]
})
})
});
};

@ -3754,6 +3754,7 @@ var SvgHzzActive = function SvgHzzActive(props) {
var formatTabKeyToUrl = function formatTabKeyToUrl(key, id) {
@ -3890,7 +3891,8 @@ var ShixunsDetailPage = function ShixunsDetailPage(_ref) {
}, {
key: "4",
label: "私密代码",
icon: "🔒",
icon: dm,
activeIcon: dm_active,
show: own && ((_shixunsDetail$detail4 = shixunsDetail.detail) === null || _shixunsDetail$detail4 === void 0 ? void 0 : _shixunsDetail$detail4.secret_repository)
}, {
key: "7",
@ -3933,6 +3935,7 @@ var ShixunsDetailPage = function ShixunsDetailPage(_ref) {
className: "flex item-center",
style: {
width: '1200px',
height: '32px',
margin: '0 auto'
},
children: [(0,authority/* isSuperAdmins */.Ny)() && !((_shixunsDetail$challe = shixunsDetail.challenges) !== null && _shixunsDetail$challe !== void 0 && _shixunsDetail$challe.is_jupyter || (_shixunsDetail$challe2 = shixunsDetail.challenges) !== null && _shixunsDetail$challe2 !== void 0 && _shixunsDetail$challe2.is_jupyter_lab) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@ -3996,20 +3999,40 @@ var ShixunsDetailPage = function ShixunsDetailPage(_ref) {
}
});
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: Detailmodules.activeIcon,
src: tab.activeIcon,
style: {
width: 14,
marginRight: 6
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: Detailmodules.icon,
src: selectedKeys === tab.key ? tab.activeIcon : tab.icon,
style: {
width: 14,
marginRight: 6
}
children: [tab.key == '9' ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Detailmodules.activeIcon,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-hjj-shezhi font14",
style: {
color: '#3061D0'
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Detailmodules.icon,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-hjj-shezhi font14",
style: {
color: selectedKeys === tab.key ? '#3061D0' : '#B7C0D2'
}
})
})]
}) : /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: Detailmodules.activeIcon,
src: tab.activeIcon,
style: {
width: 14,
marginRight: 6
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: Detailmodules.icon,
src: selectedKeys === tab.key ? tab.activeIcon : tab.icon,
style: {
width: 14,
marginRight: 6
}
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: tab.label
})]

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save