mirror of
https://github.com/sct/overseerr.git
synced 2025-09-27 12:39:46 +02:00
feat(frontend): temporary logs page to clear up confusion about it 404ing
This commit also disables the "Run Now" buttons under Jobs until they actually work re #272
This commit is contained in:
@@ -46,7 +46,7 @@ const SettingsJobs: React.FC = () => {
|
||||
</div>
|
||||
</Table.TD>
|
||||
<Table.TD alignText="right">
|
||||
<Button buttonType="primary">
|
||||
<Button buttonType="primary" disabled>
|
||||
{intl.formatMessage(messages.runnow)}
|
||||
</Button>
|
||||
</Table.TD>
|
||||
|
17
src/components/Settings/SettingsLogs/index.tsx
Normal file
17
src/components/Settings/SettingsLogs/index.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from 'react';
|
||||
|
||||
// We will localize this file when the complete version is released.
|
||||
|
||||
const SettingsLogs: React.FC = () => {
|
||||
return (
|
||||
<>
|
||||
<div className="leading-loose text-gray-300 text-sm">
|
||||
Logs page is still being built. For now, you can access your logs
|
||||
directly in <code>stdout</code> (container logs) or looking in{' '}
|
||||
<code>/app/config/logs/overseerr.logs</code>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default SettingsLogs;
|
14
src/pages/settings/logs.tsx
Normal file
14
src/pages/settings/logs.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { NextPage } from 'next';
|
||||
import React from 'react';
|
||||
import SettingsLayout from '../../components/Settings/SettingsLayout';
|
||||
import SettingsLogs from '../../components/Settings/SettingsLogs';
|
||||
|
||||
const SettingsLogsPage: NextPage = () => {
|
||||
return (
|
||||
<SettingsLayout>
|
||||
<SettingsLogs />
|
||||
</SettingsLayout>
|
||||
);
|
||||
};
|
||||
|
||||
export default SettingsLogsPage;
|
@@ -47,3 +47,7 @@ body {
|
||||
-ms-overflow-style: none; /* IE and Edge */
|
||||
scrollbar-width: none; /* Firefox */
|
||||
}
|
||||
|
||||
code {
|
||||
@apply bg-gray-800 py-1 px-2 rounded-md;
|
||||
}
|
||||
|
Reference in New Issue
Block a user