static function generate()
    {
        global $woocommerce, $wp_version;
        ?>
    <html>
    <head>
      <meta charset="utf-8">
      <title>Fraktguiden - System Info</title>
      <style>
        body {
          font-family: "Open Sans", sans-serif;
          color: #333;
        }

        body, td {
          font-size: 13px;
          line-height: 17px;
        }

        div.main {
          width: 55%;
          margin-left: auto;
          margin-right: auto;
          text-align: center;
        }

        table {
          border-collapse: collapse;
          border: none;
        }

        td, th {
          padding: 3px 6px;
          vertical-align: top;
          border: 1px solid lightgray;
          text-align: left;
        }

        th {
          padding-top: 15px;
          padding-bottom: 15px;
        }

        table.properties td, table.properties th {
          border: 1px solid white;
        }

        table.properties td:first-child {
          background-color: lightgray;
          text-align: right;
          width: 130px;
        }

        ul {
          margin: 0;
          padding: 0 15px;
        }

      </style>
    </head>
    <body>
    <div class="main">
      <h1>System Info</h1>
      <table>
        <?php 
        $bfg_plugin_data = get_plugin_data(dirname(__DIR__) . '/bring-fraktguiden-for-woocommerce/bring-fraktguiden-for-woocommerce.php');
        $bfg_options = get_option('woocommerce_' . WC_Shipping_Method_Bring::ID . '_settings');
        self::create_header('WordPress ' . $wp_version);
        self::create_row('active_plugins', self::create_active_plugins_info());
        self::create_header('WooCommerce ' . $woocommerce->version);
        self::create_row('base_country', $woocommerce->countries->get_base_country());
        self::create_row('woocommerce_dimension_unit', get_option('woocommerce_dimension_unit'));
        self::create_row('woocommerce_weight_unit', get_option('woocommerce_weight_unit'));
        self::create_row('woocommerce_currency', get_option('woocommerce_currency'));
        self::create_row('shipping_countries', self::create_shipping_countries($woocommerce->countries->get_shipping_countries()));
        self::create_header($bfg_plugin_data['Name'] . ' ' . $bfg_plugin_data['Version']);
        self::generate_fraktguiden_options($bfg_options);
        self::create_header('Bring Fraktguiden Services');
        self::generate_fraktguiden_services_info(Fraktguiden_Helper::get_all_services_with_customer_types(), $bfg_options);
        ?>
      </table>
    </div>

    <?php 
        self::generate_script();
        ?>

    </body>
    </html>
    <?php 
        die;
    }