-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfrmUserProfile.aspx
286 lines (222 loc) · 11.5 KB
/
frmUserProfile.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frmUserProfile.aspx.cs" Inherits="IEF_Visualization.frmUserProfile" EnableEventValidation="false" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>User History</title>
<link href="css/jquery-ui.css" rel="stylesheet" />
<link href="css/bootstrap.css" rel="stylesheet" />
<link href="css/footer-distributed-with-address-and-phones.css" rel="stylesheet" />
<link href="css/body.css" rel="stylesheet" />
<!-- css -->
<!-- JavaScriptLibrary -->
<script src="scripts/lib/jquery-1.12.4.js"></script>
<script src="scripts/lib/jquery-ui.js"></script>
<style type="text/css">
.textbox {
background: white none repeat scroll 0 0;
border: 1px solid #ffa853;
border-radius: 2px;
color: #666;
font-size: 14px;
height: 23px;
outline: medium none;
width: 140px;
}
.gridview{
font-family:Tahoma;
color:#ffffff;
text-decoration:none;
font-size:12px;
text-align:center;
margin-left:1px; width:100%;
}
.col-md-8 {
text-align:left;
}
.col-md-12 {
padding-left:0px;
/*background-color:#229922;*/
}
.col-md-4 {
padding-left:0px;
/*background-color:#229922;*/
}
.col-md-10 {
text-align: right;
padding-bottom: 0px;
}
.col-md-2 {
float: left;
padding: 0;
background-color:none;
padding-bottom: 0px;
}
.col-md-2 p a, p a:hover {
color: darkgreen;
font-weight:bold;
font-size:22px;
text-decoration: none;
}
.col-md-2 p span {
color: lightgreen;
}
.table {
margin-bottom: 1px;
}
.ui-tabs .ui-tabs-panel {
border-width: 0;
display: block;
padding: .2em .2em;
}
.ui-tabs .ui-tabs-nav {
margin: 0;
}
.btn{
margin-right: 7px;
margin-top: 8px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div class="jumbotron">
<div class="container-fluid">
<div class="col-md-2">
<img src="resources/IEF_Logo.png" style="padding-left:10px;" width="150px" height="150px" />
</div>
<div class="col-md-8" style="padding-left:30px;">
<h2>Industrial Ecology Freiburg</h2>
<p style="font-size:16px;">Research group at the Faculty of Environment and Natural Resources</p>
</div>
<div class="col-md-2">
<img src="resources/uni_freiburg.png" width="120px" height="150px"/>
</div>
</div>
</div>
<nav class="navbar navbar-default navbar-custom navbar">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">Circular Sankey</a>
</div>
<ul class="nav navbar-nav navbar-right">
<li><a href="frmHome.aspx">Login</a></li>
<li><a href="frmCircularSankey.aspx">Sankey Diagram</a></li>
<li><a href="frmBuildMap.aspx">Map Maker</a></li>
<li><a href="frmBuildChart.aspx">Pie Chart</a></li>
<li class="active"><a href="frmUserProfile.aspx">Your History</a></li>
<li><a href="frmUserGuide.aspx">User Guide</a></li>
<li><a href="http://www.industrialecology.uni-freiburg.de" target="_blank">Home</a></li>
<li><asp:Button ID="btnLogOut" runat="server" class="btn btn-info" Text="Log Out" OnClick="btnLoggOut_Click" /></li>
</ul>
</div>
</nav>
<div class="container-fluid" >
<div class="row">
<div class= "col-md-12" >
<br />
<h3>Your History</h3>
<asp:GridView ID="grdSankeyHistory" runat="server" AutoGenerateColumns="False" CellPadding="2" ForeColor="Black" GridLines="None" BackColor="LightGoldenrodYellow"
BorderColor="Tan" BorderWidth="1px" CssClass="gridview" OnRowDeleting="grdSankeyHistory_RowDeleting" OnRowCommand="grdSankeyHistory_RowCommand" class="table table-responsive">
<AlternatingRowStyle BackColor="PaleGoldenrod" />
<Columns>
<asp:TemplateField HeaderText="Serial No">
<ItemTemplate>
<%# Container.DataItemIndex + 1 %>
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center" />
<ItemStyle Width="2%" />
</asp:TemplateField>
<asp:BoundField DataField="user_name" HeaderText="User Name">
<HeaderStyle HorizontalAlign="Center" />
<ItemStyle Width="10%" />
</asp:BoundField>
<asp:BoundField DataField="email" HeaderText="Email">
<HeaderStyle HorizontalAlign="Center" />
<ItemStyle Width="16%" />
</asp:BoundField>
<asp:BoundField DataField="PROJECT_NAME" HeaderText="Project Name">
<ItemStyle Width="15%" />
</asp:BoundField>
<asp:BoundField DataField="entry_time" HeaderText="Entry Time" >
<ItemStyle HorizontalAlign="Center" Width="10%" />
</asp:BoundField>
<asp:BoundField DataField="update_time" HeaderText="Update Time" >
<ItemStyle HorizontalAlign="Center" Width="10%" />
</asp:BoundField>
<asp:BoundField DataField="remarks" HeaderText="Description" >
<ItemStyle Width="20%" />
</asp:BoundField>
<asp:BoundField DataField="job_id" HeaderText="Job ID">
<ItemStyle Width="10%" />
</asp:BoundField>
<asp:TemplateField HeaderText="View">
<ItemTemplate>
<asp:LinkButton ID="gvbtnView" runat="server" CssClass="button" CausesValidation="false"
CommandName="view" Text="View"
CommandArgument='<%# Eval("job_id") %>' EnableTheming="False"> </asp:LinkButton>
</ItemTemplate>
<ItemStyle Width="10%" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Delete">
<ItemTemplate>
<asp:LinkButton ID="btnDelete" runat="server" CssClass="button" OnClientClick="return confirm('Do you want to delete the record? ');" CausesValidation="false"
CommandName="Delete" Text="Delete"
CommandArgument='<%# Eval("job_id") %>' EnableTheming="False"> </asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="Tan" />
<HeaderStyle BackColor="Tan" Font-Bold="True" />
<PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
<SortedAscendingCellStyle BackColor="#FAFAE7" />
<SortedAscendingHeaderStyle BackColor="#DAC09E" />
<SortedDescendingCellStyle BackColor="#E1DB9C" />
<SortedDescendingHeaderStyle BackColor="#C2A47B" />
</asp:GridView>
</div>
<div id="content" style="visibility:hidden">
<div id="content-inner">
<div id ="logindiv" style="float:right">
<strong style="color:green; font-size:14px;"> Hello,</strong> <asp:Label ID="lblUser" CssClass="user-name-label" runat="server" Text="" ></asp:Label>
<asp:Button ID="btnLoggOut" runat="server" CssClass="button-logout" Text="Log Out" OnClick="btnLoggOut_Click" />
</div>
<div class="clr"></div>
</div>
</div>
</div>
</div>
<footer class="footer-distributed">
<div class="footer-left">
<p class="footer-links">
<a href="http://www.blog.industrialecology.uni-freiburg.de">Blog</a>
.
<a href="http://www.blog.industrialecology.uni-freiburg.de">Research</a>
.
<a href="http://www.database.industrialecology.uni-freiburg.de">Database</a>
.
<a href="http://www.visualisation.industrialecology.uni-freiburg.de">Visualisation</a>
.
<a href="http://www.teaching.industrialecology.uni-freiburg.de">Teaching</a>
.
<a href="http://www.internal.industrialecology.uni-freiburg.de">Internal</a>
</p>
</div>
<div class="footer-center">
<div>
<h3>Industrial Ecology <span>Freiburg</span></h3>
<p> © 2017 Stefan Pauliuk & Mahadi Hasan<br>
Sustainable Energy and Material Flow Management (Industrial Ecology) <br>
Faculty of Environment and Natural Resources <br>
Tennenbacher Straße 4 <br>
D-79106 Freiburg <br>
Germany <br>
email: [email protected] <br>
</p>
</div>
</div>
</footer>
</form>
</body>
</html>