-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCriminalList.aspx
198 lines (175 loc) · 7.35 KB
/
CriminalList.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
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CriminalList.aspx.cs" Inherits="SmartSystems_NS.CriminalList" %>
<%@ Register src="Topmenu.ascx" tagname="Topmenu" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<style>
.CSSTableGenerator {
margin:0px;padding:0px;
width:60%;
box-shadow: 10px 10px 5px #888888;
border:1px solid #3f7f00;
-moz-border-radius-bottomleft:0px;
-webkit-border-bottom-left-radius:0px;
border-bottom-left-radius:0px;
-moz-border-radius-bottomright:0px;
-webkit-border-bottom-right-radius:0px;
border-bottom-right-radius:0px;
-moz-border-radius-topright:0px;
-webkit-border-top-right-radius:0px;
border-top-right-radius:0px;
-moz-border-radius-topleft:0px;
-webkit-border-top-left-radius:0px;
border-top-left-radius:0px;
}.CSSTableGenerator table{
border-collapse: collapse;
border-spacing: 0;
width:100%;
height:100%;
margin:0px;padding:0px;
}.CSSTableGenerator tr:last-child td:last-child {
-moz-border-radius-bottomright:0px;
-webkit-border-bottom-right-radius:0px;
border-bottom-right-radius:0px;
}
.CSSTableGenerator table tr:first-child td:first-child {
-moz-border-radius-topleft:0px;
-webkit-border-top-left-radius:0px;
border-top-left-radius:0px;
}
.CSSTableGenerator table tr:first-child td:last-child {
-moz-border-radius-topright:0px;
-webkit-border-top-right-radius:0px;
border-top-right-radius:0px;
}.CSSTableGenerator tr:last-child td:first-child{
-moz-border-radius-bottomleft:0px;
-webkit-border-bottom-left-radius:0px;
border-bottom-left-radius:0px;
}.CSSTableGenerator tr:hover td{
}
.CSSTableGenerator tr:nth-child(odd){ background-color:#d4ffaa; }
.CSSTableGenerator tr:nth-child(even) { background-color:#ffffff; }.CSSTableGenerator td{
vertical-align:middle;
border:1px solid #3f7f00;
border-width:0px 1px 1px 0px;
text-align:left;
padding:7px;
font-size:12px;
font-family:Verdana;
font-weight:normal;
color:#000000;
}.CSSTableGenerator tr:last-child td{
border-width:0px 1px 0px 0px;
}.CSSTableGenerator tr td:last-child{
border-width:0px 0px 1px 0px;
}.CSSTableGenerator tr:last-child td:last-child{
border-width:0px 0px 0px 0px;
}
.CSSTableGenerator tr:first-child td{
background:-o-linear-gradient(bottom, #5fbf00 5%, #3f7f00 100%); background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #5fbf00), color-stop(1, #3f7f00) );
background:-moz-linear-gradient( center top, #5fbf00 5%, #3f7f00 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#5fbf00", endColorstr="#3f7f00"); background: -o-linear-gradient(top,#5fbf00,3f7f00);
background-color:#5fbf00;
border:0px solid #3f7f00;
text-align:center;
border-width:0px 0px 1px 1px;
font-size:14px;
font-family:verdana;
font-weight:bold;
color:#ffffff;
}
.CSSTableGenerator tr:first-child:hover td{
background:-o-linear-gradient(bottom, #5fbf00 5%, #3f7f00 100%); background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #5fbf00), color-stop(1, #3f7f00) );
background:-moz-linear-gradient( center top, #5fbf00 5%, #3f7f00 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#5fbf00", endColorstr="#3f7f00"); background: -o-linear-gradient(top,#5fbf00,3f7f00);
background-color:#5fbf00;
}
.CSSTableGenerator tr:first-child td:first-child{
border-width:0px 0px 1px 0px;
}
.CSSTableGenerator tr:first-child td:last-child{
border-width:0px 0px 1px 1px;
}
.style1
{
text-align: left;
font-size: medium;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div id="centered">
<uc1:Topmenu ID="Topmenu1" runat="server" />
<br /><br /><br /><br /><br />
<br />
<table align="center">
<tr><td align="center" > <asp:Label ID="Label1" runat="server"
Font-Names="Verdana" Font-Size="X-Large"
Text="Criminal List"></asp:Label></td></tr>
<tr><td class="style1" > </td></tr>
<tr><td align="center" >
<asp:Chart ID="Chart1" runat="server" Width="389px" BorderlineWidth="0">
<BorderSkin BorderWidth="0" />
<Titles>
<asp:Title Name="Crime Count Year wise"
Text="Crime Count Year wise">
</asp:Title>
</Titles>
<Legends>
<asp:Legend Alignment="Center" Docking="Bottom" Name="chart" />
</Legends>
<Series>
<asp:Series Name="Series1" ChartType="Pie" IsValueShownAsLabel ="true" />
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1" />
</ChartAreas>
</asp:Chart>
</td>
<td align="center" >
<asp:GridView ID="GridView2" runat="server" Width="354px" BackColor="White"
BorderColor="#336666" BorderStyle="Double" BorderWidth="3px" CellPadding="4"
GridLines="Horizontal" Caption="Summary" Font-Names="Verdana"
Font-Size="Smaller">
<RowStyle BackColor="White" ForeColor="#333333" HorizontalAlign="Center" />
<FooterStyle BackColor="White" ForeColor="#333333" />
<PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White"
HorizontalAlign="Center" />
</asp:GridView></td>
</tr>
<tr>
<td colspan="2">
<asp:GridView ID="GridView1" runat="server"
Height="187px" Width="813px"
Font-Names="Verdana" Font-Size="Small" AllowSorting="True"
ForeColor="#333333" AutoGenerateColumns="False" OnSorting="GridView1_Sorting">
<Columns>
<asp:BoundField DataField="Criminal Name" HeaderText="Criminal Name"
SortExpression="Criminal Name" />
<asp:BoundField DataField="Age" HeaderText="Age" SortExpression="Age" />
<asp:BoundField DataField="Gender" HeaderText="Gender"
SortExpression="Gender" />
<asp:BoundField DataField="Region" HeaderText="Region"
SortExpression="Region" />
<asp:BoundField DataField="Education" HeaderText="Education"
SortExpression="Education" />
<asp:BoundField DataField="Crime Intensity" HeaderText="Crime Intensity"
SortExpression="Crime Intensity" />
<asp:BoundField DataField="Crime Details" HeaderText="Crime Details" />
<asp:BoundField DataField="Crime Type" HeaderText="Crime Type"
SortExpression="Crime Type" />
</Columns>
<HeaderStyle Font-Names="Verdana" Font-Size="Small" BackColor="#006600"
ForeColor="#FFFFCC" />
<AlternatingRowStyle BackColor="#D5FFD5" />
</asp:GridView>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>