Commit b519b6b4 by Triyah Fatmawati

Add menu registrasi dan daftar peserta (admin)

parent 333adaa0
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Registrasi;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
class AdminController extends Controller
{
public function index_peserta(){
$peserta = Registrasi::with('pkKegiatan', 'pkKonferensi')->get();
$data = [
'peserta' => $peserta
];
return view('admin.peserta.index', $data);
}
public function delete_participant($id) {
DB::beginTransaction();
try{
Registrasi::find($id)->delete();
DB::commit();
}
catch(Exception $e){
Log::error($e);
DB::rollBack();
}
}
}
<?php
namespace App\Http\Controllers;
use App\Http\Support\ValidationRule;
use App\Models\Kegiatan;
use App\Models\Konferensi;
use App\Models\Registrasi;
use Carbon\Carbon;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
class RegistrasiController extends Controller
{
public function create(){
$kegiatan = Kegiatan::get();
$konferensi = Konferensi::get();
$jumlahPendaftar = Registrasi::count();
$nourut = sprintf("%05s", $jumlahPendaftar+1);
$tgldaftar = Carbon::now()->format('d-m-Y');
$komponen = explode('-', $tgldaftar);
$koderegistrasi = 'REG-'.$komponen[0].$komponen[1].$komponen[2].$nourut;
$data = [
'kegiatan' => $kegiatan,
'konferensi' => $konferensi,
'kode_registrasi' => $koderegistrasi
];
return view('form_registrasi', $data);
}
public function store(Request $request) {
$rules = [
'nama' => 'required|string',
'email' => 'required|email:rfc,dns',
'telepon' => 'required|numeric',
'instansi' => 'required|string',
'jabatan' => 'required|string',
'alamat' => 'required|string',
'kodepos' => 'required|string',
'kota' => 'required|string',
'konferensi' => 'required',
'kegiatan' => 'required',
'kode_registrasi' => 'required'
];
$request->validate($rules, ValidationRule::getErrorMessage($rules));
DB::beginTransaction();
try{
$registrasi = [
'nama' => strip_tags($request->nama),
'email' => strip_tags($request->email),
'telepon' => strip_tags($request->telepon),
'instansi' => strip_tags($request->instansi),
'jabatan' => strip_tags($request->jabatan),
'alamat' => strip_tags($request->alamat),
'kode_pos' => strip_tags($request->kodepos),
'kota' => strip_tags($request->kota),
'id_konferensi' => $request->konferensi,
'id_kegiatan' => $request->kegiatan,
'kode_registrasi' => strip_tags($request->kode_registrasi)
];
// dd($registrasi);
Registrasi::query()->create($registrasi);
DB::commit();
return redirect()->back()
->with('success', 'Data saved successfully');
}
catch(Exception $e){
Log::error($e);
DB::rollBack();
return redirect()->back()
->with('error', 'Data failed to save');
}
}
}
<?php
namespace App\Http\Support;
class ValidationRule{
const WARNING = [
'required' => 'can not be empty',
'numeric' => 'must be a number',
'string' => 'must be a string',
'max' => 'must be maximum',
'min' => 'must be minimum',
'email' => 'is invalid',
'mimes' => 'file type does not match',
'unique' => 'must be unique'
];
public static function getErrorMessage($validationRules) {
$messages = [];
foreach ($validationRules as $key => $rules) {
$rulesArr = explode('|', $rules);
foreach ($rulesArr as $rule) {
$ruleArr = explode('|', $rule);
$ruleParams = explode(':', $ruleArr[0]);
$ruleKey = $ruleParams[0];
$message = str_replace('inputs.', '', $key);
$message = str_replace(['.', '_'], ' ', $message).' '.self::WARNING[$ruleKey].($ruleKey == 'max' || $ruleKey == 'min' ? ' '.$ruleParams[1].' characters' : '');
$messages[$key.'.'.$ruleKey] = $message;
}
}
return $messages;
}
}
?>
<?php
namespace App\Models;
use App\Traits\Uuid;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Kegiatan extends Model
{
use HasFactory;
use Uuid;
public $incrementing = false;
protected $table = 'kegiatan';
protected $keyType = 'string';
protected $fillable = [
'id',
'nama',
'harga'
];
public function rKegiatan() {
return $this->belongsToMany(Registrasi::class, 'id_kegiatan', 'id');
}
}
<?php
namespace App\Models;
use App\Traits\Uuid;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Konferensi extends Model
{
use HasFactory;
use Uuid;
public $incrementing = false;
protected $table = 'konferensi';
protected $keyType = 'string';
protected $fillable = [
'id',
'nama'
];
public function rKonferensi() {
return $this->belongsToMany(Registrasi::class, 'id_konferensi', 'id');
}
}
<?php
namespace App\Models;
use App\Traits\Uuid;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Registrasi extends Model
{
use HasFactory;
use Uuid;
public $incrementing = false;
protected $table = 'registrasi';
protected $keyType = 'string';
protected $fillable = [
'id',
'nama',
'nama_depan',
'email',
'telepon',
'instansi',
'jabatan',
'id_kegiatan',
'id_konferensi',
'alamat',
'kode_pos',
'kota',
'kode_registrasi'
];
public function pkKegiatan(){
return $this->hasOne(Kegiatan::class, 'id', 'id_kegiatan');
}
public function pkKonferensi() {
return $this->hasOne(Konferensi::class, 'id', 'id_konferensi');
}
}
<?php
namespace App\Traits;
use Illuminate\Support\Str;
use Ramsey\Uuid\Exception\UnsatisfiedDependencyException;
trait Uuid
{
protected static function boot()
{
parent::boot();
static::creating(function ($model) {
try {
$model->id = (string) Str::uuid(); // generate uuid
// Change id with your primary key
} catch (UnsatisfiedDependencyException $e) {
abort(500, $e->getMessage());
}
});
}
}
......@@ -9,9 +9,11 @@
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.10",
"laravel/sanctum": "^3.3",
"laravel/tinker": "^2.8"
"laravel/tinker": "^2.8",
"realrashid/sweet-alert": "^7.1"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.9",
"fakerphp/faker": "^1.9.1",
"laravel/pint": "^1.0",
"laravel/sail": "^1.18",
......
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "9c491b8531eec05ba41a11d9276a5749",
"content-hash": "1e46c61a4306f1302bcd6816cc011986",
"packages": [
{
"name": "brick/math",
......@@ -3185,6 +3185,96 @@
"time": "2023-11-08T05:53:05+00:00"
},
{
"name": "realrashid/sweet-alert",
"version": "v7.1.0",
"source": {
"type": "git",
"url": "https://github.com/realrashid/sweet-alert.git",
"reference": "769f951053cd3363fd7fb7a1dd30f9828b619b44"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/realrashid/sweet-alert/zipball/769f951053cd3363fd7fb7a1dd30f9828b619b44",
"reference": "769f951053cd3363fd7fb7a1dd30f9828b619b44",
"shasum": ""
},
"require": {
"laravel/framework": "^5.6|^6.0|^7.0|^8.0|^9.0|^9.11|9.14.*|^10.0",
"php": "^7.2|^8.0|^8.1"
},
"require-dev": {
"symfony/thanks": "^1.0"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"RealRashid\\SweetAlert\\SweetAlertServiceProvider"
],
"aliases": {
"Alert": "RealRashid\\SweetAlert\\Facades\\Alert"
}
}
},
"autoload": {
"files": [
"src/functions.php"
],
"psr-4": {
"RealRashid\\SweetAlert\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Rashid Ali",
"email": "realrashid05@gmail.com",
"homepage": "https://realrashid.com",
"role": "Developer"
}
],
"description": "Laravel Sweet Alert Is A Package For Laravel Provides An Easy Way To Display Alert Messages Using The SweetAlert2 Library.",
"homepage": "https://github.com/realrashid/sweet-alert",
"keywords": [
"alert",
"laravel",
"laravel-package",
"notifier",
"noty",
"sweet-alert",
"sweet-alert2",
"toast"
],
"support": {
"docs": "https://realrashid.github.io/sweet-alert/",
"email": "realrashid05@gmail.com",
"issues": "https://github.com/realrashid/sweet-alert/issues",
"source": "https://github.com/realrashid/sweet-alert"
},
"funding": [
{
"url": "https://ko-fi.com/realrashid",
"type": "custom"
},
{
"url": "https://www.buymeacoffee.com/realrashid",
"type": "custom"
},
{
"url": "https://issuehunt.io/r/realrashid",
"type": "issuehunt"
},
{
"url": "https://tidelift.com/funding/github/packagist/realrashid/sweet-alert",
"type": "tidelift"
}
],
"time": "2023-08-07T19:23:17+00:00"
},
{
"name": "symfony/console",
"version": "v6.4.2",
"source": {
......@@ -5713,6 +5803,90 @@
],
"packages-dev": [
{
"name": "barryvdh/laravel-debugbar",
"version": "v3.9.2",
"source": {
"type": "git",
"url": "https://github.com/barryvdh/laravel-debugbar.git",
"reference": "bfd0131c146973cab164e50f5cdd8a67cc60cab1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/bfd0131c146973cab164e50f5cdd8a67cc60cab1",
"reference": "bfd0131c146973cab164e50f5cdd8a67cc60cab1",
"shasum": ""
},
"require": {
"illuminate/routing": "^9|^10",
"illuminate/session": "^9|^10",
"illuminate/support": "^9|^10",
"maximebf/debugbar": "^1.18.2",
"php": "^8.0",
"symfony/finder": "^6"
},
"require-dev": {
"mockery/mockery": "^1.3.3",
"orchestra/testbench-dusk": "^5|^6|^7|^8",
"phpunit/phpunit": "^8.5.30|^9.0",
"squizlabs/php_codesniffer": "^3.5"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.8-dev"
},
"laravel": {
"providers": [
"Barryvdh\\Debugbar\\ServiceProvider"
],
"aliases": {
"Debugbar": "Barryvdh\\Debugbar\\Facades\\Debugbar"
}
}
},
"autoload": {
"files": [
"src/helpers.php"
],
"psr-4": {
"Barryvdh\\Debugbar\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Barry vd. Heuvel",
"email": "barryvdh@gmail.com"
}
],
"description": "PHP Debugbar integration for Laravel",
"keywords": [
"debug",
"debugbar",
"laravel",
"profiler",
"webprofiler"
],
"support": {
"issues": "https://github.com/barryvdh/laravel-debugbar/issues",
"source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.9.2"
},
"funding": [
{
"url": "https://fruitcake.nl",
"type": "custom"
},
{
"url": "https://github.com/barryvdh",
"type": "github"
}
],
"time": "2023-08-25T18:43:57+00:00"
},
{
"name": "fakerphp/faker",
"version": "v1.23.1",
"source": {
......@@ -6029,6 +6203,72 @@
"time": "2024-01-21T17:13:42+00:00"
},
{
"name": "maximebf/debugbar",
"version": "v1.19.1",
"source": {
"type": "git",
"url": "https://github.com/maximebf/php-debugbar.git",
"reference": "03dd40a1826f4d585ef93ef83afa2a9874a00523"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/03dd40a1826f4d585ef93ef83afa2a9874a00523",
"reference": "03dd40a1826f4d585ef93ef83afa2a9874a00523",
"shasum": ""
},
"require": {
"php": "^7.1|^8",
"psr/log": "^1|^2|^3",
"symfony/var-dumper": "^4|^5|^6"
},
"require-dev": {
"phpunit/phpunit": ">=7.5.20 <10.0",
"twig/twig": "^1.38|^2.7|^3.0"
},
"suggest": {
"kriswallsmith/assetic": "The best way to manage assets",
"monolog/monolog": "Log using Monolog",
"predis/predis": "Redis storage"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.18-dev"
}
},
"autoload": {
"psr-4": {
"DebugBar\\": "src/DebugBar/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Maxime Bouroumeau-Fuseau",
"email": "maxime.bouroumeau@gmail.com",
"homepage": "http://maximebf.com"
},
{
"name": "Barry vd. Heuvel",
"email": "barryvdh@gmail.com"
}
],
"description": "Debug bar in the browser for php application",
"homepage": "https://github.com/maximebf/php-debugbar",
"keywords": [
"debug",
"debugbar"
],
"support": {
"issues": "https://github.com/maximebf/php-debugbar/issues",
"source": "https://github.com/maximebf/php-debugbar/tree/v1.19.1"
},
"time": "2023-10-12T08:10:52+00:00"
},
{
"name": "mockery/mockery",
"version": "1.6.7",
"source": {
......
......@@ -168,6 +168,8 @@
// App\Providers\BroadcastServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
RealRashid\SweetAlert\SweetAlertServiceProvider::class,
Barryvdh\Debugbar\ServiceProvider::class,
])->toArray(),
/*
......@@ -183,6 +185,8 @@
'aliases' => Facade::defaultAliases()->merge([
// 'Example' => App\Facades\Example::class,
'Alert' => RealRashid\SweetAlert\Facades\Alert::class,
'Debugbar' => Barryvdh\Debugbar\Facades\Debugbar::class,
])->toArray(),
];
/*** VARS ***/
/*** GENERAL STYLES ***/
* {
box-sizing: border-box;
}
body {
font-family: "Dosis", sans-serif;
background: #c5cae9;
/* text-align: center; */
}
.clear {
clear: both;
}
/*** CARD STLES ***/
.cards-container {
display: flex;
width: 793px;
max-width: 100%;
margin: 3rem auto;
}
.card {
padding: auto;
align-content: center;
margin: 3rem;
}
.card-one {
position: relative;
width: 320px;
background: #fff;
box-shadow: 0 10px 7px -5px rgba(0, 0, 0, 0.4);
}
.card-two {
position: relative;
width: 320px;
background: #00008B;
box-shadow: 0 10px 7px -5px rgba(0, 0, 0, 0.4);
}
.card-one header {
position: relative;
width: 100%;
height: 120px;
background-color: #00008B;
}
.card-two header {
position: relative;
width: 100%;
height: 120px;
background-color: #00008B;
}
.card-one header::before,
.card-two header::before,
.card-one header::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: inherit;
}
.card-two header::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: inherit;
}
.card-one header::before {
transform: skewY(-8deg);
transform-origin: 100% 100%;
}
.card-one header::after {
transform: skewY(8deg);
transform-origin: 0 100%;
}
.card-one header .avatar {
position: absolute;
left: 50%;
top: 55px;
margin-left: -50px;
margin-top: 40px;
z-index: 5;
width: 100px;
height: 100px;
border-radius: 50%;
overflow: hidden;
background: #ccc;
border: 3px solid #fff;
}
.card-one header .avatar img {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100px;
height: auto;
}
.card-one h3 {
position: relative;
margin: 80px 0 30px;
text-align: center;
}
.card-one h3::after {
content: "";
position: absolute;
bottom: -15px;
left: 50%;
margin-left: -15px;
width: 30px;
height: 1px;
background: #000;
}
.card-one .desc {
padding: 0 1rem 2rem;
text-align: center;
line-height: 1.5;
color: #777;
}
.card-one .contacts {
width: 200px;
max-width: 100%;
margin: 0 auto 3rem;
}
.card-one .contacts a {
display: block;
width: 33.333333%;
float: left;
text-align: center;
color: #c8c;
}
.card-one .contacts a:hover {
color: #333;
}
.card-one .contacts a:hover .fa::before {
color: #fff;
}
.card-one .contacts a:hover .fa::after {
width: 100%;
height: 100%;
}
.card-one .contacts a .fa {
position: relative;
width: 40px;
height: 40px;
line-height: 39px;
overflow: hidden;
text-align: center;
font-size: 1.3em;
}
.card-one .contacts a .fa:before {
position: relative;
z-index: 1;
}
.card-one .contacts a .fa::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
transform: translate(-50%, -50%);
background: #c8c;
transition: width 0.3s, height 0.3s;
}
.card-one .contacts a:last-of-type .fa {
line-height: 36px;
}
.card-one footer {
position: relative;
padding: 1rem;
background-color: #00008B;
text-align: center;
}
.card-one footer a {
padding: 0 1rem;
color: #e2e2e2;
transition: color 0.4s;
}
.card-one footer a:hover {
color: #c8c;
}
.card-one footer::before {
content: "";
position: absolute;
top: 0px;
left: 50%;
margin-left: -15px;
border: 15px solid transparent;
border-bottom-color: #00008B;
}
/*** RESPONSIVE ***/
@media only screen and (max-width: 810px) {
.card {
float: none;
margin-left: auto;
margin-right: auto;
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
/**
*
* You can write your CSS code here, DO NOT touch the default JavaScript file
* because it will make it harder for you to update.
*
*/
/*# sourceMappingURL=custom.css.map */
{"version":3,"sourceRoot":"","src":["../../src/scss/custom.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","file":"custom.css"}
body.skin-reverse.sidebar-mini .main-sidebar:after {
background-color: color(primary);
}
body.skin-reverse.sidebar-mini .main-sidebar .sidebar-menu li.active > a {
background-color: #fff;
box-shadow: none;
color: color(primary);
}
body.skin-reverse.sidebar-mini .main-sidebar .sidebar-menu li.active ul.dropdown-menu li a,
body.skin-reverse.sidebar-mini .main-sidebar .sidebar-menu li ul.dropdown-menu li a {
background-color: transparent;
color: color_lighten(font, 10%);
}
body.skin-reverse.sidebar-mini .main-sidebar .sidebar-menu li.active ul.dropdown-menu li a:hover,
body.skin-reverse.sidebar-mini .main-sidebar .sidebar-menu li ul.dropdown-menu li a:hover {
background-color: color_lighten(light, 7.6%);
color: color(dark);
}
body.skin-reverse.sidebar-mini .main-sidebar .sidebar-menu li.active ul.dropdown-menu li.active a,
body.skin-reverse.sidebar-mini .main-sidebar .sidebar-menu li ul.dropdown-menu li.active a {
background-color: transparent !important;
color: color(primary);
}
body.skin-reverse .main-sidebar {
background-color: color(primary);
}
body.skin-reverse .main-sidebar .sidebar-brand a {
color: #fff;
}
body.skin-reverse .main-sidebar .sidebar-menu li a {
color: color_lighten(primary, 25%);
}
body.skin-reverse .main-sidebar .sidebar-menu li a:hover {
background-color: #6070e5;
}
body.skin-reverse .main-sidebar .sidebar-menu li.active a,
body.skin-reverse .main-sidebar .sidebar-menu li.active a:hover,
body.skin-reverse .main-sidebar .sidebar-menu li.active ul.dropdown-menu li a:hover,
body.skin-reverse .main-sidebar .sidebar-menu li.active ul.dropdown-menu li a {
background-color: #6070e5;
}
body.skin-reverse .main-sidebar .sidebar-menu li.menu-header {
color: #afb7ff;
}
body.skin-reverse .main-sidebar .sidebar-menu li ul.dropdown-menu li a {
color: color_lighten(primary, 25%);
}
body.skin-reverse .main-sidebar .sidebar-menu li ul.dropdown-menu li a:hover {
background-color: color(primary);
color: #fff;
}
body.skin-reverse .main-sidebar .sidebar-menu li ul.dropdown-menu li.active a {
color: #fff;
}
body.skin-reverse .navbar-bg,
body.skin-reverse .navbar {
background-color: #fff;
}
body.skin-reverse .navbar-bg .nav-link.nav-link-user,
body.skin-reverse .navbar-bg .nav-link,
body.skin-reverse .navbar .nav-link.nav-link-user,
body.skin-reverse .navbar .nav-link {
color: #000;
}
body.skin-reverse .navbar-bg .nav-link.nav-link-user:hover,
body.skin-reverse .navbar-bg .nav-link:hover,
body.skin-reverse .navbar .nav-link.nav-link-user:hover,
body.skin-reverse .navbar .nav-link:hover {
color: #1a1a1a;
}
body.skin-reverse .navbar-bg .form-inline .btn,
body.skin-reverse .navbar-bg .form-inline .form-control,
body.skin-reverse .navbar .form-inline .btn,
body.skin-reverse .navbar .form-inline .form-control {
background-color: color_lighten(primary, 31.5%);
}
\ No newline at end of file
body.skin-reverse.sidebar-mini .main-sidebar:after {
background-color: #6777ef;
}
body.skin-reverse.sidebar-mini .main-sidebar .sidebar-menu li.active > a {
background-color: #fff;
box-shadow: none;
color: #6777ef;
}
body.skin-reverse.sidebar-mini .main-sidebar .sidebar-menu li.active ul.dropdown-menu li a,
body.skin-reverse.sidebar-mini .main-sidebar .sidebar-menu li ul.dropdown-menu li a {
background-color: transparent;
color: #868e96;
}
body.skin-reverse.sidebar-mini .main-sidebar .sidebar-menu li.active ul.dropdown-menu li a:hover,
body.skin-reverse.sidebar-mini .main-sidebar .sidebar-menu li ul.dropdown-menu li a:hover {
background-color: #fcfcfd;
color: #191d21;
}
body.skin-reverse.sidebar-mini .main-sidebar .sidebar-menu li.active ul.dropdown-menu li.active a,
body.skin-reverse.sidebar-mini .main-sidebar .sidebar-menu li ul.dropdown-menu li.active a {
background-color: transparent !important;
color: #6777ef;
}
body.skin-reverse .main-sidebar {
background-color: #6777ef;
}
body.skin-reverse .main-sidebar .sidebar-brand a {
color: #fff;
}
body.skin-reverse .main-sidebar .sidebar-menu li a {
color: #dadefb;
}
body.skin-reverse .main-sidebar .sidebar-menu li a:hover {
background-color: #6070e5;
}
body.skin-reverse .main-sidebar .sidebar-menu li.active a,
body.skin-reverse .main-sidebar .sidebar-menu li.active a:hover,
body.skin-reverse .main-sidebar .sidebar-menu li.active ul.dropdown-menu li a:hover,
body.skin-reverse .main-sidebar .sidebar-menu li.active ul.dropdown-menu li a {
background-color: #6070e5;
}
body.skin-reverse .main-sidebar .sidebar-menu li.menu-header {
color: #afb7ff;
}
body.skin-reverse .main-sidebar .sidebar-menu li ul.dropdown-menu li a {
color: #dadefb;
}
body.skin-reverse .main-sidebar .sidebar-menu li ul.dropdown-menu li a:hover {
background-color: #6777ef;
color: #fff;
}
body.skin-reverse .main-sidebar .sidebar-menu li ul.dropdown-menu li.active a {
color: #fff;
}
body.skin-reverse .navbar-bg,
body.skin-reverse .navbar {
background-color: #fff;
}
body.skin-reverse .navbar-bg .nav-link.nav-link-user,
body.skin-reverse .navbar-bg .nav-link,
body.skin-reverse .navbar .nav-link.nav-link-user,
body.skin-reverse .navbar .nav-link {
color: #000;
}
body.skin-reverse .navbar-bg .nav-link.nav-link-user:hover,
body.skin-reverse .navbar-bg .nav-link:hover,
body.skin-reverse .navbar .nav-link.nav-link-user:hover,
body.skin-reverse .navbar .nav-link:hover {
color: #1a1a1a;
}
body.skin-reverse .navbar-bg .form-inline .btn,
body.skin-reverse .navbar-bg .form-inline .form-control,
body.skin-reverse .navbar .form-inline .btn,
body.skin-reverse .navbar .form-inline .form-control {
background-color: #f8f9fe;
}
/*# sourceMappingURL=reverse.css.map */
{"version":3,"sourceRoot":"","src":["../../../src/scss/skins/reverse.scss"],"names":[],"mappings":"AAMM;EACE;;AAKI;EACE;EACA;EACA;;AAMA;AAAA;EACE;EACA;;AACA;AAAA;EACI;EACA;;AAIJ;AAAA;EACE;EACA;;AAShB;EACE;;AAEE;EACE;;AAKA;EACE;;AACA;EACE;;AAIF;AAAA;AAAA;AAAA;EAIE;;AAGJ;EACE;;AAIE;EACE;;AACA;EACE;EACA;;AAIF;EACE;;AASd;AAAA;EAEE;;AACA;AAAA;AAAA;AAAA;EAEE;;AACA;AAAA;AAAA;AAAA;EACE;;AAKF;AAAA;AAAA;AAAA;EAEE","file":"reverse.css"}
This source diff could not be displayed because it is too large. You can view the blob instead.
Changes by Saber Rastikerdar are in public domain.
Glyphs and data from Roboto font are licensed under the Apache License, Version 2.0.
Fonts are (c) Bitstream (see below). DejaVu changes are in public domain.
Bitstream Vera Fonts Copyright
------------------------------
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is
a trademark of Bitstream, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of the fonts accompanying this license ("Fonts") and associated
documentation files (the "Font Software"), to reproduce and distribute the
Font Software, including without limitation the rights to use, copy, merge,
publish, distribute, and/or sell copies of the Font Software, and to permit
persons to whom the Font Software is furnished to do so, subject to the
following conditions:
The above copyright and trademark notices and this permission notice shall
be included in all copies of one or more of the Font Software typefaces.
The Font Software may be modified, altered, or added to, and in particular
the designs of glyphs or characters in the Fonts may be modified and
additional glyphs or characters may be added to the Fonts, only if the fonts
are renamed to names not containing either the words "Bitstream" or the word
"Vera".
This License becomes null and void to the extent applicable to Fonts or Font
Software that has been modified and is distributed under the "Bitstream
Vera" names.
The Font Software may be sold as part of a larger software package but no
copy of one or more of the Font Software typefaces may be sold by itself.
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING
ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE
FONT SOFTWARE.
Except as contained in this notice, the names of Gnome, the Gnome
Foundation, and Bitstream Inc., shall not be used in advertising or
otherwise to promote the sale, use or other dealings in this Font Software
without prior written authorization from the Gnome Foundation or Bitstream
Inc., respectively. For further information, contact: fonts at gnome dot
org.
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment