<table class="table">
<thead>
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data 1</td>
<td>Data 2</td>
</tr>
</tbody>
</table>
Use the default form-control class for standard inputs.
Use the col-md-4 OR col-md-3 to separate the fields.
Label must be on top of the input field.
Text field width must be same as the normal field
<input type="text" class="form-control" placeholder="Default input">
Preview:
Utilize Bootstrap utility classes for managing font sizes.
small class for smaller text.
<p class="small">Small text</p>
Preview:
Small text
<p>Default text</p>
Preview:
Default text
h1, h2, etc., tags for larger text sizes.
<h1>Large text</h1>
Preview:
Ensure cohesive design by following these color guidelines:
text-primary class.
<p class="text-primary">Primary color text</p>
Preview:
Primary color text
<p style="color: #FFA500;">Secondary color text</p>
Preview:
Secondary color text
Buttons should follow these guidelines for color consistency:
btn-success class for green submit buttons.
<button type="submit" class="btn btn-success">Submit</button>
Preview:
btn-danger class for red delete/remove buttons.
<button type="button" class="btn btn-danger">Delete</button>
<button type="button" class="btn btn-danger">Remove</button>
Preview:
<button type="button" class="btn btn-warning">Update</button>
Preview:
btn-primary class for blue print/view buttons.
<button type="button" class="btn btn-primary">View/Print</button>
Preview:
Use DataTables with pagination and search options for history sections.
Use Bootstrap tables and apply the following classes to all tables.
For currency, text must be aligned right side.
<table class="table table-hover table-responsive">
<thead>
<tr>
<th>Header</th>
<th>Header 2</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data 1</td>
<td>Data 2</td>
</tr>
</tbody>
</table>
Preview:
| Header | Header 2 | Currency |
|---|---|---|
| Data 1 | Data 2 | 1000.00 |
| Data 1 | Data 2 | 750.00 |
| Data 1 | Data 2 | 99.90 |
Avoid using tables inside tables. Use div tags for nested data structures.
For history tables with pagination and search options, use DataTables:
<table id="example" class="table table-hover table-bordered table-responsive">
<thead>
<tr>
<th>Name</th>
<th>Position</th>
<th>Office</th>
<th>Age</th>
<th>Start date</th>
<th>Salary</th>
</tr>
</thead>
<tbody>
<tr>
<td>Tiger Nixon</td>
<td>System Architect</td>
<td>Edinburgh</td>
<td>61</td>
<td>2011/04/25</td>
<td>$320,800</td>
</tr>
<!-- More rows as needed -->
</tbody>
</table>
Preview:
| Name | Position | Office | Age | Start date | Salary |
|---|---|---|---|---|---|
| Tiger Nixon | System Architect | Edinburgh | 61 | 2011/04/25 | $320,800 |
| Nixon Tiger | System Architect | New York | 61 | 2010/04/25 | $350,000 |
Use React-based charts with 3D support where appropriate. Get approval from a senior developer before using 3D charts in any section.