Exemplo n.º 1
0
    def get(self):

        # Web Design Display
        web_design = ServiceWebDesign.query().fetch()
        self.tv["web_design"] = []
        for this_data in web_design:
            self.tv["web_design"].append(this_data.to_object())
        # Mobile Dev Display
        mobile_dev = ServiceMobileDev.query().fetch()
        self.tv["mobile_dev"] = []
        for this_data in mobile_dev:
            self.tv["mobile_dev"].append(this_data.to_object())

        self.tv["current_page"] = "VIEW SERVICE"
        self.render('frontend/service-view.html')
Exemplo n.º 2
0
    def get(self):

        # Web Design Display
        web_design = ServiceWebDesign.query().fetch()
        self.tv["web_design"] = []
        for this_data in web_design:
            self.tv["web_design"].append(this_data.to_object())
        # Mobile Dev Display
        mobile_dev = ServiceMobileDev.query().fetch()
        self.tv["mobile_dev"] = []
        for this_data in mobile_dev:
            self.tv["mobile_dev"].append(this_data.to_object())

        self.tv["current_page"] = "VIEW SERVICE"
        self.render('frontend/service-view.html')
Exemplo n.º 3
0
 def post(self):
     newWeb = ServiceWebDesign()
     newWeb.title = self.request.get("title")
     newWeb.description = self.request.get("description")
     newWeb.put()
     self.render('frontend/service-webdesign.html')
Exemplo n.º 4
0
 def post(self):
     newWeb = ServiceWebDesign()
     newWeb.title = self.request.get("title")
     newWeb.description = self.request.get("description")
     newWeb.put()
     self.render('frontend/service-webdesign.html')