Skip to content

Commit

Permalink
Supports image file rendering in the UI
Browse files Browse the repository at this point in the history
Restructures application's env variables
Allows passing `env_file` as a command line argument
Improves overall experience in mobile devices
Maintains consistency in docs and reduces code redundancies
Includes some minor improvements in speed and build process
  • Loading branch information
dormant-user committed Feb 26, 2024
1 parent 37a3dfb commit 92e6c72
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,14 @@ jobs:
latest_version=$(echo $versions | jq -r '.[0]')
echo "Current Package Version: ${current_version}"
echo "Latest Package Version: $latest_version"
if [[ $versions == *"$current_version"* ]]; then
version_exists=false
for version in $(echo "$versions" | jq -r '.[]'); do
if [ "$version" == "$current_version" ]; then
version_exists=true
break
fi
done
if [ "$version_exists" = true ]; then
echo "Version $current_version exists in crates.io, setting release flag to 'false'"
echo "release=false" >> $GITHUB_ENV
echo "release_flag=false" >> "$GITHUB_OUTPUT"
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "RuStream"
version = "1.0.1"
version = "1.1.0"
description = "Self-hosted Streaming Engine, that can render media files via authenticated sessions."
license = "MIT"
documentation = "https://docs.rs/RuStream"
Expand Down
20 changes: 14 additions & 6 deletions src/templates/landing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,26 @@ pub fn get_content() -> String {
justify-content: center;
align-items: center; /* Center the container vertically */
}
@media (max-width: 768px) {
#image-source {
height: auto;
width: 80%;
}
}
#video-player {
position: relative;
width: 100%;
height: 100%;
display: block;
}
@media (max-width: 768px) {
#image-source {
height: auto;
width: 90%;
}
#content-container {
height: auto;
width: 90%;
}
#video-player {
height: auto;
width: 90%;
}
}
</style>
<noscript>
<style>
Expand Down

0 comments on commit 92e6c72

Please sign in to comment.