E-Week 2020: Difference between revisions

No edit summary
No edit summary
Line 29: Line 29:
'''{{#ifexpr:{{{DamnThing}}}|<i class="far fa-cube fa-lg"></i>&emsp;}}{{{Event}}}'''<br>
'''{{#ifexpr:{{{DamnThing}}}|<i class="far fa-cube fa-lg"></i>&emsp;}}{{{Event}}}'''<br>
''{{#time:H:i|{{{Start|}}}}}-{{#time:H:i|{{{End|}}}}}''&emsp;&emsp;{{{Location}}}
''{{#time:H:i|{{{Start|}}}}}-{{#time:H:i|{{{End|}}}}}''&emsp;&emsp;{{{Location}}}
<div class="text-center" style="background-color:#eee;width:inherit;height:20px;border:1px solid #999">{{#ifexpr:({{#time:YmdHi|{{LOCALTIMESTAMP}}}}-{{{Start}}})>60|{{#expr:({{#time:YmdHi|{{LOCALTIMESTAMP}}}}-{{{Start}}})/60 round 1}} hrs left|{{#expr:({{#time:YmdHi|{{LOCALTIMESTAMP}}}}-{{{Start}}})}} min left}}<div style="border:0px; height:20px;width:{{#expr:({{#time:YmdHi|{{LOCALTIMESTAMP}}}}-{{{Start}}})/({{{End}}}-{{{Start}}})*100 round 0}}%!important;display:block;float:left;" class="e2020-bern"></div>
<div class="text-center" style="background-color:#eee;width:inherit;height:20px;border:1px solid #999"><div>{{#ifexpr:({{#time:YmdHi|{{LOCALTIMESTAMP}}}}-{{{Start}}})>60|{{#expr:({{#time:YmdHi|{{LOCALTIMESTAMP}}}}-{{{Start}}})/60 round 1}} hrs left|{{#expr:({{#time:YmdHi|{{LOCALTIMESTAMP}}}}-{{{Start}}})}} min left}}</div><div style="border:0px; height:20px;width:{{#expr:({{#time:YmdHi|{{LOCALTIMESTAMP}}}}-{{{Start}}})/({{{End}}}-{{{Start}}})*100 round 0}}%!important;display:block;float:left;" class="e2020-bern"></div>
</div></div>
</div></div>
<div class="col-2 pb-3" style="border-bottom:1px dashed #000;max-width:120px"><p style="position: relative;top: 50%;transform: translateY(-50%);margin:0px;">
<div class="col-2 pb-3" style="border-bottom:1px dashed #000;max-width:120px"><p style="position: relative;top: 50%;transform: translateY(-50%);margin:0px;">