FAQs - Admin Screens

What is the best way to include a date picker in my Admin Screen?

Here is the best way to do this:

<!— HTML Section -->
<input type="text" name="time" class="datepicker" id="time" />

How do I use icons in my Admin Screen?

You can employ this kind of construction to use icons in your Screen:

<i style="font-size: 2em;" class="icon-plus"></i>
<i style="font-size: 2em;" class="icon-circle"></i>
<i style="font-size: 2em;" class="icon-trash"></i>
<i style="font-size: 2em;" class="icon-external-link"></i>

How do I create a styled button for my Admin Screen?

You can create a styled button for your Screen in this way:

<gs-link snippet="" target=""><span class="btn btn-success">Create New</span></gs-link>

How do I create a responsive table for my Admin Screen?

Use this construction for a responsive table:

<table class="table js-table-sorter">

Can I create a tool tip box for my Admin Screen?

Yes. Here's an example of how to create a tool tip box for your Screen:

<gs-link><i data-toggle="tooltip" data-placement="top" title="Tip" class="icon-exclamation-sign"/></gs-link>

Are there ways I can incorporate data input checking mechanisms into my Screen and improve my users' experience?

Yes. You can utilize client-side scripts to do this. See the Incorporating Data Input Checks into Management Screens tutorial for detailed guidance on how to do this.

Can I implement a CRUD-like Admin Screen, one which allows me to Create, Read, Update, and Delete objects in my game?

Yes. You can create a Screen that implements functions to dynamically create, read, update, and delete objects. See this Tips & Tricks article to follow an example of how to do this.