-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,840 changed files
with
1,010,358 additions
and
0 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
Database/migrations/2019_01_17_125910_add_google_columns_to_users_table.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
|
||
use Illuminate\Support\Facades\Schema; | ||
use Illuminate\Database\Schema\Blueprint; | ||
use Illuminate\Database\Migrations\Migration; | ||
|
||
class AddGoogleColumnsToUsersTable extends Migration | ||
{ | ||
/** | ||
* Run the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function up() | ||
{ | ||
Schema::table('users', function (Blueprint $table) { | ||
$table->string('google_id'); | ||
$table->string('avatar')->nullable(); | ||
$table->string('avatar_original')->nullable(); | ||
$table->integer ('access_level')->default (0); | ||
}); | ||
} | ||
|
||
/** | ||
* Reverse the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function down() | ||
{ | ||
Schema::table('users', function (Blueprint $table) { | ||
$table->dropColumn ('google_id'); | ||
$table->dropColumn ('avatar'); | ||
$table->dropColumn ('avatar_original'); | ||
$table->dropColumn ('access_level'); | ||
}); | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
Database/migrations/2019_01_19_113909_add_nullable_to_users_table.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
|
||
use Illuminate\Support\Facades\Schema; | ||
use Illuminate\Database\Schema\Blueprint; | ||
use Illuminate\Database\Migrations\Migration; | ||
|
||
class AddNullableToUsersTable extends Migration | ||
{ | ||
/** | ||
* Run the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function up() | ||
{ | ||
Schema::table('users', function (Blueprint $table) { | ||
$table->string('password')->nullable ()->change (); | ||
$table->string('google_id')->nullable ()->change ();; | ||
}); | ||
} | ||
|
||
/** | ||
* Reverse the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function down() | ||
{ | ||
Schema::table('users', function (Blueprint $table) { | ||
$table->string('password')->change (); | ||
$table->string('google_id')->change ();; | ||
}); | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
Database/migrations/2019_01_19_163752_add_soft_delete_column_to_users_table.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
use Illuminate\Support\Facades\Schema; | ||
use Illuminate\Database\Schema\Blueprint; | ||
use Illuminate\Database\Migrations\Migration; | ||
|
||
class AddSoftDeleteColumnToUsersTable extends Migration | ||
{ | ||
/** | ||
* Run the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function up() | ||
{ | ||
Schema::table('users', function (Blueprint $table) { | ||
$table->softDeletes (); | ||
}); | ||
} | ||
|
||
/** | ||
* Reverse the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function down() | ||
{ | ||
Schema::table('users', function (Blueprint $table) { | ||
$table->dropSoftDeletes (); | ||
}); | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,273 @@ | ||
@font-face { | ||
font-family: Vazir; | ||
src: url('../fonts/Vazir.eot'); | ||
src: url('../fonts/Vazir.eot?#iefix') format('embedded-opentype'), | ||
url('../fonts/Vazir.woff2') format('woff2'), | ||
url('../fonts/Vazir.woff') format('woff'), | ||
url('../fonts/Vazir.ttf') format('truetype'); | ||
font-weight: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: Vazir; | ||
src: url('../fonts/Vazir-Bold.eot'); | ||
src: url('../fonts/Vazir-Bold.eot?#iefix') format('embedded-opentype'), | ||
url('../fonts/Vazir-Bold.woff2') format('woff2'), | ||
url('../fonts/Vazir-Bold.woff') format('woff'), | ||
url('../fonts/Vazir-Bold.ttf') format('truetype'); | ||
font-weight: bold; | ||
} | ||
|
||
@font-face { | ||
font-family: Vazir; | ||
src: url('../fonts/Vazir-Light.eot'); | ||
src: url('../fonts/Vazir-Light.eot?#iefix') format('embedded-opentype'), | ||
url('../fonts/Vazir-Light.woff2') format('woff2'), | ||
url('../fonts/Vazir-Light.woff') format('woff'), | ||
url('../fonts/Vazir-Light.ttf') format('truetype'); | ||
font-weight: 300; | ||
} | ||
|
||
@font-face { | ||
font-family: Vazir; | ||
src: url('../fonts/Vazir-Medium.eot'); | ||
src: url('../fonts/Vazir-Medium.eot?#iefix') format('embedded-opentype'), | ||
url('../fonts/Vazir-Medium.woff2') format('woff2'), | ||
url('../fonts/Vazir-Medium.woff') format('woff'), | ||
url('../fonts/Vazir-Medium.ttf') format('truetype'); | ||
font-weight: 500; | ||
} | ||
|
||
@font-face { | ||
font-family: Vazir; | ||
src: url('../fonts/Vazir-Thin.eot'); | ||
src: url('../fonts/Vazir-Thin.eot?#iefix') format('embedded-opentype'), | ||
url('../fonts/Vazir-Thin.woff2') format('woff2'), | ||
url('../fonts/Vazir-Thin.woff') format('woff'), | ||
url('../fonts/Vazir-Thin.ttf') format('truetype'); | ||
font-weight: 100; | ||
} | ||
|
||
@font-face { | ||
font-family: Vazir; | ||
src: url('../fonts/Vazir-Black.eot'); | ||
src: url('../fonts/Vazir-Black.eot?#iefix') format('embedded-opentype'), | ||
url('../fonts/Vazir-Black.woff2') format('woff2'), | ||
url('../fonts/Vazir-Black.woff') format('woff'), | ||
url('../fonts/Vazir-Black.ttf') format('truetype'); | ||
font-weight: 900; | ||
} | ||
|
||
/*---------------------------------- End of fonts ---------------------------------- */ | ||
|
||
body { | ||
font-family: 'Vazir', sans-serif !important; | ||
} | ||
|
||
.ltr { | ||
direction:ltr; | ||
} | ||
|
||
|
||
ul { | ||
padding-inline-start: 0px; | ||
} | ||
|
||
.dropdown-item { | ||
text-align: right; | ||
} | ||
.dropdown-footer, .dropdown-header { | ||
text-align: center; | ||
} | ||
|
||
.breadcrumb-item+.breadcrumb-item::before { | ||
padding-left: .5rem; | ||
} | ||
|
||
|
||
/*------------------------------------ contacts-list ------------------------------------*/ | ||
|
||
.contacts-list-img { | ||
float: right; | ||
} | ||
|
||
.contacts-list-info { | ||
margin-right: 45px; | ||
margin-left: 0; | ||
} | ||
|
||
|
||
/* sidebar */ | ||
|
||
.sidebar { | ||
direction: ltr; | ||
} | ||
|
||
.sidebar > div:first-child { | ||
direction: rtl; | ||
} | ||
|
||
.control-sidebar, .control-sidebar:before { | ||
left: -250px; | ||
right: auto; | ||
transition: left .3s ease-in-out; | ||
} | ||
|
||
.control-sidebar-slide-open .control-sidebar, .control-sidebar-slide-open .control-sidebar:before { | ||
left: 0; | ||
right: auto; | ||
} | ||
|
||
.small-box .icon { | ||
right:auto; | ||
left:10px; | ||
} | ||
|
||
.nav-sidebar .nav-link>p>.right { | ||
left: 1rem; | ||
right: auto; | ||
} | ||
|
||
.nav-sidebar>.nav-item .nav-icon { | ||
margin-right: 0; | ||
margin-left: .2rem; | ||
} | ||
|
||
@media (min-width: 992px) { | ||
.sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header { | ||
margin-right: 4.6rem; | ||
margin-left: 0; | ||
} | ||
} | ||
|
||
@media (min-width: 992px) { | ||
.sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header { | ||
margin-left: 0rem !important; | ||
margin-right: 4.6rem !important; | ||
z-index:100; | ||
} | ||
|
||
.sidebar-mini.sidebar-collapse .main-sidebar, .sidebar-mini.sidebar-collapse .main-sidebar:before { | ||
margin-right: 0; | ||
width: 4.6rem; | ||
} | ||
} | ||
|
||
|
||
@media (min-width: 768px) { | ||
.content-wrapper, .main-footer, .main-header { | ||
transition: margin-right .3s ease-in-out; | ||
margin-right: 250px; | ||
margin-left : 0; | ||
z-index: 1050; | ||
} | ||
} | ||
|
||
@media (max-width: 991.98px) { | ||
.main-sidebar, .main-sidebar:before { | ||
box-shadow: none!important; | ||
margin-right: -250px; | ||
margin-left: 0; | ||
} | ||
|
||
.content-wrapper, .content-wrapper:before, .main-footer, .main-footer:before, .main-header, .main-header:before { | ||
margin-right: 0; | ||
} | ||
|
||
.sidebar-open .main-sidebar, .sidebar-open .main-sidebar:before { | ||
margin-right: 0; | ||
z-index: 4000; | ||
} | ||
} | ||
|
||
.sidebar-collapse .main-sidebar, .sidebar-collapse .main-sidebar:before { | ||
margin-right: -250px; | ||
} | ||
|
||
.main-sidebar { | ||
left: auto; | ||
right:0; | ||
} | ||
|
||
/* Cards */ | ||
|
||
.card-header>.card-tools { | ||
right:auto; | ||
left:1rem; | ||
} | ||
|
||
.user-block img { | ||
float: right; | ||
} | ||
|
||
.attachment-block .attachment-img { | ||
float: right; | ||
} | ||
|
||
.attachment-block .attachment-pushed { | ||
margin-left: 0px; | ||
margin-right: 110px; | ||
} | ||
|
||
.card-comments .card-comment img, .img-lg, .img-md, .img-sm, .user-block.user-block-sm img { | ||
float: right; | ||
} | ||
|
||
.card-comments .comment-text { | ||
margin-right: 40px; | ||
margin-left: 0; | ||
} | ||
|
||
.card-comments .card-comment img+.img-push, .img-sm+.img-push, .user-block.user-block-sm img+.img-push { | ||
margin-left: 0px; | ||
margin-right: 40px; | ||
} | ||
|
||
.user-block .comment, .user-block .description, .user-block .username { | ||
margin-right: 50px; | ||
margin-left: 0px; | ||
} | ||
|
||
.btn-group-vertical { | ||
align-items: center; | ||
} | ||
|
||
|
||
/*------------------------- Form ----------------------------*/ | ||
.select2-container .select2-search--inline { | ||
float: right; | ||
} | ||
|
||
.select2-container--default .select2-search--inline .select2-search__field { | ||
text-align: right; | ||
} | ||
|
||
/*----------------------- Extra Page ---------------------------*/ | ||
.error-page>.headline { | ||
float: right; | ||
} | ||
|
||
.error-page>.error-content { | ||
margin-right: 190px; | ||
margin-left: 0; | ||
} | ||
|
||
.lockscreen-image { | ||
left: auto; | ||
right:-10px; | ||
} | ||
|
||
.lockscreen-credentials { | ||
margin-left: 0px; | ||
margin-right: 70px; | ||
} | ||
|
||
.nav { | ||
padding-inline-start: 0px !important; | ||
} | ||
|
||
/*---------------------------------- Persian Date Picker ---------------------------------- */ | ||
|
||
.datepicker-plot-area { | ||
font-family: 'Vazir', sans-serif; | ||
} |
Oops, something went wrong.