added lunchuman
This commit is contained in:
19
subsites/lunchuman/static/front.js
Normal file
19
subsites/lunchuman/static/front.js
Normal file
@@ -0,0 +1,19 @@
|
||||
create_listener = function(elem) {
|
||||
var listener = function() {
|
||||
elem.value = '';
|
||||
elem.removeEventListener('focus', listener, false);
|
||||
};
|
||||
return listener;
|
||||
}
|
||||
|
||||
prepare_delete_onfocus = function() {
|
||||
var elems, elemI, elem, listener;
|
||||
elems = document.getElementsByClassName('deleteonfocus');
|
||||
for (elemI in elems) {
|
||||
elem = elems[elemI];
|
||||
elem.addEventListener('focus', create_listener(elem), false);
|
||||
}
|
||||
}
|
||||
|
||||
window.onload = function(event) {prepare_delete_onfocus();}
|
||||
|
||||
1
subsites/lunchuman/static/lunchuman
Symbolic link
1
subsites/lunchuman/static/lunchuman
Symbolic link
@@ -0,0 +1 @@
|
||||
/home/niels/www/meta/subsites/lunchuman
|
||||
57
subsites/lunchuman/static/screen.css
Normal file
57
subsites/lunchuman/static/screen.css
Normal file
@@ -0,0 +1,57 @@
|
||||
#header
|
||||
{
|
||||
background-color: pink;
|
||||
color: green;
|
||||
text-decoration: blink;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#content
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#footer
|
||||
{
|
||||
border-top: 1px black solid;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
table {
|
||||
margin: 5px auto;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table, thead, tbody, tfoot, td, th {
|
||||
border-style: inset;
|
||||
border-color: black;
|
||||
}
|
||||
|
||||
td, th {
|
||||
margin: 0 5px;
|
||||
padding: 1px 3px;
|
||||
border-width: 0 2px 0 0;
|
||||
}
|
||||
|
||||
td:last-child, th:last-child {
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
table, tbody {
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
thead {
|
||||
border-width: 0 0 2px 0;
|
||||
}
|
||||
|
||||
tfoot {
|
||||
border-width: 2px 0 0 0;
|
||||
}
|
||||
|
||||
thead, tfoot {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
1
subsites/lunchuman/static/source
Symbolic link
1
subsites/lunchuman/static/source
Symbolic link
@@ -0,0 +1 @@
|
||||
.
|
||||
Reference in New Issue
Block a user