Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

created and modified a new folder for aws amplify hosting #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions AWS Experiment/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset = "utf-8">
<meta http-equiv = "X-UA-Compatible" content = "IE=edge">
<meta name="viewport" content="width=device-width">

<script src="./static/js/lib/jquery-2.2.4.min.js"></script>
<script src="./static/js/lib/jquery-ui.min.js"></script>
<script src="./static/js/lib/bootstrap-12/bootstrap.min.js"></script>
<script src="./static/js/lib/underscore-min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

<script src="./static/js/4inarow_base.js"></script>
<script src="./static/js/4inarow_standalone.js"></script>
<script src="./static/scripts/Code/makemove.js"></script>

<link href = "./static/css/lib/bootstrap-12/bootstrap.min.css" rel = "stylesheet">
<link href = './static/css/stylesheet.css' rel='stylesheet'>

</head>
<body>
<div class="overlayed"></div>
<div class="popup" id="instructions">
<h4 style="font-size:4vh;">Instructions</h4>
<img src="" style="width:70vw;border:none"></img>
<button id="previousbutton" type="button" class="mybutton" style="bottom:8%;left:43%;width:10%">Previous</button>
<button id="nextbutton" type="button" class="mybutton" style="bottom:8%;left:57%;width:10%">Next</button>
</div>


<div class='container-fluid text-center'>
<div class="clickprompt">Please click where you want to play a piece.</div>
<div class="row">
<div class="col-xs-8 col-xs-offset-2 canvas-container">
<div class="canvas"></div>
</div>
</div>
<div class='row'>
<div class="col-xs-8 col-xs-offset-2">
<div class="gamecount">Game</div>
</div>
</div>
<div class='row'>
<div class="headertext col-xs-8 col-xs-offset-2">
<h1>Your turn</h1>
</div>
</div>
<div class='row'>
<div class="col-xs-8 col-xs-offset-2">
<button type="button" class="mybutton" id="nextgamebutton" style="display:none">Next game</button>
</div>
</div>
</div>
</body>
</html>

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions AWS Experiment/static/css/lib/bootstrap-12/bootstrap.min.css

Large diffs are not rendered by default.

158 changes: 158 additions & 0 deletions AWS Experiment/static/css/stylesheet.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
/* ~ GLOBAL ~ */

body{
font-family:helvetica;
text-align: center;
}



html {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}


.popup .alert {
border-top-left-radius: 20px;
border-top-right-radius: 20px;
}

#handle_error textarea{
font-size:2vh;
width:90%;
height:20%;
margin-left:2%;
margin-right:8%;
}

.container-fluid{
text-align:center;
}

.headertext {
color: black;
}

.gamecount {
float: left;
font-size: 20px;
}

.clickprompt {
display: none;
position: absolute;
top: 20px;
font-size: 30px;
text-align: center;
width: 100%;
}

.overlayed{
opacity:0.4;
background:black;
width:100%;
height:100%;
z-index:10;
position:fixed;
}

.popup{
display:none;
position:absolute;
width:90%;
height:90%;
top:5%;
right:5%;
background-color:white;
border-radius:20px;
border:2px solid #666666;
z-index:20;
}

.popup p {
text-align:left;
margin-left:2%;
margin-right:2%;
margin-top:1.5%;
margin-bottom:1.5%;
font-size:3vh;
}

.canvas-container{ padding:0%; }

.canvas {
display:inline-block;
line-height:0px;
border-radius:1%;
background-color: #000000;
padding: .13vw;
z-index:4;
overflow: hidden;
white-space: nowrap;
margin-top: 10vh;
}

.usedTile, .tile {
display:inline-block;
height:7.1vw; /* 8.95 for 30-column, 10.20 for 24-col, 7.1 for 24-col*/
width:7.1vw; /* 7.1 for 26 (?) col */
background-color: #999999;
margin:.14vw;
z-index:5;
overflow: hidden;
white-space: nowrap;
}

.tile { cursor:pointer; }

.blackPiece, .whitePiece {
vertical-align:middle;
position: relative;
margin: 12.5% auto 0% auto;
border-radius:100%;
height:75%;
width:75%;
z-index:7;
}

.blackPiece { background-color:black; }

.whitePiece { background-color: white; }

.blackShadow, .whiteShadow {
vertical-align:middle;
position: relative;
margin-right:auto;
margin-left:auto;
margin-top:-75%;
border-radius:100%;
height:75%;
width:75%;
z-index:6;
}

.blackShadow { box-shadow: 0px 0px 3vw .7vw white; }

.whiteShadow { box-shadow: 0px 0px 3vw .7vw #333333; }

._blank_ { min-height:1.6vh;}

.mybutton {
position:absolute;
cursor:pointer;
color:#ffffff;
transform: translate(-50%, 50%);
border-radius:4px;
border: 2px solid #666666;
background-color:#999999;
font-size:2.25vh;
padding: 10px 10px;
text-decoration:none;
background-repeat:no-repeat;
}
.mybutton:hover {
background-color:#aaaaaa;
}

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AWS Experiment/static/images/black-won.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AWS Experiment/static/images/blackDiagonal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AWS Experiment/static/images/draw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AWS Experiment/static/images/whiteDiagonal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AWS Experiment/static/images/whiteNoWin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AWS Experiment/static/images/whiteVertical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading