Browse Source

pages

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
73258fbe77
  1. 2
      app/assets/stylesheets/application.css
  2. 2
      app/assets/stylesheets/marketing.css.scss
  3. 19
      app/assets/stylesheets/theme/error_explanation.css.scss
  4. 10
      app/assets/stylesheets/theme/pages.css.scss
  5. 10
      app/controllers/pages_controller.rb
  6. 7
      app/views/pages/contact.html.erb
  7. 2
      app/views/pages/home.html.erb
  8. 39
      app/views/pages/privacy.html.erb
  9. 18
      app/views/pages/team.html.erb
  10. 33
      app/views/pages/team/_clyfe.html.erb
  11. 18
      app/views/pages/team/_zooz.html.erb
  12. 94
      app/views/pages/terms.html.erb

2
app/assets/stylesheets/application.css

@ -5,6 +5,8 @@
*= require normalize
*= require theme/base
*= require theme/default
*= require theme/error_explanation
*= require theme/pages
*= require marketing
*= require active_scaffold
*= require overrides

2
app/assets/stylesheets/marketing.css.scss

@ -17,7 +17,7 @@
padding-right: 30px;
background-color: #261F1F;
color: white;
em {
small {
font-size: 26px;
color: #3e3d4c;
font-style: normal;

19
app/assets/stylesheets/theme/error_explanation.css.scss

@ -0,0 +1,19 @@
@import 'compass/css3/border-radius';
#main .block .content #error_explanation {
@include border-top-radius(6px);
border-left: 1px solid #993624;
border-right: 1px solid #993624;
border-bottom: 1px solid #993624;
h2 {
background-color: #cc4831;
}
.field_with_errors {
label {
color: #cc4831;
}
input, textarea, select {
border: 1px solid #cc4831;
}
}
}

10
app/assets/stylesheets/theme/pages.css.scss

@ -0,0 +1,10 @@
.team .bio {
vertical-align: top;
width: 50%;
padding-right: 50px;
h2 em {
font-size: 0.8em;
color: grey;
}
}

10
app/controllers/pages_controller.rb

@ -1,6 +1,14 @@
class PagesController < ApplicationController
skip_before_filter :authenticate_user!
layout proc{|controller| request.xhr? ? false : 'marketing'}
layout proc{|controller|
if request.xhr?
false
elsif user_signed_in?
'application'
else
'marketing'
end
}
rescue_from ActionView::MissingTemplate do |exception|
if exception.message =~ %r{Missing template pages/}

7
app/views/pages/contact.html.erb

@ -1,8 +1,13 @@
<div class="block">
<div class="content">
<div class="inner">
<h1>Contact us</h1>
<p>Coming soon!</p>
<p>
E-Mail address: <a href="mailto:support@entrydns.net">support@entrydns.net</a>
</p>
</div>
</div>
</div>

2
app/views/pages/home.html.erb

@ -1,6 +1,6 @@
<div class="block marketing-block">
<div class="content">
<h1>Totally Free DNS service for Geeks <em>created by Geeks</em></h1>
<h1>Totally Free DNS service for Geeks <small>created by Geeks</small></h1>
<div class="inner marketing-inner">
<table class="marketing-duo">

39
app/views/pages/privacy.html.erb

@ -1,8 +1,43 @@
<div class="block">
<div class="content">
<div class="inner">
<h1>Privacy Statement</h1>
<p>Coming soon!</p>
<h1>
Privacy Statement
</h1>
<p>
Your privacy is very important to us. Accordingly, we have developed this Policy in order for you to understand how we collect, use, communicate and disclose and make use of personal information. The following outlines our privacy policy.
</p>
<ul>
<li>
Before or at the time of collecting personal information, we will identify the purposes for which information is being collected.
</li>
<li>
We will collect and use of personal information solely with the objective of fulfilling those purposes specified by us and for other compatible purposes, unless we obtain the consent of the individual concerned or as required by law.
</li>
<li>
We will only retain personal information as long as necessary for the fulfillment of those purposes.
</li>
<li>
We will collect personal information by lawful and fair means and, where appropriate, with the knowledge or consent of the individual concerned.
</li>
<li>
Personal data should be relevant to the purposes for which it is to be used, and, to the extent necessary for those purposes, should be accurate, complete, and up-to-date.
</li>
<li>
We will protect personal information by reasonable security safeguards against loss or theft, as well as unauthorized access, disclosure, copying, use or modification.
</li>
<li>
We will make readily available to customers information about our policies and practices relating to the management of personal information.
</li>
</ul>
<p>
We are committed to conducting our business in accordance with these principles in order to ensure that the confidentiality of personal information is protected and maintained.
</p>
</div>
</div>
</div>

18
app/views/pages/team.html.erb

@ -1,8 +1,20 @@
<div class="block">
<div class="content">
<div class="inner">
<h1>We are two people passionate about technology</h1>
<p>Coming soon!</p>
<div class="inner team">
<h1>Meet the founders</h1>
<table>
<tr>
<td class="bio">
<%= render :partial => 'pages/team/zooz' %>
</td>
<td class="bio">
<%= render :partial => 'pages/team/clyfe' %>
</td>
</tr>
</table>
</div>
</div>
</div>

33
app/views/pages/team/_clyfe.html.erb

@ -0,0 +1,33 @@
<h2>Claudius Nicolae <em>Programmer</em></h2>
<p>
He is a software developer from Romania. He has a
<em>Bachelors in Mathematics and Computer Science</em> from the
<em>University of Bucharest</em> and also started a Masters in Software Development.
</p>
<p>
He worked with many programming languages and technologies from web applications to
kernel-mode code on both Linux and Windows platforms, and generally, he favors using
open source software for most problems.
</p>
<p>
You can find him online at:<br>
</p>
<ul>
<li>
<a href="https://twitter.com/_clyfe" class="twitter-follow-button">Follow @_clyfe</a>
<script src="//platform.twitter.com/widgets.js" type="text/javascript"></script>
</li>
<li>
<a href="http://stackoverflow.com/users/283608/clyfe">
<img src="http://stackoverflow.com/users/flair/283608.png" width="208" height="58" alt="profile for clyfe at Stack Overflow, Q&amp;A for professional and enthusiast programmers" title="profile for clyfe at Stack Overflow, Q&amp;A for professional and enthusiast programmers">
</a>
</li>
<li>
<a href="https://github.com/clyfe">https://github.com/clyfe</a>
</li>
<li>
<a href="http://news.ycombinator.com/user?id=clyfe">http://news.ycombinator.com/user?id=clyfe</a>
</li>
</ul>

18
app/views/pages/team/_zooz.html.erb

@ -0,0 +1,18 @@
<h2>Vaidas Jablonskis <em>System Administrator</em></h2>
<p>
He began his career as a Linux systems user and quickly became involved with
open source technologies. Vaidas currently works as a Linux Systems Administrator
for a London based company. He is greatly involved in Linux and free software
community and is always interested in giving something back.
</p>
<p>
He blogs at:<br>
</p>
<ul>
<li>
<a href="http://jablonskis.org/">http://jablonskis.org/</a>
</li>
</ul>

94
app/views/pages/terms.html.erb

@ -1,8 +1,98 @@
<div class="block">
<div class="content">
<div class="inner">
<h1>Terms & Conditions</h1>
<p>Coming soon!</p>
<h1>
Terms and Conditions of Use
</h1>
<h3>
1. Terms
</h3>
<p>
By accessing this web site, you are agreeing to be bound by these
web site Terms and Conditions of Use, all applicable laws and regulations,
and agree that you are responsible for compliance with any applicable local
laws. If you do not agree with any of these terms, you are prohibited from
using or accessing this site. The materials contained in this web site are
protected by applicable copyright and trade mark law.
</p>
<h3>
2. Use License
</h3>
<ol type="a">
<li>
Permission is granted to temporarily download one copy of the materials
(information or software) on EntryDNS's web site for personal,
non-commercial transitory viewing only. This is the grant of a license,
not a transfer of title, and under this license you may not:
<ol type="i">
<li>modify or copy the materials;</li>
<li>use the materials for any commercial purpose, or for any public display (commercial or non-commercial);</li>
<li>attempt to decompile or reverse engineer any software contained on EntryDNS's web site;</li>
<li>remove any copyright or other proprietary notations from the materials; or</li>
<li>transfer the materials to another person or "mirror" the materials on any other server.</li>
</ol>
</li>
<li>
This license shall automatically terminate if you violate any of these restrictions and may be terminated by EntryDNS at any time. Upon terminating your viewing of these materials or upon the termination of this license, you must destroy any downloaded materials in your possession whether in electronic or printed format.
</li>
</ol>
<h3>
3. Disclaimer
</h3>
<ol type="a">
<li>
The materials on EntryDNS's web site are provided "as is". EntryDNS makes no warranties, expressed or implied, and hereby disclaims and negates all other warranties, including without limitation, implied warranties or conditions of merchantability, fitness for a particular purpose, or non-infringement of intellectual property or other violation of rights. Further, EntryDNS does not warrant or make any representations concerning the accuracy, likely results, or reliability of the use of the materials on its Internet web site or otherwise relating to such materials or on any sites linked to this site.
</li>
</ol>
<h3>
4. Limitations
</h3>
<p>
In no event shall EntryDNS or its suppliers be liable for any damages (including, without limitation, damages for loss of data or profit, or due to business interruption,) arising out of the use or inability to use the materials on EntryDNS's Internet site, even if EntryDNS or a EntryDNS authorized representative has been notified orally or in writing of the possibility of such damage. Because some jurisdictions do not allow limitations on implied warranties, or limitations of liability for consequential or incidental damages, these limitations may not apply to you.
</p>
<h3>
5. Revisions and Errata
</h3>
<p>
The materials appearing on EntryDNS's web site could include technical, typographical, or photographic errors. EntryDNS does not warrant that any of the materials on its web site are accurate, complete, or current. EntryDNS may make changes to the materials contained on its web site at any time without notice. EntryDNS does not, however, make any commitment to update the materials.
</p>
<h3>
6. Links
</h3>
<p>
EntryDNS has not reviewed all of the sites linked to its Internet web site and is not responsible for the contents of any such linked site. The inclusion of any link does not imply endorsement by EntryDNS of the site. Use of any such linked web site is at the user's own risk.
</p>
<h3>
7. Site Terms of Use Modifications
</h3>
<p>
EntryDNS may revise these terms of use for its web site at any time without notice. By using this web site you are agreeing to be bound by the then current version of these Terms and Conditions of Use.
</p>
<h3>
8. Governing Law
</h3>
<p>
Any claim relating to EntryDNS's web site shall be governed by the laws of the State of United Kingdom without regard to its conflict of law provisions.
</p>
</div>
</div>
</div>

Loading…
Cancel
Save