Commits

Michele Bini  committed d77efe5

Made activity icons more uniform.

  • Participants
  • Parent commits 623009e

Comments (0)

Files changed (7)

 * Add init.d service for timekoin
 * Add an installation-time query to the user on whether to add the timekoin Alias.
 * Remove non-commercial material (icon) (DONE)
-* Add manpage generate-timekoin-keys.
+* Add manpage generate-timekoin-keys.
+* Peers appear twice on the peer list sometimes

File debian/changelog

+timekoin (1.9-deb36) unstable; urgency=low
+
+  * Made activity icons more uniform.
+
+ -- Michele Bini <michele.bini@gmail.com>  Sun, 16 Sep 2012 22:11:44 +0200
+
 timekoin (1.9-deb35) unstable; urgency=low
 
   * Correctly background processes in recent PHP versions.

File v1.9/img/arrow.gif

Old
Old image
New
New image

File v1.9/img/hr.gif

Removed
Old image

File v1.9/img/stalled.gif

Added
New image

File v1.9/img/stop.gif

Added
New image

File v1.9/index.php

 				  $main_msg = "Program Stalled.";
 				}
 			        // Main has stop was unexpected
-				$body_string .= '<tr><td align="center"><img src="img/hr.gif" alt="" /></td><td><font color="red"><strong>Main Program Processor</strong></font></td>
+				$body_string .= '<tr><td align="center"><img src="img/stalled.gif" alt="" /></td><td><font color="red"><strong>Main Program Processor</strong></font></td>
 					<td><strong>' . $main_msg . '</strong></td></tr>';
 			}
 			else
 		}
 		else
 		{
-			$body_string .= '<tr><td align="center"><img src="img/hr.gif" alt="" /></td><td><font color="red"><strong>Main Program Processor</strong></font></td>
+			$body_string .= '<tr><td align="center"><img src="img/stop.gif" alt="" /></td><td><font color="red"><strong>Main Program Processor</strong></font></td>
 				<td><strong>Main Program Offline</strong></td></tr>';
 		}
 
 			// Treasurer should still be active
 			if((time() - $script_last_heartbeat) > 60)
 			{
-				$body_string .= '<tr><td align="center"><img src="img/hr.gif" alt="" /></td><td><font color="red"><strong>Treasurer Processor</strong></font></td>
+				$body_string .= '<tr><td align="center"><img src="img/stalled.gif" alt="" /></td><td><font color="red"><strong>Treasurer Processor</strong></font></td>
 					<td><strong>Program Stalled.</strong></td></tr>';
 			}
 			else
 			// Peerlist should still be active
 			if((time() - $script_last_heartbeat) > 60)
 			{
-				$body_string .= '<tr><td align="center"><img src="img/hr.gif" alt="" /></td><td><font color="red"><strong>Peer Processor</strong></font></td>
+				$body_string .= '<tr><td align="center"><img src="img/stalled.gif" alt="" /></td><td><font color="red"><strong>Peer Processor</strong></font></td>
 					<td><strong>Program Stalled.</strong></td></tr>';
 			}
 			else
 			// Queueclerk should still be active
 			if((time() - $script_last_heartbeat) > 90)
 			{
-				$body_string .= '<tr><td align="center"><img src="img/hr.gif" alt="" /></td><td><font color="red"><strong>Transaction Queue Clerk</strong></font></td>
+				$body_string .= '<tr><td align="center"><img src="img/stalled.gif" alt="" /></td><td><font color="red"><strong>Transaction Queue Clerk</strong></font></td>
 					<td><strong>Program Stalled.</strong></td></tr>';
 			}
 			else
 			// Genpeer should still be active
 			if((time() - $script_last_heartbeat) > 90)
 			{
-				$body_string .= '<tr><td align="center"><img src="img/hr.gif" alt="" /></td><td><font color="red"><strong>Generation Peer Manager</strong></font></td>
+				$body_string .= '<tr><td align="center"><img src="img/stalled.gif" alt="" /></td><td><font color="red"><strong>Generation Peer Manager</strong></font></td>
 					<td><strong>Program Stalled.</strong></td></tr>';
 			}
 			else
 			if((time() - $script_last_heartbeat) > 60)
 			{
 				// Generation has stop was unexpected
-				$body_string .= '<tr><td align="center"><img src="img/hr.gif" alt="" /></td><td><font color="red"><strong>Generation Processor</strong></font></td>
+				$body_string .= '<tr><td align="center"><img src="img/stalled.gif" alt="" /></td><td><font color="red"><strong>Generation Processor</strong></font></td>
 					<td><strong>Program Stalled.</strong></td></tr>';
 			}
 			else
 			if((time() - $script_last_heartbeat) > 120)
 			{
 				// Script has stop was unexpected
-				$body_string .= '<tr><td align="center"><img src="img/hr.gif" alt="" /></td><td><font color="red"><strong>Transaction Clerk</strong></font></td>
+				$body_string .= '<tr><td align="center"><img src="img/stalled.gif" alt="" /></td><td><font color="red"><strong>Transaction Clerk</strong></font></td>
 					<td><strong>Program Stalled.</strong></td></tr>';
 			}
 			else
 			if((time() - $script_last_heartbeat) > 100)
 			{
 				// Script has stop was unexpected
-				$body_string .= '<tr><td align="center"><img src="img/hr.gif" alt="" /></td><td><font color="red"><strong>Foundation Manager</strong></font></td>
+				$body_string .= '<tr><td align="center"><img src="img/stalled.gif" alt="" /></td><td><font color="red"><strong>Foundation Manager</strong></font></td>
 					<td><strong>Program Stalled.</strong></td></tr>';
 			}
 			else
 			if((time() - $script_last_heartbeat) > 60) // Greater than double the loop time, something is wrong
 			{
 				// Script has stop was unexpected
-				$body_string .= '<tr><td align="center"><img src="img/hr.gif" alt="" /></td><td><font color="red"><strong>Watchdog</strong></font></td>
+				$body_string .= '<tr><td align="center"><img src="img/stalled.gif" alt="" /></td><td><font color="red"><strong>Watchdog</strong></font></td>
 					<td><strong>Program Stalled.</strong></td></tr>';
 			}
 			else
 		}
 		else
 		{
-			$body_string .= '<tr><td align="center"><img src="img/hr.gif" alt="" /></td><td><font color="#b0a454"><strong>Watchdog</strong></font></td>
+			$body_string .= '<tr><td align="center"><img src="img/stop.gif" alt="" /></td><td><font color="#b0a454"><strong>Watchdog</strong></font></td>
 				<td><strong>Disabled</strong></td></tr>';
 		}
 
 				 <td class="style2"><input type="text" name="edit_port" size="5" /></td>			 
 				 <td><input type="image" src="img/save-icon.gif" name="submit1" border="0"></FORM></td><td>
 				 <FORM ACTION="index.php?menu=peerlist" METHOD="post">
-				 <input type="image" src="img/hr.gif" name="submit2" border="0"></FORM>
+				 <input type="image" src="img/stop.gif" name="submit2" border="0"></FORM>
 				 </td></tr>';
 
 				$body_string .= '</table></div>';				
 				<input type="hidden" name="update_domain" value="' . $sql_row["domain"] . '">
 				<input type="image" src="img/save-icon.gif" name="submit1" border="0"></FORM></td>
 				<td valign="top"><FORM ACTION="index.php?menu=peerlist" METHOD="post">
-				<input type="image" src="img/hr.gif" name="submit2" border="0"></FORM>
+				<input type="image" src="img/stop.gif" name="submit2" border="0"></FORM>
 				</td></tr>';
 
 				$body_string .= '</table></div>';
 				}
 				else
 				{
-					$body_string .= '<td><FORM ACTION="index.php?menu=peerlist&remove=peer" METHOD="post"><input type="image" src="img/hr.gif" name="remove' . $i . '" border="0">
+					$body_string .= '<td><FORM ACTION="index.php?menu=peerlist&remove=peer" METHOD="post"><input type="image" src="img/stop.gif" name="remove' . $i . '" border="0">
 					 <input type="hidden" name="ip" value="' . $sql_row["IP_Address"] . '">
 					 <input type="hidden" name="domain" value="' . $sql_row["domain"] . '">
 					 </FORM></td><td>