New theme alf-f

1,966 views
Skip to first unread message

Lx Timoniks

unread,
Jan 13, 2017, 3:27:22 AM1/13/17
to al...@googlegroups.com
I began to remodel design.
What do you think ?


Konrád Lőrinczi

unread,
Jan 13, 2017, 5:37:39 AM1/13/17
to al...@googlegroups.com
I like it :)
Would it work on RC4.1, too?



2017-01-13 9:27 GMT+01:00 Lx Timoniks <timo...@gmail.com>:
I began to remodel design.
Who thinks that?


--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/alt-f.
For more options, visit https://groups.google.com/d/optout.

Lx Timoniks

unread,
Jan 13, 2017, 6:10:38 AM1/13/17
to Alt-F
Perhaps.
I first completed yet for RC5.
Then take a look RC4.

пятница, 13 января 2017 г., 13:37:39 UTC+3 пользователь Konrád Lőrinczi написал:
I like it :)
Would it work on RC4.1, too?


2017-01-13 9:27 GMT+01:00 Lx Timoniks <timo...@gmail.com>:
I began to remodel design.
Who thinks that?


--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.

Rolf Pedersen

unread,
Jan 13, 2017, 7:36:44 AM1/13/17
to al...@googlegroups.com


On 01/13/2017 12:27 AM, Lx Timoniks wrote:
I began to remodel design.
Who thinks that?



It looks nice to my eyes on my screen.
I use the top menu and disable the side menu, to be sure.
Thanks,
Rolf

Lx Timoniks

unread,
Jan 13, 2017, 7:45:03 AM1/13/17
to Alt-F
Work on the top menu will be later.

пятница, 13 января 2017 г., 15:36:44 UTC+3 пользователь Rolf Pedersen написал:

Lx Timoniks

unread,
Jan 15, 2017, 8:47:05 AM1/15/17
to al...@googlegroups.com
Alpha Version for RC5 
Please disable top menu (it is not yet ready) .



Replace index.html in /usr/www/

Copy folder img  to /usr/www/

Replace dull.css in  /usr/www/scripts/dull/dull.css


On start user script

cp /mnt/sda2/home/RW/dull.css /usr/www/scripts/dull/dull.css

cp -R /mnt/sda2/home/RW/img /usr/www/img


First copy the necessary files to /mnt/sda2/home/RW/  (It's your choice) (copy folder img  and  file dull.css)

 


dull.css
img.zip
index.html

João Cardoso

unread,
Jan 15, 2017, 12:01:48 PM1/15/17
to Alt-F
Good work.

Alt-F has (preliminary) support for multiple coexisting themes. selectable from the webUI.
Each file with extension 'thm' will be listed under System->Utilities->Theme. The first commented line will be the theme name, and following lines contains path/filenames to include, overriding or complementing previous definitions.
The demo.thm illustrates that, including the classic theme files (which is really not needed) and and lastly a theme specific file that overrides a previous definition.

So I would suggest that your theme should contains a mytheme.thm and a subfolder named e.g. mytheme with all the theme files. You can then distribute a single zip or gz file to be extracted under /usr/www/scripts, and the "installation" is done and the theme installed and ready to be used.

mytheme.thm would then contain, in the correct order, the theme name and any other files to include.
You don't need to include or change any of the existing files if you don't need them, but if you do include any of them do it first and include your definitions later, complementing or overriding only the needed parts.
No changes to existing files should be done. That can be changed in the firmware if really needed, but the idea is to always have available the unchanged classic theme.

Lx Timoniks

unread,
Jan 15, 2017, 12:47:33 PM1/15/17
to al...@googlegroups.com
 System->Utilities->Theme -  I select - Demo...
 System->Settings-> Save Settings 
 System->Utilities-> Reboot...
 
 And ...............  .... The system returns classic theme 

¯\_(ツ)_/¯ 

P.S. After reboot system recover original demo.css/////

воскресенье, 15 января 2017 г., 20:01:48 UTC+3 пользователь João Cardoso написал:

João Cardoso

unread,
Jan 15, 2017, 1:48:21 PM1/15/17
to Alt-F


On Sunday, 15 January 2017 17:47:33 UTC, Lx Timoniks wrote:
 System->Utilities->Theme -  I select - Demo...
 System->Settings-> Save Settings 
 System->Utilities-> Reboot...
 
 And ...............  .... The system returns classic theme 

That is a bug, the system uses default.thm as a link to the in use theme:

[root@dns-323]# ls -l /usr/www/scripts/default.thm
lrwxrwxrwx    1 root     root             8 Jan 15 18:03 default.thm -> demo.thm

[root@dns-323]# ls -l /usr/www/scripts/default.thm
lrwxrwxrwx    1 root     root             8 Jan 15 18:28 default.thm -> dull.thm

As  /usr/www/scripts/default.thm is not saved in "settings", it will return to dull.thm, as by default /usr/www/scripts is in volatile memory, not disk.

But, if you install any Alt-F package, and do

aufs.sh -n
mkdir -p /Alt-F/usr/www/scripts
aufs.sh -r

then anything you put in /usr/www/scripts will be saved on disk:

[root@dns-323]# touch /usr/www/scripts/foo.thm # notice that no /Alt-F was used here!

[root@dns-323]# ls -l /Alt-F/usr/www/scripts/ # which on my system is on disk, on /mnt/sda4/Alt-F
total 2
drwxr-xr-x    2 root     root          1024 Jan 15 18:41 .
drwxr-xr-x    3 root     root          1024 Jan 15 18:36 ..
-rw-r--r--    1 root     root             0 Jan 15 18:41 foo.thm

So installing a theme requires something more than just unpacking it in the right place, so I might add a Download button to the webUI and perform the required steps, download and unpack the file. Please fill in a feature request.

Thanks


¯\_(ツ)_/¯ 

Lx Timoniks

unread,
Jan 15, 2017, 3:19:11 PM1/15/17
to Alt-F
ok, now test this

воскресенье, 15 января 2017 г., 21:48:21 UTC+3 пользователь João Cardoso написал:

Lx Timoniks

unread,
Jan 15, 2017, 3:50:44 PM1/15/17
to al...@googlegroups.com

This work, but I can not change the background of the left menu (without changing the file index.html), as the loading of styles is only in frames. (Highlighted in red )




P.S. > black.zip 

folder - black (with css and img)

files - black.thm


black.zip

João Cardoso

unread,
Jan 16, 2017, 10:47:09 AM1/16/17
to Alt-F


On Sunday, 15 January 2017 20:50:44 UTC, Lx Timoniks wrote:

This work, but I can not change the background of the left menu (without changing the file index.html),


try, perhaps in menuSetup()

top.nav.document.body.style.backgroundColor = "red" 

Lx Timoniks

unread,
Jan 16, 2017, 12:26:31 PM1/16/17
to Alt-F
ok, thks

понедельник, 16 января 2017 г., 18:47:09 UTC+3 пользователь João Cardoso написал:

João Cardoso

unread,
Jan 19, 2017, 2:15:50 PM1/19/17
to Alt-F
OK, so I added the capability for the next release to upload user contributed themes.
Users are warned that "Uploading themes can make the webUI susceptible to exploitations and attacks."

The rules to create the theme are: a zip file containing a <theme>.thm and a folder named <theme> with support files. Your last black.zip complies.
Installed themes can also be deleted.
Here is your installed theme and webUI.


Lx Timoniks

unread,
Jan 20, 2017, 12:15:56 AM1/20/17
to al...@googlegroups.com
Is it possible to make a fix to make the uploads theme ( utilities -> fixes)?  Or is it possible only in the new release?


четверг, 19 января 2017 г., 22:15:50 UTC+3 пользователь João Cardoso написал:

Lx Timoniks

unread,
Jan 20, 2017, 12:34:32 AM1/20/17
to Alt-F
After use - 
top.nav.document.body.style.backgroundColor = "#444" 
Menu the menu disappears.



понедельник, 16 января 2017 г., 18:47:09 UTC+3 пользователь João Cardoso написал:

João Cardoso

unread,
Jan 20, 2017, 10:47:55 AM1/20/17
to Alt-F


On Friday, 20 January 2017 05:15:56 UTC, Lx Timoniks wrote:
Is it possible to make a fix to make the uploads theme ( utilities -> fixes)?

Yes it is, but I don't think this to be critical to justify a fix.

João Cardoso

unread,
Jan 20, 2017, 10:50:24 AM1/20/17
to Alt-F


On Friday, 20 January 2017 05:34:32 UTC, Lx Timoniks wrote:
After use - 
top.nav.document.body.style.backgroundColor = "#444" 
Menu the menu disappears.

Well, at least you are now guided in the right direction, 'top.nav' is the way to access the left frame 

Christopher Matuszak

unread,
Feb 16, 2017, 8:18:16 PM2/16/17
to Alt-F
Any updates on this? Official "beta" release etc?

TheCoolDude

unread,
Mar 12, 2017, 5:50:58 PM3/12/17
to al...@googlegroups.com
Hello Lx.

I like the theme you have created.
I have tried it on the latest firmware 0.1RC6 on a D-Link DNS-323-B1and noticed a few flaws I'd like to show you.


As you can see, the top black line is missing.

The "Alt-F 0.1RC6 Status Page" text is not centered.

The "When done you must save your settings" text is not centered

Some menu have blue text which is not centered.
This flaw is happening on every Menu Items.

Another thing I notice was, the column are not centered with the column's title.   IE:  In the Status Page, Disk. the model# is not centered below "Model"

Other then these minor flaws, everything else look great.

Very nice theme.
Cheer.

Andre Linhares

unread,
Jul 2, 2017, 4:18:17 PM7/2/17
to Alt-F
how is this going ?
Like this theme, great job :)

Paulo Elifaz Andrielli

unread,
Jul 3, 2017, 9:43:53 AM7/3/17
to al...@googlegroups.com
And how can I have the file to put on the new 1.0 firmware?

TIP: it could be good to have a repository for themes together with Alt-F, no?

[]´s
Paulo

--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+unsubscribe@googlegroups.com.

Alex Alex

unread,
Oct 18, 2017, 1:04:20 AM10/18/17
to Alt-F
good afternoon
tell me whether it is possible to transfer the system status page for the login
Ie, that would be when logging in to login was first login / password
Thank you

Alt-F-1.0
DNS320 A1

пятница, 13 января 2017 г., 11:27:22 UTC+3 пользователь Jo Troy написал:

John Durchak

unread,
Apr 17, 2019, 5:25:57 PM4/17/19
to Alt-F
Could someone please summarize how to get and install this theme on the 1.0 release? I would rteally like to use this theme, but to have to try to traverse all the replies etc leave too much chance to create problems that may not exist. 

Thanks.

John

On Friday, January 13, 2017 at 3:27:22 AM UTC-5, Lx Timoniks wrote:

John Durchak

unread,
Apr 20, 2019, 7:31:58 PM4/20/19
to Alt-F
Can anyone tell me where I can get these files from? I love this theme, and this is exactly what I am looking for, I don't want to reinvent the wheel so if I can access these files, that would be great.

Thanks!


On Friday, January 13, 2017 at 3:27:22 AM UTC-5, Lx Timoniks wrote:
Reply all
Reply to author
Forward
0 new messages