Skip to content

Commit

Permalink
update screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ShoshinNikita committed Jun 12, 2023
1 parent ea49d67 commit 4769eec
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# `Rview` - web-based UI for Rclone

<p align="center">
<img src="docs/screenshots/dir_images.jpg" width="90%">
<img src="docs/screenshots/dir_home.jpg" width="90%">
<br>
<i> More screenshots <a href="./docs/Screenshots.md">here</a> </i>
</p>
Expand Down
18 changes: 5 additions & 13 deletions docs/Screenshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@

## Dirs & Files

<img src="screenshots/dir_root.jpg"></img>
<img src="screenshots/dir_images.jpg"></img>
<img src="screenshots/dir_home.jpg"></img>

## Previews

Expand All @@ -37,25 +36,18 @@
add the following code to `common.css`:

```css
body,
#app,
.preview-close-layer {
border: 1px solid #21262d;
}
```

Note: `#21262d` is `var(--color-border-muted)` on GitHub.

2. Use `tests/testdata` as `RCLONE_TARGET`.
3. Remove files for testing corner-cases: `Images/vertical.jpg`, `test.gif` and so on.
2. Prepare demo files.
4. Make `.png` screenshots.
5. Use this command to convert screenshots to `.jpg`:
5. Use the following command to convert screenshots to `.jpg`:

```sh
vipsthumbnail --size 1920x1080 -o %s.jpg[Q=90,optimize_coding] *.png
```

6. Remove `.png` screenshots:

```sh
rm *.png
vipsthumbnail --size 1600x900 -o ./jpg/%s.jpg[Q=90,optimize_coding] *.png
```
Binary file added docs/screenshots/dir_home.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/screenshots/dir_images.jpg
Binary file not shown.
Binary file removed docs/screenshots/dir_root.jpg
Binary file not shown.
Binary file modified docs/screenshots/preview_image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/preview_text.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/preview_video.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/search.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4769eec

Please sign in to comment.