-
Notifications
You must be signed in to change notification settings - Fork 0
/
Shop.aspx
99 lines (66 loc) · 3.51 KB
/
Shop.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Shop.aspx.cs" Inherits="Shop" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title>Shop</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"/>
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css"/>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<link rel="shortcut icon" href="../favicon.ico"/>
<link rel="stylesheet" type="text/css" href="css1/style.css" />
<link href='http://fonts.googleapis.com/css?family=Dosis:200,400,700' rel='stylesheet' type='text/css'/>
<script type="text/javascript" src="js/modernizr.custom.79639.js"></script>
<noscript><link rel="stylesheet" type="text/css" href="css1/noscript.css" /></noscript>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager runat="server" />
<section id="ps-container" class="ps-container">
<div class="ps-header">
<div class="garageBtn"><a href="garage.aspx"><img src="img/shop.png" /> <h2>Garage</h2></a></div>
<h1 style="font-size:32px;"><img src="img/logo.png" width="140" style="padding:20px;" />SHOP</h1>
</div><!-- /ps-header -->
<div class="ps-contentwrapper">
<asp:Repeater runat="server" ID="d">
<ItemTemplate>
<div class="ps-content">
<h2>Vehicle : <%#Eval("carname") %></h2>
<span class="ps-price"> ₹ <%#Eval("cost") %></span>
<p>Revenue generated : <strong> ₹ <%#Eval("base_revenue") %>/half hour </strong></p>
<asp:LinkButton CommandArgument='<%#Eval("carId") %>' OnClick="buy_Click" runat="server" ID="buy">Buy this car</asp:LinkButton>
</div>
</ItemTemplate>
</asp:Repeater>
<asp:Label Text="" ID="lbl_msg" Visible="false" runat="server" />
</div><!-- /ps-contentwrapper -->
<div class="ps-slidewrapper">
<div class="ps-slides">
<asp:Repeater runat="server" ID="a">
<ItemTemplate>
<div style="background-image: url(<%# Eval("car_icon") %>); background-size:contain;"></div>
</ItemTemplate>
</asp:Repeater>
</div>
<nav>
<a href="#" class="ps-prev" ></a>
<a href="#" class="ps-next" ></a>
</nav>
</div><!-- /ps-slidewrapper -->
</section><!-- /ps-container -->
<!-- jQuery if needed -->
<script src="js/jquery-1.10.2.js"></script>
<script src="Scripts/jquery-2.1.3.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<%-- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>--%>
<script type="text/javascript" src="js/slider.js"></script>
<script type="text/javascript">
$(function () {
Slider.init();
});
</script>
</form>
</body>
</html>