Skip to content

Commit

Permalink
Merge pull request #231 from Kovah/dev
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
Kovah authored Feb 6, 2021
2 parents 68612ca + e61693b commit 0b3f11d
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 34 deletions.
46 changes: 23 additions & 23 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkace",
"version": "1.2.0",
"version": "1.2.2",
"description": "A small, selfhosted bookmark manager with advanced features, built with Laravel and Docker",
"homepage": "https://github.com/Kovah/LinkAce",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions resources/docker/dockerfiles/release-simple.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# ================================
# PHP Dependency Setup
FROM bitnami/php-fpm:7.4-prod AS builder
FROM composer AS builder
WORKDIR /app

# Make needed parts of the app available in the container
Expand All @@ -25,7 +25,7 @@ RUN composer install -n --prefer-dist --no-dev

# ================================
# Compile all assets
FROM node:12.19.0 AS npm_builder
FROM node:14.15.4 AS npm_builder
WORKDIR /srv

# Copy package.json and Gruntfile
Expand Down
6 changes: 3 additions & 3 deletions resources/docker/dockerfiles/release.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# ================================
# PHP Dependency Setup
FROM bitnami/php-fpm:7.4-prod AS builder
FROM composer AS builder
WORKDIR /app

# Make needed parts of the app available in the container
Expand All @@ -25,7 +25,7 @@ RUN composer install -n --prefer-dist --no-dev

# ================================
# Compile all assets
FROM node:12.19.0 AS npm_builder
FROM node:14.15.4 AS npm_builder
WORKDIR /srv

# Copy package.json and Gruntfile
Expand All @@ -39,7 +39,7 @@ RUN npm run production

# ================================
# Prepare the final image
FROM bitnami/php-fpm:7.4-prod
FROM bitnami/php-fpm:8.0-prod
WORKDIR /app

# Copy the app into the container
Expand Down
11 changes: 8 additions & 3 deletions resources/views/dashboard.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,14 @@ class="form-control{{ $errors->has('url') ? ' is-invalid' : '' }}"
<li class="list-group-item">
<div class="d-flex align-items-center">
<span class="mr-1">@lang('stats.total_broken_links')</span>
<span class="badge {{ $stats['total_broken_links'] > 0 ? 'badge-danger' : 'badge-secondary' }} ml-auto">
{{ $stats['total_broken_links'] }}
</span>
<form action="{{ route('do-search') }}" method="post" class="d-inline-block ml-auto">
@csrf
<input type="hidden" name="broken_only" value="on">
<button type="submit"
class="badge border-0 {{ $stats['total_broken_links'] > 0 ? 'badge-danger' : 'badge-secondary' }}">
{{ $stats['total_broken_links'] }}
</button>
</form>
</div>
</li>
</ul>
Expand Down

0 comments on commit 0b3f11d

Please sign in to comment.