A curated list of FREE design & UI resources for developers including stock photos, templates, frameworks, UI Kits, online tools and much much more.
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset= "UTF-8"> | |
<meta name="viewport" | |
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>{{ title }}</title> | |
<link rel="stylesheet" href="css/reset.min.css"> | |
<link rel="stylesheet" href="css/style.css"> |
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
<div ng-controller="myController"> | |
<!-- multistep form --> | |
<div id="msdiv"> | |
<!-- progressbar --> | |
<ul id="progressbar"> | |
<li class="active">General</li> | |
<li> Courses</li> | |
<li>Final Submit</li> | |
<li>Payment</li> | |
</ul> |
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
<div id="msdiv" style="width:100%"> | |
<fieldset> | |
<table width="100%"> | |
<tr> | |
<td style="width:25%; text-align:left"> | |
<form method="get" action="/onlineDashboard"> | |
<input type="submit" name="submit" class="submit action-button" id="online" value="Online" /> | |
</form> | |
</td> | |
<td style="width:50%; text-align:center; font-weight: bold"> |
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
<?php | |
$table->increments('id'); | |
$table->bigInteger('role_id'); | |
$table->string('name'); | |
$table->string('email')->unique(); | |
$table->timestamp('email_verified_at')->nullable(); | |
$table->string('password'); | |
$table->rememberToken(); | |
$table->timestamps(); | |
?> |
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
<? | |
$table->bigIncrements('role_id'); | |
$table->string('role_name'); | |
$table->string('role_slug'); | |
$table->timestamps(); | |
?> |
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
<? | |
public function users() | |
{ | |
return $this->hasMany('App\User'); | |
} | |
?> |
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
<? | |
public function roles() | |
{ | |
return $this->belongsTo('App\Role'); | |
} | |
?> |
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
<? | |
DB::table('roles')->insert([ | |
'role_name' => 'Admin', | |
'role_slug' => 'admin', | |
]); | |
DB::table('roles')->insert([ | |
'role_name' => 'User', | |
'role_slug' => 'user', | |
]); |
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
<? | |
DB::table('users')->insert([ | |
'role_id' => '1', | |
'name' => 'Admin', | |
'email' => 'admin@gmail.com', | |
'password' => bcrypt('pass@admin'), | |
]); | |
DB::table('users')->insert([ | |
'role_id' => '2', |