# HG changeset patch # User Matti Hamalainen # Date 1386244560 -7200 # Node ID d8fd57e7b90ef28a21f5c2dd448a389de53907bb # Parent 2b77599d0324ce04f9e5e00f7a4cd50ece5ead9d Moar work. diff -r 2b77599d0324 -r d8fd57e7b90e admajax.php --- a/admajax.php Thu Dec 05 13:40:24 2013 +0200 +++ b/admajax.php Thu Dec 05 13:56:00 2013 +0200 @@ -546,7 +546,7 @@ echo "
\n". "
Competition control:
\n". - "
\n". + "
\n". stGetOptionList("ctrlCompoList", "SELECT * FROM compos ORDER BY id DESC", "name", @@ -556,7 +556,7 @@ " ".stGetFormButtonInput("setcompo", "", "", "Change compo", "activateCompo()")."\n". "
\n". "
\n". - "
\n". + "
\n". stGetOptionList("ctrlEntryList", "SELECT * FROM entries WHERE compo_id=3 ORDER BY show_id ASC", "name", @@ -568,8 +568,12 @@ " ".stGetFormButtonInput("preventry", "", "", "Next entry", "gotoNextEntry()")."\n". "
\n". "
\n". + "
\n". + "

Current compo: "."

\n". + "

Current entry: "."

\n". + "

Previous entry: "."

\n". + "
\n". "
\n"; - break; case "news": diff -r 2b77599d0324 -r d8fd57e7b90e admin.css --- a/admin.css Thu Dec 05 13:40:24 2013 +0200 +++ b/admin.css Thu Dec 05 13:56:00 2013 +0200 @@ -160,6 +160,8 @@ border: 2px solid green; padding: 1em; border-radius: 1em; + min-height: 12em; + vertical-align: top; } div.ctrlButtons { @@ -168,7 +170,6 @@ } #ctrlEditRotationList { - min-height: 10em; width: 40em; } @@ -177,23 +178,31 @@ } #ctrlListRotationLists { - min-height: 10em; width: 20em; } #ctrlListDisplaySlides { - min-height: 10em; - width: 20em; + width: 25em; } #ctrlCompoControl { display: block; - min-height: 10em; +} + +div.ctrlDBox1, div.ctrlDBox2 { + vertical-align: top; + border-radius: 0.5em; + display: inline-block; } -div.ctrlDBox { - max-width: 50%; - display: inline-block; +div.ctrlDBox1 { + background: #060; +} + +div.ctrlDBox2 { + width: 20em; + border: 2pt solid #060; + padding: 0.5em; } div.ctrlBox .selectBox {