-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmyProfile.aspx
69 lines (67 loc) · 3.74 KB
/
myProfile.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
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="myProfile.aspx.cs" Inherits="RecipeSharing.myProfile" %>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<style>
body {color:white; background-attachment:fixed;text-align:center;background-image:url('./Images/back.jpg');}
.navbar {margin-bottom: 0;border-radius: 0; }
footer {background-color: #f2f2f2; color:black;padding: 15px; }
</style>
</head>
<body >
<nav class="navbar navbar-inverse">
<div class="container-fluid"><div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button><a class="navbar-brand" href="#">DamnDelicious</a></div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li ><a href="home.aspx">Home</a></li>
<li><a href="createRecipe.aspx">Create Recipe</a></li>
<li><a href="myCreations.aspx">My Creations</a></li>
<li><a href="following.aspx">Following</a></li>
<li><a href="bookmarks.aspx">Bookmarks</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="myProfile.aspx">Profile</a></li>
<li><a href="logout.aspx"><span class="glyphicon glyphicon-log-in"></span> Logout</a></li>
</ul>
</div></div>
</nav><br>
<div class="container text-center" style="width:1080px;padding:10px;">
<h1 style="padding:20px;border:2px solid white;"><b>My Profile</b></h1>
<form id="form1" runat="server"><div class="row" style="margin:25px 20px; ">
<div class="col-sm-4">
<asp:Image id="profilePhoto" runat="server" width="230px" height="230px"/><br><br>
</div>
<div class="col-sm-8 " style="text-align:left;padding:10px 40px;">
<h4><b><u>Username</u></b></h4> <asp:Label ID="username" runat="server" Text=""></asp:Label><br><br />
<h4><b><u>Email</u></b></h4><asp:Label ID="Email" runat="server" Text=""></asp:Label>
<br><br><hr>
<asp:Label ID="creations" runat="server" Text="Creations 0"></asp:Label> 
                       
         
<asp:Label ID="followers" runat="server" Text="Followers 0"></asp:Label> 
                       
         
<asp:Label ID="following" runat="server" Text="Following 0"></asp:Label>
</div></div><hr>
</form>
</div>
<div>
<h3><b>******************<u>Advertisement</u>******************</b></h3><hr>
<asp:AdRotator Id="Ad1" runat = "server" AdvertisementFile = "ads.xml" Target = "_blank" Width="640" Height="240" BorderColor="white" borderwidth="10" BorderStyle="Outset"/>
</div><br><br />
<footer class=" text-center" style="bottom:0px;">
<p>Copyright</p>
</footer>
</body>
</html>