mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: mono theme panel headers black (#5705)
Fixes issue where the librenms_logo_mono.svg is now loaded by making the background black to match the logo. Update twofactor.lib.php. Remove unused if statement
This commit is contained in:
committed by
Neil Lathwood
parent
5cdaee16f6
commit
307e5ae500
@@ -161,7 +161,7 @@ function verify_hotp($key, $otp, $counter = false)
|
||||
/**
|
||||
* Print TwoFactor Input-Form
|
||||
* @param boolean $form Include FORM-tags
|
||||
* @return void|string
|
||||
* @return string
|
||||
*/
|
||||
function twofactor_form($form = true)
|
||||
{
|
||||
@@ -174,7 +174,7 @@ function twofactor_form($form = true)
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">
|
||||
<img src="images/librenms_logo_light.svg">
|
||||
<img src="' . $config['title_image'] . '">
|
||||
</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
@@ -189,7 +189,7 @@ function twofactor_form($form = true)
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-12">
|
||||
<button type="submit" class="btn btn-default btn-block" name="submit" type="submit">Login</button>
|
||||
<button type="submit" class="btn btn-default btn-block" name="submit">Login</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>';
|
||||
|
||||
Reference in New Issue
Block a user