mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-20 03:59:36 +02:00
Fixed bug with decimal input values in Safari browser
This commit is contained in:
parent
ae3141e37b
commit
28680bec1a
3 changed files with 26 additions and 6 deletions
24
README.md
24
README.md
|
@ -8,7 +8,7 @@
|
||||||

|

|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
Flame is self-hosted startpage for your server. It's inspired (heavily) by [SUI](https://github.com/jeroenpardon/sui)
|
Flame is self-hosted startpage for your server. Its design is inspired (heavily) by [SUI](https://github.com/jeroenpardon/sui). Flame is very easy to setup and use. With built-in editors it allows you to setup your very own appliaction hub in no time - no file editing necessary.
|
||||||
|
|
||||||
## Technology
|
## Technology
|
||||||
- Backend
|
- Backend
|
||||||
|
@ -23,6 +23,7 @@ Flame is self-hosted startpage for your server. It's inspired (heavily) by [SUI]
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
```sh
|
```sh
|
||||||
|
# clone repository
|
||||||
git clone https://github.com/pawelmalak/flame
|
git clone https://github.com/pawelmalak/flame
|
||||||
cd flame
|
cd flame
|
||||||
|
|
||||||
|
@ -33,13 +34,23 @@ npm run dev-init
|
||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
## Deployment with Docker
|
## Building Docker images
|
||||||
```sh
|
```sh
|
||||||
# build image
|
# build image for amd64 only
|
||||||
docker build -t flame .
|
docker build -t flame .
|
||||||
|
|
||||||
|
# build multiarch image for amd64, armv7 and arm64
|
||||||
|
# building failed multiple times with 2GB memory usage limit so you might want to increase it
|
||||||
|
docker buildx build \
|
||||||
|
--platform linux/arm/v7,linux/arm64,linux/amd64 \
|
||||||
|
-f Dockerfile.multiarch \
|
||||||
|
-t flame:multiarch .
|
||||||
|
```
|
||||||
|
|
||||||
|
## Deployment with Docker
|
||||||
|
```sh
|
||||||
# run container
|
# run container
|
||||||
docker run -p 5005:5005 -v <host_dir>:/app/data flame
|
docker run -p 5005:5005 -v /path/to/data:/app/data flame
|
||||||
```
|
```
|
||||||
|
|
||||||
## Functionality
|
## Functionality
|
||||||
|
@ -74,3 +85,8 @@ docker run -p 5005:5005 -v <host_dir>:/app/data flame
|
||||||
- URL without protocol
|
- URL without protocol
|
||||||
- Format: `www.domain.com`, `domain.com`, `sub.domain.com`, `local`, `ip`, `ip:port`
|
- Format: `www.domain.com`, `domain.com`, `sub.domain.com`, `local`, `ip`, `ip:port`
|
||||||
- Redirect: `http://{dest}`
|
- Redirect: `http://{dest}`
|
||||||
|
|
||||||
|
## Support
|
||||||
|
If you want to support development of Flame and my upcoming self-hosted and open source projects you can use the following link:
|
||||||
|
|
||||||
|
[](https://www.paypal.com/paypalme/pawelmalak)
|
|
@ -1 +1 @@
|
||||||
REACT_APP_VERSION=1.3.7
|
REACT_APP_VERSION=1.4.0
|
|
@ -116,6 +116,8 @@ const WeatherSettings = (props: ComponentProps): JSX.Element => {
|
||||||
placeholder='52.22'
|
placeholder='52.22'
|
||||||
value={formData.lat}
|
value={formData.lat}
|
||||||
onChange={(e) => inputChangeHandler(e, true)}
|
onChange={(e) => inputChangeHandler(e, true)}
|
||||||
|
step='any'
|
||||||
|
lang='en-150'
|
||||||
/>
|
/>
|
||||||
<span>
|
<span>
|
||||||
You can use
|
You can use
|
||||||
|
@ -135,6 +137,8 @@ const WeatherSettings = (props: ComponentProps): JSX.Element => {
|
||||||
placeholder='21.01'
|
placeholder='21.01'
|
||||||
value={formData.long}
|
value={formData.long}
|
||||||
onChange={(e) => inputChangeHandler(e, true)}
|
onChange={(e) => inputChangeHandler(e, true)}
|
||||||
|
step='any'
|
||||||
|
lang='en-150'
|
||||||
/>
|
/>
|
||||||
</InputGroup>
|
</InputGroup>
|
||||||
<InputGroup>
|
<InputGroup>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue