rejetto forum

Changing upload progress meter to horizontal?

bobxzx · 5 · 5165

0 Members and 1 Guest are viewing this topic.

Offline bobxzx

  • Occasional poster
  • *
    • Posts: 9
    • View Profile
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: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
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 »
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline bobxzx

  • Occasional poster
  • *
    • Posts: 9
    • View Profile
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: 2059
    • View Profile
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: 13510
    • View Profile
i don't remember any vertical progress bar. Are you sure your monitor isn't tilted?