Files
stash/ui/v2.5/src/components/Settings/SettingsToolsPanel.tsx
WithoutPants d176e9f192 Settings UI refactor (#2086)
* Full width settings page
* Group settings
* Make config fields optional
* auto save on change
* Add settings context
* Refactor stash library section
* Restructure settings
* Refactor tasks page
* Add collapse buttons for setting groups
* Add collapse buttons in library
* Add loading indicator
* Simplify task options. Add details to manual
* Add manual links to tasks page
* Add help tooltips
* Refactor about page
* Refactor log page
* Refactor tools panel
* Refactor plugin page
* Refactor task queue
* Improve disabled styling
2021-12-14 15:06:05 +11:00

35 lines
924 B
TypeScript

import React from "react";
import { Button } from "react-bootstrap";
import { FormattedMessage } from "react-intl";
import { Link } from "react-router-dom";
import { Setting } from "./Inputs";
import { SettingSection } from "./SettingSection";
export const SettingsToolsPanel: React.FC = () => {
return (
<>
<SettingSection headingID="config.tools.scene_tools">
<Setting
heading={
<Link to="/sceneFilenameParser">
<Button>
<FormattedMessage id="config.tools.scene_filename_parser.title" />
</Button>
</Link>
}
/>
<Setting
heading={
<Link to="/sceneDuplicateChecker">
<Button>
<FormattedMessage id="config.tools.scene_duplicate_checker" />
</Button>
</Link>
}
/>
</SettingSection>
</>
);
};