Subversion Repositories wimsdev

Rev

Rev 14864 | Rev 14984 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14864 Rev 14907
Line 54... Line 54...
54
!set x1_int=$[floor($x1)]
54
!set x1_int=$[floor($x1)]
55
!set x2=$[floor($quota_reserved/$wims_class_quota*10000)/100]
55
!set x2=$[floor($quota_reserved/$wims_class_quota*10000)/100]
56
!set x2_int=$[floor($x2)]
56
!set x2_int=$[floor($x2)]
57
!set x3=$[floor($quota_free/$wims_class_quota*10000)/100]
57
!set x3=$[floor($quota_free/$wims_class_quota*10000)/100]
58
 
58
 
-
 
59
<div class="wims_quotafree">
59
<style>@import "html/themes/_css/quota_bar.css";</style>
60
  <style>@import "html/themes/_css/quota_bar.css";</style>
60
 
-
 
61
<div class="wimscenter">
61
  <div class="wimscenter">
62
  $(name_availablespace[1]) ($wims_class_quota $name_mega)
62
    $(name_availablespace[1]) ($wims_class_quota $name_mega)
-
 
63
  </div>
-
 
64
  <div class="quota-bar" role="progressbar" tabindex="0"
-
 
65
       aria-valuenow="$x1" aria-valuemin="0" aria-valuemax="100"
-
 
66
       aria-valuetext="$(name_availablespace[2]): $x1% of $wims_class_quota$name_mega">
-
 
67
    !! used
-
 
68
    <div class="quota-index alert" title="$x1% $(name_availablespace[2])" style="width:$x1%">$x1_int%</div>
-
 
69
    !! reserved
-
 
70
    !if $x2>0
-
 
71
      <div class="quota-index warning" title="$x2% $(name_availablespace[4])" style="width:$x2%">$x2_int%</div>
-
 
72
    !endif
-
 
73
    !!free
-
 
74
    <div class="quota-index blank" title="$x3% $(name_availablespace[3])">&nbsp;</div>
-
 
75
  </div>
-
 
76
  <p class="formHelp wimscenter">
-
 
77
    <span class="quota-legend alert">$(name_availablespace[2]): $quota_used$name_mega</span>;
-
 
78
    !if $quota_reserved>0
-
 
79
      <span class="quota-legend warning">$(name_availablespace[4]): $quota_reserved$name_mega</span>;
-
 
80
    !endif
-
 
81
    <span class="quota-legend">$(name_availablespace[3]): $quota_free$name_mega</span>.
-
 
82
  </p>
63
</div>
83
</div>
64
<div class="quota-bar" role="progressbar" tabindex="0"
-
 
65
     aria-valuenow="$x1" aria-valuemin="0" aria-valuemax="100"
-
 
66
     aria-valuetext="$(name_availablespace[2]): $x1% of $wims_class_quota$name_mega">
-
 
67
  !! used
-
 
68
  <div class="quota-index alert" title="$x1% $(name_availablespace[2])" style="width:$x1%">$x1_int%</div>
-
 
69
  !! reserved
-
 
70
  !if $x2>0
-
 
71
    <div class="quota-index warning" title="$x2% $(name_availablespace[4])" style="width:$x2%">$x2_int%</div>
-
 
72
  !endif
-
 
73
  !!free
-
 
74
  <div class="quota-index blank" title="$x3% $(name_availablespace[3])">&nbsp;</div>
-
 
75
</div>
-
 
76
<p class="formHelp wimscenter">
-
 
77
  <span class="quota-legend alert">$(name_availablespace[2]): $quota_used$name_mega</span>;
-
 
78
  !if $quota_reserved>0
-
 
79
    <span class="quota-legend warning">$(name_availablespace[4]): $quota_reserved$name_mega</span>;
-
 
80
  !endif
-
 
81
  <span class="quota-legend">$(name_availablespace[3]): $quota_free$name_mega</span>.
-
 
82
</p>
-
 
83
 
84
 
84
!exit
85
!exit
85
:canvas
86
:canvas
86
  !readproc adm/class/classlang lang/scriptadmclass.phtml adm_class_quotafree
87
  !readproc adm/class/classlang lang/scriptadmclass.phtml adm_class_quotafree
87
  <div class="wimscenter">
88
  <div class="wimscenter">