Did I find the right examples for you? yes no

All Samples(10)  |  Call(0)  |  Derive(5)  |  Import(5)

src/s/t/statusboard-HEAD/statusboard/plugins/upcoming/models.py   statusboard(Download)
from django.utils.translation import ugettext_lazy as _
 
from statusboard.plugins import Plugin
 
class Calendar(models.Model):
class Upcoming(Plugin):
    def css(self):
        yield 'upcoming.css'
 
    def js(self):

src/s/t/statusboard-HEAD/statusboard/plugins/ticker/models.py   statusboard(Download)
from django.db import models
from django.utils.translation import ugettext_lazy as _
 
from statusboard.plugins import Plugin
 
class Ticker(Plugin):

src/s/t/statusboard-HEAD/statusboard/plugins/label/models.py   statusboard(Download)
from statusboard.plugins import Plugin
 
class Label(Plugin):
    def css(self):
        yield 'label.css'

src/s/t/statusboard-HEAD/statusboard/plugins/clock/models.py   statusboard(Download)
from statusboard.plugins import Plugin
 
class Clock(Plugin):
    def css(self):
        yield 'clock.css'

src/s/t/statusboard-HEAD/statusboard/plugins/jenkins/models.py   statusboard(Download)
from django.utils.translation import ugettext_lazy as _
 
from statusboard.plugins import Plugin
from statusboard.plugins.jenkins import conf
from statusboard.plugins.jenkins.utils import get_servers
class Jenkins(Plugin):
    def css(self):
        yield 'cluetip-1.0.6/jquery.cluetip.css'
        yield 'jenkins.css'