""" web widgets for MURSAT1 Dashboard """ import time def loginFormWidget (): html = ''' Please enter your email/callsign and your password in the form below.
Don't have an account yet? Register here! ''' return html def loginWidget (email): html = ''' login request for {0} '''.format (email) return html def registerFormWidget (): html = ''' Please fill in the form below an click on Register. You will receive a confirmation email. Fields marked with a * are mandatory. ''' return html def registerWidget (): html = ''' you could be registered iff I had finished this code ''' return html def submitFormWidget (): html = ''' sorry, no form yet! ''' return html def submitWidget (): html = ''' need processing of data ''' return html def logWidget (): html = ''' Log data, lot's of log data ... ''' return html def osmWidget (longitude = 15.4426, latitude = 47.06576): html = ''' '''.format (longitude, latitude) return html def statusWidget (ip, user = 'Anonymous'): html = ''' MURSAT1 Mission Dashboard