Author Topic: Changing upload progress meter to horizontal?  (Read 1842 times)

0 Members and 1 Guest are viewing this topic.

Offline bobxzx

  • Occasional poster
  • *
  • Posts: 7
    • View Profile
Changing upload progress meter to horizontal?
« on: June 12, 2015, 07:05:57 AM »
Hi all, I couldn't find anything in search on this so here's my ?.... Is it possible to switch the upload progress meter to horizontal rather than it's current vertical positioning? I'm using 2.2f. Another problem I have with it is on firefox it'll load the progress interface but won't allow updating it & found no settings in firefox options to allow it. I'd prefer just having a permanent css/html based bandwidth monitor on the upload page if possible but was unable to find one anywhere. thx

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 790
  • I'm only trying to help i mean no offense.
    • View Profile
    • none - google translate
Re: Changing upload progress meter to horizontal?
« Reply #1 on: June 12, 2015, 06:37:20 PM »
not 100% sure, I belive if you edit the default hfs template, you might find verticle and change that to horizontals.., but that is if the macros alow that...

can give a screen shot?
« Last Edit: June 12, 2015, 09:04:49 PM by Mars »
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline bobxzx

  • Occasional poster
  • *
  • Posts: 7
    • View Profile
Re: Changing upload progress meter to horizontal?
« Reply #2 on: June 12, 2015, 06:48:03 PM »
I looked at the template & it indicates the progress meter it part of the hidden background programming code that I don't know how to access. All I'm capable of is to modify the css & html but thx for the reply.

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 1860
    • View Profile
Re: Changing upload progress meter to horizontal?
« Reply #3 on: June 12, 2015, 09:13:31 PM »
everything seems to happen in the template, look at the css part, , and that may be the ocasion to update towards hfs2.3e

[progress|no log]
<style>
#progress .fn { font-weight:bold; }
.out_bar { margin-top:0.25em; width:100px; font-size:15px; background:#fff; border:#555 1px solid; margin-right:5px; float:left; }
.in_bar { height:0.5em; background:#47c;  }
</style>
<ul style='padding-left:1.5em;'>
%progress-files%
</ul>

[progress-upload-file]
{.if not|{.{.?only.} = down.}|{:
   <li> Uploading %total% @ %speed-kb% KB/s
   <br /><span class='fn'>%filename%</span>
    <br />{.!Time left.} %time-left%"
   <br /><div class='out_bar'><div class='in_bar' style="width:%perc%px"></div></div> %perc%%
:}.}

[progress-download-file]
{.if not|{.{.?only.} = up.}|{:
   <li> Downloading %total% @ %speed-kb% KB/s
   <br /><span class='fn'>%filename%</span>
    <br />{.!Time left.} %time-left%"
   <br><div class='out_bar'><div class='in_bar' style="width:%perc%px"></div></div> %perc%%
:}.}
« Last Edit: June 12, 2015, 09:16:30 PM by Mars »

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12903
    • View Profile
Re: Changing upload progress meter to horizontal?
« Reply #4 on: June 28, 2015, 11:54:55 PM »
i don't remember any vertical progress bar. Are you sure your monitor isn't tilted?