From 2bb7d8d2b7a9b56dee2e676e9d4e3ee479f23e9e Mon Sep 17 00:00:00 2001 From: vagrant Date: Wed, 11 Apr 2018 09:26:54 +0000 Subject: [PATCH] Setup default home page --- public/css/app.css | 12 +- resources/assets/sass/app.scss | 2 +- routes/web.php | 3 +- storage/app/public/.gitignore | 2 - storage/framework/cache/.gitignore | 2 - .../f02945dbe518bf3b79c1267d9959c48574b2ebfb | Bin 0 -> 6744 bytes .../f947913e0c6993749ff54a26039f2d18c8a26175 | Bin 0 -> 14016 bytes storage/framework/sessions/.gitignore | 2 - storage/framework/testing/.gitignore | 2 - storage/framework/views/.gitignore | 2 - ...5b8d01573453f32cedee1224bbb2cc30fcb249.php | 48 ++++++++ ...0bcf0e3348cb9f7a5eb864aea95996ac7ad282.php | 109 ++++++++++++++++++ ...5d1ba2b20ccd7d42b2919201148f1e01c28d73.php | 10 ++ ...42c9b1c8e24f8d022bdd55b1498079b24d9021.php | 39 +++++++ ...d06ac739ddc554edcfca8cd4f2da4a4e7fd592.php | 42 +++++++ ...d300dc63ebddaa0de643e64d30719314714153.php | 36 ++++++ ...8ea148df480243f7f156463dfce0d226b068b4.php | 23 ++++ ...504c820c85bb948940feaab9d0a258481cec51.php | 55 +++++++++ ...420f35e4b2ff33d7b923435c423d7a53c9bff7.php | 50 ++++++++ 19 files changed, 421 insertions(+), 18 deletions(-) delete mode 100644 storage/app/public/.gitignore delete mode 100644 storage/framework/cache/.gitignore create mode 100644 storage/framework/cache/data/f0/29/f02945dbe518bf3b79c1267d9959c48574b2ebfb create mode 100644 storage/framework/cache/data/f9/47/f947913e0c6993749ff54a26039f2d18c8a26175 delete mode 100644 storage/framework/sessions/.gitignore delete mode 100644 storage/framework/testing/.gitignore delete mode 100644 storage/framework/views/.gitignore create mode 100644 storage/framework/views/085b8d01573453f32cedee1224bbb2cc30fcb249.php create mode 100644 storage/framework/views/710bcf0e3348cb9f7a5eb864aea95996ac7ad282.php create mode 100644 storage/framework/views/745d1ba2b20ccd7d42b2919201148f1e01c28d73.php create mode 100644 storage/framework/views/7a42c9b1c8e24f8d022bdd55b1498079b24d9021.php create mode 100644 storage/framework/views/a2d06ac739ddc554edcfca8cd4f2da4a4e7fd592.php create mode 100644 storage/framework/views/a4d300dc63ebddaa0de643e64d30719314714153.php create mode 100644 storage/framework/views/ae8ea148df480243f7f156463dfce0d226b068b4.php create mode 100644 storage/framework/views/c6504c820c85bb948940feaab9d0a258481cec51.php create mode 100644 storage/framework/views/c9420f35e4b2ff33d7b923435c423d7a53c9bff7.php 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 0000000000000000000000000000000000000000..c396123e66223c88366cc7a65c340a43be93712e GIT binary patch literal 6744 zcmeI0&2HN`5P3>cI&wg#a{g{17dLEgPHqMIl_ zE(CN9=;8x8L(U&Rk0xDYvqiQ@XIG!Z>^Bj=SE{X1OAo6X>18e*tllYe--7n5Yoint z9*vGgDjuA;67j3ouh2v7;-wUq;sM3Q@{>pxB7WO6tBsh0*SWA1j4Mt=l z#WcgmYFHq2J>Tqp=a!EGkl$a1TI$wHkF%L13 z@i)w;;W2Te@ zg@w#bf^`EW`eX-+e(zg!_pPjxTB5PwlF}$+!|%_4Qpni$wWKg~DWDLvP1#%Hh=qDG z7PnNkl)H2HC*--Pq~3DL{>*=jEwJdC?iik zTeF!&zguJOT=cc5u&zNx|C|76@e)Y;Ry)Fx20z`jTa-R2+XCy>9Z{4ksR>MoE}^O% z7CvX;#7LYc$}*k)GjXz!IQ)9fmN>H$;_x5oR}W2Pbo3|nt6gK*YkZhUy~f8?2�G z!qn4YDe}t<8_6&X8D=9H&YBGK6EbAfW`1;&=&jm;^)mVZTWehO{IeK9mdWdC~1S-kvap~-o;bdb?k9GWuxKR RV3hga8a|R`2(mmr{s4Ag4Y&XR literal 0 HcmV?d00001 diff --git a/storage/framework/cache/data/f9/47/f947913e0c6993749ff54a26039f2d18c8a26175 b/storage/framework/cache/data/f9/47/f947913e0c6993749ff54a26039f2d18c8a26175 new file mode 100644 index 0000000000000000000000000000000000000000..9181a2b23c0a9c1db50b44a0ded1c2cb8498897b GIT binary patch literal 14016 zcmeI2TT|OQ5XbvbJefXqrb+C?A()3#PB^r*+zO?%9cD6$tt0~5a&$>zn11*3mz6*Y zrH9F+rKk9z9U`x8tJUsLE4jYcXg0l8qkRx~>p^8Fj&;IPqUhPN&N434S%=3l4He^Q zC2)f)8MK4Svlq{pqKT|*kf0S@v7o+j5V(F&+03%DJs#0mo}EZ4DnSFEW#GC+oj!|W z(u=97=G$sAXa<#(Bq(EnyCG3tp$TEJ`R(C1ddrBE6D}fC)IgEz1r?Sm!6R+Qh4LoK zTS0}4i6Wx1@l^(x4Td>nQAAVIp*QdFR*R-n7lRNqp-GR5uHqM_2AXgiMH?Yc)0qY! zivcFN9ASWSRVX{BebbPwkqMR%k-ww4kut-@;PJIyw0A-C4|#?e%K+k-N%5_iRA@$# zDwYl^8@)mwYekg_Q$sU}dT?dN1zF6^6n3~a^{>C!9x^Hp$-wH=M>o(6oieGgV765k zN|+FNL__oz=N&<@1|J57YhB(nqmxS+4Il;K8VJxDJkSo z0=1j@cZppJjMJ;T?U(iDOV@SWwV>_?b$2eTv*^dd>p`<^gcs})<_Jv;mC9sLtMz3x z)V(lDtJyHaUsWy!HJ!zrM6w3U8Bkfn0M^`k&284)+H_NI?M)SZpI5VV@K+)6kaY3b{l|y1S(j;-{G@}ty#L0+YL}}rqG~v~vAuLJC z73;H*n9bh}t)-d04mG05m`K$n*n#68YtAUc7_IdIT(AKg47Lw3MOURs!Tw58!rgcHN~*cJB4QJE)>rEwJF`^A~E~FaO1XNl4UfF7R7B)iI~iY3Wrqw zGlu_M6oAt~*Sv?|H#T8m@tgJ9g2u&$TKr91=O~W`g$Fv}hQ^ zm^XaOw{;7TXlK@EG>#Ukp|lt|^lJ#FpBI2K`HfgrjqQFXSs9>9p4%{0Q! z;iGNW6Fq8ca(KBC$ac}TCBD5V94{8A=5Wny#tJU`?GmKw*iS|*wU)XJD> zcNn?HZ$`S^T8fE$tkWSCeJbGLnRIv`pu>oR6N&~GDFE{vY$1CZ_9v_}e7RaRI7U;*Mm5wNId!T?k z$2gY}{JRZ4Mk99-^CuTTtafd7qH;6^wOPP7dNIfX=Q(Dpena9$KW>!?v4vuEG^86+3 zJR0C@$B3o9o*iHVq~Wu6?BsN>HA%Ocs}m@9MD<$ zX?%Yxz1-7^Pd_aMIxWD+$64BjCJxhrI(-td7#JY)|F)n{|IX;>8GThG5w8hx|${ZJTdw)SGbGxV-hBs zoipH#=6A>k?t886w_2XJUVk+j{ql!C<_Qtm-+a4wa_Mfn&DT3epYZ0#J-9rqyPwD; z^F8SgI>(= zS89KxDVE$-a@TLgU4F@3PmH_Tx3~*$;*KaDZab$WR_3kTx6g_ia9LxX3Qh6wy^3e( z0JM}mY66OE^E|w0ZjYYIgKONhb$BW%NXa~^wwG-q%_ApeLl)mWE~4>@5z1>m5TQz| W`rkd{e|)PdX{e;3--w33e*G5%FwvO+ literal 0 HcmV?d00001 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()): ?> +
    + + onFirstPage()): ?> +
  • «
  • + +
  • + + + + addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> + + +
  • + + + + + addLoop($__currentLoopData); foreach($__currentLoopData as $page => $url): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> + currentPage()): ?> +
  • + +
  • + + popLoop(); $loop = $__env->getLastLoop(); ?> + + popLoop(); $loop = $__env->getLastLoop(); ?> + + + hasMorePages()): ?> +
  • + +
  • »
  • + +
+ 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