Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Nov 10, 2024
1 parent 9deb168 commit 2cd37b9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1 id="tableLabel">Files</h1>

<!-- Loading Indicator -->
<!-- Loading Indicator with Inline Animation -->
<div *ngIf="!files?.length" style="
display: flex;
justify-content: center;
Expand All @@ -17,25 +17,25 @@ <h1 id="tableLabel">Files</h1>
height: 8px;
background-color: #444;
border-radius: 50%;
animation: loading 1s infinite alternate;
margin-left: 5px;"></span>
margin-left: 5px;
animation: loadingDot 1s infinite alternate;"></span>
<span style="
display: inline-block;
width: 8px;
height: 8px;
background-color: #444;
border-radius: 50%;
animation: loading 1s infinite alternate;
margin-left: 5px;
animation: loadingDot 1s infinite alternate;
animation-delay: 0.2s;"></span>
<span style="
display: inline-block;
width: 8px;
height: 8px;
background-color: #444;
border-radius: 50%;
animation: loading 1s infinite alternate;
margin-left: 5px;
animation: loadingDot 1s infinite alternate;
animation-delay: 0.4s;"></span>
</div>
</div>
Expand Down Expand Up @@ -74,7 +74,8 @@ <h1 id="tableLabel">Files</h1>
</div>

<style>
@keyframes loading {
/* Animation Keyframes */
@keyframes loadingDot {
0% {
transform: translateY(0);
}
Expand Down
1 change: 1 addition & 0 deletions src/OpenHdWebUi.Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public static async Task Main(string[] args)

var config = app.Services.GetRequiredService<IOptions<ServiceConfiguration>>().Value;
var absoluteMediaPath = Path.GetFullPath(config.FilesFolder);
var absoluteMediaPath2 = Path.GetFullPath(config.FilesFolder2);
FileSystemHelpers.EnsureFolderCreated(absoluteMediaPath);

app.UseStaticFiles(new StaticFileOptions
Expand Down
1 change: 1 addition & 0 deletions src/OpenHdWebUi.Server/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"AllowedHosts": "*",
"FilesFolder": "/home/openhd/Videos/",
"FilesFolder2": "/Videos/",
"SystemCommands": [
{
"Id": "sys-res-opendh",
Expand Down

0 comments on commit 2cd37b9

Please sign in to comment.