PHP Classes

File: themes/default/components/core/toolbar.twig

Recommend this page to a friend!
  Classes of Aby Dahana   Aksara   themes/default/components/core/toolbar.twig   Download  
File: themes/default/components/core/toolbar.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Aksara
A CodeIgniter based API and CRUD generator
Author: By
Last change: Add notifications module and add missing feature
Date: 6 months ago
Size: 1,731 bytes
 

Contents

Class file image Download
<div class="row"> <div class="col"> <div class="btn-group btn-group-sm"> {% for key, button in buttons %} <a href="{{ button.url }}" class="btn {{ button.class }}" data-bs-toggle="tooltip" title="{{ button.label }}" {% if button.path == 'delete' %} data-bulk-delete="true" {% endif %} {% if button.new_tab %} target="_blank" {% endif %} {{ button.attribution | raw }}> <i class="{{ button.icon }}"></i> {% if button.path != 'delete' %} {{ button.label }} {% endif %} </a> {% endfor %} </div> </div> <div class="col"> <form action="{{ action }}" method="GET" class="form-horizontal"> <div class="input-group input-group-sm"> {% for name, filter in filters %} {% if filter.type == 'text' %} <input type="text" name="{{ name }}" value="{{ filter.values }}" placeholder="{{ filter.label }}" class="form-control"> {% elseif filter.type == 'select' %} <select name="{{ name }}" placeholder="{{ filter.label }}" class="form-control"> {% for option in filter.values %} <option value="{{ option.id }}" {% if option.selected %} selected {% endif %}>{{ option.label }}</option> {% endfor %} </select> {% endif %} {% endfor %} <button type="submit" class="btn btn-primary"> <i class="mdi mdi-magnify"></i> </button> </div> </form> </div> </div>