1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-02 07:47:32 +00:00

[share dialog] 'share link' panel: modified UI details for 'link creation' (#5430)

This commit is contained in:
llj 2023-04-10 15:57:39 +08:00 committed by GitHub
parent f5ff0578bb
commit 7f76f8b871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,11 +248,11 @@ class LinkCreation extends React.Component {
<button className="fa fa-arrow-left back-icon border-0 bg-transparent text-secondary p-0 mr-2" onClick={this.goBack} title={gettext('Back')} aria-label={gettext('Back')}></button>
{type == 'batch' ? gettext('Generate links in batch') : gettext('Generate Link')}</h6>
</div>
<Form className="generate-share-link">
<Form className="pt-4">
{type == 'batch' && (
<FormGroup>
<Label for="passwd">{gettext('Number of links')}</Label>
<Input type="number" value={this.state.linkAmount} onChange={this.onLinkAmountChange} style={{width: inputWidth}} />
<Label for="link-number" className="p-0">{gettext('Number of links')}</Label>
<Input type="number" id="link-number" value={this.state.linkAmount} onChange={this.onLinkAmountChange} style={{width: inputWidth}} />
</FormGroup>
)}
<FormGroup check>