ticket screen and header update
This commit is contained in:
@ -24,7 +24,7 @@
|
||||
<signinButton><a href="login">Sign In</a></signinButton>
|
||||
{% endif %}
|
||||
<faqButton><a href="FAQ.html">How it Works</a></faqButton>
|
||||
<tixButton><a href="tickets">Your Tickets</a></tixButton>
|
||||
<tixButton><a href="tickets">My Tickets</a></tixButton>
|
||||
|
||||
<!-- *************** BODY ******************** **** -->
|
||||
|
||||
|
@ -16,9 +16,14 @@
|
||||
<body>
|
||||
<!-- ******************** HEADER ************ -->
|
||||
<logo><a href="/">SeatStock</a></logo>
|
||||
{% if session %}
|
||||
<signinButton><a href="logout"><img height="24" width="24" src="{{ session.userinfo.picture }}"/> Sign Out</a></signinButton>
|
||||
{% else %}
|
||||
<signinButton><a href="login">Sign In</a></signinButton>
|
||||
<faqButton><a href="FAQ.html">How it Works</a></faqButton>
|
||||
<tixButton><a href="tickets">Your Tickets</a></tixButton>
|
||||
{% endif %}
|
||||
<faqButton><a href="FAQ">How it Works</a></faqButton>
|
||||
<tixButton><a href="tickets">My Tickets</a></tixButton>
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
<signinButton><a href="login">Sign In</a></signinButton>
|
||||
{% endif %}
|
||||
<faqButton><a href="FAQ">How it Works</a></faqButton>
|
||||
<tixButton><a href="tickets">Your Tickets</a></tixButton>
|
||||
<tixButton><a href="tickets">My Tickets</a></tixButton>
|
||||
|
||||
|
||||
|
||||
|
@ -15,14 +15,14 @@
|
||||
|
||||
<body>
|
||||
<!-- ******************** HEADER ************ -->
|
||||
<logo><a href="/">SeatStock</a></logo>
|
||||
<signinButton><a href="login">Sign In</a></signinButton>
|
||||
<faqButton><a href="static/FAQ.html">How it Works</a></faqButton>
|
||||
<tixButton><a href="tickets">Your Tickets</a></tixButton>
|
||||
|
||||
|
||||
|
||||
|
||||
<logo><a href="/">SeatStock</a></logo>
|
||||
{% if session %}
|
||||
<signinButton><a href="logout"><img height="24" width="24" src="{{ session.userinfo.picture }}"/> Sign Out</a></signinButton>
|
||||
{% else %}
|
||||
<signinButton><a href="login">Sign In</a></signinButton>
|
||||
{% endif %}
|
||||
<faqButton><a href="FAQ">How it Works</a></faqButton>
|
||||
<tixButton><a href="tickets">My Tickets</a></tixButton>
|
||||
<!-- *********************** BODY *********** -->
|
||||
|
||||
|
||||
|
@ -13,11 +13,16 @@
|
||||
|
||||
<body>
|
||||
<!--************************ HEADER *********************-->
|
||||
<logo><a href="/">SeatStock</a></logo>
|
||||
<signinButton><a href="login">Sign In</a></signinButton>
|
||||
<faqButton><a href="static/FAQ.html">How it Works</a></faqButton>
|
||||
<tixButton><a href="tickets">Your Tickets</a></tixButton>
|
||||
|
||||
<logo><a href="/">SeatStock</a></logo>
|
||||
{% if session %}
|
||||
<signinButton><a href="logout"><img height="24" width="24" src="{{ session.userinfo.picture }}"/> Sign Out</a></signinButton>
|
||||
{% else %}
|
||||
<signinButton><a href="login">Sign In</a></signinButton>
|
||||
{% endif %}
|
||||
<faqButton><a href="FAQ">How it Works</a></faqButton>
|
||||
<tixButton><a href="tickets">My Tickets</a></tixButton>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -25,10 +30,10 @@
|
||||
<!--************************** BODY ***********************-->
|
||||
|
||||
<div class="tab">
|
||||
<button class="tablinks" onclick="openCity(event, 'Tickets')">Tickets</button>
|
||||
<button class="tablinks" onclick="openCity(event, 'Active-Bids')">Active Bids</button>
|
||||
<button class="tablinks" onclick="openCity(event, 'Active-Asks')">Active Asks</button>
|
||||
<button class="tablinks" onclick="openCity(event, 'History')">History</button>
|
||||
<button class="tablinks" onclick="openTab(event, 'Tickets')">Tickets</button>
|
||||
<button class="tablinks" onclick="openTab(event, 'Active-Bids')">Active Bids</button>
|
||||
<button class="tablinks" onclick="openTab(event, 'Active-Asks')">Active Asks</button>
|
||||
<button class="tablinks" onclick="openTab(event, 'History')">History</button>
|
||||
</div>
|
||||
|
||||
<div id="Tickets" class="tabcontent">
|
||||
@ -56,7 +61,7 @@
|
||||
|
||||
<!--************************ SCRIPT ****************-->
|
||||
<script>
|
||||
function openCity(evt, cityName) {
|
||||
function openTab(evt, tabName) {
|
||||
var i, tabcontent, tablinks;
|
||||
tabcontent = document.getElementsByClassName("tabcontent");
|
||||
for (i = 0; i < tabcontent.length; i++) {
|
||||
@ -66,7 +71,7 @@
|
||||
for (i = 0; i < tablinks.length; i++) {
|
||||
tablinks[i].className = tablinks[i].className.replace(" active", "");
|
||||
}
|
||||
document.getElementById(cityName).style.display = "block";
|
||||
document.getElementById(tabName).style.display = "block";
|
||||
evt.currentTarget.className += " active";
|
||||
}
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user