Praktikum1_Kai
This commit is contained in:
72
Praktikum1_Kai/webteams/content/webteams.css
Normal file
72
Praktikum1_Kai/webteams/content/webteams.css
Normal 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 {
|
||||
}
|
||||
|
20
Praktikum1_Kai/webteams/content/webteams.js
Normal file
20
Praktikum1_Kai/webteams/content/webteams.js
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user