Plugin Directory

Changeset 3201989


Ignore:
Timestamp:
12/03/2024 10:29:49 PM (15 months ago)
Author:
codecompiled
Message:

Updated menu formatting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-settings/trunk/wp-settings.php

    r3200364 r3201989  
    44Plugin URI: https://wordpress.org/plugins/wp-settings/
    55Description:Displays the important information about WordPress installation such as important wordpress settings,database settings,theme details and php information.You can generate DB Backup Script for restoring the database and for keeping database backups.
    6 Version: 2.1
     6Version: 2.2
    77Author: CodeCompiled
    88Author URI: http://www.codecompiled.com
     
    1111*/
    1212
     13
    1314/*ceating tabs*/
    1415function ilc_admin_tabs1( $current = '00' ) {
    15     $tabs = array( 'homepage' => 'Home Settings', 'databse' => 'Database Settings');
     16    $tabs = array( 'homepage' => 'Site Settings', 'databse' => 'Database Settings');
    1617    echo '<div id="tabs" class="icon32"><br></div>';
    1718    echo '<h2 class="nav-tab-wrapper">';
     
    2829    // Define tabs
    2930    $tabs = [
    30         'homepage' => 'Home Settings',
     31        'homepage' => 'Site Settings',
    3132        'databse' => 'Database Settings'
    3233    ];
     
    553554        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    554555        <title>WordPress Installation Info</title>
    555         <style>
    556             body {
    557                 font-family: Arial, sans-serif;
    558                 margin: 20px;
    559                 padding: 0;
    560                 background-color: #f4f4f9;
    561             }
    562             table {
    563                 border-collapse: collapse;
    564                 width: 100%;
    565                 margin-bottom: 20px;
    566                 background-color: #fff;
    567                 border: 1px solid #ddd;
    568             }
    569             th, td {
    570                 text-align: left;
    571                 padding: 10px;
    572                 border: 1px solid #ddd;
    573             }
    574             th {
    575                 background-color: #0073aa;
    576                 color: #fff;
    577             }
    578             tr:nth-child(even) {
    579                 background-color: #f9f9f9;
    580             }
    581             tr:hover {
    582                 background-color: #f1f1f1;
    583             }
    584             .headerInfo td {
    585                 background-color: #0073aa;
    586                 color: #fff;
    587                 text-align: center;
    588                 font-weight: bold;
    589             }
    590             .headerInfo input {
    591                 margin-left: 10px;
    592             }
    593         </style>
     556       <style>
     557    body {
     558        font-family: Arial, sans-serif;
     559        font-weight: 300; /* Makes the font thinner */
     560        margin: 20px;
     561        padding: 0;
     562        background-color: #f8f8fc; /* Slightly lighter background */
     563    }
     564    table {
     565        border-collapse: collapse;
     566        width: 100%;
     567        margin-bottom: 20px;
     568        background-color: #ffffff; /* Keep table background clean */
     569        border: 1px solid #ddd;
     570    }
     571    th, td {
     572        text-align: left;
     573        padding: 10px;
     574        border: 1px solid #ddd;
     575        font-weight: 300; /* Thinner font for table content */
     576    }
     577    th {
     578        background-color: #3388cc; /* Slightly lighter shade of blue */
     579        color: #fff;
     580    }
     581    tr:nth-child(even) {
     582        background-color: #fcfcfc; /* Slightly lighter row background */
     583    }
     584    tr:hover {
     585        background-color: #f3f3f3; /* Subtle hover effect */
     586    }
     587    .headerInfo td {
     588        background-color: #3388cc; /* Match header color */
     589        color: #fff;
     590        text-align: center;
     591        font-weight: 600; /* Slightly bold for emphasis */
     592    }
     593    .headerInfo input {
     594        margin-left: 10px;
     595    }
     596</style>
    594597    </head>
    595598    <body>
    596     <table class="headerInfo">
    597         <tr>
    598             <td colspan="6">Following is some important information about this WordPress installation.</td>
    599         </tr>
    600         <tr>
    601             <td>WordPress <input type="checkbox" id="chkWordpress"></td>
    602             <td>Theme <input type="checkbox" id="chkThemeDetails"></td>
    603             <td>MySQL <input type="checkbox" id="chkMySQLDetails"></td>
    604             <td>Server <input type="checkbox" id="chkPhpDetails"></td>
    605             <td>Plugins <input type="checkbox" id="chkPluginDetails"></td>
    606             <td>Show All Details <input type="checkbox" id="chkShowHide"></td>
    607         </tr>
    608     </table>
     599   <table class="headerInfo" style="width: 95%; table-layout: fixed; border-collapse: collapse;">
     600    <tr>
     601        <td colspan="6" style="text-align: left; padding: 10px; font-weight: bold; background-color: #3388cc; color: #fff;">
     602            Following is some important information about this WordPress installation.
     603        </td>
     604    </tr>
     605    <tr>
     606        <td style="text-align: center; padding: 10px; background-color: #e8f1fc; color: #003366; font-weight: bold;">
     607       <label>
     608        <input type="checkbox" id="chkWordpress" style="margin-right: 5px;">
     609        WordPress
     610       </label>
     611    </td>
     612        <td style="text-align: center; padding: 10px; background-color: #e8f1fc; color: #003366; font-weight: bold;">
     613       <label>
     614        <input type="checkbox" id="chkThemeDetails" style="margin-right: 5px;">
     615        Theme
     616       </label>
     617    </td>
     618        <td style="text-align: center; padding: 10px; background-color: #e8f1fc; color: #003366; font-weight: bold;">
     619       <label>
     620        <input type="checkbox" id="chkMySQLDetails" style="margin-right: 5px;">
     621        MySQL
     622       </label>
     623    </td>
     624    </td>
     625    <td style="text-align: center; padding: 10px; background-color: #e8f1fc; color: #003366; font-weight: bold;">
     626       <label>
     627        <input type="checkbox" id="chkPhpDetails" style="margin-right: 5px;">
     628        Server
     629       </label>
     630    </td>
     631    <td style="text-align: center; padding: 10px; background-color: #e8f1fc; color: #003366; font-weight: bold;">
     632       <label>
     633        <input type="checkbox" id="chkPluginDetails" style="margin-right: 5px;">
     634        Plugins
     635       </label>
     636    </td>     
     637    <td style="text-align: center; padding: 10px; background-color: #e8f1fc; color: #003366; font-weight: bold;">
     638       <label>
     639        <input type="checkbox" id="chkShowHide" style="margin-right: 5px;">
     640        Show All Details
     641       </label>
     642    </td>         
     643     
     644    </tr>
     645</table>
    609646
    610647    <?php if (function_exists('get_bloginfo')) { ?>
Note: See TracChangeset for help on using the changeset viewer.