Update and refactor default public view, close #3811
This commit is contained in:
parent
26139fc2dc
commit
3c84f2e0bd
2 changed files with 159 additions and 169 deletions
|
|
@ -11,6 +11,7 @@
|
|||
* Made loading of the configuration environment independent of Rails.
|
||||
* Do not generate paths like `/a/b/c/config/boot.rb/../../Gemfile` to require and open things, create a proper path instead.
|
||||
* Remove the hack for loading the entire lib folder with a proper solution. [#3809](https://github.com/diaspora/diaspora/issues/3750)
|
||||
* Update and refactor the default public view `public/default.html` [#3811](https://github.com/diaspora/diaspora/issues/3811)
|
||||
|
||||
|
||||
## Features
|
||||
|
|
|
|||
|
|
@ -1,169 +1,158 @@
|
|||
<head>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin-top: 50px;
|
||||
background-color: white;
|
||||
background-image : none;
|
||||
}
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin-top: 50px;
|
||||
background-color: white;
|
||||
background-image : none;
|
||||
}
|
||||
|
||||
#header {
|
||||
-webkit-box-shadow:none;
|
||||
-moz-box-shadow:none;
|
||||
box-shadow:none;
|
||||
border:none;
|
||||
background:none;
|
||||
}
|
||||
li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#steps {
|
||||
text-align: center;
|
||||
}
|
||||
footer h3 {
|
||||
margin-bottom: 25px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: none;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
footer {
|
||||
margin-bottom: 12px;
|
||||
padding: 42px;
|
||||
border-top: 1px solid #ccc;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
|
||||
#banner {
|
||||
border-bottom : 1px solid #ccc;
|
||||
border-top : 1px solid #eee;
|
||||
padding : 30px;
|
||||
margin : 20px 0;
|
||||
#header {
|
||||
/* Hack to hide the header */
|
||||
-webkit-box-shadow:none;
|
||||
-moz-box-shadow:none;
|
||||
box-shadow:none;
|
||||
border:none;
|
||||
background:none;
|
||||
|
||||
-webkit-box-shadow : 0 9px 15px -10px rgba(0,0,0,0.7);
|
||||
}
|
||||
left: 0px;
|
||||
padding: 15px 0px;
|
||||
}
|
||||
|
||||
#links {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
}
|
||||
#header img {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
#links .section {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
width: 24%;
|
||||
max-width: 24%;
|
||||
}
|
||||
#login-link {
|
||||
float: right;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
#login-link {
|
||||
float: right;
|
||||
}
|
||||
#steps {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#change-page {
|
||||
color: #999;
|
||||
text-align: center;
|
||||
font-style: italic;
|
||||
}
|
||||
#banner {
|
||||
border-bottom : 1px solid #ccc;
|
||||
border-top : 1px solid #eee;
|
||||
padding : 30px;
|
||||
margin-top: 20px;
|
||||
text-align: center;
|
||||
|
||||
footer .container {
|
||||
margin-top: 15px;
|
||||
}
|
||||
-webkit-box-shadow : 0 9px 15px -10px rgba(0,0,0,0.7);
|
||||
-moz-box-shadow : 0 9px 15px -10px rgba(0,0,0,0.7);
|
||||
-khtml-box-shadow : 0 9px 15px -10px rgba(0,0,0,0.7);
|
||||
-o-box-shadow : 0 9px 15px -10px rgba(0,0,0,0.7);
|
||||
-ms-box-shadow : 0 9px 15px -10px rgba(0,0,0,0.7);
|
||||
box-shadow : 0 9px 15px -10px rgba(0,0,0,0.7);
|
||||
}
|
||||
|
||||
.helpful {
|
||||
cursor: help;
|
||||
}
|
||||
#links {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
li {
|
||||
list-style: none;
|
||||
}
|
||||
#links .section {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
width: 24%;
|
||||
max-width: 24%;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
#change-page {
|
||||
color: #999;
|
||||
text-align: center;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
<body>
|
||||
<div id="page" class="container">
|
||||
<div id="content">
|
||||
<div class="row">
|
||||
<div id="header" style="left: 0; padding: 15px 0;">
|
||||
<a id="login-link" href="login" class="btn" style="margin-right: 15px;">Log In</a>
|
||||
<img src='assets/branding/logo_caps.png'/ style="margin-left: 15px;">
|
||||
</div>
|
||||
</div>
|
||||
.helpful {
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
<div id="getting-started">
|
||||
<div class="row" style="text-align: center;">
|
||||
<div id="banner">
|
||||
<h1>Welcome, friend.</h1>
|
||||
.row {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<h3>You're about to change the Internet. Let's get you set up, shall we?</h3>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<div id="page" class="container">
|
||||
<header id="header">
|
||||
<a id="login-link" href="login" class="btn">Log In</a>
|
||||
<img src="assets/branding/logo_caps.png" />
|
||||
</header>
|
||||
|
||||
<div id="steps" class="row">
|
||||
<div class="span4">
|
||||
<h2>Configure your <abbr class="helpful" title="A Diaspora installation">pod</abbr></h2>
|
||||
<img src='assets/icons/cog.png'/>
|
||||
<div id="banner" class="row">
|
||||
<h1>Welcome, friend.</h1>
|
||||
<h3>You're about to change the Internet. Let's get you set up, shall we?</h3>
|
||||
</div>
|
||||
|
||||
<p>Look at <code class="helpful"
|
||||
title='General pod configuration (location to upload photos, SSL certs, etc.)'>config/application.yml.example</code>
|
||||
and <code class="helpful" title="mySQL username/password">config/database.yml.example</code> for
|
||||
help.</p>
|
||||
</div>
|
||||
<div id="steps" class="row">
|
||||
<div class="span4">
|
||||
<h2>Configure your <abbr class="helpful" title="A Diaspora installation">pod</abbr></h2>
|
||||
<img src="assets/icons/cog.png" />
|
||||
|
||||
<div class="span4">
|
||||
<p>Look at
|
||||
<code class="helpful" title='General pod configuration (location to upload photos, SSL certs, etc.)'>
|
||||
config/diaspora.yml.example</code> and <code class="helpful" title="mySQL username/password">
|
||||
config/database.yml.example</code> for help.</p>
|
||||
</div>
|
||||
|
||||
<h2>Try it out</h2>
|
||||
<img src='assets/icons/smiley_laughing.png'/>
|
||||
<div class="span4">
|
||||
<h2>Try it out</h2>
|
||||
<img src="assets/icons/smiley_laughing.png" />
|
||||
|
||||
<p>Start by <a href="users/sign_up">creating an account</a>.</p>
|
||||
</div>
|
||||
<p>Start by <a href="users/sign_up">creating an account</a>.</p>
|
||||
</div>
|
||||
|
||||
<div class="span4">
|
||||
<h2>Make a contribution!</h2>
|
||||
<img src='assets/icons/pen_write.png'/>
|
||||
<div class="span4">
|
||||
<h2>Make a contribution!</h2>
|
||||
<img src="assets/icons/pen_write.png" />
|
||||
|
||||
<p>Make Diaspora even better! Fork the project on <a href="http://github.com/diaspora/diaspora/"
|
||||
title="github">github</a>, make some changes,
|
||||
and submit a pull request.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>Make Diaspora even better! Fork the project on
|
||||
<a href="http://github.com/diaspora/diaspora/" title="github">github</a>,
|
||||
make some changes, and submit a pull request.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<footer>
|
||||
<h3>Useful Resources</h3>
|
||||
<ul id="links">
|
||||
<ul class="section">
|
||||
<li><a href="http://github.com/diaspora/diaspora/" title="Git repository">Codebase</a></li>
|
||||
<li><a href="http://github.com/diaspora/diaspora/wiki" title="Wiki on github">Documentation</a></li>
|
||||
</ul>
|
||||
<ul class="section">
|
||||
<li><a href="http://webchat.freenode.net/?channels=diaspora" title="#diaspora">IRC - General</a></li>
|
||||
<li><a href="http://webchat.freenode.net/?channels=diaspora-dev" title="#diaspora-dev">IRC - Development</a></li>
|
||||
</ul>
|
||||
<ul class="section">
|
||||
<li><a href="http://groups.google.com/group/diaspora-discuss" title="General discussion mailing list">Discussion - General</a></li>
|
||||
<li><a href="http://groups.google.com/group/diaspora-dev" title="Dev mailing list">Discussion - Development</a></li>
|
||||
</ul>
|
||||
<ul class="section">
|
||||
<li><a href="https://github.com/diaspora/diaspora/issues" title="Bug tracker">Find & Report bugs</a></li>
|
||||
<li><a href="http://guides.rubyonrails.org/">Learn more about Ruby On Rails!</a></li>
|
||||
</ul>
|
||||
</ul>
|
||||
</footer>
|
||||
|
||||
<hr>
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
<h3 style="text-align:center;">Useful Resources</h3>
|
||||
<br/>
|
||||
<ul id="links">
|
||||
<ul class="section">
|
||||
<li><strong><a href="http://github.com/diaspora/diaspora/" title="Git repository">Codebase</a></strong></li>
|
||||
<li><strong><a href="http://github.com/diaspora/diaspora/wiki"
|
||||
title="Wiki on github">Documentation</a></strong></li>
|
||||
<br>
|
||||
<li><a href="https://github.com/diaspora/diaspora/issues" title="Bug tracker">Find & Report bugs</a></li>
|
||||
</ul>
|
||||
<ul class="section">
|
||||
<li><a href="http://webchat.freenode.net/?channels=diaspora" title="#diaspora">IRC - General</a></li>
|
||||
<li><a href="http://webchat.freenode.net/?channels=diaspora-dev" title="#diaspora-dev">IRC - Development</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="section">
|
||||
<li><a href="http://groups.google.com/group/diaspora-discuss" title="General discussion mailing list">Discussion
|
||||
- General</a></li>
|
||||
<li><a href="http://groups.google.com/group/diaspora-dev" title="Dev mailing list">Discussion -
|
||||
Development</a></li>
|
||||
</ul>
|
||||
<ul class="section">
|
||||
<li><a href="http://guides.rubyonrails.org/">Learn more about Ruby On Rails!</a></li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<hr style="border-color:#ddd;">
|
||||
|
||||
<div id="change-page">
|
||||
This page can be changed to a custom landing page by creating <code>app/views/home/_show.html.haml</code>
|
||||
</div>
|
||||
</div>
|
||||
<div id="change-page">
|
||||
This page can be changed to a custom landing page by creating <code>app/views/home/_show.html.haml</code>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue