Pass the date ranges again.
This commit is contained in:
		@@ -135,6 +135,8 @@ def history():
 | 
				
			|||||||
                                            graphJSON = graphJSON,
 | 
					                                            graphJSON = graphJSON,
 | 
				
			||||||
                                            total_minutes = sum(streak_minutes),
 | 
					                                            total_minutes = sum(streak_minutes),
 | 
				
			||||||
                                            range_hours = range_hours,
 | 
					                                            range_hours = range_hours,
 | 
				
			||||||
 | 
					                                            from_date = from_date_str, 
 | 
				
			||||||
 | 
					 											to_date = to_date_str,
 | 
				
			||||||
                                            debug = streak_minutes,
 | 
					                                            debug = streak_minutes,
 | 
				
			||||||
                                            )
 | 
					                                            )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -58,7 +58,7 @@
 | 
				
			|||||||
      <div class="row">
 | 
					      <div class="row">
 | 
				
			||||||
      <div class="eleven columns">
 | 
					      <div class="eleven columns">
 | 
				
			||||||
        <div class="one column">
 | 
					        <div class="one column">
 | 
				
			||||||
                <a href="/">Live</a>
 | 
					            <a href="/">Live</a>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        <form id="range_select" action = "/history" method="GET">  
 | 
					        <form id="range_select" action = "/history" method="GET">  
 | 
				
			||||||
          <input type="hidden" class="timezone" name="timezone" />      
 | 
					          <input type="hidden" class="timezone" name="timezone" />      
 | 
				
			||||||
@@ -74,7 +74,7 @@
 | 
				
			|||||||
          <div class="one column">
 | 
					          <div class="one column">
 | 
				
			||||||
            <input type="radio" name="range_h" value="24" id="radio_24" /><label for="radio_24">24hrs</label>
 | 
					            <input type="radio" name="range_h" value="24" id="radio_24" /><label for="radio_24">24hrs</label>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
        </form>          
 | 
					        </form>   
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user