mirror of https://github.com/micromata/borgbackup-butler.git

Kai Reinhard
20.43.2019 2a87e74267d44c9507330f2b252035b435e7c2d1
Create new repositories...
1 files modified
14 ■■■■ changed files
borgbutler-webapp/src/components/views/repos/CreateRepoPage.jsx 14 ●●●● patch | view | raw | blame | history
borgbutler-webapp/src/components/views/repos/CreateRepoPage.jsx
@@ -1,5 +1,6 @@
import React from 'react';
import {FormGroup} from 'reactstrap';
import {Link} from 'react-router-dom'
import {FormButton, FormField, FormLabelInputField} from '../../general/forms/FormComponents';
import I18n from "../../general/translation/I18n";
import {PageHeader} from "../../general/BootstrapComponents";
@@ -48,14 +49,21 @@
                                     hint={"It's recommended to use password command instead."}
                />
                <FormField length={12}>
                    <FormButton onClick={this.onCancel}
                                hintKey="configuration.cancel.hint"><I18n name={'common.cancel'}/>
                    </FormButton>
                    <Link to={'/repos'} className={'btn btn-outline-primary'}><I18n name={'common.cancel'}/>
                    </Link>
                    <FormButton onClick={this.onSave} bsStyle="primary"
                                hintKey="configuration.save.hint"><I18n name={'common.save'}/>
                    </FormButton>
                </FormField>
            </FormGroup>
            <code>
                <h2>Please note:</h2>
                <ul>
                    <li>Not yet implemented.</li>
                    <li>This page is under construction.</li>
                    <li>Please add configuration of repository manually in borg butler json config-file.</li>
                </ul>
            </code>
        </React.Fragment>;
    }
}