terms
This commit is contained in:
parent
c8acdc4e8d
commit
b99916cfdf
7 changed files with 58 additions and 1 deletions
3
app/controllers/static_controller.rb
Normal file
3
app/controllers/static_controller.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
class StaticController < ApplicationController
|
||||
|
||||
end
|
|
@ -8,3 +8,4 @@
|
|||
@import items/index
|
||||
@import items/show
|
||||
@import outfits/new
|
||||
@import static/terms
|
||||
|
|
2
app/stylesheets/static/_terms.sass
Normal file
2
app/stylesheets/static/_terms.sass
Normal file
|
@ -0,0 +1,2 @@
|
|||
body.static-terms
|
||||
text-align: center
|
|
@ -41,7 +41,7 @@
|
|||
%li
|
||||
%a{:href => "http://github.com/matchu/openneo-impress"} The Source Code
|
||||
%li
|
||||
%a{:href => "/terms.html"} Terms of Use
|
||||
%a{:href => terms_path} Terms of Use
|
||||
%div
|
||||
Contact:
|
||||
%ul
|
||||
|
|
44
app/views/static/terms.html.haml
Normal file
44
app/views/static/terms.html.haml
Normal file
|
@ -0,0 +1,44 @@
|
|||
|
||||
%p
|
||||
Our policy is short and sweet at this point. And by using our site, you
|
||||
agree to our Terms of Use. Thanks!
|
||||
%hr
|
||||
%p
|
||||
If you hit our servers with automated requests in ways which were not
|
||||
intended, you will be banned at our sole discretion. Public APIs are
|
||||
intended methods. If a page on our site is not clearly marked as a public
|
||||
API, it is not an intended method.
|
||||
%p
|
||||
You may look at the code for educational purposes; however, if you
|
||||
directly use any part of the front-end or back-end code for your own
|
||||
purposes, you
|
||||
%strong must
|
||||
prominently credit its original
|
||||
source
|
||||
== (#{link_to 'OpenNeo', 'http://www.openneo.net/'})
|
||||
on every single web page on which the code is used, or which the code is used
|
||||
to produce. If you make improvements to the code, we appreciate, but do not
|
||||
require, that you submit those improvements to the original codebase. See the
|
||||
= link_to 'license', 'https://github.com/matchu/openneo-impress/blob/master/LICENSE'
|
||||
for more information.
|
||||
%p
|
||||
Attempts to misuse this website are acceptable as long as they are for
|
||||
the sole purpose of improving this website. All security issues must be
|
||||
immediately reported to
|
||||
== #{link_to 'OpenNeo', 'http://www.openneo.net/'},
|
||||
and may not be used for any malicious purpose. If you inform someone else
|
||||
of a security hole and he or she abuses it, both of your are considered
|
||||
responsible.
|
||||
%p
|
||||
In short, use our website as much as you like, but do no harm. Or you
|
||||
%strong will
|
||||
be punished.
|
||||
%hr
|
||||
%p
|
||||
Sorry if that scared you. It's really just to make clear that there are
|
||||
certain unacceptable behaviors when it comes to accessing a website, but only
|
||||
those looking to cause trouble are likely to really cause any. If all you
|
||||
want to do here is dress up your pets, then there's absolutely no need to
|
||||
worry.
|
||||
%p
|
||||
%strong Thanks for using Dress to Impress!
|
|
@ -37,4 +37,6 @@ OpenneoImpressItems::Application.routes.draw do |map|
|
|||
match 'users/top_contributors' => redirect('/users/top-contributors')
|
||||
|
||||
match '/wardrobe' => 'outfits#edit', :as => :wardrobe
|
||||
|
||||
match '/terms' => 'static#terms', :as => :terms
|
||||
end
|
||||
|
|
|
@ -816,3 +816,8 @@ body.outfits-new #tell-the-world img {
|
|||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
/* line 1, ../../../app/stylesheets/static/_terms.sass */
|
||||
body.static-terms {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue