Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.44 KB | None | 0 0
  1. def status(self):
  2.     status = self.status  # Coluna status da tebela
  3.     if status = 'info1':
  4.          return '<label class="label_info1" ><i class="material-icon blue-gray lighten">info<i/></label>'
  5.    elseif status = 'info2':
  6.          return '<label class="label_info2" ><i class="material-icon red lighten">info<i/></label>'
  7.     else:
  8.         return '<label class="label_info3" ><i class="material-icon green lighten">info<i/></label>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement