WIP - Prototype

Got a neat new template? Share it here!
User avatar
switch
Moderator
Moderator
Posts: 1512
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: WIP - Prototype

Post by switch »

Development slowed when the 0.4 beta's started coming out, but recently I have added:

-Paging of the queue and history for the latest 25 items (may be increased at a later date)
-A temporary settings page
-A temporary adding-nzb page

User avatar
switch
Moderator
Moderator
Posts: 1512
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: WIP - Prototype

Post by switch »

Yes, look in my branch it uses a value called "offset" to allow the paging of data.

I implemented it a few weeks back when we were talking about paging.

User avatar
switch
Moderator
Moderator
Posts: 1512
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: WIP - Prototype

Post by switch »

Small update, been working on it the past two days,

Here is how it is looking at the moment:
http://sabnzbd.org/switch/prototype/ima ... omplex.png

Not a lot has changed, just added paging for the queue and history as well as individual pause/resume buttons for each post and styled them to have grey backgrounds, and the current download to have a green background. Also changed the split bars between the panels to be a nicer thinner version.

Today I made some changes to an available theme to come up with this black theme that can be switched between on-the-fly:
http://sabnzbd.org/switch/prototype/ima ... -black.png

It looks extra nice when run as a Mozilla Prism application:
Image
Last edited by switch on July 12th, 2008, 4:32 pm, edited 1 time in total.

nzb_leecher
Full Member
Full Member
Posts: 211
Joined: January 22nd, 2008, 1:38 pm

Re: WIP - Prototype

Post by nzb_leecher »

Both look very very nice. The black one looks even better. But is see it shows less info then the white version. Is that work in progres or on purpose?

ps can we try/dload this as a beta?

User avatar
switch
Moderator
Moderator
Posts: 1512
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: WIP - Prototype

Post by switch »

Both skins show the same data by default, however people can move/remove columns if they want less data.

A beta is still some time off I'm afraid, too much development is going on at the moment in terms of new features and bug fixes.

Don't worry, there will be plenty of time for testing.

kizer8
Newbie
Newbie
Posts: 38
Joined: April 21st, 2008, 7:00 am

Re: WIP - Prototype

Post by kizer8 »

Just curious, but when will something be available to download?

Thanks,
Kizer

nzb_leecher
Full Member
Full Member
Posts: 211
Joined: January 22nd, 2008, 1:38 pm

Re: WIP - Prototype

Post by nzb_leecher »

switch wrote: Both skins show the same data by default, however people can move/remove columns if they want less data.
That sounds like a great function. 8)

User avatar
rascalli
Moderator
Moderator
Posts: 666
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: WIP - Prototype

Post by rascalli »

tried to run it, but getting this error :


rbi0300:/home/test/sabnzbd-prototype# ./SABnzbd.py -d -f SABnzbd.ini -n
Traceback (most recent call last):
  File "./SABnzbd.py", line 44, in ?
    import sabnzbd
  File "/home/test/sabnzbd-prototype/sabnzbd/__init__.py", line 38, in ?
    from sabnzbd.assembler import Assembler
  File "/home/test/sabnzbd-prototype/sabnzbd/assembler.py", line 31, in ?
    from sabnzbd.interface import CheckFreeSpace
  File "/home/test/sabnzbd-prototype/sabnzbd/interface.py", line 2667
    class xml_maker_factory():
                            ^
SyntaxError: invalid syntax


any idea ?

User avatar
switch
Moderator
Moderator
Posts: 1512
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: WIP - Prototype

Post by switch »

That line ("class xml_maker_factory():") should be on 2758 and not 2667. Please check you have an up to date install using the new svn location.

User avatar
rascalli
Moderator
Moderator
Posts: 666
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: WIP - Prototype

Post by rascalli »

well I used svn co link

on july 20
How can I check this is the latest ?

User avatar
switch
Moderator
Moderator
Posts: 1512
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: WIP - Prototype

Post by switch »

The svn url is:
http://svn2.assembla.com/svn/SABnzbd/br ... prototype/
(it moved a few weeks ago)

The latest revision is 1474. If it still doesn'twork, whatpython version are you using?

User avatar
rascalli
Moderator
Moderator
Posts: 666
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: WIP - Prototype

Post by rascalli »

getting this  :

rbi0300:/home/test/sabnzbd-prototype# ./SABnzbd.py
Traceback (most recent call last):
  File "./SABnzbd.py", line 43, in ?
    import sabnzbd
  File "/home/test/sabnzbd-prototype/sabnzbd/__init__.py", line 37, in ?
    from sabnzbd.assembler import Assembler
  File "/home/test/sabnzbd-prototype/sabnzbd/assembler.py", line 30, in ?
    from sabnzbd.interface import CheckFreeSpace
  File "/home/test/sabnzbd-prototype/sabnzbd/interface.py", line 2758
    class xml_maker_factory():
                            ^
SyntaxError: invalid syntax



python version 2.4.4

rAf
Moderator
Moderator
Posts: 746
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: WIP - Prototype

Post by rAf »

Hi switch,

I've just tested the last prototype in trunk and it's working great !

A couple of thinks that could make it perfect (for me...) :

  - could you add the current speed and resting time in the title bar (like Plush) ?
  - could you add the possibility to change max download speed in main interface ?

Great job !

Edit :
By adding this lines at line 2659 in prototype.js, we have infos in title bar.

Code: Select all

var globalRefresh = {
    run: function(){
        store.reload();
        storeFiles.reload();
        storeHistory.reload();
        storeStatus.reload();
        storeWarnings.reload();
        document.title = speed + ' KB/s';
        document.title+= ' | ' + storeStatus.data.items[0].data.timeleft.toString() ;
        document.title+= ' | ' + storeStatus.data.items[0].data.mbleft.toString() + ' MB' ;
        //document.title+= ' | ' + store.data.length.toString() + ' nzb';
    },
    interval: 5000 //5 seconds
}
Last edited by rAf on September 10th, 2008, 6:13 pm, edited 1 time in total.

Samushka
Release Testers
Release Testers
Posts: 20
Joined: March 31st, 2008, 12:33 pm

Re: WIP - Prototype

Post by Samushka »

How can we test/use this theme?

rAf
Moderator
Moderator
Posts: 746
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: WIP - Prototype

Post by rAf »

This template is only compatible with sources from trunk.

Sources are available here :

http://svn2.assembla.com/svn/SABnzbd/trunk/main/

No binaries for now.

Post Reply