|
|
|
|
@ -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
|
|
|
|
|
})]
|