Plugin Directory

Changeset 1312892


Ignore:
Timestamp:
12/20/2015 02:41:13 PM (10 years ago)
Author:
derekheld
Message:

Added notice and warning css

Location:
blue-storage/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • blue-storage/trunk/blue-storage-settings.php

    r1312890 r1312892  
    6565            }
    6666
    67             echo '<p style="margin: 10px; color: red;">Deleted all files in container "' . $selected_container_name . '"</p><br/>';
     67            echo '<p id="notice">Deleted all files in container "' . $selected_container_name . '"</p><br/>';
    6868        }
    6969        else {
    70             echo '<p style="margin: 10px; color: red;">You did not check the box confirming the delete operation.</p><br/>';
     70            echo '<p id="notice">You did not check the box confirming the delete operation.</p><br/>';
    7171        }
    7272    }
     
    103103                        }
    104104                    }
    105                     echo '<p style="margin: 10px; color: red;">' . 'Finished copying files to "' . $selected_container_name . '" container on Azure.</p><br/>';
     105                    echo '<p id="notice">' . 'Finished copying files to "' . $selected_container_name . '" container on Azure.</p><br/>';
    106106                }
    107107            }
     
    164164            <input type = 'hidden' name = 'selected_container' value = '<?php echo get_option('default_azure_storage_account_container_name')?>'/>
    165165            <label style = "font-weight: bold;" > Delete all uploaded files from this site in "<?php echo get_option('default_azure_storage_account_container_name')?>"</label >
    166             <br/>Yes, I really want to <span style="color:red;">delete everything</span>. I know this is irreversable. <input type = checkbox name = "confirm"/>
     166            <br/>Yes, I really want to <span id="warning">delete everything</span>. I know this is irreversable. <input type = checkbox name = "confirm"/>
    167167            <br/>
    168168            <input type = "submit" value = "Delete All Files" id="blue-storage-red-button"/>
     
    351351                $containerAcl = $getContainerAclResult->getContainerAcl();
    352352                if ($containerAcl->getPublicAccess() == PublicAccessType::NONE) {
    353                     $privateContainerWarning = "<p style=\"margin: 10px; color: red;\">Warning: The container '$defaultContainer' you set as default is a private container. Plugin supports only public container, please set a public container as default</p>";
     353                    $privateContainerWarning = '<p id="notice">Warning: The container '.$defaultContainer.' you set as default is a private container. Plugin supports only public container, please set a public container as default</p>';
    354354                }
    355355            }
     
    487487                       <?php
    488488    echo (get_option('azure_storage_use_for_default_upload') ? 'checked="checked" ' : ''); ?> />
    489             <label for="wp-uploads"> Use Azure Storage when uploading via the Media library. </label><span style="color: red; font-weight: bold;">Highly recommended</span>
     489            <label for="wp-uploads"> Use Azure Storage when uploading via the Media library. </label><span id="warning">Highly recommended</span>
    490490            <br /><small>Checking this box allows you to automatically use Azure when uploading media.</small>
    491491            <br /><small>You can change this option at any time to switch between Azure and local storage.</small>
  • blue-storage/trunk/css/blue-storage.css

    r1312890 r1312892  
    1212    border-color:#16a300;
    1313}
     14
     15#notice {
     16    margin:10px;
     17    color:red;
     18}
     19
     20#warning {
     21    color: red;
     22    font-weight: bold;
     23}
Note: See TracChangeset for help on using the changeset viewer.