Re: Theme: SabNZBd plush (concept!)
Posted: June 20th, 2008, 5:54 am
Is this one better ?
Code: Select all
<div id="queue-wrap">
<div id="add_nzb_menu" style="display:hidden">
<form action="api" id="uploadNZBForm" method="post" enctype="multipart/form-data">
<input type="hidden" name="mode" value="addfile" />
<div id="add_nzb_box">
<span class="add_nzb_item">
<span class="add_nzb_item">
<small>URL<!--#if $varExists('newzbinDetails') then "/Newzbin" else ""#--></small>
<input type="text" id="addID_input" size="24" />
<input type="submit" id="addID" value="Add NZB" />
</span>
<span class="add_nzb_item">
<small>File Upload</small>
<input type="file" name="name" size="24" />
<input type="submit" id="addNZBbyFile" value="Upload NZB" />
</span>
<span class="add_nzb_item">
<!--#if $cat_list#-->
<select id="addID_cat" name="cat" title="Category" class="tip">
<!--#for $ct in $cat_list#-->
<option value="$ct">$ct</option>
<!--#end for#-->
</select>
<!--#end if#-->
<select id="addID_pp" name="pp" title="Post-Processing Option" class="tip">
<option value="-1" <!--#if $cat_list then "selected" else ""#-->>(Default)</option>
<option value="0">(Skip)</option>
<option value="1">+Repair</option>
<option value="2">+R+Unpack</option>
<option value="3" <!--#if $cat_list then "" else "selected"#-->>+R+U+Delete</option>
</select>
<!--#if $script_list#-->
<select id="addID_script" name="script" title="Script" class="tip">
<!--#for $sc in $script_list#-->
<option value="$sc">$sc</option>
<!--#end for#-->
</select>
<!--#end if#-->
</span>
</span>
</form>
</div>
</div>
<!-- Queue ( queue.tmpl )-->
Code: Select all
#add_nzb_menu {
text-align: center;
height: 32px
}
Nice one!pair of dimes wrote:It slides now.naneil wrote: I liked the way the bar didn't just 'appear' in NOVA, but the content slid down to make space, was very sleek... Any plans to add something like that o plush, even if only as an option?
Okay it confirms now, good thinking since many methods of adding to sabnzbd are one-way.naneil wrote: Edit: Also, how about an 'are you sure?' dialog box if you press the remove nzb button.. I just clicked it by mistake and lost a custom nzb I'd deleted... my own fault I know!
check my posts above on this thread's pagepair of dimes wrote: rAf I noticed that if I toggle the "add nzb" menu when it is stretched out all on one line/row it will snap open oddly.
Ok i hadn't noticed the differents variables, sorry.pair of dimes wrote: you shouldn't have commented out the 2nd warning line, that is used for critical warnings (this is a separate notification)
also i want to make that warning notification use ajax (right now it only shows up if you reload the page)