Guest User

Untitled

a guest
Feb 20th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. <?python
  2. statuscounts = [0,0,0]
  3. for p in subdir.job.pages:
  4. statuscounts[p.status.Value] += 1
  5. ?>
  6. <td style="text-align: center;"><span style="color: #e18f01;">${statuscounts[0]}</span></td>
  7. <td style="text-align: center;"><span style="color: #249f0b;">${statuscounts[1]}</span></td>
  8. <td style="text-align: center;"><span style="color: #ae0a0a;">${statuscounts[2]}</span></td>
Add Comment
Please, Sign In to add comment