Add warning/disclaimer message to main screen

This commit is contained in:
Skylar Ittner 2020-09-03 20:29:12 -06:00
parent 84f2aa3186
commit 2c59356fa9
4 changed files with 10 additions and 3 deletions

View File

@ -53,6 +53,10 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
{{/each}} {{/each}}
</ul> </ul>
</div> </div>
<div class="block">
{{mainscreenmessage}}
</div>
</div> </div>
<script src="assets/js/home.js"></script> <script src="assets/js/home.js"></script>
</div> </div>

View File

@ -14,7 +14,8 @@ var routes = [
templateUrl: "pages/home.html", templateUrl: "pages/home.html",
}, { }, {
context: { context: {
machinehistory: getMachineSearchHistory().reverse() machinehistory: getMachineSearchHistory().reverse(),
mainscreenmessage: SETTINGS.mainscreenmessage
} }
}); });
} }

View File

@ -8,5 +8,6 @@
var SETTINGS = { var SETTINGS = {
synckeyblacklist: [], synckeyblacklist: [],
apiserver: "http://localhost/machinemanager/api/", apiserver: "http://localhost/machinemanager/api/",
loginurl: "https://localhost/login/" loginurl: "https://localhost/login/",
mainscreenmessage: "Deployed in test configuration"
} }

View File

@ -8,5 +8,6 @@
var SETTINGS = { var SETTINGS = {
synckeyblacklist: [], synckeyblacklist: [],
apiserver: "https://track.netsyms.com/api/", apiserver: "https://track.netsyms.com/api/",
loginurl: "https://track.netsyms.com/api/login/" loginurl: "https://track.netsyms.com/api/login/",
mainscreenmessage: "NOTICE: You are accessing a Netsyms Technologies internal system that allows viewing and editing confidential, privileged, and sensitive information. Unauthorized access is a federal crime."
} }