mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
* 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
35 lines
924 B
TypeScript
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>
|
|
</>
|
|
);
|
|
};
|