diff --git a/src/forge/Settings/Index.js b/src/forge/Settings/Index.js index b7a7c8fa..f5a0de41 100644 --- a/src/forge/Settings/Index.js +++ b/src/forge/Settings/Index.js @@ -53,7 +53,7 @@ class Index extends Component {

-
  • -1 ? "active" : "" } @@ -63,8 +63,9 @@ class Index extends Component { 分支设置 +

    -
  • + */}
  • -1 ? "active" : ""} > @@ -76,18 +77,18 @@ class Index extends Component {

  • -
  • -1 ? "active" : "" } >

    - + 管理Web钩子

    -
  • + */}
    diff --git a/src/forge/Settings/Setting.js b/src/forge/Settings/Setting.js index e07591fe..b884678c 100644 --- a/src/forge/Settings/Setting.js +++ b/src/forge/Settings/Setting.js @@ -2,6 +2,7 @@ import React, { Component } from "react"; import { Form, Input, Checkbox, Select } from "antd"; import axios from "axios"; +import "./setting.css"; const { TextArea } = Input; const { Option } = Select; class Setting extends Component { @@ -145,8 +146,10 @@ class Setting extends Component { const { CategoryList, LanguageList, private_check } = this.state; return (
    -
    -
    基本设置
    +
    +
    + 基本设置 +
    {getFieldDecorator("project_name", { @@ -210,7 +213,7 @@ class Setting extends Component {

    -
    +
    危险操作区
    diff --git a/src/forge/Settings/new_tags.js b/src/forge/Settings/new_tags.js index 7c8b98d3..2d309644 100644 --- a/src/forge/Settings/new_tags.js +++ b/src/forge/Settings/new_tags.js @@ -1,7 +1,8 @@ import React , {Component} from 'react'; -import { Dropdown , Icon , Menu , Pagination, Modal,Input,Popconfirm,Form, Spin } from 'antd'; +import { Dropdown , Icon , Menu , Pagination, Modal,Input,Popconfirm,Form, Spin, Button } from 'antd'; import { Link } from 'react-router-dom'; import '../Order/order.css' +import "./setting.css"; import NoneData from '../Nodata'; import { SketchPicker } from 'react-color' import reactCSS from 'reactcss' @@ -330,22 +331,23 @@ class NewTags extends Component{ } return( -
    -
    -
    - 项目标签 +
    +
    + 项目标签 { data && data.user_admin_or_member ? - + : '' }
    +
    -
    +
    @@ -386,7 +388,10 @@ class NewTags extends Component{
    - 创建标签 + + {/* 创建标签 */} 取消 diff --git a/src/forge/Settings/setting.css b/src/forge/Settings/setting.css index f0bc24e8..e2e763f6 100644 --- a/src/forge/Settings/setting.css +++ b/src/forge/Settings/setting.css @@ -114,4 +114,13 @@ .text-yellow{color: #FF6E21 !important;} .text-delete{color: #BBBBBB; } .text-delete:hover{color: #db2828; } +.new-tag-div{ + padding: 15px; + height: 75px; + box-sizing: border-box; + display: flex; + justify-content: space-between; + background: #fafafa; + flex-wrap: wrap; +} diff --git a/src/forge/UsersList/fork_users.js b/src/forge/UsersList/fork_users.js index 00a5726e..bdde1e44 100644 --- a/src/forge/UsersList/fork_users.js +++ b/src/forge/UsersList/fork_users.js @@ -101,7 +101,7 @@ class ForkUsers extends Component {
    {item.name}