-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathuserProfile.aspx
More file actions
71 lines (67 loc) · 2.92 KB
/
userProfile.aspx
File metadata and controls
71 lines (67 loc) · 2.92 KB
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
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="userProfile.aspx.cs" Inherits="userProfile" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat='server'>
<meta charset='utf-8'>
<title><%=CurUser["name"]%></title>
<link type='text/css' rel='stylesheet' href='style/main.css' />
<link type='text/css' rel='stylesheet' href='style/inputs.css' />
<link type='text/css' rel='stylesheet' href='style/userProfile.css' />
</head>
<body>
<form runat='server'>
<nav>
<div class='left'>
<img id="logo" src="images/O.png" alt="study" height="90" />
</div>
<div class='right vertical-center'>
<a id="carinha" href='<%=FileName.Profile%>'>
<img src="images/perfil.png" height='45'/>
</a>
<a id="forum" href='#naotemainda'>
<img src="images/forum.png" height='45'/>
</a>
<a id='config' href='<%=FileName.Config%>'>
<img src="images/config.png" height='45'/>
</a>
<asp:Button id='btnLogout' runat='server' text='logout' Onclick='logout' UseSubmitBehavior='false' />
</div>
<div class='content'>
<asp:TextBox id='txtSearchBox' runat='server' placeholder='pesquisar'></asp:TextBox>
<asp:Button style='display:none;' text='🔎' id='btnPesq' runat='server' onclick='btnPesq_Click' UseSubmitBehavior='true' />
</div>
</nav>
<div class='content'>
<div><!--'header' com img, nome, e etc do perfil {{{-->
<div id='main-profile-pic' class='profile_img_wrapper'>
<asp:Image id='imgProfilePicture' runat='server'/>
</div>
<div id='face_card'>
<div id='card'>
<h1><asp:Label id='lblName' runat='server'></asp:Label></h1>
<br />
<asp:label id='lblBio' runat='server'></asp:label>
<br />
<div id='profile-controls'>
<asp:button id='btnShowFriends' runat='server' text='Amigos dessa pessoa' UseSubmitBehavior='false' onclick='showFriends' />
<asp:button id='btnAddFriend' runat='server' onclick='friendRequest' UseSubmitBehavior='false' visible='false'/>
</div>
</div>
</div>
</div><!--}}}-->
<div id='posts_container'>
<div id='post_control' runat='server' visible='false'>
<asp:TextBox id='txtPost_content' runat='server' TextMode="MultiLine" rows='3' placeholder='O que vc quer dizer?'></asp:TextBox><br />
<asp:button id='btnPost' runat='server' text='postar' onclick='btnPost_Click'></asp:button>
</div>
<div id='posts_wrapper' runat='server'>
</div>
<asp:button id='btnShowMore' runat='server' style='display:none' onclick='ShowMore'></asp:button>
</div>
</div>
<asp:SqlDataSource ID="Sqlds1" runat="server" ConnectionString="<%$ ConnectionStrings:rinfConnectionString %>" ProviderName="<%$ ConnectionStrings:rinfConnectionString.ProviderName %>">
</asp:SqlDataSource>
<!--<script type='text/javascript' src='script/autoShowMore.js'></script> [>not working as expected<]-->
</form>
</body>
</html>