WIP - Prototype

Got a neat new template? Share it here!

Re: WIP - Prototype

Postby switch » July 9th, 2008, 10:38 am

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: 1513
Joined: January 17th, 2008, 4:55 pm
Location: UK

Re: WIP - Prototype

Postby switch » July 9th, 2008, 11:10 am

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: 1513
Joined: January 17th, 2008, 4:55 pm
Location: UK

Re: WIP - Prototype

Postby switch » July 12th, 2008, 5:31 pm

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, 5:32 pm, edited 1 time in total.
User avatar
switch
Moderator
Moderator
 
Posts: 1513
Joined: January 17th, 2008, 4:55 pm
Location: UK

Re: WIP - Prototype

Postby nzb_leecher » July 16th, 2008, 4:00 pm

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?
nzb_leecher
Full Member
Full Member
 
Posts: 211
Joined: January 22nd, 2008, 2:38 pm

Re: WIP - Prototype

Postby switch » July 16th, 2008, 4:04 pm

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.
User avatar
switch
Moderator
Moderator
 
Posts: 1513
Joined: January 17th, 2008, 4:55 pm
Location: UK

Re: WIP - Prototype

Postby kizer8 » July 17th, 2008, 7:35 am

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

Thanks,
Kizer
kizer8
Newbie
Newbie
 
Posts: 38
Joined: April 21st, 2008, 8:00 am

Re: WIP - Prototype

Postby nzb_leecher » July 17th, 2008, 11:39 am

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)
nzb_leecher
Full Member
Full Member
 
Posts: 211
Joined: January 22nd, 2008, 2:38 pm

Re: WIP - Prototype

Postby rascalli » July 20th, 2008, 1:52 pm

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
rascalli
Moderator
Moderator
 
Posts: 666
Joined: January 18th, 2008, 1:30 am
Location: Bossche bollen land

Re: WIP - Prototype

Postby switch » July 21st, 2008, 2:18 pm

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
switch
Moderator
Moderator
 
Posts: 1513
Joined: January 17th, 2008, 4:55 pm
Location: UK

Re: WIP - Prototype

Postby rascalli » July 22nd, 2008, 12:42 am

well I used svn co link

on july 20
How can I check this is the latest ?
User avatar
rascalli
Moderator
Moderator
 
Posts: 666
Joined: January 18th, 2008, 1:30 am
Location: Bossche bollen land

Re: WIP - Prototype

Postby switch » July 22nd, 2008, 7:00 am

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
switch
Moderator
Moderator
 
Posts: 1513
Joined: January 17th, 2008, 4:55 pm
Location: UK

Re: WIP - Prototype

Postby rascalli » July 26th, 2008, 8:37 pm

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
User avatar
rascalli
Moderator
Moderator
 
Posts: 666
Joined: January 18th, 2008, 1:30 am
Location: Bossche bollen land

Re: WIP - Prototype

Postby rAf » September 8th, 2008, 9:33 am

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, 7:13 pm, edited 1 time in total.
rAf
Moderator
Moderator
 
Posts: 746
Joined: April 28th, 2008, 3:35 pm
Location: France

Re: WIP - Prototype

Postby Samushka » September 15th, 2008, 7:51 am

How can we test/use this theme?
Samushka
Release Testers
Release Testers
 
Posts: 20
Joined: March 31st, 2008, 1:33 pm

Re: WIP - Prototype

Postby rAf » September 15th, 2008, 9:18 am

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.
rAf
Moderator
Moderator
 
Posts: 746
Joined: April 28th, 2008, 3:35 pm
Location: France

PreviousNext

Return to Templates