STUPID HOME PAGE

This commit is contained in:
R. Tyler Croy 2012-04-12 22:58:38 -07:00
parent cb802b9b6c
commit aa5e8b5664
3 changed files with 25 additions and 11 deletions

View File

@ -1,5 +1,19 @@
.logo {
background-image: url('/images/crappy-logo.png');
background-repeat: no-repeat;
width: 630px;
height: 430px;
overflow: hidden;
}
.logo input {
font-size: 18px;
color: #333;
/* this is stupid and ugly */
margin-top: 250px;
}
.project_tile {
padding: 10px;
clear: both;

View File

@ -1,16 +1,16 @@
%html
%head
%link{:media => 'screen',
:rel => 'stylesheet',
:href => '/css/despair.css'}
%title
Git of Despair
%body
- if Resin.development?
%div{:style => 'float: right;'}
%button{:onclick => 'smalltalk.Browser._open(); return false;'}
Run Amber IDE
%center
%div.logo
%form{:onsubmit => 'window.location=this.repo.value; return false;'}
%input{:type => 'text',
:name => 'repo',
:size => 50,
:placeholder => 'Enter a username or username/reponame'}
%h2
Git of Despair
= embed_amber

View File

@ -9,7 +9,7 @@
- else
window.despair_repo = null;
%link{:media => 'screen',
:rel => 'stylesheet',
:rel => 'stylesheet',
:href => '/css/despair.css'}
%body
- if Resin.development?