Login Logo image can be configured to appear alongisde the Log In form

This commit is contained in:
Oliver Gorwits
2015-11-28 20:58:31 +00:00
parent 41f1dad098
commit e70f0656d7
3 changed files with 14 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
2.033005
[NEW FEATURES]
* Login Logo image can be configured to appear alongisde the Log In form
[BUG FIXES]
* [#255] undefined host error in netdisco-do psql

View File

@@ -452,6 +452,13 @@ When showing Device Ports, Netdisco calculates first an average number of
VLANs across all device ports. If this is above this configurable threshold,
the VLAN Membership is I<not> shown (regardless of Display Columns setting.
=head3 C<login_logo>
Value: String. Default: none.
Set to the URL of an image file which will be displayed alongside the C<Log
In> form.
=head2 Netdisco Core
=head3 C<mibhome>

View File

@@ -41,6 +41,9 @@
<input id='loginuser' placeholder="Username" class="span2" name="username" type="text" required="required"/>
<input placeholder="Password" class="span2" name="password" type="password" required="required"/>
<button type="submit" class="btn btn-info">Log In</button>
[% IF settings.login_logo %]
<img src="[% settings.login_logo %]" alt="Login Logo" />
[% END %]
</div>
[% IF params.return_url %]
<input type="hidden" name="return_url" value="[% params.return_url | html_entity %]"/>