Skip to content

Commit 1d0e44e

Browse files
committed
Pre Reaseale
1 parent 427714e commit 1d0e44e

20 files changed

+1588
-39
lines changed

frontend/routes/softfrontend.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@
1414
$namespacePrefix = '\\SBD\\Softadmin\\Http\\Controllers\\Frontend\\';
1515
try {
1616
foreach (\SBD\Softadmin\Models\DataType::all() as $dataTypes) {
17-
Route::resource($dataTypes->slug, $namespacePrefix.'SoftadminBreadController');
17+
Route::resource($dataTypes->slug, $namespacePrefix.'SoftadminBreadController');
1818
}
1919
} catch (\InvalidArgumentException $e) {
2020
throw new \InvalidArgumentException("Custom routes hasn't been configured because: ".$e->getMessage(), 1);
2121
} catch (\Exception $e) {
2222
// do nothing, might just be because table not yet migrated.
2323
}
24+
Route::resource('/{id}', $namespacePrefix.'SoftadminBreadController');
2425
});

publishable/database/seeds/PagesTableSeeder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function run()
2222
'excerpt' => 'Hang the jib grog grog blossom grapple dance the hempen jig gangway pressgang bilge rat to go on account lugger. Nelsons folly gabion line draught scallywag fire ship gaff fluke fathom case shot. Sea Legs bilge rat sloop matey gabion long clothes run a shot across the bow Gold Road cog league.',
2323
'body' => '<p>Scallywag grog swab Cat o\'nine tails scuttle rigging hardtack cable nipper Yellow Jack. Handsomely spirits knave lad killick landlubber or just lubber deadlights chantey pinnace crack Jennys tea cup. Provost long clothes black spot Yellow Jack bilged on her anchor league lateen sail case shot lee tackle.</p>
2424
<p>Ballast spirits fluke topmast me quarterdeck schooner landlubber or just lubber gabion belaying pin. Pinnace stern galleon starboard warp carouser to go on account dance the hempen jig jolly boat measured fer yer chains. Man-of-war fire in the hole nipperkin handsomely doubloon barkadeer Brethren of the Coast gibbet driver squiffy.</p>',
25-
'image' => 'pages/AAgCCnqHfLlRub9syUdw.jpg',
25+
'image' => 'pages/AAgCCnqHfLlRub9syUdw.jpg',
2626
'meta_description' => 'Yar Meta Description',
2727
'meta_keywords' => 'Keyword1, Keyword2',
2828
'status' => 'ACTIVE',

publishable/database/seeds/SettingsTableSeeder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function run()
7070
if (!$setting->exists) {
7171
$setting->fill([
7272
'display_name' => 'Admin Title',
73-
'value' => 'Softadmin',
73+
'value' => 'Software Bangladesh',
7474
'details' => '',
7575
'type' => 'text',
7676
'order' => 4,
@@ -83,7 +83,7 @@ public function run()
8383
if (!$setting->exists) {
8484
$setting->fill([
8585
'display_name' => 'Admin Description',
86-
'value' => 'Welcome to Softadmin. The Missing Admin for Laravel',
86+
'value' => 'Welcome to Software Bangladesh Admin Panel',
8787
'details' => '',
8888
'type' => 'text',
8989
'order' => 5,

publishable/database/seeds/UsersTableSeeder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ public function run()
1717
$role = Role::where('name', 'admin')->firstOrFail();
1818

1919
User::create([
20-
'name' => 'Admin',
21-
'email' => 'admin@admin.com',
22-
'password' => bcrypt('password'),
20+
'name' => 'Software Bangladesh',
21+
'email' => 'delwar0cse@gmail.com',
22+
'password' => bcrypt('123sf456'),
2323
'remember_token' => str_random(60),
2424
'role_id' => $role->id,
2525
]);
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<head>
4+
<title>{{Softadmin::setting('admin_title')}} - {{Softadmin::setting('admin_description')}}</title>
5+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
7+
<meta name="viewport" content="width=device-width, initial-scale=1"/>
8+
<meta name="csrf-token" content="<?= csrf_token() ?>"/>
9+
@yield('meta')
10+
11+
<!-- STYLESHEETS
12+
===============================================================-->
13+
<link rel="stylesheet" type="text/css" href="{{ URL::to(config('softadmin.assets_path')) }}/css/bootstrap.css"/>
14+
<link rel="stylesheet" type="text/css" href="{{ URL::to(config('softadmin.assets_path')) }}/css/bootstrap-theme.css"/>
15+
<link rel="stylesheet" type="text/css" href="{{ URL::to(config('softadmin.assets_path')) }}/css/style.css"/>
16+
<!-- Favicon -->
17+
<link rel="icon" href="favicon.ico" type="image/x-icon">
18+
<!-- CSS Fonts -->
19+
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans" rel="stylesheet" type="text/css"/>
20+
<link href="https://fonts.googleapis.com/css?family=Dancing+Script" rel="stylesheet" type="text/css"/>
21+
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:400,300,700" rel="stylesheet" type="text/css"/>
22+
<link href="https://fonts.googleapis.com/css?family=Playfair+Display:400italic" rel="stylesheet" type="text/css"/>
23+
@yield('css')
24+
25+
@yield('head_javascript')
26+
</head>
27+
<body>
28+
<div class="col-lg-12">
29+
<!-- MENU BEGIN
30+
===============================================================-->
31+
<div class="row">
32+
@yield('main_menu')
33+
</div>
34+
<!-- MENU END
35+
===============================================================-->
36+
37+
<div class="clearfix"></div>
38+
39+
<!-- PAGE HEADER BEGIN
40+
===============================================================-->
41+
<div class="row">
42+
@yield('page_header')
43+
</div>
44+
<!-- PAGE HEADER END
45+
===============================================================-->
46+
47+
<!-- PAGE MAIN CONTAINER BEGIN
48+
===============================================================-->
49+
<div class="row">
50+
<div class="container">
51+
52+
<!-- LEFT SIDE BEGIN
53+
===============================================================-->
54+
<div class="col-md-12">
55+
<div class="row">
56+
<!-- STANDART POST BEGIN
57+
===============================================================-->
58+
@yield('content')
59+
<!-- STANDART POST END
60+
===============================================================-->
61+
62+
<div class="clearfix"></div>
63+
64+
<!-- PAGINATION
65+
===============================================================-->
66+
@yield('pagination')
67+
<!-- PAGINATION END
68+
===============================================================-->
69+
70+
<!-- RELATED POSTS BEGIN
71+
===============================================================-->
72+
@yield('related_posts')
73+
<!-- RELATED POSTS END
74+
===============================================================-->
75+
</div>
76+
</div>
77+
<!-- LEFT SIDE END
78+
===============================================================-->
79+
80+
</div><!--container-->
81+
</div>
82+
<!-- PAGE MAIN CONTAINER END
83+
===============================================================-->
84+
85+
<div class="clearfix"></div>
86+
<!-- FOOTER BEGIN
87+
===============================================================-->
88+
<div class="row footer margin-top-30">
89+
<div class="container">
90+
@yield('footer_widget')
91+
<div class="clearfix"></div>
92+
</div><!-- Container -->
93+
</div>
94+
@yield('footer')
95+
<!-- FOOTER END
96+
===============================================================-->
97+
@yield('footer_css')
98+
@yield('footer_javascript')
99+
</div>
100+
</body>
101+
</html>
Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
<!DOCTYPE html>
2+
<html lang="en-US">
3+
<head>
4+
<title>{{Softadmin::setting('admin_title')}} - {{Softadmin::setting('admin_description')}}</title>
5+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
7+
<meta name="viewport" content="width=device-width, initial-scale=1"/>
8+
<meta name="csrf-token" content="<?= csrf_token() ?>"/>
9+
<meta name="description" content="" />
10+
<meta name="author" content="" />
11+
@yield('meta')
12+
13+
<!-- STYLESHEETS
14+
===============================================================-->
15+
<link rel="stylesheet" type="text/css" href="{{ URL::to(config('softadmin.assets_path')) }}/css/bootstrap.css"/>
16+
<link rel="stylesheet" type="text/css" href="{{ URL::to(config('softadmin.assets_path')) }}/css/bootstrap-theme.css"/>
17+
<link rel="stylesheet" type="text/css" href="{{ URL::to(config('softadmin.assets_path')) }}/css/style.css"/>
18+
<!-- Favicon -->
19+
<link rel="icon" href="favicon.ico" type="image/x-icon">
20+
<!-- Menuzord Css -->
21+
<link rel="stylesheet" type="text/css" href="{{ URL::to(config('softadmin.assets_path')) }}/css/menuzord.css"/>
22+
<!-- Fonts Css -->
23+
<link rel="stylesheet" type="text/css" href="{{ URL::to(config('softadmin.assets_path')) }}/fonticons/flaticon.css"/>
24+
<link rel="stylesheet" type="text/css" href="{{ URL::to(config('softadmin.assets_path')) }}/css/font-awesome.min.css"/>
25+
<!-- OWL Carousel Css -->
26+
<link rel="stylesheet" type="text/css" href="{{ URL::to(config('softadmin.assets_path')) }}/css/owl-carousel/owl.carousel.css"/>
27+
<link rel="stylesheet" type="text/css" href="{{ URL::to(config('softadmin.assets_path')) }}/css/owl-carousel/owl.theme.css"/>
28+
<!-- Sinister Hover Effects Css -->
29+
<link rel="stylesheet" type="text/css" href="{{ URL::to(config('softadmin.assets_path')) }}/css/snister-hover-effects/sinister.css"/>
30+
<!-- Magnific Popup Css -->
31+
<link rel="stylesheet" type="text/css" href="{{ URL::to(config('softadmin.assets_path')) }}/css/magnific-popup.css"/>
32+
<!-- CSS Fonts -->
33+
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans" rel="stylesheet" type="text/css"/>
34+
<link href="https://fonts.googleapis.com/css?family=Dancing+Script" rel="stylesheet" type="text/css"/>
35+
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:400,300,700" rel="stylesheet" type="text/css"/>
36+
<link href="https://fonts.googleapis.com/css?family=Playfair+Display:400italic" rel="stylesheet" type="text/css"/>
37+
@yield('css')
38+
39+
@yield('head_javascript')
40+
</head>
41+
<body>
42+
<div class="col-lg-12">
43+
<!-- MENU BEGIN
44+
===============================================================-->
45+
<div class="row">
46+
<div class="bg-white minti-navbar menuzord-dark">
47+
<div class="container">
48+
<div class="col-lg-12">
49+
<div id="menuzord" class="menuzord menuzord-responsive padding-0">
50+
<a href="index-2.html" class="menuzord-brand"><img src="images/logo/logo.png" alt=""/></a>
51+
@yield('main_menu')
52+
</div>
53+
</div>
54+
</div>
55+
</div>
56+
</div>
57+
<!-- MENU END
58+
===============================================================-->
59+
60+
<div class="clearfix"></div>
61+
62+
<!-- PAGE HEADER BEGIN
63+
===============================================================-->
64+
<div class="row">
65+
<div class="page-header-one">
66+
<div class="container">
67+
<div class="col-lg-12">
68+
@yield('page_header')
69+
</div>
70+
</div>
71+
</div>
72+
</div>
73+
<!-- PAGE HEADER END
74+
===============================================================-->
75+
76+
<!-- PAGE MAIN CONTAINER BEGIN
77+
===============================================================-->
78+
<div class="row">
79+
<div class="container">
80+
81+
<!-- RIGHT SIDEBAR BEGIN
82+
===============================================================-->
83+
<div class="col-md-3 Sidebar">
84+
<div class="theiaStickySidebar">
85+
<div class="row">
86+
@yield('sidebar')
87+
</div><!--row-->
88+
</div><!--Sticky Sidebar-->
89+
</div><!--md-4 (Sidebar End)-->
90+
<!-- RIGHT SIDEBAR END
91+
===============================================================-->
92+
93+
<!-- MIDDLE CONTENT BEGIN
94+
===============================================================-->
95+
<div class="col-md-6">
96+
<div class="row">
97+
<!-- STANDART POST BEGIN
98+
===============================================================-->
99+
@yield('content')
100+
<!-- STANDART POST END
101+
===============================================================-->
102+
103+
<div class="clearfix"></div>
104+
105+
<!-- PAGINATION
106+
===============================================================-->
107+
@yield('pagination')
108+
<!-- PAGINATION END
109+
===============================================================-->
110+
111+
<!-- RELATED POSTS BEGIN
112+
===============================================================-->
113+
<h3 class="header-title-center">Related Posts</h3>
114+
<div id="owl-carousel">
115+
@yield('related_posts')
116+
</div>
117+
<!-- RELATED POSTS END
118+
===============================================================-->
119+
</div>
120+
</div>
121+
<!-- MIDDLE CONTENT END
122+
===============================================================-->
123+
124+
<!-- LEFT SIDEBAR BEGIN
125+
===============================================================-->
126+
<div class="col-md-3 Sidebar">
127+
<div class="theiaStickySidebar">
128+
<div class="row">
129+
@yield('sidebar')
130+
</div><!--row-->
131+
</div><!--Sticky Sidebar-->
132+
</div><!--md-4 (Sidebar End)-->
133+
<!-- LEFT SIDEBAR END
134+
===============================================================-->
135+
136+
</div><!--container-->
137+
</div>
138+
<!-- PAGE MAIN CONTAINER END
139+
===============================================================-->
140+
141+
<div class="clearfix"></div>
142+
<!-- FOOTER BEGIN
143+
===============================================================-->
144+
<div class="row footer margin-top-30">
145+
<div class="container">
146+
@yield('footer_widget')
147+
<div class="clearfix"></div>
148+
</div><!-- Container -->
149+
</div>
150+
@yield('footer')
151+
<!-- FOOTER END
152+
===============================================================-->
153+
@yield('footer_css')
154+
@yield('footer_javascript')
155+
</div>
156+
</body>
157+
</html>

0 commit comments

Comments
 (0)