Skip to content

Commit

Permalink
Refactored the folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
cooligc committed Aug 23, 2015
1 parent 281bfd4 commit 0a5457b
Show file tree
Hide file tree
Showing 16 changed files with 9,368 additions and 12 deletions.
29 changes: 17 additions & 12 deletions jquery-ui/booking.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@
<html>
<head>
<title>JSC Demo</title>

<link href='http://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="./jquery.seat-charts.css">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="css/lib/jquery.seat-charts.css">
<link rel="stylesheet" type="text/css" href="css/lib/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/lib/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/lib/bootstrap-theme.css">
<link rel="stylesheet" type="text/css" href="css/lib/bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href="css/booking.css">
</head>

<body>
<div class="wrapper">
<div class="container">
<div id="seat-map">
<div id="seat-map" class="seat-panel">
<div class="front-indicator">Front</div>

</div>
Expand All @@ -32,13 +34,16 @@ <h3> Selected Seats (<span id="counter">0</span>):</h3>
</div>
</div>

<script src="./jquery-1.11.0.min.js"></script>
<script src="./jquery.seat-charts.js"></script>
<script src="js/lib/jquery-1.11.0.min.js"></script>
<script src="js/lib/jquery.seat-charts.js"></script>
<script src="js/lib/bootstrap.js"></script>
<script src="js/lib/bootstrap.min.js"></script>
<script src="js/lib/angular.min.js"></script>
<script src="js/booking.js"></script>

<script>
var firstSeatLabel = 1;

$(document).ready(function() {
$(document).ready(function() {
var $cart = $('#selected-seats'),
$counter = $('#counter'),
$total = $('#total'),
Expand Down Expand Up @@ -126,8 +131,8 @@ <h3> Selected Seats (<span id="counter">0</span>):</h3>
});

//let's pretend some seats have already been booked
sc.get(['1_2', '4_1', '7_1', '7_2']).status('unavailable');
sc.get(['1_2', '4_1', '7_1', '8_2']).status('unavailable');

});

function recalculateTotal(sc) {
Expand All @@ -140,7 +145,7 @@ <h3> Selected Seats (<span id="counter">0</span>):</h3>

return total;
}

</script>
</body>
</html>
23 changes: 23 additions & 0 deletions jquery-ui/css/booking.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.seat-panel{
margin: auto;
float: left;
padding-left: 27%;
}
div .seatCharts-seat{
width: 32px;
height: 30px;
}
.seatCharts-row div:first-child{
display: none;
}
.seatCharts-row div:nth-child(even){
width: 30px;
}
div.seatCharts-seat.selected{
background: black;
}
.booking-details{
margin: auto;
float: right;
padding-right: 29%;
}
Loading

0 comments on commit 0a5457b

Please sign in to comment.