Plugin Directory

Changeset 869006


Ignore:
Timestamp:
03/04/2014 04:33:52 AM (12 years ago)
Author:
paulgpetty
Message:

UI updates

Location:
wp-time-machine/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wp-time-machine/trunk/css/wp-time-machine.css

    r868335 r869006  
     1
    12#wpTimeMachine h2 {
    2 width:700px;
    3 height:100px;
    4 display:block;
    5 text-indent:-6000px;
    6 font:0/0 a;
    7 background: #fff url('../images/wpTimeMachine.jpg') no-repeat 170px 25px;
     3width: 700px;
     4font-size: 24px;
     5font-weight: bold;
     6text-align: center;
     7}
     8
     9#wpTimeMachine .hidden {
     10display: none;
    811}
    912
     
    1215right: -5px;
    1316top: -10px;
    14 width: auto;
    15 border-radius: 5px;
    16 padding: 0 4px;
    17 border: 2px solid #999;
    18 border-width: 2px 2px 0 0;
    19 background: #ffc;
    20 box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
    21 text-decoration: none;
     17border-radius: 50%;
     18border: 1px solid #999;
     19color: #999;
     20}
     21
     22#wpTimeMachine a.close:hover {
     23color: #000;
     24border-color: #000;
     25}
     26
     27#wpTimeMachine a.close span {
     28font: 0/0 a;
    2229}
    2330
     
    3340width:480px;
    3441background-color:#ffc;
    35 border:2px solid #999;
    36 -moz-border-radius:4px;
    37 -webkit-border-radius:4px;
     42border:1px solid #999;
     43border-radius:4px;
    3844padding:15px;
    3945z-index:9999;
     
    4652}
    4753
     54#wpTimeMachine p.help a.close {
     55font-size:18px;
     56background: #fff;
     57}
     58
    4859#wpTimeMachine a.help_link {
    4960float:right;
     
    5970border:2px solid #ccc;
    6071background-color:#fff;
    61 -moz-border-radius:4px;
    62 -webkit-border-radius:4px;
     72border-radius:4px;
    6373margin:10px 0;
    6474padding:10px 25px;
     
    6777
    6878#wpTimeMachine div#RecentInfo a.close {
     79
     80position: absolute;
     81right: -5px;
     82top: -10px;
     83border-radius: 50%;
     84border: 1px solid #999;
     85color: #999;
     86
    6987background-color:#fff;
    7088}
     
    7492border:2px solid #ccc;
    7593background-color:#ffc;
    76 -moz-border-radius:4px;
    77 -webkit-border-radius:4px;
     94border-radius:4px;
    7895margin:0;
    7996padding:10px 25px;
     97clear: both;
    8098}
    8199
     
    113131#wpTimeMachine fieldset.last {
    114132border:0;
    115 margin-bottom: 50px;
    116133}
    117134
     
    153170height:auto;
    154171font-weight:700;
    155 margin:0 265px 0 18px;
     172margin:0 0 0 96px;
    156173}
    157174
     
    160177background-color:#f7e4e5;
    161178width:auto;
    162 -moz-border-radius:4px;
    163 -webkit-border-radius:4px;
     179border-radius:4px;
    164180margin:15px 0 10px;
    165181padding:5px;
     
    176192background:#f7e4e5;
    177193border:2px solid #999;
    178 -moz-border-radius:4px;
    179 -webkit-border-radius:4px;
     194border-radius:4px;
    180195z-index:999999;
    181196margin:0;
     
    209224background-color:#f7e4e5;
    210225border:2px solid #999;
    211 -moz-border-radius:4px;
    212 -webkit-border-radius:4px;
     226border-radius:4px;
     227
     228/*
     229position: absolute;
     230right: -5px;
     231top: -10px;
     232border-radius: 50%;
     233border: 1px solid #999;
     234color: #999;
     235*/
     236
    213237z-index:999999;
    214238}
     
    226250background-color: #FFFFFF;
    227251border: 2px solid #CCCCCC;
    228 border-radius: 4px 4px 4px 4px;
     252border-radius: 4px;
    229253margin: 40px 0 10px -20px;
    230254padding: 10px 25px;
     
    250274padding: 0;
    251275}
     276.wpTimeMachine_footer li a span {
     277display: none;
     278}
    252279.wpTimeMachine_footer li.Official {
    253280float: right;
  • wp-time-machine/trunk/includes/wpTimeMachineCore.php

    r868338 r869006  
    308308            echo "<span id='recent_archive_info'>Your archives are ready, they took about " . $wpTimeMachineOptionsStorage['recent_archive_duration'] . " seconds to create;";
    309309            echo " and are in your <b class=\"offsite_name\">".$offsite_name."</b> account (in this ".strtolower($remote_path_label).": ".$wpTimeMachineOptionsStorage['recent_archive_path']." as a ".$wpTimeMachineOptionsStorage['recent_archive_format']." file).</span>";
    310             echo "<p><a href='javascript:;' onclick='jQuery(\"#RecentInfo\").toggle()' class=\"close\">Close this</a></p>";
     310            echo "<p><a href='javascript:;' onclick='jQuery(\"#RecentInfo\").toggle()' class=\"close dashicons dashicons-no\"><span>Close</span></a></p>";
    311311            echo "</div>";
    312312
     
    316316            echo "<h3>Your Archive Information:</h3>";
    317317            echo "Stored on <b class=\"offsite_name\">".$offsite_name."</b> (in this ".strtolower($remote_path_label).": ".$wpTimeMachineOptionsStorage['recent_archive_path']." as a ".$wpTimeMachineOptionsStorage['recent_archive_format']." file).</span>";
    318             echo "<p><a href='javascript:;' onclick='jQuery(\"#RecentInfo\").toggle()' class=\"close\">Close this</a></p>";
     318            echo "<p><a href='javascript:;' onclick='jQuery(\"#RecentInfo\").toggle()' class=\"close dashicons dashicons-no\"><span>Close</span></a></p>";
    319319            echo "</div>";
    320320
     
    325325        <p>
    326326
    327             <div class="wpTimeMachine_progress" style="display:none">
     327            <div class="wpTimeMachine_progress hidden">
    328328
    329329                <h2>Please wait while your files &amp; data are being archived</h2>
     
    336336            </div>
    337337
    338             <div class="wpTimeMachine_complete" style="display:none">
     338            <div class="wpTimeMachine_complete hidden">
    339339
    340340                <h2>Your archives have been completed</h2>
     
    348348            </div>
    349349
    350             <div class="wpTimeMachine_error" style="display:none">
     350            <div class="wpTimeMachine_error hidden">
    351351
    352352                <h2>Your archives have NOT been completed</h2>
     
    407407                </fieldset>
    408408
    409                 <div>
    410 
    411                     <a class="button-secondary" href="javascript:;" id="show_options">Plugin Options</a><a class="button-secondary" href="javascript:;" id="show_info">Plugin Help</a>
    412 
    413                     <input class="button-secondary sb" type="submit" id="submit_package_request" value="Generate wp Time Machine archive" />
    414 
    415                 </div>
    416 
    417409                <div class="wpTimeMachineOptions">
    418410
     
    428420                    &nbsp;&nbsp;<a href="javascript:;" onclick="jQuery('#offsite_selections').toggle()">Change your offsite service</a>
    429421                    </label> <br />
    430                     <span id="offsite_selections" style="display:none">
     422                    <span id="offsite_selections" class="hidden">
    431423
    432424                    <?php
     
    477469                        &nbsp;&nbsp; <a href="javascript:;" onclick="show_help('#wpTimeMachine_learn_about_formats')" class="help_link"><?php _e("Learn More"); ?></a>
    478470
    479                         <p id="wpTimeMachine_learn_about_formats" class="help" style="display:none">
     471                        <p id="wpTimeMachine_learn_about_formats" class="help hidden">
    480472
    481473                        By default File Formats is set to generate all of your archives as ZIP (.zip) files; since that seems to be the most commonly used archive format on most
     
    483475                        compression and therefore take up less disk space and take less time to transfer.
    484476
    485                             <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close">Close</a>
     477                            <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close dashicons dashicons-no"><span>Close</span></a>
    486478
    487479                        </p>
     
    507499                        &nbsp;&nbsp; <a href="javascript:;" onclick="show_help('#wpTimeMachine_learn_about_post_pub')" class="help_link"><?php _e("Learn More"); ?></a>
    508500
    509                         <p id="wpTimeMachine_learn_about_post_pub" class="help" style="display:none">
     501                        <p id="wpTimeMachine_learn_about_post_pub" class="help hidden">
    510502
    511503                        This feature lets you take advantage of WordPress' ability to add events after a post gets published (or updated).  Using this plugin you
     
    513505                        about: using this feature will add time to publishing (depending on the size of your blog it may add several seconds, or even minutes).
    514506
    515                             <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close">Close</a>
     507                            <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close dashicons dashicons-no"><span>Close</span></a>
    516508
    517509                        </p>
     
    537529                        &nbsp;&nbsp; <a href="javascript:;" onclick="show_help('#wpTimeMachine_learn_about_timestamps')" class="help_link"><?php _e("Learn More"); ?></a>
    538530
    539                         <p id="wpTimeMachine_learn_about_timestamps" class="help" style="display:none">
     531                        <p id="wpTimeMachine_learn_about_timestamps" class="help hidden">
    540532
    541533                        This feature adds a date to paths or files <br />(depending on which offsite service you use).<br /><br />
     
    544536                        makes no attempt to delete archives of this type beyond a certain date.  What you archive stays until you delete it...
    545537
    546                             <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close">Close</a>
     538                            <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close dashicons dashicons-no"><span>Close</span></a>
    547539
    548540                        </p>
     
    568560                        &nbsp;&nbsp; <a href="javascript:;" onclick="show_help('#wpTimeMachine_learn_about_cache')" class="help_link"><?php _e("Learn More"); ?></a>
    569561
    570                         <p id="wpTimeMachine_learn_about_cache" class="help" style="display:none">
     562                        <p id="wpTimeMachine_learn_about_cache" class="help hidden">
    571563
    572564                        This feature let's you exclude a directory called "cache" which might exist in your wp-content directory.<br /><br />
     
    574566                        This helps reduce the size of your archive if you're also using a plugin like WP Super Cache, for example.
    575567
    576                             <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close">Close</a>
     568                            <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close dashicons dashicons-no"><span>Close</span></a>
    577569
    578570                        </p>
     
    580572                    </fieldset>
    581573
    582                     <fieldset>
     574                    <fieldset class="last">
    583575
    584576                        <?php
     
    598590                        &nbsp;&nbsp; <a href="javascript:;" onclick="show_help('#wpTimeMachine_learn_about_logging')" class="help_link"><?php _e("Learn More"); ?></a>
    599591
    600                         <p id="wpTimeMachine_learn_about_logging" class="help" style="display:none">
     592                        <p id="wpTimeMachine_learn_about_logging" class="help hidden">
    601593
    602594                        This feature is intended to make it easier for you to get help with issues you have while using the plugin.  The log that's created is located
     
    606598                        here: <a title="Feedback" href="http://wptimemachine.com/feedback/">Feedback</a>.
    607599
    608                             <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close">Close</a>
     600                            <a href="javascript:;" onclick="jQuery(this).parent().hide()" class="close dashicons dashicons-no"><span>Close</span></a>
    609601
    610602                        </p>
     
    614606                </div>
    615607
     608                <div>
     609
     610                    <a class="button-secondary" href="javascript:;" id="show_options">Plugin Options</a>
     611
     612                    <input class="button-secondary sb" type="submit" id="submit_package_request" value="Generate wp Time Machine archive" />
     613
     614                </div>
     615
    616616            </form>
    617617
    618 
     618            <div class="wpTimeMachine_footer">
     619
     620                <ul>
     621                <li>
     622                    Share wp Time Machine:
     623                </li>
     624                <li>
     625                    <a class="dashicons dashicons-twitter" href="http://twitter.com/home?status=An awesome WordPress plugin for backups: wp Time Machine: http://wpTimeMachine.com" target="_new" title="Share on Twitter"><span>Share on Twitter</span></a>
     626                </li>
     627                <li>
     628                    <a class="dashicons dashicons-facebook-alt" href="http://www.facebook.com/sharer.php?u=http://wpTimeMachine.com" target="_new" title="Share on Facebook"><span>Share on Facebook</span></a>
     629                </li>
     630                <li class="Official">
     631                    <a href="http://wpTimeMachine.com" target="_new" title="Official website for the wp Time Machine">wpTimeMachine.com</a>, version: <?php echo wpTimeMachineVersion; ?>; <a href="javascript:;" id="show_info">Help</a>
     632                </li>
     633                </ul>
     634
     635            </div>
    619636
    620637            <div id="Info">
     
    697714            </div>
    698715
    699             <div class="wpTimeMachine_footer">
    700 
    701                 <ul>
    702                 <li class="Twitter"><a href="http://twitter.com/home?status=An awesome WordPress plugin for backups: wp Time Machine: http://wpTimeMachine.com" target="_new">Share on Twitter</a></li>
    703                 <li class="Facebook"><a href="http://www.facebook.com/sharer.php?u=http://wpTimeMachine.com" target="_new">Share on Facebook</a></li>
    704                 <li class="Official"><a href="http://wpTimeMachine.com" target="_new" title="Official website for the wp Time Machine">wpTimeMachine.com</a>, version: <?php echo wpTimeMachineVersion; ?></li>
    705                 </ul>
    706 
    707             </div>
    708 
    709716        </p>
    710717
    711         <pre id="output" style="display:none">
     718        <pre id="output" class="hidden">
    712719
    713720        <?php
  • wp-time-machine/trunk/javascript/wp-time-machine.js

    r661130 r869006  
    7979        event.preventDefault();
    8080        jQuery("#Info").toggle();
    81         jQuery(".wpTimeMachineOptions").hide();
     81        //jQuery(".wpTimeMachineOptions").hide();
    8282    });
    8383
     
    9090        event.preventDefault();
    9191        jQuery(".wpTimeMachineOptions").toggle();
    92         jQuery("#Info").hide();
     92        //jQuery("#Info").hide();
    9393    });
    9494
     
    102102        wpTimeMachine_toggle("use_post_pub", use_post_pub_labels[0], use_post_pub_labels[1]);
    103103    });
    104    
     104
    105105    jQuery("#use_timestamp_dir").click(function (event) {
    106106        event.preventDefault();
  • wp-time-machine/trunk/readme.txt

    r868330 r869006  
    44Requires at least: 3.0.0
    55Tested up to: 3.8.1
    6 Stable tag: 3.2.0
     6Stable tag: 3.3.0
    77
    88== Description ==
  • wp-time-machine/trunk/wp-time-machine.php

    r868330 r869006  
    44Plugin URI: http://wordpress.org/extend/plugins/wp-time-machine/
    55Description: Creates an archive of all your WordPress Data & Files and then stores them on Dropbox, Amazon's S3, or your FTP host.
    6 Version: 3.2.0
     6Version: 3.3.0
    77Author: Paul G Petty
    88Author URI: http://wpTimeMachine.com
    99*/
    1010
    11 define( 'wpTimeMachineVersion', '3.2.0' );
     11define( 'wpTimeMachineVersion', '3.3.0' );
    1212
    1313define( 'wpcontent_dir',    ( defined('WP_CONTENT_DIR') ) ? WP_CONTENT_DIR : ABSPATH . 'wp-content' );
Note: See TracChangeset for help on using the changeset viewer.