Skip to content
Snippets Groups Projects
Commit cfe22ac0 authored by Joseph Kantel's avatar Joseph Kantel
Browse files

Preparing for live build

parent a30dfdb2
No related branches found
No related tags found
No related merge requests found
...@@ -8,4 +8,4 @@ pages: ...@@ -8,4 +8,4 @@ pages:
paths: paths:
- public - public
only: only:
-master - master
\ No newline at end of file \ No newline at end of file
...@@ -611,6 +611,17 @@ body.modal-open { ...@@ -611,6 +611,17 @@ body.modal-open {
border-top-right-radius: 0px; border-top-right-radius: 0px;
} }
.warning-text {
text-align: center;
font-size: 130%;
color: #F0F0F0;
text-shadow:
-1px -1px 0 #000,
1px -1px 0 #000,
-1px 1px 0 #000,
1px 1px 0 #000;
}
#title-version-button { #title-version-button {
position: absolute; position: absolute;
width: 12.5%; width: 12.5%;
......
...@@ -10,6 +10,63 @@ ...@@ -10,6 +10,63 @@
</head> </head>
<body onload="initialSetup()"> <body onload="initialSetup()">
<!-- Warning Screen -->
<div id="warning-screen" class="screen-container" hidden>
<div class="screen">
<!-- Banner Flair -->
<button id="title-settings-button" class="bordered smooth-button smooth-button-red" onclick="showGameSettingsModal()">
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
</button>
<button id="title-version-button" class="bordered smooth-button smooth-button-red banner-flair" onclick="showVersionModal()">
v11.20.0
</button>
<button id="title-credits-button" class="bordered smooth-button smooth-button-red banner-flair" onclick="showCreditModal()">
Credits
</button>
<a class="bordered reddit-button smooth-button smooth-button-red" href="https://www.reddit.com/r/spnati/">
<img class="reddit-logo" src="img/reddit.png"/>
</a>
<!-- Banner -->
<div class="title-banner-container">
<div class="bordered title-banner-area">
<img class="bordered title-banner" src="img/title.png">
</div>
</div>
<!-- Content -->
<div class="main-title-container">
<div class="warning-text">
<p>This game contains material that is only suitable for adults. <b style="color:#DD3333">If you are under the age of 18, please leave now.</b></p>
<br>
<p><b style="color:#DD3333">Strip Poker Night at the Inventory</b> is a free, open source, and community run project. All characters represented within are the property of their original owners.</p>
<br><br><br><br><br><br><br>
<p>By clicking the button below, you are confirming that you are an adult and such material is legal in your region.</p>
</div>
<!-- Start Button -->
<div id='title-start-edge' class='bordered'>
<button id='title-start-button' class='bordered smooth-button smooth-button-red' onclick="enterTitleScreen()">
<img class='title-entrance-image' src='img/enter.png'/>
</button>
</div>
</div>
</div>
</div>
<!-- Title Screen --> <!-- Title Screen -->
<div id="title-screen" class="screen-container" hidden> <div id="title-screen" class="screen-container" hidden>
......
...@@ -51,6 +51,7 @@ var table = new Table(); ...@@ -51,6 +51,7 @@ var table = new Table();
**********************************************************************/ **********************************************************************/
/* Screens */ /* Screens */
$warningScreen = $('#warning-screen');
$titleScreen = $('#title-screen'); $titleScreen = $('#title-screen');
$selectScreen = $('#main-select-screen'); $selectScreen = $('#main-select-screen');
$individualSelectScreen = $('#individual-select-screen'); $individualSelectScreen = $('#individual-select-screen');
...@@ -136,10 +137,16 @@ function initialSetup () { ...@@ -136,10 +137,16 @@ function initialSetup () {
loadSelectScreen(); loadSelectScreen();
/* show the title screen */ /* show the title screen */
$titleScreen.show(); $warningScreen.show();
autoResizeFont(); autoResizeFont();
} }
function enterTitleScreen() {
$warningScreen.hide();
$titleScreen.show();
}
/************************************************************ /************************************************************
* Transitions between two screens. * Transitions between two screens.
************************************************************/ ************************************************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment