diff --git a/config/layouts/sitzung.json b/config/layouts/sitzung.json new file mode 100644 index 0000000000000000000000000000000000000000..3c3f8224924b7aad9a0e8346963802a45582037d --- /dev/null +++ b/config/layouts/sitzung.json @@ -0,0 +1,22 @@ +{ + "type":"xsplit", + "cut":35, + "left": + { + "type":"panel", + "name":"topListe" + }, + "right": + { + "type" : "ysplit", + "cut" : 30, + "up" : + { + "type":"panel","name":"clock" + }, + "down": + { + "type":"panel","name":"mensaPlan" + } + } +} diff --git a/panels/mensaPlan/style.less b/panels/mensaPlan/style.less index 34ec0df4507a3fcd12a9b823b6809e92cd32a18c..de83b79389833d1ee0e2c33a785d3e6a0a8d2570 100755 --- a/panels/mensaPlan/style.less +++ b/panels/mensaPlan/style.less @@ -13,7 +13,7 @@ color: #000000; } -#head { +#mensaPlanTitleBar { text-align: center; } diff --git a/panels/topListe/script.js b/panels/topListe/script.js new file mode 100644 index 0000000000000000000000000000000000000000..7b19e190aa2337ad83cef3310cb3a752e88d296b --- /dev/null +++ b/panels/topListe/script.js @@ -0,0 +1,8 @@ +this.loaded = function(panel, config) { + +$(function() { + $( "#sortable" ).sortable(); + $( "#sortable" ).disableSelection(); + }); + +} \ No newline at end of file diff --git a/panels/topListe/style.less b/panels/topListe/style.less new file mode 100644 index 0000000000000000000000000000000000000000..2483010ebda05e2fe89abfbfe9b533e6249eee29 --- /dev/null +++ b/panels/topListe/style.less @@ -0,0 +1,45 @@ +#topListe{ + position:relative; + width:100%; + height:100%; +} + +#currentTop { + background-color: #ffffff; + float:left; + position:relative; + top:0; + width: 100%; + height: 25%; +} + +#topName{ + float: left; + background-color: #ffffff; + width: 100%; + height: 25%; + font-size: 300%; + text-align: center; +} + +#topDescription{ + float: left; + background-color: #ffffff; + width: 100%; + height: 25%; + font-size: 200%; +} + +#topListSortable{ + float: left; + width: 100%; + height: 25%; +} + +#sortable { + font-weight: bold; + color: #ffffff; + list-style-type: decimal; + font-size: 200%; + float:left; +} diff --git a/panels/topListe/template.html b/panels/topListe/template.html new file mode 100644 index 0000000000000000000000000000000000000000..c277180063a7c6c23b9c3a641878efa86c6eaf5d --- /dev/null +++ b/panels/topListe/template.html @@ -0,0 +1,20 @@ +<div id="topListe"> +<div id="currentTop"> + <div id="topName"> + TEST1 + </div> + <div id="topDescription"> + TEST2 + </div> +</div> +<div id="topListSortable"> + <ol id="sortable"> + <li class="ui-state-default">Item 1</li> + <li class="ui-state-default">Item 2</li> + <li class="ui-state-default">Item 3</li> + <li class="ui-state-default">Item 4</li> + <li class="ui-state-default">Item 5</li> + <li class="ui-state-default">Item 6</li> + <li class="ui-state-default">Item 7</li> + </ol> +</div> \ No newline at end of file