css transitions and fix form field names

workspace
Brendan Howell 5 years ago
parent 3ff8d660c5
commit 099cb310a3

@ -11,7 +11,9 @@
width: 40em;
background-color: pink;
height: 3em;
transition: opacity 3s ease-in-out;
visibility: hidden;
opacity: 0;
transition: visibility 0s 2s, opacity 2s linear;
text-align: center;
}
</style>
@ -19,11 +21,13 @@
<body>
<h3>The Screenless Office</h3>
<h4> edit config file <em>${cfgfile}</em></h4>
% if msg:
<div id="msg">${msg}</div>
% endif
<div><a href="/">← Main</a></div>
<div id="editor">${cfgdata}</div>
<form id="cfgform" action="/config/${bureau}" method="post">
<input type="hidden" value="${cfgdata}" name="cfgdata_field" id="cfgdata_field" />
<input type="hidden" value="${cfgdata}" name="cfgdata" id="cfgdata_field" />
<input type="submit" value="Save" name="operation" onclick="saveConfig()">
</form>
<script src="/static/ace/ace.js" type="text/javascript" charset="utf-8"></script>

Loading…
Cancel
Save