diff --git a/public/css/app.css b/public/css/app.css index 3ba2e7c..b37b18d 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -8463,31 +8463,31 @@ body { /* Topic Index Page */ -.topics-index-page .categories-show-page .topic-list .nav > li > a { +.topics-index-page .categories-show-page .root-page .topic-list .nav > li > a { position: relative; display: block; padding: 5px 14px; font-size: 0.9em; } -.topics-index-page .categories-show-page .topic-list a { +.topics-index-page .categories-show-page .root-page .topic-list a { color: #444444; } -.topics-index-page .categories-show-page .topic-list .meta { +.topics-index-page .categories-show-page .root-page .topic-list .meta { font-size: 0.9em; color: #b3b3b3; } -.topics-index-page .categories-show-page .topic-list .meta a { +.topics-index-page .categories-show-page .root-page .topic-list .meta a { color: #b3b3b3; } -.topics-index-page .categories-show-page .topic-list .badge { +.topics-index-page .categories-show-page .root-page .topic-list .badge { background-color: #d8d8d8; } -.topics-index-page .categories-show-page .topic-list hr { +.topics-index-page .categories-show-page .root-page .topic-list hr { margin-top: 12px; margin-bottom: 12px; border: 0; diff --git a/resources/assets/sass/app.scss b/resources/assets/sass/app.scss index b81d671..5347298 100644 --- a/resources/assets/sass/app.scss +++ b/resources/assets/sass/app.scss @@ -117,7 +117,7 @@ body { } /* Topic Index Page */ -.topics-index-page .categories-show-page { +.topics-index-page .categories-show-page .root-page { .topic-list { .nav > li > a { position: relative; diff --git a/routes/web.php b/routes/web.php index 247920f..29080ac 100644 --- a/routes/web.php +++ b/routes/web.php @@ -11,7 +11,7 @@ | */ -Route::get ( '/' , 'PagesController@root' )->name ( 'root' ); +Route::get ( '/' , 'TopicsController@index' )->name ( 'root' ); //Auth::routes(); // Authentication Routes... @@ -47,3 +47,4 @@ Route::get ( 'permission-denied' , 'PagesController@permissionDenied' )->name ( 'permission-denied' ); + diff --git a/storage/app/public/.gitignore b/storage/app/public/.gitignore deleted file mode 100644 index d6b7ef3..0000000 --- a/storage/app/public/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/storage/framework/cache/.gitignore b/storage/framework/cache/.gitignore deleted file mode 100644 index d6b7ef3..0000000 --- a/storage/framework/cache/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/storage/framework/cache/data/f0/29/f02945dbe518bf3b79c1267d9959c48574b2ebfb b/storage/framework/cache/data/f0/29/f02945dbe518bf3b79c1267d9959c48574b2ebfb new file mode 100644 index 0000000..c396123 Binary files /dev/null and b/storage/framework/cache/data/f0/29/f02945dbe518bf3b79c1267d9959c48574b2ebfb differ diff --git a/storage/framework/cache/data/f9/47/f947913e0c6993749ff54a26039f2d18c8a26175 b/storage/framework/cache/data/f9/47/f947913e0c6993749ff54a26039f2d18c8a26175 new file mode 100644 index 0000000..9181a2b Binary files /dev/null and b/storage/framework/cache/data/f9/47/f947913e0c6993749ff54a26039f2d18c8a26175 differ diff --git a/storage/framework/sessions/.gitignore b/storage/framework/sessions/.gitignore deleted file mode 100644 index d6b7ef3..0000000 --- a/storage/framework/sessions/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/storage/framework/testing/.gitignore b/storage/framework/testing/.gitignore deleted file mode 100644 index d6b7ef3..0000000 --- a/storage/framework/testing/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/storage/framework/views/.gitignore b/storage/framework/views/.gitignore deleted file mode 100644 index d6b7ef3..0000000 --- a/storage/framework/views/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/storage/framework/views/085b8d01573453f32cedee1224bbb2cc30fcb249.php b/storage/framework/views/085b8d01573453f32cedee1224bbb2cc30fcb249.php new file mode 100644 index 0000000..f99d7f0 --- /dev/null +++ b/storage/framework/views/085b8d01573453f32cedee1224bbb2cc30fcb249.php @@ -0,0 +1,48 @@ +
+
+ + 新建帖子 + +
+
+ + +
+
+ +
活跃用户
+
+ addLoop($__currentLoopData); foreach($__currentLoopData as $active_user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> + +
+ +
+ +
+ name); ?> +
+
+ popLoop(); $loop = $__env->getLastLoop(); ?> + +
+
+ + + +
+
+ +
资源推荐
+
+ addLoop($__currentLoopData); foreach($__currentLoopData as $link): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> + +
+ title); ?> +
+
+ popLoop(); $loop = $__env->getLastLoop(); ?> + +
+
+ \ No newline at end of file diff --git a/storage/framework/views/710bcf0e3348cb9f7a5eb864aea95996ac7ad282.php b/storage/framework/views/710bcf0e3348cb9f7a5eb864aea95996ac7ad282.php new file mode 100644 index 0000000..11c51d0 --- /dev/null +++ b/storage/framework/views/710bcf0e3348cb9f7a5eb864aea95996ac7ad282.php @@ -0,0 +1,109 @@ + \ No newline at end of file diff --git a/storage/framework/views/745d1ba2b20ccd7d42b2919201148f1e01c28d73.php b/storage/framework/views/745d1ba2b20ccd7d42b2919201148f1e01c28d73.php new file mode 100644 index 0000000..3f67426 --- /dev/null +++ b/storage/framework/views/745d1ba2b20ccd7d42b2919201148f1e01c28d73.php @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/storage/framework/views/7a42c9b1c8e24f8d022bdd55b1498079b24d9021.php b/storage/framework/views/7a42c9b1c8e24f8d022bdd55b1498079b24d9021.php new file mode 100644 index 0000000..9180020 --- /dev/null +++ b/storage/framework/views/7a42c9b1c8e24f8d022bdd55b1498079b24d9021.php @@ -0,0 +1,39 @@ +startSection('title', isset($category) ? $category->name : '话题列表'); ?> + +startSection('content'); ?> + +
+
+ + + + +
+ + + +
+ + make('topics._topic_list', ['topics' => $topics], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> + + render(); ?> + +
+
+
+ + +
+ +stopSection(); ?> +make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> \ No newline at end of file diff --git a/storage/framework/views/a2d06ac739ddc554edcfca8cd4f2da4a4e7fd592.php b/storage/framework/views/a2d06ac739ddc554edcfca8cd4f2da4a4e7fd592.php new file mode 100644 index 0000000..9abdd02 --- /dev/null +++ b/storage/framework/views/a2d06ac739ddc554edcfca8cd4f2da4a4e7fd592.php @@ -0,0 +1,42 @@ + + + + + + + + + + + <?php echo $__env->yieldContent('title', 'LaraBBS'); ?> - <?php echo e(setting('site_name', 'Laravel 进阶教程')); ?> + + + + + + yieldContent('styles'); ?> + + + +
+ + make('layouts._header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> + +
+ + make('layouts._message', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> + yieldContent('content'); ?> + +
+ + make('layouts._footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> +
+ +isLocal()): ?> + make('sudosu::user-selector', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> + + + +yieldContent('scripts'); ?> + + \ No newline at end of file diff --git a/storage/framework/views/a4d300dc63ebddaa0de643e64d30719314714153.php b/storage/framework/views/a4d300dc63ebddaa0de643e64d30719314714153.php new file mode 100644 index 0000000..677de30 --- /dev/null +++ b/storage/framework/views/a4d300dc63ebddaa0de643e64d30719314714153.php @@ -0,0 +1,36 @@ +hasPages()): ?> + + diff --git a/storage/framework/views/ae8ea148df480243f7f156463dfce0d226b068b4.php b/storage/framework/views/ae8ea148df480243f7f156463dfce0d226b068b4.php new file mode 100644 index 0000000..9589a30 --- /dev/null +++ b/storage/framework/views/ae8ea148df480243f7f156463dfce0d226b068b4.php @@ -0,0 +1,23 @@ + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ \ No newline at end of file diff --git a/storage/framework/views/c6504c820c85bb948940feaab9d0a258481cec51.php b/storage/framework/views/c6504c820c85bb948940feaab9d0a258481cec51.php new file mode 100644 index 0000000..7c75ab4 --- /dev/null +++ b/storage/framework/views/c6504c820c85bb948940feaab9d0a258481cec51.php @@ -0,0 +1,55 @@ + + + + + +
暂无数据 ~_~
+ \ No newline at end of file diff --git a/storage/framework/views/c9420f35e4b2ff33d7b923435c423d7a53c9bff7.php b/storage/framework/views/c9420f35e4b2ff33d7b923435c423d7a53c9bff7.php new file mode 100644 index 0000000..2997936 --- /dev/null +++ b/storage/framework/views/c9420f35e4b2ff33d7b923435c423d7a53c9bff7.php @@ -0,0 +1,50 @@ + + + +
+
+ +
+ + +
+ + \ No newline at end of file