clns-acuity-va-security/security/chrome-extension/popup.html (35 lines of code) (raw):
<!--
~ Copyright 2021 The University of Manchester
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Swap ACUITY User</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-theme.min.css" rel="stylesheet">
<style>
body {
min-width: 400px;
overflow-x: hidden;
}
.jumbotron {
margin-bottom: 0px;
}
</style>
</head>
<body>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script src='popup.js'></script>
<script src='js/jquery.cookie.js'></script>
<div class="jumbotron">
Relogin normally through ping as you. <button type="button" id="normally" class="btn btn-default">Relogin</button>
<hr/>
Relogin as developer user (default 'developer') <input type="text" id="developerUser" /> <button type="button" id="developer" class="btn btn-default">Relogin</button>
<hr/>
Relogin as trained user (default 'trainedUser') <input type="text" id="trainedUser" /> <button type="button" id="trained" class="btn btn-default">Relogin</button>
<hr/>
Relogin as unknown user 'unknown'. <button type="button" id="unknown" class="btn btn-default">Relogin</button>
</div>
</body>
</html>