PPM2: select
This commit is contained in:
@ -1,9 +1 @@
|
||||
figure, figure img {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: center; /* zur Zentrierung des img-Elements */
|
||||
width: 15cm;
|
||||
}
|
||||
figcaption {
|
||||
text-align: center;
|
||||
}
|
||||
figure,figure img{margin-left:auto;margin-right:auto;text-align:center;width:15cm;}figcaption{text-align:center;}
|
@ -1,9 +1 @@
|
||||
figure, figure img {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: center; /* zur Zentrierung des img-Elements */
|
||||
width: 15cm;
|
||||
}
|
||||
figcaption {
|
||||
text-align: center;
|
||||
}
|
||||
figure,figure img{margin-left:auto;margin-right:auto;text-align:center;width:15cm;}figcaption{text-align:center;}
|
@ -1,66 +1 @@
|
||||
#canvas{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 500px;
|
||||
width: 300px;
|
||||
margin: 0;
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
#aktuelleAuktion{
|
||||
position: absolute;
|
||||
top: 410px;
|
||||
left: 500px;
|
||||
width: 300px;
|
||||
margin: 0px;
|
||||
height: 150px;
|
||||
background-color: #f9802f;
|
||||
border-radius: 10px;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
#naechsteAuktion{
|
||||
position: absolute;
|
||||
top: 410px;
|
||||
left: 150px;
|
||||
width: 300px;
|
||||
margin: 0;
|
||||
height: 150px;
|
||||
background-color: #2fdbf9;
|
||||
border-radius: 10px;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
#letzteAuktion{
|
||||
position: absolute;
|
||||
top: 410px;
|
||||
left: 850px;
|
||||
width: 300px;
|
||||
margin: 0;
|
||||
height: 150px;
|
||||
background-color: #dbdad9;
|
||||
border-radius: 10px;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
#kaufen{
|
||||
position: absolute;
|
||||
top: 310px;
|
||||
height :80px;
|
||||
width: 200px;
|
||||
left: 550px;
|
||||
background-color: green;
|
||||
border-radius: 10px;
|
||||
}
|
||||
#simManager{
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 0;
|
||||
width: 100px;
|
||||
}
|
||||
button{
|
||||
width: 100px;
|
||||
background-color: #dbdad9;
|
||||
}
|
||||
#canvas{position:absolute;top:0;left:500px;width:300px;margin:0;height:300px;}#aktuelleAuktion{position:absolute;top:410px;left:500px;width:300px;margin:0px;height:150px;background-color:#f9802f;border-radius:10px;border-style:solid;border-width:1px;}#naechsteAuktion{position:absolute;top:410px;left:150px;width:300px;margin:0;height:150px;background-color:#2fdbf9;border-radius:10px;border-style:solid;border-width:1px;}#letzteAuktion{position:absolute;top:410px;left:850px;width:300px;margin:0;height:150px;background-color:#dbdad9;border-radius:10px;border-style:solid;border-width:1px;}#kaufen{position:absolute;top:310px;height: 80px;width:200px;left:550px;background-color:green;border-radius:10px;}#simManager{position:absolute;top:20px;right:0;width:100px;}button{width:100px;background-color:#dbdad9;}
|
@ -1,11 +1 @@
|
||||
.botButtonActiveStyle{
|
||||
background-color: green;
|
||||
}
|
||||
|
||||
.botButtonInactiveStyle{
|
||||
background-color: #dbdad9;
|
||||
}
|
||||
|
||||
.botButtonBuyActionStyle{
|
||||
background-color: yellow;
|
||||
}
|
||||
.botButtonActiveStyle{background-color:green;}.botButtonInactiveStyle{background-color:#dbdad9;}.botButtonBuyActionStyle{background-color:yellow;}
|
@ -1,71 +1 @@
|
||||
#canvas{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 500px;
|
||||
width: 300px;
|
||||
margin: 0;
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
#aktuelleAuktion{
|
||||
position: absolute;
|
||||
top: 410px;
|
||||
left: 500px;
|
||||
width: 300px;
|
||||
margin: 0px;
|
||||
height: 150px;
|
||||
background-color: #f9802f;
|
||||
border-radius: 10px;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
#naechsteAuktion{
|
||||
position: absolute;
|
||||
top: 410px;
|
||||
left: 150px;
|
||||
width: 300px;
|
||||
margin: 0;
|
||||
height: 150px;
|
||||
background-color: #2fdbf9;
|
||||
border-radius: 10px;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
#letzteAuktion{
|
||||
position: absolute;
|
||||
top: 410px;
|
||||
left: 850px;
|
||||
width: 300px;
|
||||
margin: 0;
|
||||
height: 150px;
|
||||
background-color: #dbdad9;
|
||||
border-radius: 10px;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
#kaufen{
|
||||
position: absolute;
|
||||
top: 310px;
|
||||
height :80px;
|
||||
width: 200px;
|
||||
left: 550px;
|
||||
background-color: green;
|
||||
border-radius: 10px;
|
||||
}
|
||||
#simManager{
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 0;
|
||||
width: 100px;
|
||||
}
|
||||
button{
|
||||
width: 100px;
|
||||
background-color: #dbdad9;
|
||||
}
|
||||
.bigbutton{
|
||||
height: 50px;
|
||||
width: 100px;
|
||||
background-color: #dbdad9;
|
||||
}
|
||||
#canvas{position:absolute;top:0;left:500px;width:300px;margin:0;height:300px;}#aktuelleAuktion{position:absolute;top:410px;left:500px;width:300px;margin:0px;height:150px;background-color:#f9802f;border-radius:10px;border-style:solid;border-width:1px;}#naechsteAuktion{position:absolute;top:410px;left:150px;width:300px;margin:0;height:150px;background-color:#2fdbf9;border-radius:10px;border-style:solid;border-width:1px;}#letzteAuktion{position:absolute;top:410px;left:850px;width:300px;margin:0;height:150px;background-color:#dbdad9;border-radius:10px;border-style:solid;border-width:1px;}#kaufen{position:absolute;top:310px;height: 80px;width:200px;left:550px;background-color:green;border-radius:10px;}#simManager{position:absolute;top:20px;right:0;width:100px;}button{width:100px;background-color:#dbdad9;}.bigbutton{height:50px;width:100px;background-color:#dbdad9;}
|
@ -1,14 +1 @@
|
||||
.botButtonActiveStyle{
|
||||
height: 50px;
|
||||
background-color: green;
|
||||
}
|
||||
|
||||
.botButtonInactiveStyle{
|
||||
height: 50px;
|
||||
background-color: #dbdad9;
|
||||
}
|
||||
|
||||
.botButtonBuyActionStyle{
|
||||
height: 50px;
|
||||
background-color: yellow;
|
||||
}
|
||||
.botButtonActiveStyle{height:50px;background-color:green;}.botButtonInactiveStyle{height:50px;background-color:#dbdad9;}.botButtonBuyActionStyle{height:50px;background-color:yellow;}
|
@ -1,8 +1 @@
|
||||
.wizardButtonNeu{
|
||||
height: 50px;
|
||||
background-color: yellow;
|
||||
}
|
||||
.wizardButtonFertig{
|
||||
height: 50px;
|
||||
background-color: green;
|
||||
}
|
||||
.wizardButtonNeu{height:50px;background-color:yellow;}.wizardButtonFertig{height:50px;background-color:green;}
|
@ -1,9 +1 @@
|
||||
figure, figure img {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: center; /* zur Zentrierung des img-Elements */
|
||||
width: 15cm;
|
||||
}
|
||||
figcaption {
|
||||
text-align: center;
|
||||
}
|
||||
figure,figure img{margin-left:auto;margin-right:auto;text-align:center;width:15cm;}figcaption{text-align:center;}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,287 +1 @@
|
||||
/* main.css */
|
||||
|
||||
/* allgemeine Vorgaben */
|
||||
body {
|
||||
font-family: "Open Sans", sans-serif;
|
||||
font-size: 12pt;
|
||||
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Basislayout */
|
||||
|
||||
.clSiteHeader {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
font-size: 12pt;
|
||||
color: #efc9a0;
|
||||
background-color: #40200d;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.clLoggedInText {
|
||||
position: absolute;
|
||||
right: 50px;
|
||||
height: 80px;
|
||||
line-height: 48px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
font-size: 12pt;
|
||||
color: #efc9a0;
|
||||
background-color: #40200d;
|
||||
text-align: right;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.clNav {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 150px;
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
|
||||
}
|
||||
|
||||
.clNav a, a:hover, a:visited, a:active{
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.clNav a:hover {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.clContentOuter {
|
||||
position: absolute;
|
||||
top: 80px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.clContent {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
background-color: #efc9a0;
|
||||
}
|
||||
|
||||
/* Elemente im Content-Bereich */
|
||||
|
||||
.clContentHeader {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
font-size: 14pt;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.clContentArea {
|
||||
position: absolute;
|
||||
top: 60px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 40px;
|
||||
margin: 0;
|
||||
padding: 0px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.clSelected{
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
.clButtonArea {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
background-color: #40200d;
|
||||
|
||||
}
|
||||
|
||||
/* Links und Submit-Schalter im Buttonbereich gestalten */
|
||||
|
||||
.clButtonArea button, a, input[type="submit"] {
|
||||
margin: 0 5px;
|
||||
padding: 3px 6px;
|
||||
font-size: 10pt;
|
||||
text-decoration: none;
|
||||
border: 1px solid;
|
||||
color: black;
|
||||
background-color: #efc9a0;
|
||||
}
|
||||
|
||||
.clButtonArea button:disabled {
|
||||
color: graytext;
|
||||
}
|
||||
|
||||
|
||||
.clButtonArea button:enabled {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Gestaltung von Tabellen */
|
||||
|
||||
#idTopicList, #idDiscussionList {
|
||||
table-layout: fixed;
|
||||
width: 66%;
|
||||
border: 1px solid;
|
||||
border-collapse: collapse;
|
||||
margin:auto;
|
||||
|
||||
}
|
||||
|
||||
#idTopicList th, #idDiscussionList th {
|
||||
text-align: left;
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
#idTopicList th, #idTopicList td, #idDiscussionList th, #idDiscussionList td{
|
||||
padding: 3px;
|
||||
border: 1px solid #000;
|
||||
}
|
||||
|
||||
#idPostList {
|
||||
width: 80%;
|
||||
border: 1px solid;
|
||||
border-collapse: collapse;
|
||||
margin:auto;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.listheader th{
|
||||
color:#efc9a0;
|
||||
background-color:#40200d;
|
||||
}
|
||||
|
||||
#idTopicList tr, #idDiscussionList tr{
|
||||
background-color:#F4C484
|
||||
}
|
||||
|
||||
#idTopicList tr:nth-of-type(even), #idDiscussionList tr:nth-of-type(even){
|
||||
background-color:#E4A454;
|
||||
}
|
||||
|
||||
|
||||
/* Gestaltung von Formularen */
|
||||
|
||||
/* das Formular nochmals zusätzlich gestalten */
|
||||
#idForm .clContentArea {
|
||||
width: 500px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.clFormRow {
|
||||
position: relative; /* damit das Element in jedem Fall "positioniert" ist und damit als Bezugspunkt geeignet ist */
|
||||
height: 25px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.clFormRow label {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 150px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.clFormRow input, .clFormRow textarea {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 160px;
|
||||
width: 250px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
|
||||
/********************************************************************STYLES für einzelne Posts der Postliste*/
|
||||
#idPostList li {
|
||||
border: 1px solid;
|
||||
border-collapse: collapse;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
list-style-type: none;
|
||||
|
||||
}
|
||||
|
||||
.clMetaDataContainer {
|
||||
width: 15%;
|
||||
height: 100%;
|
||||
margin: 0px;
|
||||
left: 0;
|
||||
right: 80%;
|
||||
color: #efc9a0;
|
||||
background-color: #40200D;
|
||||
}
|
||||
|
||||
.clPostContainer{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
.clPostDataContainer{
|
||||
position: absolute;
|
||||
width: 85%;
|
||||
left: 15%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
#idPostList .clOwner {
|
||||
margin: 0px;
|
||||
|
||||
}
|
||||
#idPostList .clTime {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
#idPostList .clTitle {
|
||||
margin: 0;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #efc9a0;
|
||||
background-color: #40200d;
|
||||
}
|
||||
|
||||
#idPostList .clText {
|
||||
margin: 0;
|
||||
margin-left: 3px;
|
||||
bottom: 0;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
body{font-family:"Open Sans",sans-serif;font-size:12pt;padding:0;margin:0;}.clSiteHeader{position:absolute;top:0;left:0;right:0;height:80px;line-height:80px;margin:0;padding:5px;font-size:12pt;color:#efc9a0;background-color:#40200d;text-align:center;}.clLoggedInText{position:absolute;right:50px;height:80px;line-height:48px;margin:0;padding:5px;font-size:12pt;color:#efc9a0;background-color:#40200d;text-align:right;font-weight:bold;}.clNav{position:absolute;left:0;width:150px;margin:0;padding:10px;}.clNav a,a:hover,a:visited,a:active{display:block;text-decoration:none;margin-bottom:10px;}.clNav a:hover{font-weight:bold;}.clContentOuter{position:absolute;top:80px;left:0;right:0;bottom:0;margin:0;padding:0;}.clContent{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:5px;background-color:#efc9a0;}.clContentHeader{position:absolute;top:20px;left:0;right:0;height:30px;line-height:30px;margin:0;padding:5px;font-size:14pt;text-align:center;}.clContentArea{position:absolute;top:60px;left:0;right:0;bottom:40px;margin:0;padding:0px;overflow-y:auto;}.clSelected{color:white;font-weight:bold;}.clButtonArea{position:fixed;left:0;right:0;bottom:0;height:50px;line-height:50px;margin:0;padding:5px;text-align:center;background-color:#40200d;}.clButtonArea button,a,input[type="submit"]{margin:0 5px;padding:3px 6px;font-size:10pt;text-decoration:none;border:1px solid;color:black;background-color:#efc9a0;}.clButtonArea button:disabled{color:graytext;}.clButtonArea button:enabled{font-weight:bold;}#idTopicList,#idDiscussionList{table-layout:fixed;width:66%;border:1px solid;border-collapse:collapse;margin:auto;}#idTopicList th,#idDiscussionList th{text-align:left;padding-left:6px;}#idTopicList th,#idTopicList td,#idDiscussionList th,#idDiscussionList td{padding:3px;border:1px solid #000;}#idPostList{width:80%;border:1px solid;border-collapse:collapse;margin:auto;padding:0px;}.listheader th{color:#efc9a0;background-color:#40200d;}#idTopicList tr,#idDiscussionList tr{background-color:#F4C484}#idTopicList tr:nth-of-type(even),#idDiscussionList tr:nth-of-type(even){background-color:#E4A454;}#idForm .clContentArea{width:500px;margin-left:auto;margin-right:auto;}.clFormRow{position:relative;height:25px;margin-bottom:10px;}.clFormRow label{position:absolute;top:0;left:0;width:150px;text-align:right;}.clFormRow input,.clFormRow textarea{position:absolute;top:0;left:160px;width:250px;margin:auto;}#idPostList li{border:1px solid;border-collapse:collapse;padding:0px;margin:0px;list-style-type:none;}.clMetaDataContainer{width:15%;height:100%;margin:0px;left:0;right:80%;color:#efc9a0;background-color:#40200D;}.clPostContainer{position:relative;}.clPostDataContainer{position:absolute;width:85%;left:15%;height:100%;top:0;}#idPostList .clOwner{margin:0px;}#idPostList .clTime{margin:0px;}#idPostList .clTitle{margin:0;position:relative;width:100%;text-align:center;color:#efc9a0;background-color:#40200d;}#idPostList .clText{margin:0;margin-left:3px;bottom:0;position:relative;width:100%;}
|
@ -1 +1 @@
|
||||
{"1": {"name": "Ich bin das erste Test-Thema", "discs": [], "deleted": true, "owner": "Test"}, "5": {"name": "test", "deleted": false, "discs": [], "owner": "test"}, "4": {"name": "TestThema", "discs": ["9"], "deleted": false, "owner": "Florian"}, "2": {"name": "Und ich das zweite!", "discs": ["8", "10"], "deleted": false, "owner": "Test"}, "nextID": "6", "3": {"name": "Web-Engineering", "discs": [], "deleted": true, "owner": "Florian"}}
|
||||
{"4": {"owner": "Florian", "deleted": false, "name": "TestThema", "discs": ["9"]}, "2": {"owner": "Test", "deleted": false, "name": "Und ich das zweite!", "discs": ["8", "10"]}, "3": {"owner": "Florian", "deleted": true, "name": "Web-Engineering", "discs": []}, "5": {"owner": "test", "discs": [], "name": "test", "deleted": false}, "1": {"owner": "Test", "deleted": true, "name": "Ich bin das erste Test-Thema", "discs": []}, "nextID": "7", "6": {"discs": [], "owner": "Kai", "name": "test", "deleted": false}}
|
@ -149,6 +149,8 @@ FORUM.Application_cl = Class.create({
|
||||
setContent_p: function (newContent_opl, data_opl) {
|
||||
if (this.content_o != null) {
|
||||
if (this.content_o.canClose_px()) {
|
||||
console.log(newContent_opl);
|
||||
console.log(data_opl);
|
||||
this.content_o.close_px();
|
||||
this.content_o = newContent_opl;
|
||||
this.content_o.render_px(data_opl);
|
||||
|
@ -41,6 +41,8 @@ TELIB.TemplateManager_cl = Class.create({
|
||||
},
|
||||
execute_px: function (name_spl, data_opl) {
|
||||
var compiled_o = null;
|
||||
console.log(this.compiled_o);
|
||||
console.log(this.templates_o);
|
||||
if (name_spl in this.compiled_o) {
|
||||
compiled_o = this.compiled_o[name_spl];
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user