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

git-svn-id: http://svn.automattic.com/wordpress/trunk@9068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-10-02 17:24:20 +00:00
parent e4a55be2a4
commit f854bdf2c0
4 changed files with 18 additions and 28 deletions

View File

@ -8,7 +8,6 @@
@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
if (!isset($_GET["page"])) require_once('admin.php');
wp_enqueue_script( 'wp-gears' );
get_admin_page_title();
$title = wp_specialchars( strip_tags( $title ) );

View File

@ -14,6 +14,9 @@ $title = __('Press This');
require_once('admin-header.php');
?>
<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>
<div class="wrap">
<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>
</div>
<?php include('admin-footer.php'); ?>

View File

@ -10,20 +10,21 @@
require_once('admin.php');
$title = __('Turbo');
wp_enqueue_script( 'wp-gears' );
require_once('admin-header.php');
if ( ! $is_opera ) {
?>
<div id="gears-info-box" class="info-box" style="display:none;">
<div id="gears-info-box" class="wrap">
<img src="images/gear.png" title="Gear" alt="" class="gears-img" />
<div id="gears-msg1">
<h3 class="info-box-title"><?php _e('Speed up WordPress'); ?></h3>
<p><?php _e('WordPress now has support for Gears, which adds new features to your web browser.'); ?><br />
<a href="http://gears.google.com/" target="_blank" style="font-weight:normal;"><?php _e('More information...'); ?></a></p>
<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>
<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>
<button class="button" style="margin-left:10px;" onclick="document.getElementById('gears-info-box').style.display='none';"><?php _e('Cancel'); ?></button></div>
<p><strong><?php _e('Don&#8217;t install on a public or shared computer.'); ?></strong></p>
<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>
</div>
<div id="gears-msg2" style="display:none;">
@ -31,8 +32,7 @@ if ( ! $is_opera ) {
<p><?php _e('Gears is installed on this computer, but is not enabled for use with WordPress.'); ?></p>
<p><?php _e('To enable it click the button below.'); ?></p>
<p><strong><?php _e('However, Gears should not be enabled if this is a public or shared computer.'); ?></strong></p>
<div class="submit"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Gears'); ?></button>
<button class="button" style="margin-left:10px;" onclick="document.getElementById('gears-info-box').style.display='none';"><?php _e('Cancel'); ?></button></div>
<div class="buttons"><button class="button" onclick="wpGears.getPermission();"><?php _e('Enable Gears'); ?></button></div>
</div>
<div id="gears-msg3" style="display:none;">

View File

@ -1747,37 +1747,25 @@ fieldset {
margin: 0;
}
.info-box {
top: 100px;
left: 50%;
margin-left: -225px;
height: 300px;
width: 450px;
border: 5px solid #ddd;
background: #f8f8f8;
position: absolute;
padding: 15px 15px 10px;
z-index: 1000;
display: none;
#gears-info-box {
max-width: 700px;
}
.info-box .submit {
position: absolute;
bottom: 15px;
width: 450px;
padding: 15px 0 0;
}
.info-box .gears-img {
#gears-info-box .gears-img {
float: right;
margin: 10px;
}
#gears-info-box .buttons {
margin: 10px 0 0;
padding: 1.5em 0 0;
}
.info-box-title {
line-height: 2;
margin: 0;
padding: 4px 8px;
font: 18px Georgia, "Times New Roman", Times, serif;
font: 18px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;;
}
#wp_editbtns {