rejetto forum
Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: bobxzx 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
-
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?
-
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.
-
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%%
:}.}
-
i don't remember any vertical progress bar. Are you sure your monitor isn't tilted?