style: add positive attribute to submit buttons (close #113)
This commit is contained in:
parent
d4794fc051
commit
34bce5b464
@ -167,7 +167,7 @@ const EditChannel = () => {
|
|||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
<Button onClick={submit}>提交</Button>
|
<Button positive onClick={submit}>提交</Button>
|
||||||
</Form>
|
</Form>
|
||||||
</Segment>
|
</Segment>
|
||||||
</>
|
</>
|
||||||
|
@ -111,7 +111,7 @@ const EditRedemption = () => {
|
|||||||
</Form.Field>
|
</Form.Field>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
<Button onClick={submit}>提交</Button>
|
<Button positive onClick={submit}>提交</Button>
|
||||||
</Form>
|
</Form>
|
||||||
</Segment>
|
</Segment>
|
||||||
</>
|
</>
|
||||||
|
@ -133,22 +133,24 @@ const EditToken = () => {
|
|||||||
type='datetime-local'
|
type='datetime-local'
|
||||||
/>
|
/>
|
||||||
</Form.Field>
|
</Form.Field>
|
||||||
<Button type={'button'} onClick={() => {
|
<div style={{ lineHeight: '40px' }}>
|
||||||
setExpiredTime(0, 0, 0, 0);
|
<Button type={'button'} onClick={() => {
|
||||||
}}>永不过期</Button>
|
setExpiredTime(0, 0, 0, 0);
|
||||||
<Button type={'button'} onClick={() => {
|
}}>永不过期</Button>
|
||||||
setExpiredTime(1, 0, 0, 0);
|
<Button type={'button'} onClick={() => {
|
||||||
}}>一个月后过期</Button>
|
setExpiredTime(1, 0, 0, 0);
|
||||||
<Button type={'button'} onClick={() => {
|
}}>一个月后过期</Button>
|
||||||
setExpiredTime(0, 1, 0, 0);
|
<Button type={'button'} onClick={() => {
|
||||||
}}>一天后过期</Button>
|
setExpiredTime(0, 1, 0, 0);
|
||||||
<Button type={'button'} onClick={() => {
|
}}>一天后过期</Button>
|
||||||
setExpiredTime(0, 0, 1, 0);
|
<Button type={'button'} onClick={() => {
|
||||||
}}>一小时后过期</Button>
|
setExpiredTime(0, 0, 1, 0);
|
||||||
<Button type={'button'} onClick={() => {
|
}}>一小时后过期</Button>
|
||||||
setExpiredTime(0, 0, 0, 1);
|
<Button type={'button'} onClick={() => {
|
||||||
}}>一分钟后过期</Button>
|
setExpiredTime(0, 0, 0, 1);
|
||||||
<Button onClick={submit}>提交</Button>
|
}}>一分钟后过期</Button>
|
||||||
|
</div>
|
||||||
|
<Button positive onClick={submit} style={{marginTop: '12px'}}>提交</Button>
|
||||||
</Form>
|
</Form>
|
||||||
</Segment>
|
</Segment>
|
||||||
</>
|
</>
|
||||||
|
@ -65,7 +65,7 @@ const AddUser = () => {
|
|||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
</Form.Field>
|
</Form.Field>
|
||||||
<Button type={'submit'} onClick={submit}>
|
<Button positive type={'submit'} onClick={submit}>
|
||||||
提交
|
提交
|
||||||
</Button>
|
</Button>
|
||||||
</Form>
|
</Form>
|
||||||
|
@ -142,7 +142,7 @@ const EditUser = () => {
|
|||||||
readOnly
|
readOnly
|
||||||
/>
|
/>
|
||||||
</Form.Field>
|
</Form.Field>
|
||||||
<Button onClick={submit}>提交</Button>
|
<Button positive onClick={submit}>提交</Button>
|
||||||
</Form>
|
</Form>
|
||||||
</Segment>
|
</Segment>
|
||||||
</>
|
</>
|
||||||
|
Loading…
Reference in New Issue
Block a user