query chart : improve message layout and remove disable link
This commit is contained in:
@@ -705,16 +705,14 @@ foreach ($used_queries as $name => $value) {
|
|||||||
<div id="serverstatusquerieschart">
|
<div id="serverstatusquerieschart">
|
||||||
<?php
|
<?php
|
||||||
if (empty($_REQUEST["query_chart"])) {
|
if (empty($_REQUEST["query_chart"])) {
|
||||||
echo '<a href="' . $PMA_PHP_SELF . '?' . $url_query . '&query_chart=1#serverstatusqueries"'
|
echo '<a href="' . $PMA_PHP_SELF . '?' . $url_query
|
||||||
.'title="' . __('Show query chart') . '">'
|
. '&query_chart=1#serverstatusqueries"'
|
||||||
. __('Show query chart') . '</a>';
|
. 'title="' . __('Show query chart') . '">['
|
||||||
|
. __('Show query chart') . ']</a>';
|
||||||
|
PMA_Message::notice( __('Note: Generating the query chart can take a long time.'))->display();
|
||||||
} else {
|
} else {
|
||||||
echo PMA_chart_status($used_queries);
|
echo PMA_chart_status($used_queries);
|
||||||
echo '<a href="' . $PMA_PHP_SELF . '?' . $url_query . '#serverstatusqueries"'
|
|
||||||
.'title="' . __('Hide query chart') . '">'
|
|
||||||
. __('Hide query chart') . '</a>';
|
|
||||||
}
|
}
|
||||||
PMA_Message::warning(__('Note: Generating the query chart can take a long time.'))->display();
|
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user