Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updates to the homepage

  • Loading branch information...
commit f20f65d73d912d1f7fe1a8e050eec672b3ef344c 1 parent 716a9fb
Graham Miller authored
22 src/Web/Content/Site.css
View
@@ -80,14 +80,24 @@ fieldset p { padding: 0.5em 0 0.5em 20em; clear: both; }
/* Styles for the homepage
-----------------------------------------------------------*/
-.homepage-illustration div { float: left; height: 250px; width: 250px; color: #222222; background-repeat: no-repeat;}
+.homepage-illustration { margin-left: auto; margin-right: auto; width: 600px; }
- .homepage-illustration div h2 { margin: 140px 10px 0px 10px; padding: 0; }
+.homepage-illustration div { display: block; }
- .homepage-illustration div p { margin: 5px 60px 10px 10px; padding: 0; }
+.homepage-illustration div div { float: left; height: 250px; width: 250px; color: #222222; background-repeat: no-repeat; padding: 0; margin: 20px; }
- .homepage-illustration .step-1 { background-image: url(../Images/step-1.png); padding: 0; margin: 20px; }
+ .homepage-illustration h2 { margin: 140px 10px 0px 10px; padding: 0; }
- .homepage-illustration .step-2 { background-image: url(../Images/step-2.png); padding: 0; margin: 20px; }
+ .homepage-illustration p { margin: 5px 60px 10px 10px; padding: 0; }
- .homepage-illustration .step-3 { background-image: url(../Images/step-3.png); padding: 0; margin: 20px; }
+ .homepage-illustration .step-1 { background-image: url(../Images/step-1.png); }
+
+ .homepage-illustration .step-2 { background-image: url(../Images/step-2.png); }
+
+ .homepage-illustration .step-3 { background-image: url(../Images/step-3.png); }
+
+ .homepage-illustration .step-4 { background-image: url(../Images/step-4.png); }
+
+ .homepage-illustration .step-4 h2 { margin: 140px 10px 0px 10px; padding: 0; text-align: center; }
+
+ .homepage-illustration .step-4 p { margin: 20px 10px 10px 10px; padding: 0; text-align: center; }
5 src/Web/Controllers/HomeController.cs
View
@@ -14,11 +14,6 @@ public ActionResult Index()
return View();
}
- public ActionResult Links()
- {
- return View();
- }
-
public ActionResult About()
{
return View();
BIN  src/Web/Images/step-4.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2  src/Web/Views/Admin/Index.cshtml
View
@@ -4,7 +4,7 @@
<h2>Admin</h2>
-<ul>
+<ul class="links">
<li>@Html.ActionLink("View log", "Index", "Logging")</li>
<li>@Html.ActionLink("Manage roles", "Index", "Role")</li>
</ul>
28 src/Web/Views/Home/About.cshtml
View
@@ -5,11 +5,27 @@
<h2>About</h2>
<p>
- Budgeteer is my playground project to try out different software development
- technologies and techniques. See the @Html.ActionLink("Links page", "Links", "Home")
- for details some of the technology I've used.
+ Budgeteer is my "playground" project to try out different software development
+ technologies and techniques. See the list below for links to some of the
+ technologies and resources I've used.
</p>
<p>
- Budgeteer allows you to calculate the future balance on a bank account by
- setting up the details of debits and credits due.
-</p>
+ Budgeteer allows you to calculate the future balance on your bank account by
+ setting up the details of debits and credits due and entering the starting
+ balance.
+</p>
+<ul class="links">
+ <li><a href="http://www.asp.net/mvc">ASP.NET MVC3</a></li>
+ <li><a href="http://jquery.com/">jQuery</a>
+ <li><a href="http://jqueryui.com/">jQuery UI</a>
+ <li><a href="http://nhforge.org/">NHibernate</a>
+ <li><a href="http://fluentnhibernate.org/">Fluent NHibernate</a>
+ <li><a href="http://www.nunit.org/">NUnit</a></li>
+ <li><a href="http://logging.apache.org/log4net/">log4net</a></li>
+ <li><a href="http://code.google.com/p/moq/">moq</a></li>
+ <li><a href="http://css3please.com/">CSS3, please!</a></li>
+ <li><a href="http://border-radius.com/">Border Radius</a></li>
+ <li><a href="http://www.squidfingers.com/patterns">Squid Fingers</a></li>
+ <li><a href="http://appharbor.com/">AppHarbor</a></li>
+ <li><a href="http://github.com/">github</a></li>
+</ul>
6 src/Web/Views/Home/Disclaimer.cshtml
View
@@ -21,12 +21,12 @@
</p>
<p>
Through this website you are able to link to other websites which are not under the
- control of WhoIsFastest. We have no control over the nature, content and availability
+ control of Budgeteer. We have no control over the nature, content and availability
of those sites. The inclusion of any links does not necessarily imply a recommendation
or endorse the views expressed within them.
</p>
<p>
Every effort is made to keep the website up and running smoothly. However, Budgeteer
- takes no responsibility for, and will not be liable for, the website being temporarily
- unavailable due to technical issues beyond our control.
+ takes no responsibility for, and will not be liable for, the website being unavailable
+ for any reason.
</p>
48 src/Web/Views/Home/Index.cshtml
View
@@ -5,24 +5,36 @@
<h2></h2>
<div class="homepage-illustration">
- <div class="step-1">
- <h2>Setup</h2>
- <p>
- Setup the frequency and amount of credits and debits
- into your account.
- </p>
+ <div>
+ <div class="step-1">
+ <h2>Setup</h2>
+ <p>
+ Setup the frequency and amount of credits and debits
+ on your account.
+ </p>
+ </div>
+ <div class="step-2">
+ <h2>Balance</h2>
+ <p>
+ Set the current balance on your account.
+ </p>
+ </div>
</div>
- <div class="step-2">
- <h2>Balance</h2>
- <p>
- Enter how much money you have to begin with.
- </p>
- </div>
- <div class="step-3">
- <h2>Budget</h2>
- <p>
- Get you budget for the rest of the month or year.
- </p>
+ <div class="clear"></div>
+ <div>
+ <div class="step-3">
+ <h2>Budget</h2>
+ <p>
+ Get your budget for the rest of the month or year.
+ </p>
+ </div>
+ <div class="step-4">
+ <h2>Get started</h2>
+ <p>
+ @Html.ActionLink("Sign up", "Create", "Account", null, new { @class = "button" })
+ @Html.ActionLink("Sign in", "Login", "Account", null, new { @class = "button" })
+ </p>
+ </div>
</div>
+ <div class="clear"></div>
</div>
-<div class="clear"></div>
21 src/Web/Views/Home/Links.cshtml
View
@@ -1,21 +0,0 @@
-@{
- ViewBag.Title = "Links";
-}
-
-<h2>Links</h2>
-
-<ul class="links">
- <li><a href="http://www.asp.net/mvc">ASP.NET MVC3</a></li>
- <li><a href="http://jquery.com/">jQuery</a>
- <li><a href="http://jqueryui.com/">jQuery UI</a>
- <li><a href="http://nhforge.org/">NHibernate</a>
- <li><a href="http://fluentnhibernate.org/">Fluent NHibernate</a>
- <li><a href="http://www.nunit.org/">NUnit</a></li>
- <li><a href="http://logging.apache.org/log4net/">log4net</a></li>
- <li><a href="http://code.google.com/p/moq/">moq</a></li>
- <li><a href="http://css3please.com/">CSS3, please!</a></li>
- <li><a href="http://border-radius.com/">Border Radius</a></li>
- <li><a href="http://www.squidfingers.com/patterns">Squid Fingers</a></li>
- <li><a href="http://appharbor.com/">AppHarbor</a></li>
- <li><a href="http://github.com/">github</a></li>
-</ul>
1  src/Web/Views/Shared/_Footer.cshtml
View
@@ -1,6 +1,5 @@
<div id="footer">
@Html.ActionLink("About", "About", "Home") |
- @Html.ActionLink("Links", "Links", "Home") |
@Html.ActionLink("Copyright", "Copyright", "Home") |
@Html.ActionLink("Conditions", "Conditions", "Home") |
@Html.ActionLink("Disclaimer", "Disclaimer", "Home") |
2  src/Web/Views/Shared/_Layout.cshtml
View
@@ -28,7 +28,7 @@
$(document).ready(function () {
- $("input:submit, button").button();
+ $("input:submit, button, .button").button();
});
3  src/Web/Web.csproj
View
@@ -265,9 +265,6 @@
<Content Include="Views\Account\Details.cshtml" />
</ItemGroup>
<ItemGroup>
- <Content Include="Views\Home\Links.cshtml" />
- </ItemGroup>
- <ItemGroup>
<Content Include="Views\Home\About.cshtml" />
</ItemGroup>
<ItemGroup>
Please sign in to comment.
Something went wrong with that request. Please try again.