forked from Gitlink/forgeplus-react
iconfnt
This commit is contained in:
parent
a22b5b3701
commit
2278d03c47
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 724 KiB After Width: | Height: | Size: 724 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -42,14 +42,14 @@ function List({ list, operate , projectsId , owner , showModal , deleteFunc }){
|
|||
<span>
|
||||
{ operate ?
|
||||
<Link to={`/projects/${owner}/${projectsId}/devops/dispose/${item.id}`} className="mr10 color-grey-6">
|
||||
<i className="iconfont iconzaibianji font-13 mr3"></i>编辑</Link> :""
|
||||
<i className="iconfont icon-zaibianji font-13 mr3"></i>编辑</Link> :""
|
||||
}
|
||||
{ operate ?
|
||||
<Popconfirm title={"确定要删除此流水线?"} onConfirm={()=>deleteFunc(item.id)} okText="确定" cancelText={"取消"}>
|
||||
<a className="mr10 color-grey-6"><i className="iconfont iconlajitong font-13 mr3"></i>删除</a>
|
||||
<a className="mr10 color-grey-6"><i className="iconfont icon-lajitong font-13 mr3"></i>删除</a>
|
||||
</Popconfirm>:""
|
||||
}
|
||||
<Link to={`/projects/${owner}/${projectsId}/devops/list`} className="color-grey-6"><i className="iconfont iconyunhang font-13 mr3"></i>查看运行记录</Link>
|
||||
<Link to={`/projects/${owner}/${projectsId}/devops/list`} className="color-grey-6"><i className="iconfont icon-yunhang font-13 mr3"></i>查看运行记录</Link>
|
||||
</span>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -26,9 +26,9 @@ function StageItem({item, templates,saveItems,k, slideItems , deleteStep}){
|
|||
cancelText="否"
|
||||
onConfirm={() => deleteStep(item.id,k)}
|
||||
><a>
|
||||
<i className="iconfont iconlajitong1 font-14"></i></a>
|
||||
<i className="iconfont icon-lajitong1 font-14"></i></a>
|
||||
</Popconfirm>
|
||||
<a onClick={()=>slideItems(k,item.hide)}><i className={ (!item.hide || item.hide === false) ? "iconfont iconsanjiaoxing-down font-14" :"iconfont icontriangle font-14"}></i></a>
|
||||
<a onClick={()=>slideItems(k,item.hide)}><i className={ (!item.hide || item.hide === false) ? "iconfont icon-sanjiaoxing-down font-14" :"iconfont icon-triangle font-14"}></i></a>
|
||||
</span>
|
||||
</FlexAJ>
|
||||
<div className={(!item.hide || item.hide === false) ? "stepsBody active" : "stepsBody"}>
|
||||
|
|
|
@ -6,7 +6,7 @@ function head(){
|
|||
return(
|
||||
<AlignCenterBetween>
|
||||
<span className="font-20">工作流配置</span>
|
||||
<a href={`https://forum.trustie.net/forums/3111/detail`} target="_blank" className="color-grey-6"><i className="iconfont icontishi1 font-14 mr3"></i>模板使用说明</a>
|
||||
<a href={`https://forum.trustie.net/forums/3111/detail`} target="_blank" className="color-grey-6"><i className="iconfont icon-tishi1 font-14 mr3"></i>模板使用说明</a>
|
||||
</AlignCenterBetween>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ import MenusRename from './menusRename';
|
|||
import MenusAdd from './menusAdd';
|
||||
|
||||
const typeIcon = {
|
||||
init:"iconinitialize",build:"iconstructure",deploy:"iconarrange",customize:"iconnewStage",confirm:'iconsure'
|
||||
init:"icon-initialize",build:"icon-structure",deploy:"icon-arrange",customize:"icon-newStage",confirm:'icon-sure'
|
||||
}
|
||||
|
||||
function Menus({step,changeStep, menuList , renameFunc , checkDatas , addFunc }){
|
||||
|
|
|
@ -39,7 +39,7 @@ function menusAdd ({ getName , checkDatas , k }){
|
|||
|
||||
return(
|
||||
<li className="menuAdd">
|
||||
{ !show && <i className="iconfont icontianjia" onClick={showInput}></i> }
|
||||
{ !show && <i className="iconfont icon-tianjia" onClick={showInput}></i> }
|
||||
<Input
|
||||
ref={(el) => setRef(el)}
|
||||
size={"small"}
|
||||
|
|
|
@ -45,7 +45,7 @@ function menusRename({ name , edit , id , renameFunc }){
|
|||
style={{width:"75px",display : `${show?"block":'none'}`}}
|
||||
onChange={(e)=>setN(e.target.value)}
|
||||
/>
|
||||
{ !show && edit && <i className="iconfont iconeditUnder font-16 color-grey-9" onClick={changeShow}></i> }
|
||||
{ !show && edit && <i className="iconfont icon-editUnder font-16 color-grey-9" onClick={changeShow}></i> }
|
||||
</span>
|
||||
</div>
|
||||
)
|
||||
|
|
|
@ -3,7 +3,6 @@ import './Index.scss';
|
|||
import { Form , Input , Cascader , Radio , Checkbox , Upload , Button } from "antd";
|
||||
import { locData } from "../Utils/locData";
|
||||
|
||||
|
||||
export default Form.create()(
|
||||
forwardRef(({form})=>{
|
||||
const { getFieldDecorator, validateFields, setFieldsValue } = form;
|
||||
|
@ -39,7 +38,7 @@ export default Form.create()(
|
|||
)}
|
||||
{helper(
|
||||
'组织描述',
|
||||
"desc",
|
||||
"description",
|
||||
[{ required: true, message: "请输入组织描述" }],
|
||||
<Input.TextArea
|
||||
autoSize={{ minRows: 3, maxRows: 5 }}
|
||||
|
@ -48,13 +47,13 @@ export default Form.create()(
|
|||
)}
|
||||
{helper(
|
||||
'所在地区',
|
||||
"area",
|
||||
"location",
|
||||
[],
|
||||
<Cascader placeholder="请选择城市" options={locData}/>,false
|
||||
)}
|
||||
{helper(
|
||||
'可见性',
|
||||
"exposure",
|
||||
"visibility",
|
||||
[{ required: true, message: "请选择可见性" }],
|
||||
<Radio.Group name="exposure">
|
||||
<Radio style={radioStyle} value="1" key={1}>公开</Radio>
|
||||
|
@ -64,16 +63,24 @@ export default Form.create()(
|
|||
)}
|
||||
{helper(
|
||||
'选择头像',
|
||||
"photo",
|
||||
"image",
|
||||
[],
|
||||
<Upload></Upload>,false
|
||||
)}
|
||||
{helper(
|
||||
'权限',
|
||||
"operation",
|
||||
"repo_admin_change_team_access",
|
||||
[],
|
||||
<Checkbox value="1" key={1}>项目管理员可以添加或移除团队的访问权限</Checkbox>,false
|
||||
)}
|
||||
{helper(
|
||||
<span>最大仓库数:<span className="color-grey-8">(设置为-1表示使用全局默认值)</span></span>,
|
||||
"max_repo_creation",
|
||||
[],
|
||||
<Input
|
||||
placeholder="最大仓库数" style={{width:"100px"}}
|
||||
/>,false
|
||||
)}
|
||||
</Form>
|
||||
</div>
|
||||
<p className="mt20">
|
||||
|
|
Loading…
Reference in New Issue