Exemplo n.º 1
0
def create_journal():
    uid = request.args.get('uid', "1")
    app.logger.debug("Accessing createjournal.html %s", uid)
    places = getMyPlaces(uid)
    resp = flask.make_response(
        flask.render_template('createjournal.html', places=places))
    return resp
Exemplo n.º 2
0
def create_journal():
   uid = request.args.get('uid', "1")
   app.logger.debug("Accessing createjournal.html %s", uid)
   places = getMyPlaces(uid)
   resp = flask.make_response(flask.render_template(
            'createjournal.html',
            places=places))
   return resp
Exemplo n.º 3
0
def get_my_place_map():
    uid = request.args.get('uid', "1")
    app.logger.debug("Accessing placemap.html %s", uid)

    places = getMyPlaces(uid)

    resp = flask.make_response(
        flask.render_template('map.html', places=places, option="mytrace"))
    return resp
Exemplo n.º 4
0
def get_my_trace():
   uid = request.args.get('uid', "")
   places = getMyPlaces(uid)
   journals = getMyJournals(uid)

   resp = flask.make_response(flask.render_template(
            'mytrace.html',
            places=places,
            journals=journals))
   return resp
Exemplo n.º 5
0
def get_my_place_map():
   uid = request.args.get('uid', "1")
   app.logger.debug("Accessing placemap.html %s", uid)
   
   places = getMyPlaces(uid)

   resp = flask.make_response(flask.render_template(
            'map.html',
            places=places,
            option="mytrace"))
   return resp
Exemplo n.º 6
0
def get_my_trace():
   uid = request.args.get('uid', "1")
   app.logger.debug("Accessing mytrace.html %s", uid)
   
   places = getMyPlaces(uid)
   journals = getMyJournals(uid)

   resp = flask.make_response(flask.render_template(
            'trace.html',
            places=places,
            journals=journals,
            option="mytrace"))
   return resp
Exemplo n.º 7
0
def get_my_trace():
    uid = request.args.get('uid', "1")
    app.logger.debug("Accessing mytrace.html %s", uid)

    places = getMyPlaces(uid)
    journals = getMyJournals(uid)

    resp = flask.make_response(
        flask.render_template('trace.html',
                              places=places,
                              journals=journals,
                              option="mytrace"))
    return resp
Exemplo n.º 8
0
 def setUp(self):
    self.user1_places = getMyPlaces("1")
    self.user2_places = getMyPlaces("2")
    self.user3_places = getMyPlaces("3")