summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_command.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-03-28 10:05:34 -0400
committerjim-p <jimp@pfsense.org>2016-03-28 10:05:34 -0400
commitb8ce3e91a876642f08ee67c17a7a2541fb03c0ba (patch)
treece97a71534e9a70c5efc701ef65120f72f83637c /src/usr/local/www/diag_command.php
parent6e6826441e1f3127951401ed32488a841a1955c9 (diff)
downloadpfsense-b8ce3e91a876642f08ee67c17a7a2541fb03c0ba.zip
pfsense-b8ce3e91a876642f08ee67c17a7a2541fb03c0ba.tar.gz
Swap the colors on Diag > Command back. Executing is dangerous, hence the warning.
Diffstat (limited to 'src/usr/local/www/diag_command.php')
-rw-r--r--src/usr/local/www/diag_command.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/diag_command.php b/src/usr/local/www/diag_command.php
index fb63f84..260326b 100644
--- a/src/usr/local/www/diag_command.php
+++ b/src/usr/local/www/diag_command.php
@@ -250,14 +250,14 @@ if (!isBlank($_POST['txtCommand'])):?>
<input type="hidden" name="txtRecallBuffer" value="<?=htmlspecialchars($_POST['txtRecallBuffer']) ?>" />
<div class="btn-group">
- <button type="button" class="btn btn-warning btn-sm" name="btnRecallPrev" onclick="btnRecall_onClick( this.form, -1 );" title="<?=gettext("Recall Previous Command")?>">
+ <button type="button" class="btn btn-success btn-sm" name="btnRecallPrev" onclick="btnRecall_onClick( this.form, -1 );" title="<?=gettext("Recall Previous Command")?>">
<i class="fa fa-angle-double-left"></i>
</button>
- <button type="submit" class="btn btn-success btn-sm" value="EXEC" title="<?=gettext("Execute the entered command")?>">
+ <button type="submit" class="btn btn-warning btn-sm" value="EXEC" title="<?=gettext("Execute the entered command")?>">
<i class="fa fa-bolt"></i>
<?=gettext("Execute"); ?>
</button>
- <button type="button" class="btn btn-warning btn-sm" name="btnRecallNext" onclick="btnRecall_onClick( this.form, 1 );" title="<?=gettext("Recall Next Command")?>">
+ <button type="button" class="btn btn-success btn-sm" name="btnRecallNext" onclick="btnRecall_onClick( this.form, 1 );" title="<?=gettext("Recall Next Command")?>">
<i class="fa fa-angle-double-right"></i>
</button>
<button style="margin-left: 13px;" type="button" class="btn btn-default btn-sm" onclick="return Reset_onClick( this.form );" title="<?=gettext("Clear command entry")?>">
@@ -344,7 +344,7 @@ if (!isBlank($_POST['txtCommand'])):?>
<div class="content">
<textarea id="txtPHPCommand" placeholder="Command" name="txtPHPCommand" rows="9" cols="80"><?=htmlspecialchars($_POST['txtPHPCommand'])?></textarea>
<br />
- <button type="submit" class="btn btn-success btn-sm" value="<?=gettext("Execute")?>" title="<?=gettext("Execute this PHP Code")?>">
+ <button type="submit" class="btn btn-warning btn-sm" value="<?=gettext("Execute")?>" title="<?=gettext("Execute this PHP Code")?>">
<i class="fa fa-bolt"></i>
<?=gettext("Execute")?>
</button>
OpenPOWER on IntegriCloud