Skip to content

Commit

Permalink
first deploy attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
paleomedia committed Jul 1, 2015
1 parent b577e89 commit 1eb686e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="js/ajax.js" type="text/javascript"></script>

Filter bills:
<ul>
<li>Most comments</li>
<li>Recent bills</li>
<li>Signed</li>
</ul>

<?php

$bill_list = $dao->getBills();
Expand Down
2 changes: 1 addition & 1 deletion lib/classes/dao.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function getBills () {
return $conn->query("SELECT bill_name, bill_id, title, (votes_for + votes_against) AS total
FROM bills
ORDER BY total
LIMIT 5");
LIMIT 20");
}

public function getLegislators () {
Expand Down
2 changes: 1 addition & 1 deletion top.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</a>
</li>
<li class="social">
<a href="http://github.com"><img src="images/Github-Icon.png" width="24px" height="24px">
<a href="https://github.com/paleomedia/idleg"><img src="images/Github-Icon.png" width="24px" height="24px">
</a>
</li>
<li class="social">
Expand Down

0 comments on commit 1eb686e

Please sign in to comment.