diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php
index 4bf4c0178..8b0ef309a 100644
--- a/app/Http/Controllers/Auth/RegisterController.php
+++ b/app/Http/Controllers/Auth/RegisterController.php
@@ -52,7 +52,7 @@ class RegisterController extends Controller
*/
public function __construct(SocialAuthService $socialAuthService, EmailConfirmationService $emailConfirmationService, UserRepo $userRepo)
{
- $this->middleware('guest');
+ $this->middleware('guest')->except(['socialCallback', 'detachSocialAccount']);
$this->socialAuthService = $socialAuthService;
$this->emailConfirmationService = $emailConfirmationService;
$this->userRepo = $userRepo;
@@ -298,5 +298,4 @@ class RegisterController extends Controller
return $this->registerUser($userData, $socialAccount);
}
-
}
\ No newline at end of file
diff --git a/resources/assets/sass/_blocks.scss b/resources/assets/sass/_blocks.scss
index 727633f75..7eb595d36 100644
--- a/resources/assets/sass/_blocks.scss
+++ b/resources/assets/sass/_blocks.scss
@@ -135,7 +135,10 @@
border-left: 3px solid #BBB;
background-color: #EEE;
padding: $-s;
- display: flex;
+ display: block;
+ > * {
+ display: inline-block;
+ }
&:before {
font-family: 'Material-Design-Iconic-Font';
padding-right: $-s;
diff --git a/resources/assets/sass/_lists.scss b/resources/assets/sass/_lists.scss
index d88db2ec2..6acc47468 100644
--- a/resources/assets/sass/_lists.scss
+++ b/resources/assets/sass/_lists.scss
@@ -110,6 +110,8 @@
border-left: 0px solid #FFF;
background-color: #FFF;
&.fixed {
+ background-color: #FFF;
+ z-index: 5;
position: fixed;
top: 0;
padding-left: $-l;
diff --git a/resources/assets/sass/_pages.scss b/resources/assets/sass/_pages.scss
index 880a9fdcc..0052a3319 100755
--- a/resources/assets/sass/_pages.scss
+++ b/resources/assets/sass/_pages.scss
@@ -248,29 +248,32 @@
}
.tag-display {
- margin: $-xl $-m;
- border: 1px solid #DDD;
- min-width: 180px;
- max-width: 320px;
- opacity: 0.7;
- z-index: 5;
+ width: 100%;
+ //opacity: 0.7;
position: relative;
table {
width: 100%;
margin: 0;
padding: 0;
}
+ tr:first-child td {
+ padding-top: 0;
+ }
.heading th {
padding: $-xs $-s;
- color: #333;
+ color: rgba(100, 100, 100, 0.7);
+ border: 0;
font-weight: 400;
}
td {
border: 0;
- border-bottom: 1px solid #DDD;
+ border-bottom: 1px solid #EEE;
padding: $-xs $-s;
color: #444;
}
+ tr td:first-child {
+ padding-left:0;
+ }
.tag-value {
color: #888;
}
diff --git a/resources/views/pages/page-display.blade.php b/resources/views/pages/page-display.blade.php
index fcc046aae..fb6ca3045 100644
--- a/resources/views/pages/page-display.blade.php
+++ b/resources/views/pages/page-display.blade.php
@@ -2,26 +2,6 @@
{{$page->name}}
- @if(count($page->tags) > 0)
-
-
-
-
- {{ trans('entities.page_tags') }} |
-
-
-
- @foreach($page->tags as $tag)
-
- value) colspan="2" @endif>{{ $tag->name }} |
- @if($tag->value) {{$tag->value}} | @endif
-
- @endforeach
-
-
-
- @endif
-
@if (isset($diff) && $diff)
diff --git a/resources/views/pages/show.blade.php b/resources/views/pages/show.blade.php
index e54dacb42..a734b1b95 100644
--- a/resources/views/pages/show.blade.php
+++ b/resources/views/pages/show.blade.php
@@ -102,6 +102,8 @@
@endif
+
+
@include('pages/sidebar-tree-list', ['book' => $book, 'sidebarTree' => $sidebarTree, 'pageNav' => $pageNav])
diff --git a/resources/views/pages/sidebar-tree-list.blade.php b/resources/views/pages/sidebar-tree-list.blade.php
index 74ce6c34d..87eebed49 100644
--- a/resources/views/pages/sidebar-tree-list.blade.php
+++ b/resources/views/pages/sidebar-tree-list.blade.php
@@ -1,6 +1,22 @@
+ @if(isset($page) && $page->tags->count() > 0)
+
+ @endif
+
@if (isset($page) && $page->attachments->count() > 0)
{{ trans('entities.pages_attachments') }}
@foreach($page->attachments as $attachment)
diff --git a/routes/web.php b/routes/web.php
index 3b311d3f8..076ffb94f 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -154,7 +154,7 @@ Route::group(['middleware' => 'auth'], function () {
});
// Social auth routes
-Route::get('/login/service/{socialDriver}', 'Auth\RegisterController@getSocialLogin');
+Route::get('/login/service/{socialDriver}', 'Auth\LoginController@getSocialLogin');
Route::get('/login/service/{socialDriver}/callback', 'Auth\RegisterController@socialCallback');
Route::get('/login/service/{socialDriver}/detach', 'Auth\RegisterController@detachSocialAccount');
Route::get('/register/service/{socialDriver}', 'Auth\RegisterController@socialRegister');