-
Notifications
You must be signed in to change notification settings - Fork 0
/
house.html
147 lines (136 loc) · 7.48 KB
/
house.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>
<title>House of Congress - TGIF</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.0/css/bootstrap.min.css">
<link rel="stylesheet" href="styles/style.css">
<link rel="stylesheet" href="scripts/colorbox-master/example1/colorbox.css">
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.18/css/dataTables.bootstrap.min.css">
</head>
<body id="house">
<div class="container">
<div class="row">
<div class="col-xs-6 vcenter">
<a href="index.html"><img alt="TGIF Logo" src="resources/user-alt-128.png" width="40"></a><span class="h2 vcenter">TGIF</span>
</div><!--
--><div class="col-xs-6 vcenter text-right">
<a href="mailto:info@tgif.net"><span class="h5">info@tgif.net</span></a>
</div>
</div>
<nav class="well well-sm">
<ul class="nav nav-pills">
<li><a href="index.html">Home</a></li>
<li role="presentation" class="dropdown active">
<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true"
aria-expanded="false">
Congress 113 <span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="senate.html">Senate</a></li>
<li class="active"><a href="#">House</a></li>
</ul>
</li>
<li role="presentation" class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true"
aria-expanded="false">
Attendance <span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="senate_attendance.html">Senate</a></li>
<li><a href="house_attendance.html">House</a></li>
</ul>
</li>
<li role="presentation" class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true"
aria-expanded="false">
Party Loyalty <span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="senate_loyalty.html">Senate</a></li>
<li><a href="house_loyalty.html">House</a></li>
</ul>
</li>
<li role="presentation" class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true"
aria-expanded="false">
State Legislatures <span class="caret"></span>
</a>
<ul id="legislature" class="dropdown-menu scrollable-menu">
<li v-for="state in sortedStates"><a v-bind:href="`legislators.html?state=${state.abbreviation}`">{{state.name}}</a></li>
</ul>
</li>
</ul>
</nav>
<div class=row>
<div class="col-xs-8">
<h2>Congressmen</h2>
<p>The major power of the House is to pass federal legislation that affects the entire country,
although its bills must also be passed by the Senate and further agreed to by the U.S. President
before becoming law (unless both the House and Senate re-pass the legislation with a two-thirds
majority in each chamber). The House has some exclusive powers: the power to initiate revenue
bills, to impeach officials (impeached officials are subsequently tried in the Senate), and to
elect the U.S. President in case there is no majority in the Electoral College.</p>
<p>Each U.S. state is represented in the House in proportion to its population as measured in the
census, but every state is entitled to at least one representative.</p>
</div>
<div class="col-xs-4">
</div>
</div>
<form class="form-inline" action="#">
<div class="row">
<div class="col-xs-12 col-sm-8 vcenter">
<div id="checkboxes" class="form-group">
<label for="R">Filter by party:</label>
<label class="checkbox-inline"><input id="R" type="checkbox">Republican</label>
<label class="checkbox-inline"><input id="D" type="checkbox">Democrat</label>
<label class="checkbox-inline"><input id="I" type="checkbox">Independent</label>
</div>
</div><!--
<div class="col-xs-12 col-sm-4 vcenter text-right">
<div class="form-group">
<label for="state-select">Filter by state:</label>
<select class="form-control" id="state-select">
<option value="">----</option>
</select>
</div>
</div> -->
</div>
</form>
<!-- TABLE -->
<table id="member-data" class="table table-hover table-condensed">
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Party Affiliation</th>
<th scope="col">State</th>
<th scope="col">Seniority</th>
<th scope="col">Votes with Party (%)</th>
</tr>
</thead>
<tbody v-cloak>
<tr class="member-row" v-for="(member, key) in members">
<td class="name"><a v-if="member.url" class="iframe" v-bind:href="member.url">{{member.first_name}} {{member.middle_name}} {{member.last_name}}</a><span v-else>{{member.first_name}} {{member.middle_name}} {{member.last_name}}</span></td>
<td class="party">{{member.party}}</td>
<td class="state">{{member.state}}</td>
<td class="seniority">{{member.seniority}}</td>
<td class="votes">{{member.votes_with_party_pct}}</td>
</tr>
</tbody>
</table>
<div class="well well-sm">
<footer class="row">
<div class="col-xs-4 col-xs-offset-4 text-center">©2019 TGIF | All Rights Reserved</div>
</footer>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="scripts/colorbox-master/jquery.colorbox-min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<script src="https://cdn.datatables.net/1.10.18/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.10.18/js/dataTables.bootstrap.min.js"></script>
<script src="scripts/main.js"></script>
</body>
</html>