view options.html @ 192:addc4e3456c4

Begin adding systemd compatibility. The Makefile can be used to build and install rlgwebd. On systems with systemd, the unit file controls starting and stopping the service, and the shell script is not needed. The unit file uses KillMode=none because socat does not actually stop rlgwebd, it only asks it to stop and exits without waiting for a response. Until a better stopping method is introduced, this setting prevents systemd from killing all the rlgwebd processes as soon as socat exits.
author John "Elwin" Edwards
date Fri, 01 Jan 2016 16:11:34 -0500
parents 99fbc7c55b81
children
line wrap: on
line source

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>RLG-Web Options</title>
<script type="text/javascript" src="options.js"></script>
<link rel="stylesheet" type="text/css" href="style-rlg.css">
</head>
<body onload="setup()">
<h1>RLG-Web Options</h1>
<div id="ostat">Loading...</div>
<div id="switch">
  <span class="ibutton">E-mail</span>
  <span class="ibutton">Password</span>
</div>
<div class="formtable" id="o_email">
  <div><div>E-mail:</div><div><input type="text" name="email" id="input_email"></div></div>
  <div><div><span class="ibutton" onclick="postemail()">Save</span></div><div><span class="ibutton" style="display:none">Cancel</span></div></div>
</div>
<div class="formtable" id="o_pw">
  <div><div>Password:</div><div><input type="password" name="pw" id="input_pw"></div></div>
  <div><div><span class="ibutton" onclick="postpw()">Save</span></div><div><span class="ibutton" style="display:none">Cancel</span></div></div>
</div>
<div id="optfoot"><a href="/">Home</a></div>
</body>
</html>