Minor fixes for table structure actions button row

Signed-off-by: J.M <phpMyAdmin@ZweiSteinSoft.de>
This commit is contained in:
J.M 2014-01-06 14:38:32 +01:00
parent 04f98964ec
commit d223df35cc
4 changed files with 24 additions and 4 deletions

View File

@ -212,6 +212,8 @@ $response->addHTML(
* Work on the table
*/
$response->addHTML('<div id="structure-action-links">');
if ($tbl_is_view) {
$response->addHTML(PMA_getHtmlForEditView($url_params));
}
@ -222,6 +224,8 @@ $response->addHTML(
)
);
$response->addHTML('</div>');
if (! $tbl_is_view && ! $db_is_system_schema) {
$response->addHTML('<br />');
$response->addHTML(PMA_getHtmlForAddColumn($columns_list));

View File

@ -378,8 +378,7 @@ img.lightbulb {
/* leave some space between icons and text */
.icon {
vertical-align: middle;
margin-right: 0.3em;
margin-left: 0.3em;
margin-<?php echo $left; ?>: 0.3em;
}
/* no extra space in table cells */
@ -1613,7 +1612,16 @@ input#input_import_file {
padding: 0.3em;
margin: 0.1em;
}
#structure-action-links a {
margin-<?php echo $right; ?>: 1em;
}
#addColumns input[type="radio"] {
margin: 0;
margin-<?php echo $left; ?>: 1em;
}
#addColumns input[type="submit"] {
margin-<?php echo $left; ?>: 1em;
}
.margin#change_column_dialog {
margin: 0 .5em;
}

View File

@ -2041,6 +2041,13 @@ input#input_import_file {
padding: 0.3em;
margin: 0.1em;
}
#structure-action-links a {
margin-<?php echo $right; ?>: 1em;
}
#addColumns input[type="radio"] {
margin: 3px 0 0;
margin-<?php echo $left; ?>: 1em;
}
/**
* Indexes
*/

View File

@ -18,7 +18,8 @@ if (is_readable($_SESSION['PMA_Theme']->getPath() . '/sprites.lib.php')) {
?>
/* Icon sprites */
.icon {
margin: 0 .3em;
margin: 0;
margin-<?php echo $left; ?>: .3em;
padding: 0 !important;
width: 16px;
height: 16px;