Praktikum1_Kai

This commit is contained in:
darthsandmann
2016-10-17 18:04:28 +02:00
parent c9f3117da1
commit a3450f2675
39 changed files with 219 additions and 51 deletions

View File

@ -0,0 +1,72 @@
body {
font-family: "Open Sans", sans-serif;
font-size: 12pt;
padding: 0;
margin: 0;
}
td {
border: 1px solid black;
}
th {
height: 50px;
border: 1px solid black;
}
li {
}
ul {
padding-left: 30px;
list-style-type: square;
margin-bottom: 50px;
}
label {
padding-left: 15px;
}
input {
width: 200px;
border: none;
border-bottom: 2px solid black;
font-size: 12pt;
}
input.button {
background-color: #eeeeee;
color: black;
padding: 5px 10px;
text-align: center;
text-decoration: none;
display: inline-block;
border: none;
}
input.button:hover, input.button:active {
background-color: #e7e7e7;
}
idWTForm {
}
a:link, a:visited {
background-color: #eeeeee;
color: black;
padding: 5px 10px;
text-align: center;
text-decoration: none;
display: inline-block;
}
a:hover, a:active {
background-color: #e7e7e7;
}
a.clDelete {
}

View File

@ -0,0 +1,20 @@
function confirmDelete_p (event_opl) {
if ((event_opl.target.tagName.toLowerCase() == 'a') && (event_opl.target.className == "clDelete")) {
// Klick auf Link zum Löschen
// Ihre Ergänzung
var result = confirm("Sind Sie sicher, dass der Eintrag gelöscht werden soll?");
if(result)
{
return true;
}
else
{
return false;
}
}
}
window.onload = function () {
let body_o = document.getElementsByTagName('body')[0];
body_o.addEventListener('click', confirmDelete_p, false);
}