diff --git a/index.html b/index.html
index a665809..5431b3c 100644
--- a/index.html
+++ b/index.html
@@ -22,7 +22,7 @@
-
+
log
diff --git a/static/css/style.css b/static/css/style.css
index 4c901e7..a4fb34e 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -43,9 +43,10 @@ main {
border: 1px solid;
}
.fullscreen {
- height: 100vh;
- overflow: none;
- margin: 0;
- padding: 0;
+ height: 100vh !important;
+ overflow: none !important;
+ margin: 0 !important;
+ padding: 0 !important;
width 100%;
+ border: none !important;
}
diff --git a/static/js/index.js b/static/js/index.js
index c6eb717..616d7a4 100644
--- a/static/js/index.js
+++ b/static/js/index.js
@@ -18,7 +18,7 @@ function hideAllWorkflowDivs() {
document.getElementById('streamSettings').style.display = 'inline-block';
document.getElementById('hostSettings').style.display = 'inline-block';
document.getElementById('gameSelection').style.display = 'none';
- common.hideModule(); // do NOT hide the nacl module. you can't interact with it then
+ // common.hideModule(); // do NOT hide the nacl module. you can't interact with it then
}
// pair button was pushed. pass what the user entered into the GFEHostIPField.
@@ -45,7 +45,7 @@ function showAppsMode() {
document.getElementById('streamSettings').style.display = 'none';
document.getElementById('hostSettings').style.display = 'none'
document.getElementById('gameSelection').style.display = 'inline-block'
- common.hideModule(); // do NOT hide the nacl module. you can't interact with it then
+ // common.hideModule(); // do NOT hide the nacl module. you can't interact with it then
}
// user wants to start a stream. We need the host, game ID, and video settings(?)
@@ -58,15 +58,18 @@ function startPushed() {
}
var gameIDDropdown = document.getElementById("selectGame");
var gameID = gameIDDropdown[gameIDDropdown.selectedIndex].value;
- console.log(common.naclModule);
common.naclModule.postMessage('setGFEHostIPField:' + target + ":" + gameID);
// we just finished the gameSelection section. only expose the NaCl section
playGameMode();
}
function playGameMode() {
- $("body").children().not("#listener").hide();
- $("body").addClass("fullscreen")
+ $(".mdl-layout__header").hide();
+ $("#main-content").children().not("#listener").hide();
+ $("#main-content").addClass("fullscreen");
+ $("#listener").addClass("fullscreen");
+ console.log("abdallah is fucking awesome");
+
}
// user pushed the stop button. we should stop.