From 01f54264e725351b5abdb48ca62ad97f8dfb9300 Mon Sep 17 00:00:00 2001 From: devfake Date: Tue, 23 Jun 2015 14:13:27 +0200 Subject: [PATCH] add email for registration, set migration --- site/client/app/modules/landing/views/landing.html | 1 + site/client/assets/sass/_form.scss | 4 ++++ site/client/assets/sass/_landing.scss | 2 +- .../migrations/2014_10_12_000000_create_users_table.php | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/site/client/app/modules/landing/views/landing.html b/site/client/app/modules/landing/views/landing.html index 883aac7..a9c2e41 100644 --- a/site/client/app/modules/landing/views/landing.html +++ b/site/client/app/modules/landing/views/landing.html @@ -13,6 +13,7 @@
+
diff --git a/site/client/assets/sass/_form.scss b/site/client/assets/sass/_form.scss index 08dec80..9fc7dbd 100644 --- a/site/client/assets/sass/_form.scss +++ b/site/client/assets/sass/_form.scss @@ -22,6 +22,10 @@ width: 220px; @include secondGradient(); + + .container-form-landing & { + width: 170px; + } } .wrap-btn-action { diff --git a/site/client/assets/sass/_landing.scss b/site/client/assets/sass/_landing.scss index d50a6d0..668e418 100644 --- a/site/client/assets/sass/_landing.scss +++ b/site/client/assets/sass/_landing.scss @@ -13,7 +13,7 @@ body.landing { } .wrap-landing { - max-width: 900px; + max-width: 1000px; margin: 0 auto; } diff --git a/site/server/database/migrations/2014_10_12_000000_create_users_table.php b/site/server/database/migrations/2014_10_12_000000_create_users_table.php index 65d3d08..a1c7b16 100755 --- a/site/server/database/migrations/2014_10_12_000000_create_users_table.php +++ b/site/server/database/migrations/2014_10_12_000000_create_users_table.php @@ -14,7 +14,7 @@ class CreateUsersTable extends Migration { Schema::create('users', function (Blueprint $table) { $table->increments('id'); - $table->string('name'); + $table->string('username')->unique(); $table->string('email')->unique(); $table->string('password', 60); $table->rememberToken();