repsheet_visualizer 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/repsheet_visualizer/application/app.rb +1 -1
 - data/lib/repsheet_visualizer/application/views/activity.erb +10 -10
 - data/lib/repsheet_visualizer/application/views/actors.erb +13 -14
 - data/lib/repsheet_visualizer/application/views/breakdown.erb +9 -9
 - data/lib/repsheet_visualizer/version.rb +1 -1
 - metadata +1 -1
 
| 
         @@ -7,34 +7,34 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
                <meta name="description" content="">
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta name="author" content="Aaron Bedra">
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <link href=" 
     | 
| 
      
 10 
     | 
    
         
            +
                <link href="<%= @mount %>css/bootstrap.css" rel="stylesheet">
         
     | 
| 
       11 
11 
     | 
    
         
             
                <style>
         
     | 
| 
       12 
12 
     | 
    
         
             
                  body {
         
     | 
| 
       13 
13 
     | 
    
         
             
                    padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
         
     | 
| 
       14 
14 
     | 
    
         
             
                  }
         
     | 
| 
       15 
15 
     | 
    
         
             
                </style>
         
     | 
| 
       16 
     | 
    
         
            -
                <link href=" 
     | 
| 
      
 16 
     | 
    
         
            +
                <link href="<%= @mount %>css/bootstrap-responsive.css" rel="stylesheet">
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         
             
                <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
         
     | 
| 
       19 
19 
     | 
    
         
             
                <!--[if lt IE 9]>
         
     | 
| 
       20 
     | 
    
         
            -
                  <script src=" 
     | 
| 
      
 20 
     | 
    
         
            +
                  <script src="<%= @mount %>javascripts/html5shiv.js"></script>
         
     | 
| 
       21 
21 
     | 
    
         
             
                <![endif]-->
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
       23 
     | 
    
         
            -
                <link rel="shortcut icon" href=" 
     | 
| 
      
 23 
     | 
    
         
            +
                <link rel="shortcut icon" href="/<%= @mount %>/images/favicon.ico">
         
     | 
| 
       24 
24 
     | 
    
         | 
| 
       25 
     | 
    
         
            -
                <script src=" 
     | 
| 
       26 
     | 
    
         
            -
                <script src=" 
     | 
| 
      
 25 
     | 
    
         
            +
                <script src="<%= @mount %>javascripts/d3.v3.min.js" type="text/javascript"></script>
         
     | 
| 
      
 26 
     | 
    
         
            +
                <script src="<%= @mount %>javascripts/application.js" type="text/javascript"></script>
         
     | 
| 
       27 
27 
     | 
    
         
             
              </head>
         
     | 
| 
       28 
28 
     | 
    
         | 
| 
       29 
29 
     | 
    
         
             
              <body>
         
     | 
| 
       30 
30 
     | 
    
         
             
                <div class="navbar navbar-inverse navbar-fixed-top">
         
     | 
| 
       31 
31 
     | 
    
         
             
                  <div class="navbar-inner">
         
     | 
| 
       32 
32 
     | 
    
         
             
                    <div class="container">
         
     | 
| 
       33 
     | 
    
         
            -
                      <a class="brand" href=" 
     | 
| 
      
 33 
     | 
    
         
            +
                      <a class="brand" href="<%= @mount %>">Repsheet</a>
         
     | 
| 
       34 
34 
     | 
    
         
             
            	  <div class="nav-collapse collapse">
         
     | 
| 
       35 
35 
     | 
    
         
             
            	    <ul class="nav">
         
     | 
| 
       36 
     | 
    
         
            -
            	      <li><a href=" 
     | 
| 
       37 
     | 
    
         
            -
            	      <li><a href=" 
     | 
| 
      
 36 
     | 
    
         
            +
            	      <li><a href="<%= @mount %>">Actors</a></li>
         
     | 
| 
      
 37 
     | 
    
         
            +
            	      <li><a href="<%= @mount %>breakdown">Breakdown</a></li>
         
     | 
| 
       38 
38 
     | 
    
         
             
            	    </ul>
         
     | 
| 
       39 
39 
     | 
    
         
             
            	  </div>
         
     | 
| 
       40 
40 
     | 
    
         
             
                    </div>
         
     | 
| 
         @@ -43,7 +43,7 @@ 
     | 
|
| 
       43 
43 
     | 
    
         | 
| 
       44 
44 
     | 
    
         
             
                <div class="container">
         
     | 
| 
       45 
45 
     | 
    
         
             
                  <h2>Activity for <%= @ip %></h2>
         
     | 
| 
       46 
     | 
    
         
            -
                  <div><a href=" 
     | 
| 
      
 46 
     | 
    
         
            +
                  <div><a href="<%= @mount %>">Back</a></div>
         
     | 
| 
       47 
47 
     | 
    
         
             
                  <ul>
         
     | 
| 
       48 
48 
     | 
    
         
             
            	<% @activity.each do |action| %>
         
     | 
| 
       49 
49 
     | 
    
         
             
            	  <li><%= action %></li>
         
     | 
| 
         @@ -7,10 +7,9 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
                <meta name="description" content="">
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta name="author" content="Aaron Bedra">
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <link href="<%= @mount  
     | 
| 
       11 
     | 
    
         
            -
                <link href="<%= @mount  
     | 
| 
       12 
     | 
    
         
            -
                
         
     | 
| 
       13 
     | 
    
         
            -
                <link href="<%= @mount %>/css/blue/style.css" rel="stylesheet">
         
     | 
| 
      
 10 
     | 
    
         
            +
                <link href="<%= @mount %>css/bootstrap.css" rel="stylesheet">
         
     | 
| 
      
 11 
     | 
    
         
            +
                <link href="<%= @mount %>css/bootstrap-responsive.css" rel="stylesheet">
         
     | 
| 
      
 12 
     | 
    
         
            +
                <link href="<%= @mount %>css/blue/style.css" rel="stylesheet">
         
     | 
| 
       14 
13 
     | 
    
         
             
                <style>
         
     | 
| 
       15 
14 
     | 
    
         
             
                  body {
         
     | 
| 
       16 
15 
     | 
    
         
             
                    padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
         
     | 
| 
         @@ -23,25 +22,25 @@ 
     | 
|
| 
       23 
22 
     | 
    
         | 
| 
       24 
23 
     | 
    
         
             
                <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
         
     | 
| 
       25 
24 
     | 
    
         
             
                <!--[if lt IE 9]>
         
     | 
| 
       26 
     | 
    
         
            -
                  <script src=" 
     | 
| 
      
 25 
     | 
    
         
            +
                  <script src="<%= @mount %>javascripts/html5shiv.js"></script>
         
     | 
| 
       27 
26 
     | 
    
         
             
                <![endif]-->
         
     | 
| 
       28 
27 
     | 
    
         | 
| 
       29 
     | 
    
         
            -
                <link rel="shortcut icon" href=" 
     | 
| 
      
 28 
     | 
    
         
            +
                <link rel="shortcut icon" href="<%= @mount %>images/favicon.ico">
         
     | 
| 
       30 
29 
     | 
    
         | 
| 
       31 
     | 
    
         
            -
                <script src="<%= @mount  
     | 
| 
       32 
     | 
    
         
            -
                <script src="<%= @mount  
     | 
| 
       33 
     | 
    
         
            -
                <script src="<%= @mount  
     | 
| 
      
 30 
     | 
    
         
            +
                <script src="<%= @mount %>javascripts/jquery-latest.js" type="text/javascript"></script>
         
     | 
| 
      
 31 
     | 
    
         
            +
                <script src="<%= @mount %>javascripts/jquery.tablesorter.min.js" type="text/javascript"></script>
         
     | 
| 
      
 32 
     | 
    
         
            +
                <script src="<%= @mount %>javascripts/application.js" type="text/javascript"></script>
         
     | 
| 
       34 
33 
     | 
    
         
             
              </head>
         
     | 
| 
       35 
34 
     | 
    
         | 
| 
       36 
35 
     | 
    
         
             
              <body>
         
     | 
| 
       37 
36 
     | 
    
         
             
                <div class="navbar navbar-inverse navbar-fixed-top">
         
     | 
| 
       38 
37 
     | 
    
         
             
                  <div class="navbar-inner">
         
     | 
| 
       39 
38 
     | 
    
         
             
                    <div class="container">
         
     | 
| 
       40 
     | 
    
         
            -
                      <a class="brand" href=" 
     | 
| 
      
 39 
     | 
    
         
            +
                      <a class="brand" href="<%= @mount %>">Repsheet</a>
         
     | 
| 
       41 
40 
     | 
    
         
             
            	  <div class="nav-collapse collapse">
         
     | 
| 
       42 
41 
     | 
    
         
             
            	    <ul class="nav">
         
     | 
| 
       43 
     | 
    
         
            -
            	      <li class="active"><a href=" 
     | 
| 
       44 
     | 
    
         
            -
            	      <li><a href=" 
     | 
| 
      
 42 
     | 
    
         
            +
            	      <li class="active"><a href="<%= @mount %>">Actors</a></li>
         
     | 
| 
      
 43 
     | 
    
         
            +
            	      <li><a href="<%= @mount %>breakdown">Breakdown</a></li>
         
     | 
| 
       45 
44 
     | 
    
         
             
            	    </ul>
         
     | 
| 
       46 
45 
     | 
    
         
             
            	  </div>
         
     | 
| 
       47 
46 
     | 
    
         
             
                    </div>
         
     | 
| 
         @@ -67,9 +66,9 @@ 
     | 
|
| 
       67 
66 
     | 
    
         
             
            	      <td><%= data[:repsheet] %></td>
         
     | 
| 
       68 
67 
     | 
    
         
             
            	      <td><%= data[:blacklist] %></td>
         
     | 
| 
       69 
68 
     | 
    
         
             
            	      <td><%= data[:detected] %></td>
         
     | 
| 
       70 
     | 
    
         
            -
            	      <td><a href=" 
     | 
| 
      
 69 
     | 
    
         
            +
            	      <td><a href="<%= @mount %>activity/<%= actor %>">Click to see activity</a>
         
     | 
| 
       71 
70 
     | 
    
         
             
            	      <td>
         
     | 
| 
       72 
     | 
    
         
            -
            		<form method="post" action=" 
     | 
| 
      
 71 
     | 
    
         
            +
            		<form method="post" action="<%= @mount %>action" class="button_to">
         
     | 
| 
       73 
72 
     | 
    
         
             
            		  <div>
         
     | 
| 
       74 
73 
     | 
    
         
             
            		    <input value="<%= action(data) %>" type="submit" />
         
     | 
| 
       75 
74 
     | 
    
         
             
            		    <input type="hidden" name="ip" value="<%= actor %>"/>
         
     | 
| 
         @@ -7,7 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
                <meta name="description" content="">
         
     | 
| 
       8 
8 
     | 
    
         
             
                <meta name="author" content="Aaron Bedra">
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
                <link href="css/bootstrap.css" rel="stylesheet">
         
     | 
| 
      
 10 
     | 
    
         
            +
                <link href="<%= @mount %>css/bootstrap.css" rel="stylesheet">
         
     | 
| 
       11 
11 
     | 
    
         
             
                <style>
         
     | 
| 
       12 
12 
     | 
    
         
             
                  body {
         
     | 
| 
       13 
13 
     | 
    
         
             
                    padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
         
     | 
| 
         @@ -28,28 +28,28 @@ 
     | 
|
| 
       28 
28 
     | 
    
         
             
                    font-weight: bold;
         
     | 
| 
       29 
29 
     | 
    
         
             
                  }
         
     | 
| 
       30 
30 
     | 
    
         
             
                </style>
         
     | 
| 
       31 
     | 
    
         
            -
                <link href="css/bootstrap-responsive.css" rel="stylesheet">
         
     | 
| 
      
 31 
     | 
    
         
            +
                <link href="<%= @mount %>css/bootstrap-responsive.css" rel="stylesheet">
         
     | 
| 
       32 
32 
     | 
    
         | 
| 
       33 
33 
     | 
    
         
             
                <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
         
     | 
| 
       34 
34 
     | 
    
         
             
                <!--[if lt IE 9]>
         
     | 
| 
       35 
     | 
    
         
            -
                  <script src=" 
     | 
| 
      
 35 
     | 
    
         
            +
                  <script src="<%= @mount %>javascripts/html5shiv.js"></script>
         
     | 
| 
       36 
36 
     | 
    
         
             
                <![endif]-->
         
     | 
| 
       37 
37 
     | 
    
         | 
| 
       38 
     | 
    
         
            -
                <link rel="shortcut icon" href=" 
     | 
| 
      
 38 
     | 
    
         
            +
                <link rel="shortcut icon" href="<%= @mount %>images/favicon.ico">
         
     | 
| 
       39 
39 
     | 
    
         | 
| 
       40 
     | 
    
         
            -
                <script src=" 
     | 
| 
       41 
     | 
    
         
            -
                <script src=" 
     | 
| 
      
 40 
     | 
    
         
            +
                <script src="<%= @mount %>javascripts/d3.v3.min.js" type="text/javascript"></script>
         
     | 
| 
      
 41 
     | 
    
         
            +
                <script src="<%= @mount %>javascripts/application.js" type="text/javascript"></script>
         
     | 
| 
       42 
42 
     | 
    
         
             
              </head>
         
     | 
| 
       43 
43 
     | 
    
         | 
| 
       44 
44 
     | 
    
         
             
              <body>
         
     | 
| 
       45 
45 
     | 
    
         
             
                <div class="navbar navbar-inverse navbar-fixed-top">
         
     | 
| 
       46 
46 
     | 
    
         
             
                  <div class="navbar-inner">
         
     | 
| 
       47 
47 
     | 
    
         
             
                    <div class="container">
         
     | 
| 
       48 
     | 
    
         
            -
                      <a class="brand" href=" 
     | 
| 
      
 48 
     | 
    
         
            +
                      <a class="brand" href="<%= @mount %>">Repsheet</a>
         
     | 
| 
       49 
49 
     | 
    
         
             
            	  <div class="nav-collapse collapse">
         
     | 
| 
       50 
50 
     | 
    
         
             
            	    <ul class="nav">
         
     | 
| 
       51 
     | 
    
         
            -
            	      <li><a href=" 
     | 
| 
       52 
     | 
    
         
            -
            	      <li class="active"><a href=" 
     | 
| 
      
 51 
     | 
    
         
            +
            	      <li><a href="<%= @mount %>">Actors</a></li>
         
     | 
| 
      
 52 
     | 
    
         
            +
            	      <li class="active"><a href="<%= @mount %>breakdown">Breakdown</a></li>
         
     | 
| 
       53 
53 
     | 
    
         
             
            	    </ul>
         
     | 
| 
       54 
54 
     | 
    
         
             
            	  </div>
         
     | 
| 
       55 
55 
     | 
    
         
             
                    </div>
         
     |