css, html, delete

This commit is contained in:
darthsandmann
2016-11-16 16:52:00 +01:00
parent 5332dfa3f4
commit d315cd1009
19 changed files with 60 additions and 57 deletions

View File

@ -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;
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

View File

@ -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;
}