Merge pull request #380 from aspic/configurable-network-display
Adds configurable network form display
This commit is contained in:
commit
50c9d7cb82
@ -88,6 +88,7 @@
|
|||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<h1 class="title">Connect</h1>
|
<h1 class="title">Connect</h1>
|
||||||
</div>
|
</div>
|
||||||
|
<div <%= !displayNetwork ? 'style="display: none;"' : ''%>>
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<h2>Network settings</h2>
|
<h2>Network settings</h2>
|
||||||
</div>
|
</div>
|
||||||
@ -123,6 +124,7 @@
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
|
</div>
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<h2>User preferences</h2>
|
<h2>User preferences</h2>
|
||||||
</div>
|
</div>
|
||||||
|
@ -64,6 +64,17 @@ module.exports = {
|
|||||||
//
|
//
|
||||||
prefetch: true,
|
prefetch: true,
|
||||||
|
|
||||||
|
//
|
||||||
|
// Display network
|
||||||
|
//
|
||||||
|
// If set to false Shout will not expose network settings in login
|
||||||
|
// form, limiting client to connect to the configured network.
|
||||||
|
//
|
||||||
|
// @type boolean
|
||||||
|
// @default true
|
||||||
|
//
|
||||||
|
displayNetwork: true,
|
||||||
|
|
||||||
//
|
//
|
||||||
// Log settings
|
// Log settings
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user