css, html, delete
This commit is contained in:
@ -3,7 +3,7 @@ var selected = table.getElementsByClassName('selected');
|
||||
var selectedId = 'None';
|
||||
table.onclick = highlight;
|
||||
|
||||
function select(category) {
|
||||
function select(category, mode) {
|
||||
var id = selectedId;
|
||||
if (id == 'None')
|
||||
{
|
||||
@ -11,7 +11,19 @@ function select(category) {
|
||||
}
|
||||
else
|
||||
{
|
||||
if(mode == 0){
|
||||
window.location.href = '/detail/?cat=' + category + '&id=' + id;
|
||||
}
|
||||
else {
|
||||
var result = confirm("Sind Sie sicher, dass der Eintrag gelöscht werden soll?");
|
||||
if(result) {
|
||||
window.location.href = '/delete/?cat=' + category + '&id=' + id;
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
BIN
Praktikum2/ppm1/static/img/logo.png
Normal file
BIN
Praktikum2/ppm1/static/img/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 97 KiB |
@ -19,12 +19,26 @@ body {
|
||||
text-align: center;
|
||||
text-shadow:black 3px 2px;
|
||||
font-family: "Open Sans", sans-serif;
|
||||
color: #FFFFFF;
|
||||
background-color: #084791;
|
||||
border: none;
|
||||
border-radius: 60px;
|
||||
}
|
||||
|
||||
.clSiteHeader a {
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.clSiteHeader:hover {
|
||||
background-color: #0D71E4;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.clSiteHeader a:visited, a:active {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.clContent {
|
||||
position: absolute;
|
||||
top: 150px; /* height, padding, border, margin von idSiteHeader beachten */
|
||||
@ -33,7 +47,7 @@ body {
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
background-image: url("https://lionel.kr.hs-niederrhein.de/logo_hs_02.png");
|
||||
background-image: url("/img/logo.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: bottom left;
|
||||
}
|
||||
|
Reference in New Issue
Block a user