Smart House with Ionic 3

1

Hello, could you help me with CBT? I need to develop a mobile page like this in the image below, I'm using Ionic 3 (Angular, TypeScript, HTML, CSS, PHP), and phppgadmin. the idea is of a page where I can navigate the environments (bedroom, living room, kitchen) and find all the components (lights, windows, etc ...) that are activated or deactivated;

Doyouseethesecoloredboxes?theywouldbecomponents,Iwouldneedtoselectthecomponentsregisteredinthedatabaseinthatenvironmentandpopularthatareawiththoseboxeswiththecomponentnameandstatus(enabledordisabled),howcouldthispopulation?wouldaselectandafor?

Inthisthinwhiterectangularboxwouldbethenameoftheenvironment,andonthesidea"<" button and on the right side ">" to perform the pagination of the registered environments in the database, how could I perform this pagination?

A prototype I've done so far:

ImadetheredboxeswithgridlayoutinSCSS.

pfv,helpme,howcouldIperformthesetwofunctions(paginationoftheenvironmentsandthe"population" of the components)?

    
asked by anonymous 26.05.2018 / 05:11

0 answers