STUPID HOME PAGE
This commit is contained in:
parent
cb802b9b6c
commit
aa5e8b5664
|
@ -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 {
|
.project_tile {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
%html
|
%html
|
||||||
%head
|
%head
|
||||||
|
%link{:media => 'screen',
|
||||||
|
:rel => 'stylesheet',
|
||||||
|
:href => '/css/despair.css'}
|
||||||
%title
|
%title
|
||||||
Git of Despair
|
Git of Despair
|
||||||
%body
|
%body
|
||||||
- if Resin.development?
|
%center
|
||||||
%div{:style => 'float: right;'}
|
%div.logo
|
||||||
%button{:onclick => 'smalltalk.Browser._open(); return false;'}
|
%form{:onsubmit => 'window.location=this.repo.value; return false;'}
|
||||||
Run Amber IDE
|
%input{:type => 'text',
|
||||||
|
:name => 'repo',
|
||||||
|
:size => 50,
|
||||||
|
:placeholder => 'Enter a username or username/reponame'}
|
||||||
|
|
||||||
|
|
||||||
%h2
|
|
||||||
Git of Despair
|
|
||||||
|
|
||||||
|
|
||||||
= embed_amber
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
- else
|
- else
|
||||||
window.despair_repo = null;
|
window.despair_repo = null;
|
||||||
%link{:media => 'screen',
|
%link{:media => 'screen',
|
||||||
:rel => 'stylesheet',
|
:rel => 'stylesheet',
|
||||||
:href => '/css/despair.css'}
|
:href => '/css/despair.css'}
|
||||||
%body
|
%body
|
||||||
- if Resin.development?
|
- if Resin.development?
|
||||||
|
|
Loading…
Reference in New Issue