Make WordPress Core

Changeset 9068


Ignore:
Timestamp:
10/02/2008 05:24:20 PM (17 years ago)
Author:
azaozz
Message:

Some CSS for turbo.php and press-this-landing.php

Location:
trunk/wp-admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r9064 r9068  
    99@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
    1010if (!isset($_GET["page"])) require_once('admin.php');
    11 wp_enqueue_script( 'wp-gears' );
    1211
    1312get_admin_page_title();
  • trunk/wp-admin/press-this-landing.php

    r9043 r9068  
    1515?>
    1616
    17 <p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?></p><p><a href="<?php echo get_shortcut_link(); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p>
     17<div class="wrap">
     18<p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?></p>
     19<p><a href="<?php echo get_shortcut_link(); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p>
     20</div>
    1821
    1922<?php include('admin-footer.php'); ?>
  • trunk/wp-admin/turbo.php

    r9043 r9068  
    1111
    1212$title = __('Turbo');
     13wp_enqueue_script( 'wp-gears' );
    1314
    1415require_once('admin-header.php');
     
    1617if ( ! $is_opera ) {
    1718?>
    18     <div id="gears-info-box" class="info-box" style="display:none;">
     19    <div id="gears-info-box" class="wrap">
    1920    <img src="images/gear.png" title="Gear" alt="" class="gears-img" />
    2021    <div id="gears-msg1">
     
    2324    <a href="http://gears.google.com/" target="_blank" style="font-weight:normal;"><?php _e('More information...'); ?></a></p>
    2425    <p><?php _e('After you install and enable Gears, most of WordPress&#8217; images, scripts, and CSS files will be stored locally on your computer. This speeds up page load time.'); ?></p>
    25     <p><strong><?php _e('Don&#8217;t install on a public or shared computer.'); ?></strong></p> <div class="submit"><button onclick="window.location = 'http://gears.google.com/?action=install&amp;return=<?php echo urlencode( admin_url() ); ?>';" class="button"><?php _e('Install Now'); ?></button>
    26     <button class="button" style="margin-left:10px;" onclick="document.getElementById('gears-info-box').style.display='none';"><?php _e('Cancel'); ?></button></div>
     26    <p><strong><?php _e('Don&#8217;t install on a public or shared computer.'); ?></strong></p>
     27    <div class="buttons"><button onclick="window.location = 'http://gears.google.com/?action=install&amp;return=<?php echo urlencode( admin_url() ); ?>';" class="button"><?php _e('Install Now'); ?></button></div>
    2728    </div>
    2829
     
    3233    <p><?php _e('To enable it click the button below.'); ?></p>
    3334    <p><strong><?php _e('However, Gears should not be enabled if this is a public or shared computer.'); ?></strong></p>
    34     <div class="submit"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Gears'); ?></button>
    35     <button class="button" style="margin-left:10px;" onclick="document.getElementById('gears-info-box').style.display='none';"><?php _e('Cancel'); ?></button></div>
     35    <div class="buttons"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Gears'); ?></button></div>
    3636    </div>
    3737
  • trunk/wp-admin/wp-admin.css

    r9063 r9068  
    17481748}
    17491749
    1750 .info-box {
    1751     top: 100px;
    1752     left: 50%;
    1753     margin-left: -225px;
    1754     height: 300px;
    1755     width: 450px;
    1756     border: 5px solid #ddd;
    1757     background: #f8f8f8;
    1758     position: absolute;
    1759     padding: 15px 15px 10px;
    1760     z-index: 1000;
    1761     display: none;
    1762 }
    1763 
    1764 .info-box .submit {
    1765     position: absolute;
    1766     bottom: 15px;
    1767     width: 450px;
    1768     padding: 15px 0 0;
    1769 }
    1770 
    1771 .info-box .gears-img {
     1750#gears-info-box {
     1751    max-width: 700px;
     1752}
     1753
     1754#gears-info-box .gears-img {
    17721755    float: right;
    17731756    margin: 10px;
    17741757}
    17751758
     1759#gears-info-box .buttons {
     1760    margin: 10px 0 0;
     1761    padding: 1.5em 0 0;
     1762}
     1763
    17761764.info-box-title {
    17771765    line-height: 2;
    17781766    margin: 0;
    17791767    padding: 4px 8px;
    1780     font: 18px Georgia, "Times New Roman", Times, serif;
     1768    font: 18px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;;
    17811769}
    17821770
Note: See TracChangeset for help on using the changeset viewer.