$this->addField('slug', Slug::class, 'Slug', ['column' => true]);
$this->addField('icon', Images::class, 'Icône');
$this->addField('theme_color', Color::class, 'Couleur d\'accentuation');
+ $this->addField('theme_dark_color', Color::class, 'Couleur d\'accentuation sur thème sombre');
$this->addField('splashscreen_color', Color::class, 'Couleur de fond du splashscreen');
$this->addField('password', Text::class, 'Mot de passe', ['hint' => 'Laisser vide pour désactiver']);
$this->addField('transpose', Checkbox::class, 'Activer la transposition', ['default' => true, 'database_default' => true]);
"ext-zip": "*",
"cubist/cms-back": "dev-backpack4.1",
"fruitcake/laravel-cors": "^2.2",
- "guzzlehttp/psr7": "^2.0",
- "league/csv": "^9.8",
+ "guzzlehttp/psr7": "^2.8",
+ "league/csv": "^9.27",
"mariosimao/notion-sdk-php": "dev-parent-block-fix",
- "mxl/laravel-job": "^1.3",
+ "mxl/laravel-job": "^1.7",
"php-ffmpeg/php-ffmpeg": "^0.18.0",
- "phpoffice/phpspreadsheet": "^1.25"
+ "phpoffice/phpspreadsheet": "^1.30"
},
"replace": {
"cviebrock/laravel-elasticsearch": "*"
},
"require-dev": {
- "barryvdh/laravel-ide-helper": "^2.10",
- "facade/ignition": "^2.3",
- "filp/whoops": "^2.14",
- "laravel/tinker": "^2.1",
- "mockery/mockery": "^1.4",
- "nunomaduro/collision": "^4.2",
+ "barryvdh/laravel-ide-helper": "^2.14",
+ "facade/ignition": "^2.17",
+ "filp/whoops": "^2.18",
+ "laravel/tinker": "^2.10",
+ "mockery/mockery": "^1.6",
+ "nunomaduro/collision": "^4.3",
"phpunit/phpunit": "^8.5"
},
"config": {
@echo off
cls
-C:\tools\cygwin\bin\ssh.exe -t root@her2.cubedesigners.com 'docker exec -it songbook /bin/bash'
+C:\tools\cygwin\bin\ssh.exe -t root@cloudatlas.cubedesigners.com 'docker exec -it songbook /bin/bash'
@media (prefers-color-scheme: dark)
color: #fff
font-size: 0.65em
+ font-weight: 300
+ position: relative
+ top: -6px
&.order
font-size: 1em
li
list-style: none
- height: 50px
+ height: 60px
padding: 10px 14px
background-color: #fff
@endphp
<li @if(!$csong->online) class="offline" @endif
><a href="/{{$collection->slug}}/{{$csong->slug}}.html">{{$csong->title}}
- <span>{{$csong->artist}}</span></a>
+ <br><span>{{$csong->artist}}</span></a>
</li>
<style>
body {
--theme-color: {{$collection->theme_color}};
+ @media (prefers-color-scheme: dark) {
+ --theme-color: {{$collection->theme_dark_color?:$collection->theme_color}};
+ }
--plyr-color-main: {{$collection->theme_color}};
}
</style>
content="default-src * 'self' data: gap: cdvfile: 'unsafe-eval' 'unsafe-inline' https: http: wss: ws:; style-src 'self' 'unsafe-inline'; img-src * filesystem: cdvfile: data:; media-src * blob:">
<meta name="google" content="notranslate">
<meta name="theme-color" content="{{$collection->theme_color}}">
+ <meta name="theme-dark-color" content="{{$collection->theme_dark_color}}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script>var THEME_COLOR = '{{$collection->theme_color}}';
@if(isset($song))
</ul>
</li>
@endforeach
- <li><span>🎵 {{__('Tous les morceaux')}}</span>
- <ul>
- @foreach($collection_songs as $csong)
- @include('menu_song')
- @endforeach
- </ul>
- </li>
+ @if(count($collection_lists)>0)
+ <li><span>🎵 {{__('Tous les morceaux')}}</span>
+ <ul>
+ @foreach($collection_songs as $csong)
+ @include('menu_song')
+ @endforeach
+ </ul>
+ </li>
+ @endif
@endif
</ul>
</li>