mirror of
https://github.com/transmission/transmission
synced 2024-12-23 08:13:27 +00:00
6187cfd67b
* Add macOS section to Web-Interface docs - Add minimal steps to enable web interface on macOS - Clean up README.md with some markdown linting. * Updating and modernizing web interface, colors, icons In general: - increase spacing and decrease font sizes in most inspectors (so far) - replace icons with emoji. may not be the way to go in the end * update toolbar icon sizes to adjust for differences * Switch from icons to buttons, other minor color changes 1. Add 'warn' class to dangerous actions 2. Add 'table-row' helper to overflow menu 3. Use text instead of icons for this new tab style * Update icons using feathericons.com * Rename files, replace some SVG and optimize PNG * Remove more unused variables * Update index.html to reflect new icons * More minor svg changes; delete old images * Updated build output * Remove icons, add new feather svg icons Build is now sub-200 KB
61 lines
1.6 KiB
CMake
61 lines
1.6 KiB
CMake
project(trweb)
|
|
|
|
set(TRWEB_SRCS
|
|
src/about-dialog.js
|
|
src/action-manager.js
|
|
src/alert-dialog.js
|
|
src/context-menu.js
|
|
src/file-row.js
|
|
src/formatter.js
|
|
src/inspector.js
|
|
src/main.js
|
|
src/move-dialog.js
|
|
src/notifications.js
|
|
src/open-dialog.js
|
|
src/overflow-menu.js
|
|
src/prefs-dialog.js
|
|
src/prefs.js
|
|
src/remote.js
|
|
src/remove-dialog.js
|
|
src/rename-dialog.js
|
|
src/shortcuts-dialog.js
|
|
src/statistics-dialog.js
|
|
src/torrent.js
|
|
src/torrent-row.js
|
|
src/transmission.js
|
|
src/utils.js
|
|
assets/css/transmission-app.scss
|
|
)
|
|
|
|
set(TRWEB_IMGS
|
|
assets/img/analytics.svg
|
|
assets/img/modern-tortoise-blue.png
|
|
assets/img/modern-tortoise.png
|
|
assets/img/chevron-down.svg
|
|
assets/img/chevron-up.svg
|
|
assets/img/diagram-3-fill.svg
|
|
assets/img/horizontal-rule.svg
|
|
assets/img/lock-fill.svg
|
|
assets/img/logo.png
|
|
assets/img/pause-circle-active.svg
|
|
assets/img/pause-circle-idle.svg
|
|
assets/img/play-circle-active.svg
|
|
assets/img/play-circle-idle.svg
|
|
assets/img/router.svg
|
|
assets/img/team.svg
|
|
assets/img/three-dots-vertical.svg
|
|
assets/img/up-and-down-arrows.svg
|
|
)
|
|
|
|
add_custom_target(
|
|
trweb ALL
|
|
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/package.json" "${CMAKE_CURRENT_BINARY_DIR}/package.json"
|
|
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/yarn.lock" "${CMAKE_CURRENT_BINARY_DIR}/yarn.lock"
|
|
COMMAND yarn install
|
|
COMMAND yarn webpack --config "${CMAKE_CURRENT_SOURCE_DIR}/webpack.config.js" --context "${CMAKE_CURRENT_SOURCE_DIR}"
|
|
BYPRODUCTS
|
|
public_html/transmission-app.js
|
|
public_html/transmission-app.js.LICENSE.txt
|
|
DEPENDS ${TRWEB_IMGS}
|
|
SOURCES ${TRWEB_SRCS}
|
|
)
|