Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add fullscreen support to album and photo views #146

Merged
merged 2 commits into from
Mar 19, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/Locale/English.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ static public function get_locale()
'DOWNLOAD_ALBUM' => 'Download Album',
'ABOUT_ALBUM' => 'About Album',
'DELETE_ALBUM' => 'Delete Album',
'FULLSCREEN_ENTER' => 'Enter Fullscreen',
'FULLSCREEN_EXIT' => 'Exit Fullscreen',

'DELETE_ALBUM_QUESTION' => 'Delete Album and Photos',
'KEEP_ALBUM' => 'Keep Album',
Expand Down
12 changes: 12 additions & 0 deletions resources/views/gallery.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@
<a class="button" id="button_trash_album" title="{{ $locale['DELETE_ALBUM'] }}">
<svg class="iconic"><use xlink:href="#trash"></use></svg>
</a>
<a class="button" id="button_fs_album_enter" title="{{ $locale['FULLSCREEN_ENTER'] }}">
<svg class="iconic"><use xlink:href="#fullscreen-enter"></use></svg>
</a>
<a class="button" id="button_fs_album_exit" title="{{ $locale['FULLSCREEN_EXIT'] }}">
<svg class="iconic"><use xlink:href="#fullscreen-exit"></use></svg>
</a>
<a class="header__divider"></a>
<a class="button button_add" title="{{ $locale['ADD'] }}">
<svg class="iconic"><use xlink:href="#plus"></use></svg>
Expand Down Expand Up @@ -97,6 +103,12 @@
<a class="button" id="button_trash" title="{{ $locale['DELETE'] }}">
<svg class="iconic"><use xlink:href="#trash"></use></svg>
</a>
<a class="button" id="button_fs_enter" title="{{ $locale['FULLSCREEN_ENTER'] }}">
<svg class="iconic"><use xlink:href="#fullscreen-enter"></use></svg>
</a>
<a class="button" id="button_fs_exit" title="{{ $locale['FULLSCREEN_EXIT'] }}">
<svg class="iconic"><use xlink:href="#fullscreen-exit"></use></svg>
</a>
<a class="header__divider"></a>
<a class="button" id="button_more" title="{{ $locale['MORE'] }}">
<svg class="iconic"><use xlink:href="#ellipses"></use></svg>
Expand Down