diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 4036d6c52..b220ffd8a 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -177,6 +177,10 @@ class UsersController < ApplicationController render :layout => 'landing' end + def isp + render :layout => "landing" + end + private def correct_user diff --git a/app/views/users/isp.html.erb b/app/views/users/isp.html.erb new file mode 100644 index 000000000..ce89a418a --- /dev/null +++ b/app/views/users/isp.html.erb @@ -0,0 +1,24 @@ + + + Test Internet Latency + + + +

My ISP is Time Warner

+ +

My ISP is Verizon

+ + + diff --git a/config/routes.rb b/config/routes.rb index a514ae84f..bb806f418 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -26,6 +26,8 @@ SampleApp::Application.routes.draw do match '/auth/:provider/callback', :to => 'sessions#create_oauth' match '/auth/failure', :to => 'sessions#failure' + match '/isp', :to => 'users#isp' + match '/help', to: 'static_pages#help' match '/about', to: 'static_pages#about' match '/contact', to: 'static_pages#contact' diff --git a/public/ping.jar b/public/ping.jar new file mode 100644 index 000000000..58d4e6dc2 Binary files /dev/null and b/public/ping.jar differ diff --git a/public/pingtw.jnlp b/public/pingtw.jnlp new file mode 100644 index 000000000..8f10cd814 --- /dev/null +++ b/public/pingtw.jnlp @@ -0,0 +1,21 @@ + + + + Ping + JamKazam + + + + + + + + + foo=etch.dyndns.org:4442 + bar=etch.dyndns.org:4442 + -uhttp://www.jamkazam.com/api/users/isp_scoring + -itw + -a + + + diff --git a/public/pingvz.jnlp b/public/pingvz.jnlp new file mode 100644 index 000000000..87e31ab97 --- /dev/null +++ b/public/pingvz.jnlp @@ -0,0 +1,21 @@ + + + + Ping + JamKazam + + + + + + + + + foo=etch.dyndns.org:4442 + bar=etch.dyndns.org:4442 + -uhttp://www.jamkazam.com/api/users/isp_scoring + -ivz + -a + + + \ No newline at end of file