Permalink
Browse files

Basic readme, empty LICENSE, a few changes to the css, sessions/new a…

…nd users/new
  • Loading branch information...
1 parent 84f17fd commit b4fb438b6051691e66d9b8059bcdc9e712c563d1 @gabrielecirulli gabrielecirulli committed Apr 7, 2012
View
No changes.
View
@@ -0,0 +1,6 @@
+# VOZE
+A torrent tracker software based on Ruby on Rails
+
+## About VOZE
+
+## License
@@ -49,6 +49,7 @@
</div>
</div>
<div class="container primary" id="content">
+
<div id="sidebar">
<div id="activity">
<div id="recent-uploads">
@@ -155,6 +155,16 @@ input {
}
}
+
+dl {
+ display: inline-block;
+ margin: 0;
+ dt, dd {
+ display: inline;
+ margin: 0;
+ }
+}
+
// Generic stuff
.clearfix {
clear: both;
@@ -21,7 +21,7 @@ body {
}
h1, h2, h3, h4, h5, h6 {
- margin-bottom: 0 0 10px 0;
+ margin: 0 0 10px 0;
}
a {
@@ -99,6 +99,15 @@ input {
}
}
+dl {
+ display: inline-block;
+ margin: 0;
+ dt, dd {
+ display: inline;
+ margin: 0;
+ }
+}
+
.clearfix {
clear: both;
&.left {
@@ -218,4 +227,4 @@ input {
display: inline-block;
margin-right: 10px;
}
-}
+}
@@ -1,6 +1,7 @@
@import "helpers.css.scss";
#outer-login-container {
+
margin-top: 200px;
img {
@@ -11,28 +12,27 @@
#login-container {
width: 300px;
- margin: 0 auto;
+
+ margin: 20px auto;
+
+ box-sizing: border-box;
+
overflow: hidden;
- @include box-sizing(border-box);
h2 {
margin-top: 0;
}
- .field_with_errors {
- margin-top:4px;
- }
-
input {
width: 100%;
- margin-top: 4px;
+ margin-top: 5px;
- &:first-child {
+ &#session_username {
margin-top: 0;
}
&#session_submit {
- width: 82px;
+ width: 100px;
float: right;
}
}
@@ -45,4 +45,4 @@
margin-top: 5px;
margin-left: 1px;
}
-}
+}
@@ -1,3 +1,11 @@
// Place all the styles related to the users controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
+
+#login-container {
+ input {
+ &#user_username {
+ margin-top: 0;
+ }
+ }
+}
@@ -69,4 +69,4 @@
</div>
</div>
</body>
-</html>
+</html>
@@ -1,17 +1,17 @@
<div id="outer-login-container">
<%= image_tag "voze_small.png", alt: "Voze" %>
<div class="container" id="login-container">
- <h2>Sign in</h2>
+ <h2>Login</h2>
<% if @failed_login %>
<div class="errors">
Incorrect username or password
</div>
<% end %>
<%= form_for :session, url: sessions_path do |f| %>
- <%= f.text_field :username, placeholder: "Username" %>
+ <%= f.text_field :username, placeholder: "Username", autofocus: true %>
<%= f.password_field :password, placeholder: "Password" %>
- <%= link_to "I forgot my password", new_password_reset_path %>
- <%= f.submit "Sign in", id: "session_submit" %>
+ <%= link_to "Forgot your password?", new_password_reset_path %>
+ <%= f.submit "Login", id: "session_submit" %>
<% end %>
</div>
-</div>
+</div>
@@ -12,12 +12,13 @@
</div>
<% end %>
<%= form_for @user do |f| %>
- <%= f.text_field :username, placeholder: "Username" %>
- <%= f.text_field :email, placeholder: "Email" %>
- <%= f.password_field :password, placeholder: "Password" %>
- <%= f.password_field :password_confirmation, placeholder: "Password (confirm)" %>
+ <%= f.text_field :username, placeholder: "Username", autofocus: true, autocomplete: "off" %>
+ <%= f.text_field :email, placeholder: "Email", autocomplete: "off" %>
+ <%= f.password_field :password, placeholder: "Password", autocomplete: "off" %>
+ <%= f.password_field :password_confirmation, placeholder: "Password (confirm)", autocomplete: "off" %>
<%= f.text_field :invite_code, placeholder: "Invite code" %>
+ <%= link_to "Already have an account?", new_sessions_path %>
<%= f.submit "Register", id: "session_submit" %>
<% end %>
</div>
-</div>
+</div>

0 comments on commit b4fb438

Please sign in to comment.