-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsenate_loyalty.html
147 lines (140 loc) · 5.95 KB
/
senate_loyalty.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="icon" type="image/png" href="./imgs/tab_logo.png">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<!-- Font Awesome CSS -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css"
integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous" />
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Fauna+One&display=swap" rel="stylesheet" />
<!-- Custom CSS -->
<link rel="stylesheet" href="./styles/tgif.css" />
<script src="./js/sorttable.js"></script>
<title>TGiF: Loyalty</title>
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top">
<div class="container">
<a class="navbar-brand" href="./index.html"><img id="logo" src="./imgs/TGIF_logo.png" alt="TGiF logo"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="./index.html"><i class="fas fa-home"></i> HOME </a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false"><i class="fas fa-landmark"></i> CONGRESS 113</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="./senate.html"> SENATE</a>
<a class="dropdown-item" href="./house.html"> HOUSE</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false"><i class="fas fa-tasks"></i> Attendance</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="./senate_att.html"> SENATE</a>
<a class="dropdown-item" href="./house_att.html"> HOUSE</a>
</div>
</li>
<li class="nav-item active dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false"><i class="far fa-star"></i> Loyalty</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="./senate_loyalty.html"> SENATE</a>
<a class="dropdown-item" href="./house_loyalty.html"> HOUSE</a>
</div>
</li>
</ul>
<ul class="navbar-nav">
<li class="nav-item" id="email">
<a class="nav-link" href="mailto:[email protected]"><i class="fas fa-envelope"></i>
</li>
</ul>
</div>
</div>
</nav>
</header>
<div class="container main-content py-3 mb-4">
<div class="row">
<div class="block-text py-2 col-12 col-md-6">
<h2>Party Loyalty</h2>
<p>Those who consider themselves to be strong partisans, strong Democrats and strong Republicans
respectively, tend to be the most faithful in voting for their party's nominee for office and
legislation that backs their party's agenda. </p>
</div>
<div class="block-text py-2 col-12 col-md-6">
<h4 class="text-right">Senate at a glance</h4>
<table class="atGlance table table-bordered table-hover table-dark">
<thead class="thead-light">
<tr>
<th>Party</th>
<th>Members</th>
<th>Party Votes (%)</th>
</tr>
</thead>
<tbody id="dataAtGlance">
</tbody>
</table>
<div class="loader"><img src="./imgs/rippleLoader.svg" alt="" srcset=""></div>
</div>
</div>
<div class="row">
<div class="block-text py-2 col-12 col-md-6">
<h4>Least Loyal (Bottom 10% of Party)</h4>
<table class="sortable fixedColumns table table-bordered table-hover table-dark">
<thead class="thead-light">
<tr>
<th>Party</th>
<th class="sorttable_numeric">Party Votes</th>
<th class="sorttable_numeric">Party Votes (%)</th>
</tr>
</thead>
<tbody id="least">
</tbody>
</table>
<div class="loader"><img src="./imgs/rippleLoader.svg" alt="" srcset=""></div>
</div>
<div class="block-text py-2 col-12 col-md-6">
<h4>Most Loyal (Top 10% of Party)</h4>
<table class="sortable fixedColumns table table-bordered table-hover table-dark">
<thead class="thead-light">
<tr>
<th>Name</th>
<th class="sorttable_numeric">Party Votes</th>
<th class="sorttable_numeric">Party Votes (%)</th>
</tr>
</thead>
<tbody id="most">
</tbody>
</table>
<div class="loader"><img src="./imgs/rippleLoader.svg" alt="" srcset=""></div>
</div>
</div>
</div>
<button id="buttonTop" class="button btn btn-warning" title="Go to top">Top <i
class="fas fa-angle-double-up"></i></button>
<footer>
<p>® All rights reserved to Transparent Government in Fact</p>
</footer>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<script src="./js/animations.js"></script>
<script src="./js/moreStats.js"></script>
</body>
</html>