Coder Social home page Coder Social logo

luci-app-argon-config's Introduction

Argon Theme Config Plugin

You can set the blur and transparency of the login page of argon theme,

and manage the background pictures and videos.

license prs issues release download contact

English | 简体中文

Branch Introduction

There are currently two main branches that are adapted to different versions of the OpenWrt source code.
The table below will provide a detailed introduction:

Branch Version Description Matching source
master v1.x.x Support the latest version of LuCI Official OpenWrtImmortalWrt
18.06 v0.9.x Support the 18.06 version of LuCI Lean's LEDE

Getting started

Build for Lean's LEDE project

cd lede/package/lean
rm -rf luci-app-argon-config # if have
git clone -b 18.06 https://github.com/jerrykuku/luci-app-argon-config.git luci-app-argon-config
make menuconfig #choose LUCI->Application->Luci-app-argon-config
make -j1 V=s

Build for OpenWrt official SnapShots and ImmortalWrt

cd openwrt/package
git clone https://github.com/jerrykuku/luci-app-argon-config.git
make menuconfig #choose LUCI->Application->Luci-app-argon-config
make -j1 V=s

Contributors

Made with contrib.rocks.

Related Projects

luci-app-argon-config's People

Contributors

1715173329 avatar beginner-go avatar castillofrancodamian avatar jerrykuku avatar jjm2473 avatar nanamicat avatar palatis avatar yamabuki-bakery avatar zxlhhyccc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

luci-app-argon-config's Issues

Can I add a translation?

I had planned to add my translation to Spanish so that I could add it in the compilation environment.

编译失败

Lean源码

make[3]: Entering directory '/workdir/openwrt/feeds/jerryk/luci-app-argon-config'
rm -rf /workdir/openwrt/build_dir/target-i386_pentium_musl/luci-app-argon-config-0.7/.pkgdir/luci-app-argon-config.installed /workdir/openwrt/build_dir/target-i386_pentium_musl/luci-app-argon-config-0.7/.pkgdir/luci-app-argon-config
mkdir -p /workdir/openwrt/build_dir/target-i386_pentium_musl/luci-app-argon-config-0.7/.pkgdir/luci-app-argon-config
install -d -m0755 /workdir/openwrt/build_dir/target-i386_pentium_musl/luci-app-argon-config-0.7/.pkgdir/luci-app-argon-config/usr/lib/lua/luci
cp -pR ./luasrc/* /workdir/openwrt/build_dir/target-i386_pentium_musl/luci-app-argon-config-0.7/.pkgdir/luci-app-argon-config/usr/lib/lua/luci
install -d -m0755 /workdir/openwrt/build_dir/target-i386_pentium_musl/luci-app-argon-config-0.7/.pkgdir/luci-app-argon-config/
cp -pR ./root/* /workdir/openwrt/build_dir/target-i386_pentium_musl/luci-app-argon-config-0.7/.pkgdir/luci-app-argon-config/
install -d -m0755 /workdir/openwrt/build_dir/target-i386_pentium_musl/luci-app-argon-config-0.7/.pkgdir/luci-app-argon-config/usr/lib/lua/luci/i18n
po2lmo ./po/zh-cn/argon-config.po /workdir/openwrt/build_dir/target-i386_pentium_musl/luci-app-argon-config-0.7/.pkgdir/luci-app-argon-config/usr/lib/lua/luci/i18n/argon-config.zh-cn.lmo
bash: po2lmo: command not found
Makefile:42: recipe for target '/workdir/openwrt/build_dir/target-i386_pentium_musl/luci-app-argon-config-0.7/.pkgdir/luci-app-argon-config.installed' failed
make[3]: *** [/workdir/openwrt/build_dir/target-i386_pentium_musl/luci-app-argon-config-0.7/.pkgdir/luci-app-argon-config.installed] Error 127
make[2]: *** [package/feeds/jerryk/luci-app-argon-config/compile] Error 2
make[1]: *** [/workdir/openwrt/staging_dir/target-i386_pentium_musl/stamp/.package_compile] Error 2
make[3]: Leaving directory '/workdir/openwrt/feeds/jerryk/luci-app-argon-config'
make: *** [world] Error 2
time: package/feeds/jerryk/luci-app-argon-config/compile#0.14#0.04#0.19
package/Makefile:111: recipe for target 'package/feeds/jerryk/luci-app-argon-config/compile' failed
make[2]: Leaving directory '/workdir/openwrt'
package/Makefile:107: recipe for target '/workdir/openwrt/staging_dir/target-i386_pentium_musl/stamp/.package_compile' failed
make[1]: Leaving directory '/workdir/openwrt'
/workdir/openwrt/include/toplevel.mk:222: recipe for target 'world' failed
##[error]Process completed with exit code 2.

Argon config page not working in the last master build or snapshot

When opening the Argon config page, the browser displays this error page:

/usr/lib/lua/luci/model/cbi/argon-config.lua:3: module 'luci.model.ipkg' not found:
	no field package.preload['luci.model.ipkg']
	no file './luci/model/ipkg.lua'
	no file '/usr/share/lua/luci/model/ipkg.lua'
	no file '/usr/share/lua/luci/model/ipkg/init.lua'
	no file '/usr/lib/lua/luci/model/ipkg.lua'
	no file '/usr/lib/lua/luci/model/ipkg/init.lua'
	no file './luci/model/ipkg.so'
	no file '/usr/lib/lua/luci/model/ipkg.so'
	no file '/usr/lib/lua/loadall.so'
	no file './luci.so'
	no file '/usr/lib/lua/luci.so'
	no file '/usr/lib/lua/loadall.so'
stack traceback:
	[C]: in function 'require'
	/usr/lib/lua/luci/model/cbi/argon-config.lua:3: in function 'func'
	/usr/lib/lua/luci/cbi.lua:66: in function 'load'
	/usr/lib/lua/luci/dispatcher.lua:1526: in function '_form'
	/usr/lib/lua/luci/dispatcher.lua:1054: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:479: in function </usr/lib/lua/luci/dispatcher.lua:478>

STEPS TO REPRODUCE:

  1. Build OpenWrt with Argon from sources using these commands in a build-ready system:
git clone -b master https://github.com/openwrt/openwrt.git openwrt
cd openwrt
 ./scripts/feeds update -a
./scripts/feeds install -a
git clone -b master https://github.com/jerrykuku/luci-theme-argon package/luci-theme-argon
git clone -b master https://github.com/jerrykuku/luci-app-argon-config package/luci-app-argon-config
#     vvvvvvv   select your device with make menuconfig
make menuconfig
echo "CONFIG_PACKAGE_luci=y" >> .config
echo "CONFIG_PACKAGE_luci-compat=y" >> .config
echo "CONFIG_PACKAGE_luci-theme-argon=y" >> .config
echo "CONFIG_PACKAGE_luci-app-argon-config=y" >> .config
make defconfig
make -j$(nproc) 
  1. Then, flash the sysupgrade under openwrt/bin/target// in your router without saving previous settings (default behaviour).
  2. After the system boots up go to system>Argon Config

EXPECTED RESULT:
The Argon config page shows up properly.

OBTAINED RESULT:
The error message shown above shows up.

Using the packages available for download in https://github.com/jerrykuku/luci-theme-argon repo shows the same behavior when installed in a system using a SNAPSHOT image.

建议深色模式下当前tab上的文字颜色改成白色

深色主题下,主题色亮一点,tab上的字就看不清,暗一点,页面上文字颜色又看不清,能让两处看起来都正常的颜色选择范围很小,就很尴尬。

截屏2023-05-05 23 40 59

截屏2023-05-05 23 40 04

浅色模式这个tab上的文字是纯白的,这样只要主题色亮度稍微低一点就能看清,但深色模式下这个文字颜色是个灰的,就会造成前面说的那个问题。
截屏2023-05-05 23 51 40

再就是深色模式下tab栏鼠标hover状态下的下划线颜色,用的浅色模式的主题色。
截屏2023-05-05 23 52 28

希望增加对webp视频格式的支持

mp4 格式文件太大了,在加载视频的空窗期通常都是黑屏的状态,可以考虑webm视频格式(文件较小),要是能同时支持引入外部链接的方式就更好了。

强制所有页面的主题色

image

在这里你可以设置argon 主题的登录页面的模糊和透明度,并管理背景图片与视频。

目前只能强制设置登录页面的主题模式,不能修改整个管理页面的颜色 :(
能不能让所有页面都支持强制主题色?

不知是何原因,在lean大源码编译的红米AX6固件里,安装不了这个设置,主题可以安装。

root@OpenWrt:/tmp# opkg install luci-app-argon-config_0.9-20210309_all.ipk
Unknown package 'luci-app-argon-config'.
Collected errors:

  • pkg_hash_check_unresolved: cannot find dependency luci-compat for luci-app-argon-config
  • pkg_hash_fetch_best_installation_candidate: Packages for luci-app-argon-config found, but incompatible with the architectures configured
  • opkg_install_cmd: Cannot install package luci-app-argon-config.

gl-inet sft1200 无法安装设置包,提示不存在luci-compat

root@GL:~# opkg install luci-app-argon-config_0.9_all.ipk
Installing luci-app-argon-config (0.9) to root...
Collected errors:

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-argon-config:
  •  luci-compat *
    
  • opkg_install_cmd: Cannot install package luci-app-argon-config.
    我要去哪里下载luci-compat呢?

Unable to launch "Argon Config" from web-interface

Environment:
LuCI openwrt-19.07 branch (git-20.247.75781-0d0ab01)

Steps to reproduce:
Install luci-theme-argon_2.2.5-20200914_all.ipk, luci-app-argon-config_0.8-beta_all.ipk
Press "Argon Config" button in "System" tab

Expected result:
Config opens

Actual result:
Getting error

...ib/lua/luci/model/cbi/argon-config/configuration.lua:3: module 'luci.model.ipkg' not found:
	no field package.preload['luci.model.ipkg']
	no file './luci/model/ipkg.lua'
	no file '/usr/share/lua/luci/model/ipkg.lua'
	no file '/usr/share/lua/luci/model/ipkg/init.lua'
	no file '/usr/lib/lua/luci/model/ipkg.lua'
	no file '/usr/lib/lua/luci/model/ipkg/init.lua'
	no file './luci/model/ipkg.so'
	no file '/usr/lib/lua/luci/model/ipkg.so'
	no file '/usr/lib/lua/loadall.so'
	no file './luci.so'
	no file '/usr/lib/lua/luci.so'
	no file '/usr/lib/lua/loadall.so'
stack traceback:
	[C]: in function 'require'
	...ib/lua/luci/model/cbi/argon-config/configuration.lua:3: in function 'func'
	/usr/lib/lua/luci/cbi.lua:66: in function 'load'
	/usr/lib/lua/luci/dispatcher.lua:1486: in function '_form'
	/usr/lib/lua/luci/dispatcher.lua:1026: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:478: in function </usr/lib/lua/luci/dispatcher.lua:477>

Resolution:
Install luci-lib-ipkg package

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.