Skip to content
Browse files

Few fixups

  • Loading branch information...
1 parent 7d2b86c commit bb09be9c787d42f57a340b6d52b9294ae51fb23d Abe Stanway committed Oct 2, 2013
Showing with 8 additions and 3 deletions.
  1. +5 −3 index.php
  2. +3 −0 styles.css
View
8 index.php
@@ -54,7 +54,7 @@ function get_num_pages($per_page){
</script>
</head>
<body>
-<a href="https://github.com/astanway/Commit-Logs-From-Last-Night"><img style="position: fixed; top: 0; left: 0; border: 0; z-index:10;" src="forkme_light_background.png" alt="Fuckin' fork me!"></a>
+<!--<a href="https://github.com/astanway/Commit-Logs-From-Last-Night"><img style="position: fixed; top: 0; left: 0; border: 0; z-index:10;" src="forkme_light_background.png" alt="Fuckin' fork me!"></a>-->
<div id="header">Commit Logs From Last Night
<div id="subheader">because real hackers pivot two hours before their demo</div>
<div id="twitter">This thing tweets at <a href="http://www.twitter.com/CLFLN">@CLFLN</a>
@@ -76,7 +76,9 @@ function get_num_pages($per_page){
$query = mysql_query("INSERT INTO users (username) VALUES ('$username')");
}
}
- while($row = mysql_fetch_array($result)){ ?>
+ while($row = mysql_fetch_array($result)){
+ if (strlen($row['message']) > 70) continue;
+ ?>
<tr class="post">
<td>
<?php echo '<a class="avatarlink" href='. $row['userurl'] . '>'?>
@@ -91,7 +93,7 @@ function get_num_pages($per_page){
</td>
<td valign="middle" class="message">
<div class="subMessage">
- <?php echo '<a class="commit" href='. $row['commiturl'] . '>' . $row['message'] .'</a>'?>
+ <?php echo '<a class="commit" target="_blank" href='. $row['commiturl'] . '>' . $row['message'] .'</a>'?>
</div>
</td>
</tr>
View
3 styles.css
@@ -71,6 +71,8 @@ html, body, #header{
padding-left: 10px;
min-width: 110px;
text-align: center;
+ padding-top: 40px;
+ padding-bottom: 40px;
}
.author{
@@ -83,6 +85,7 @@ html, body, #header{
font-family: Courier;
color: black;
font-size: 18px;
+ padding-left: 10px;
}
.avatar{

0 comments on commit bb09be9

Please sign in to comment.
Something went wrong with that request. Please try again.