[312] | 1 | <?php |
---|
| 2 | //Insert login check, dbi creation, etc... |
---|
| 3 | /* |
---|
| 4 | * TODO getInfo JSON conversie ipv HTML echo. |
---|
| 5 | * >> Formatting of data |
---|
| 6 | * Formatting (delete icons, aligning, button size/style, Margins/Padding, etc... |
---|
| 7 | */ |
---|
| 8 | require "classes/master.php"; |
---|
| 9 | |
---|
| 10 | $dbDataSelectionWidget = new dbDataSelectionWidget(); |
---|
| 11 | ?> |
---|
| 12 | |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | <!DOCTYPE html> |
---|
| 16 | <html> |
---|
| 17 | <head> |
---|
| 18 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
---|
| 19 | <title></title> |
---|
| 20 | <?php new Stylesheet("visualEditors"); ?> |
---|
| 21 | |
---|
| 22 | <?php $dbDataSelectionWidget->Javascript(); ?> |
---|
| 23 | </head> |
---|
| 24 | <body> |
---|
| 25 | <div id="header"> |
---|
| 26 | <?php new Logo(); ?> |
---|
| 27 | </div> |
---|
| 28 | |
---|
| 29 | <div id="content"> |
---|
| 30 | <div id="wrapper"> |
---|
| 31 | |
---|
| 32 | <div id="leftColumn"> |
---|
| 33 | |
---|
| 34 | <div class="largeFrame C" id="dbDataSelector"> |
---|
| 35 | <div class="content"> |
---|
| 36 | |
---|
| 37 | <div style="float: left; clear: none;"> |
---|
| 38 | <div class="largeTitle">Instance data</div> |
---|
| 39 | <select id="dbSessionInstancesList" multiple class="dbDataList" size="15" onchange="infoPanelTimeout(event);"> |
---|
| 40 | <?php |
---|
| 41 | foreach ($dbDataSelectionWidget->sessions as $session) { |
---|
| 42 | // Fill list |
---|
| 43 | // First checkbox, then descriptor |
---|
| 44 | echo "<option value='$session->uid'>$session->title</option>"; |
---|
| 45 | } |
---|
| 46 | ?> |
---|
| 47 | </select> |
---|
| 48 | </div> |
---|
| 49 | |
---|
| 50 | <div style="float: left; clear:none;"> |
---|
| 51 | <div class="largeTitle">Game data</div> |
---|
| 52 | <select id="dbGamedataList" multiple class="dbDataList" size="15" onChange="infoPanelTimeout(event);"> |
---|
| 53 | <?php |
---|
| 54 | foreach ($dbDataSelectionWidget->gamedata as $gamedata) { |
---|
| 55 | // Fill list |
---|
| 56 | // First checkbox, then descriptor |
---|
| 57 | echo "<option value='$gamedata->uid'>$gamedata->title</option>"; |
---|
| 58 | } |
---|
| 59 | ?> |
---|
| 60 | </select> |
---|
| 61 | </div> |
---|
| 62 | </div> |
---|
| 63 | </div> |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | <div class="largeFrame Cu" id="dbInfoPanel"> |
---|
| 67 | <div class='largeTitle'>Info panel</div> |
---|
| 68 | <div class="content" id="dbInfoPanelContent" style="height: 100px;"> |
---|
| 69 | |
---|
| 70 | </div> |
---|
| 71 | |
---|
| 72 | <div class="controls"> |
---|
| 73 | <input type="button" class="smallButton" id="btnAddToCart" value="Add to list" onClick="addDataToList();" /> |
---|
| 74 | </div> |
---|
| 75 | </div> |
---|
| 76 | </div> |
---|
| 77 | |
---|
| 78 | <div id="rightColumn"> |
---|
| 79 | <div class="largeFrame Cv" id="dbShoppingCart"> |
---|
| 80 | <div class="largeTitle">Shopping cart</div> |
---|
| 81 | <div class="content" id="shoppingCartContent"> |
---|
| 82 | |
---|
| 83 | </div> |
---|
| 84 | <div class="controls"> |
---|
| 85 | <input type="button" class="smallButton" id="btnAddToCart" value="Configure Dashboard" onClick="configureDashboard();" /> |
---|
| 86 | </div> |
---|
| 87 | </div> |
---|
| 88 | </div> |
---|
| 89 | </div> |
---|
| 90 | </div> |
---|
| 91 | </body> |
---|
| 92 | </html> |
---|