diff --git a/app/controllers/static_controller.rb b/app/controllers/static_controller.rb index 97ca84bbb..bcc79cfaa 100644 --- a/app/controllers/static_controller.rb +++ b/app/controllers/static_controller.rb @@ -1,4 +1,8 @@ class StaticController < ApplicationController def jquery_test end + + def terms_of_service + render :layout => "blank" + end end diff --git a/app/views/layouts/blank.html.erb b/app/views/layouts/blank.html.erb index 9fbd324e2..d06bf0561 100644 --- a/app/views/layouts/blank.html.erb +++ b/app/views/layouts/blank.html.erb @@ -12,6 +12,8 @@ <%= yield :html_header %> - <%= yield :layout %> +
+ <%= yield :layout %> +
diff --git a/app/views/static/terms_of_service.html.erb b/app/views/static/terms_of_service.html.erb index dbf1774ae..e2e2f86a1 100644 --- a/app/views/static/terms_of_service.html.erb +++ b/app/views/static/terms_of_service.html.erb @@ -2,7 +2,7 @@

Danbooru 2 Beta

Danbooru 2 is a rewrite of the original Danbooru source code. Most functionality remains the same. The goal is to create a cleaner architecture so that extending and expanding the site will be easier. The goal of the beta is to test the code and make sure all the pieces are working.

-

This test database is independent of the Danbooru database. That means your account has not been copied over. You will have to create a new account on Testbooru in order to start contributing. This is only to make testing easier; the eventual goal is to migrate the old Danbooru database to the new code. But that will come much later.

+

This test database is based on a copied snapshot of the Danbooru database. Unless you signed up recently, your account should exist on this test site.

You are encouraged to upload, comment, note, and do everything in your power to break the site. If you notice any bugs or any inconsistencies with the old site, there's an issue tracker on Github that you can use. If you would rather not create a new Github account, you can post comments on the forum.

Some of the major change from the original Danbooru are:

-

<%= link_to("Continue", request.env["HTTP_REFERER"] || "/", :id => "tos-agree-link") %>

+

<%= link_to("Continue", request.env["HTTP_REFERER"] || "/", :id => "tos-agree-link", :class => "btn") %>