How to Create Moderator Ranking Page and Status List with Using Collections (Avatar Content, Secondary Content) and Badges (Customizable) | Materialize CSS #10

in #utopian-io6 years ago

Repository

https://github.com/Dogfalo/materialize

What Will I Learn?

  • You will learn how to use collections components to create moderator ranking page.
  • You will learn how to integrate the badges with collection component.
  • You will learn how to use badge components to create status list.
  • You will learn what is new badgecomponent.
  • You will learn about the secondary content and collection-item avatar.

Requirements

  • Materialize Full Package 1.0.0-beta version.
  • Materialize Icon Family CDN.
  • Microsoft Visual Studio Code. (or another text editor.)
  • A browser for testing.
  • XAMPP Control Panel Server.

OS Requirement for Running Materialize

  • Linux (64-bit)
  • Windows 7 / Windows 8 / Windows 8.1 and Windows 10.
  • macOS (64-bit)

Difficulty

  • Intermediate

Description

A Small Overview

In this episode of the Materialize Video Tutorial, we focused how we can create moderator ranking page and status list. We used the avatar-content as collections because collections will classify the ranking list we added and it will provide us to add profile avatar in list.
We used collection-item, secondary-content and avatar-content components for each user.
We used collection item as component because this component specifies all the data we added.
After these we used secondary-content because secondary content component is used if a different collection component was previously used. secondary-content component provides us adding buttons with icons to the elements.
After that we used badges because badges are notify us that there are new or not yet seen informations or notifications. We used customizable badges for this tutorial.
Finally, I gave technical information about codes, classes, components and all operations. Our Materialize education series will progress from basic - intermediate to advanced. All the programs described in the video (Materialize CSS, Visual Studio Code, XAMPP Server Control Panel Server) are open source and are all included in the links section of the GitHub repositories (Except XAMPP Control Panel Server). If you wish, you can access the web pages of these programs and download links for Windows from the All of Resources for this Project section.

All of Resources for this Project

Summary: Critical Points and Important Points
Creating Introduction Section

We added two titles and two pictures to make the introduction section of our page look good with using simple commands.
We also exported this images to be used in the project to the images folder inside xampp and htdocs folders.

Creating Ranking Section With avatar content and secondary-content

In this section, we defined ul class as collections because we will work with the collection components. After defining ul class we created a li and we defined li class as collection-item avatar this component is our avatar content. We used collection-item because collection-item specifies all the data we added. We added Rosatravels Moderator's Steemit profile image with image source that is a data so we need to use collection item as avatar for each li classes. We also defined span class as title because we want to create moderator's name as colored, The span command is helping us to make the title colorful.
After this operations we created a paragraph for Rosatravels Moderator information.
We defined her Category as Video-Tutorials, Reviewed Contributions Value as 2000, Approval Rate as %80 and Rejection Rate as %20.
We used on a bottom line secondary-content as a class because our first collection content about avatar content.
The secondary-content provides us to creating a button and adding buttons with icons to the elements in the list.
We defined a href as Rosatravels Moderator's Steemit Profile as secondary-content and we added info button with materialize-icon class. When we click on the Rosatravels' information button, this button will redirect us to the Rosatravels' Steemit Profile Page.
After this operations we have added other Moderators to the ranking list with the same codes.

Creating Customizable Badges and Integrating Badges and Collections

Firstly we defined two division classes as collection and badges this operation for integrating badges and collections. We integrated this components with division classesç We also wrote badges and collection components in the same line.
We needed collection-item component because this component provides us creating datas.
We defined our first class about collection-item and our texts are approved and rejected contributions.
After these operations, we started to create our badge with specyfing a href as hashtag (#) (blank), we defined a href as hashtag to make badges are clickable.
On the bottom line, We used new badge as span class because we want to create customizable badge, new badge class is specific component for creating customizable badge.
After, we created span classes as new badge green for approved box and new badge red for rejected box.
And finally we created our data-badge-caption as approved and rejected, 200 - 50 values are approved and rejected contributions values. Them will appear in our little red and green value boxes.

Video Tutorial

The source code and project file for this project can be found here.

Curriculum

Simple Contact Form Without Server and BootstrapCDN

Proof of Work Done

https://github.com/sargoon/

Sort:  

I thank you for your contribution. Here are my thoughts on your post;

  • As @rosatravels stated in your older post, you made your narration clearer than before. There are some quirks, but don't worry too much about them because they will slowly fade away as you keep presenting new tutorials. I appreciate your stubbornness on this matter because I never found the courage to speak in front of people, so your improvement is a legend in my eyes.

  • As this and next being your 10th and 11th tutorial in CSS, the volume of the tutorial started to drop because of the simplicity of the CSS. This isn't applicable to the posts you already published. But in the voting phase, your next tutorials might not be considered. To avoid that, I suggest doubling or tripling the content or diving in more complex concepts. So you can increase the volume of the tutorial.

  • Titles show what your post is about, so use them wisely. As you're teaching concepts with the examples, it is wise to write them on your titles, so keep doing that. But, positioning them is also essential. The main thing you're teaching in the tutorial is CSS concept, not the example. Instead of writing the example to the head of the title, change the position of it. So that way, you can directly catch readers/viewers attention to what you teach instead of the example. I'll give several examples of what I meant;

    • "Using Collections (Avatar Content, Secondary Content) and Badges (Customizable) to achieve Moderator Ranking Page and Status List | Materialize CSS #10"

    • "Using Collections (Avatar Content, Secondary Content) and Badges (Customizable) with Moderator Ranking Page and Status List | Materialize CSS #10"

    • "Using Collections (Avatar Content, Secondary Content) and Badges (Customizable) with Example of Moderator Ranking Page and Status List | Materialize CSS #10"


Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Thank you so much for your valuable comment @yokunjon. I always followed the suggestions given by the moderators and in this way, I made better quality contributions. Thank you for your suggestions, I will consider your suggestions as always.

You said "the volume of the tutorial started to drop because of the simplicity of the CSS." My tutorials will progress from intermediate to advanced. When I look at the contributions of others, I see that they contribute to easier and fewer concepts. Therefore, I'm moving in the intermediate level.

I also want to make more comprehensive and complex contributions but I can't do it because, If I make more complex videos at the advanced level, the duration of video tutorials will be very long.

Thank you so much for the title suggestions. I will use these title samples in my next contributions.

Hey @yokunjon
Here's a tip for your valuable feedback! @Utopian-io loves and incentivises informative comments.

Contributing on Utopian
Learn how to contribute on our website.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Read my profile if want me to resteem your post to over 72,500 followers. @a-a-a

Hey @sargoon
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 62676.37
ETH 2581.43
USDT 1.00
SBD 2.72