Logo
For example "scheduled tasks"
Search
Info
Content
Category Navigation
  • Build it with Tim

  • How do I build a booking calendar?

  • How do I build a time tracking module?

  • How do I build a payment system with Stripe?

  • How do I restrict pages from the Live App?

  • How do I build a complex User creation workflow?

  • How do I loop through connected records with Make?

  • How do I find similar records?

  • How do I use OpenAI with my app?

  • How do I build a "Like" system?

  • How do I use iOS shortcuts to send data to my app?

  • How do I use CSS classes with Display Rules?

  • How do I send real-time notifications in my app?

  • How do I save values to Local Storage?

  • How do I validate and compare connected record values?

  • How do I use the barcode scanner?

  • How do I build a proposal or quote generator?

  • How do I embed video calls in Tadabase?

  • How do I use Row Visibility?

  • How do I build a workflow that allows for User Signup and automatic Company creation?

  • How do I build a Company Portal / ERP?

  • How do I build a Pricing Calculator?

  • How to send email notifications from your Tadabase application

  • How do I build a multiple choice test?

  • How do I create dynamic Google Docs from my app data?

  • How do I send User Activation Links?

  • Building Cascading Connections

  • How do I iterate through a Date Range?

  • Generate Tweets and automate your Twitter account using Open AI

  • Custom Image Galleries

  • Password Protected Editing

  • Messages & Replies

  • Cascading Deletes

  • Multi-Tenanted Family Planner

  • Supercharging Form Components with Display Rules and CSS

  • Family Planner (pt. 2) Custom Components

  • Building a Rental Marketplace App

  • Converting date/time to the End-User's time zone

  • How do I hide fields based on User preferences?

  • Tadabase powered moving & packing app

  • BarkTag - Cloning an app found on Instagram with Tadabase

  • External equation processing with Sparklite.io

  • 8 ways to filter data in your Tadabase app

Categories
Build it with Tim
Family Planner (pt. 2)...

Family Planner (pt. 2) Custom Components

In this episode, we're revisiting the Family Planner app to customize and stylize our Family Lists using the Custom Component.

Page CSS - Form Component

/*### PAGE CSS ###*/
.family_list {
    background-color: #fff;
    border-radius: 2rem;
    padding: 2rem;
}

Detail Custom Component

HTML

{{#each records}}

<div class="list_header">
    <div class="list_title">
        <p>{{field_52}}</p>
    </div>
</div>

{{/each}}

CSS

/*### DETAIL CSS ###*/
.list_header {
    text-align: left;
    border-bottom: 1px solid #d8d8d8;
}
.list_title {
    font-size: 28px;
    font-weight: 900;
}

 

List Custom Component

HTML

<div class="list_actions">
    <div>
        <span class="task_count">{{tb_total_records}} Items</span>
    </div>
    <div>
        {{tb_filter tb-id=1 tb-value="All" class="btn btn-primary"}}
        {{tb_filter tb-id=2 tb-value="Active" class="btn btn-primary"}}
        {{tb_filter tb-id=3 tb-value="Completed" class="btn btn-primary"}}
    </div>
</div>

{{#each records}}
<div class="list_item">
    <div class="item_name">
    {{#is field_56 "completed"}}
        <p class="{{field_56}}"><i class="fas fa-check-circle"></i> {{field_54}}</p>
    {{else}}
        <p><i class="fal fa-circle"></i> {{field_54}}</p>
    {{/is}}
    </div>
    
    {{#isnt field_56 "completed"}}
    <div class="action_button">
        {{tb_link this tb-id="1" class="btn btn-success"}}
    </div>
    {{/isnt}}
</div>
{{/each}}

CSS

/*### LIST ITEM CSS ###*/
.list_actions {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}
.task_count {
    color: #555;
    font-style: italic;
    font-size: 18px;
    justify-self: flex-start;
}
.list_actions .btn-primary {
    padding: 2px 5px;
}
.list_item {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.completed {
    color: #8f8f8f;
}
.completed i {
    color: rgb(31,190,31);
    margin-right: 5px;  
}
.action_button a {
    height: 30px !important;
    width: 50px !important;
    background-color: rgb(31,190,31) !important;
}
.action_button::before {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900; 
    color: #fff;
    font-size: 18px;
    content: "\f058 ";
    height: 25px;
    width: 25px;
    position: relative;
    left: 53%;
    top: 2px;
    pointer-events: none;
}

How did we do ?

Previous Article
Supercharging Form Components with Display Rules and CSS
Next Article
Building a Rental Marketplace App
Article Navigation
  • Page CSS - Form Component
  • Detail Custom Component
  • HTML
  • CSS
  • List Custom Component
  • HTML
  • CSS
  • Back to top
    API
    100% Operational
    Apps
    100% Operational
    Builder
    100% Operational
    Overall Status
    100% Operational