Book Image

Creating Interfaces with Bulma

By : Jeremy Thomas, Oleksii Potiekhin, Mikko Lauhakari, Aslam Shah, Dave Berning
Book Image

Creating Interfaces with Bulma

By: Jeremy Thomas, Oleksii Potiekhin, Mikko Lauhakari, Aslam Shah, Dave Berning

Overview of this book

Bulma is a lightweight configurable CSS framework that handles all the hard work of Flexbox for you. Bulma makes creating web interfaces an easy and interesting job. This book begins with an overview of the basics of Bulma ? its terms and its concepts. Then, while designing a login page for your application, you’ll learn how to use the various tools provided by Bulma to create HTML forms and control their layout and flow. In the later chapters, you’ll design an admin area for your application, thus learning to use Bulma’s navigation and menu components. You will also add the components to your user interface for common things such as boxes, lists, and media groups, and then create pagination. As you progress through the book, you’ll create and layout some other components for your interface, including tables, design dropdown lists, and finally to integrate your web application with JavaScript. By the end of this book, you’ll be able to use the features of Bulma to your advantage and build web interfaces quickly and easily.
Table of Contents (15 chapters)
8
8. Creating more tables and selecting dropdowns

The list of customers

Duplicate books.html, rename it to customers.html, and perform a few small changes:

  • Move the is-active class in the sidebar menu from “Books” to “Customers”
  • Rename the title from “Books” to “Customers”
  • Remove the grid of book items

Initial

As you can see, this page still needs to be updated quite a bit.

Updating the toolbar

The toolbar residing in the level component only requires some text replacements:

  • “6 books” is now “3 customers”
  • The “New” button target is now new-customer.html
  • The “Book name, ISBN...” placeholder is now “Name, email...”

Level left

The level-right will now contain toggle elements instead of a dropdown. Replace it with the following:

<div class="level-right">
  <p class="level-item"><strong>All</strong></p>
  <p class="level-item"><a>With orders</a>&lt...