Many changes aded to system.
This commit is contained in:
parent
e0571d14b7
commit
5ba618f471
22 changed files with 640 additions and 57 deletions
|
|
@ -1,37 +1,48 @@
|
|||
<template name="systemAdmin">
|
||||
<h2>System Administration</h2>
|
||||
<div class="grid">
|
||||
<article>
|
||||
<h4>Registration Settings</h4>
|
||||
<div class="grid">
|
||||
<div class="">
|
||||
<label for="allowAdmReg">
|
||||
<input type="checkbox" class="currConfigs" id="allowAdmReg" role="switch">
|
||||
Allow Admin Registration
|
||||
</label>
|
||||
<article>
|
||||
<h4>Registration Settings</h4>
|
||||
<div class="grid">
|
||||
<div class="">
|
||||
<label for="allowAdmReg">
|
||||
<input type="checkbox" class="currConfigs" id="allowAdmReg" role="switch">
|
||||
Allow Admin Registration
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid">
|
||||
<div>
|
||||
<label for="allowGenReg">
|
||||
<input type="checkbox" class="currConfigs" id="allowGenReg" role="switch">
|
||||
Allow Registration
|
||||
</label>
|
||||
<div class="grid">
|
||||
<div>
|
||||
<label for="allowGenReg">
|
||||
<input type="checkbox" class="currConfigs" id="allowGenReg" role="switch">
|
||||
Allow Registration
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article>
|
||||
<h4>Update Notifications</h4>
|
||||
<p>This option requires the seerver to have an internet connection.</p>
|
||||
<div class="grid">
|
||||
<div>
|
||||
<label for="recvUpdateMsgs">
|
||||
<input type="checkbox" class="currConfigs" id="recvUpdateMsgs" role="switch">
|
||||
System Admin will receive information on updates and new featres
|
||||
</label>
|
||||
</article>
|
||||
<article>
|
||||
<h4>Update Notifications</h4>
|
||||
<p>This option requires the seerver to have an internet connection.</p>
|
||||
<div class="grid">
|
||||
<div>
|
||||
<label for="recvUpdateMsgs">
|
||||
<input type="checkbox" class="currConfigs" id="recvUpdateMsgs" role="switch">
|
||||
System Admin will receive information on updates and new featres
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</article>
|
||||
</div>
|
||||
<div class="grid">
|
||||
<article>
|
||||
<h4>Code Setup</h4>
|
||||
<p>Setup Code Tables (pre-defined values)</p>
|
||||
<div class="grid">
|
||||
<div>
|
||||
<button class="locationTypes navSetup" id="locationTypes">Location Types</button>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
{{> snackbar}}
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import { Roles } from 'meteor/roles';
|
||||
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
|
||||
import { SysConfig } from "../../../imports/api/systemConfig";
|
||||
|
||||
|
||||
Template.systemAdmin.onCreated(function() {
|
||||
this.subscribe("SystemConfig");
|
||||
this.subscribe("rolesAvailable");
|
||||
|
|
@ -59,4 +60,8 @@ Template.systemAdmin.events({
|
|||
|
||||
updateInfo();
|
||||
},
|
||||
'click .navSetup' (event) {
|
||||
let target = event.target.id;
|
||||
FlowRouter.go('/' + target);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue