bdalsass 5157f511fc N°5073 - Implements line actions in a datatable (#337)
* datatable row actions

Below is a sample of extra param to enable feature:

		$aExtraParams['row_actions'] = [
			[
				'tooltip'        => 'add an element',
				'icon_css_class' => 'fa-plus',
				'css_class'      => 'ibo-is-success',
				'level'          => 'secondary',
				'on_action_js'   => 'console.log(aData);',
			],
			[
				'tooltip'        => 'remove an element',
				'icon_css_class' => 'fa-minus',
				'css_class'      => 'ibo-is-danger',
				'level'          => 'secondary',
				'on_action_js'   => 'console.log("You clicked the remove button");',
			],
			[
				'tooltip'        => 'open in new tab',
				'icon_css_class' => 'fa-external-link-square-alt',
				'on_action_js'   => 'window.open("http://localhost/itop-branchs/dev/pages/UI.php?operation=details&class=UserRequest&id=" + aData.id + "&c[menu]=UserRequest%3AOpenRequests");',
			],
			[
				'tooltip'        => 'other actions',
				'icon_css_class' => 'fa-ellipsis-v',
				'on_action_js'   => 'console.log(event);',
			],
		];

* datatable row actions (update)

* datatable row actions (update)

* datatable row actions (add template role)

* datatable row actions (align actions)

* datatable row actions (change template factory make to make standard)

* datatable row actions (use trait to handle row actions)

* datatable row actions (row actions templates)

* datatable row actions (row actions templates)

* datatable row actions (row actions templates)

* datatable row actions (extends to static and form)

* datatable row actions (extends to static and form)

* datatable row actions (code review S)

* datatable row actions (code review S)

* datatable row actions (code review S)

* Update js/dataTables.main.js

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Update js/dataTables.main.js

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Update sources/Application/UI/Base/Component/DataTable/StaticTable/StaticTable.php

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Update templates/base/components/datatable/row-actions/handler.js.twig

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* datatable row actions (code review M)

* Update js/dataTables.main.js

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Update js/dataTables.main.js

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Update js/dataTables.main.js

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Update sources/Application/UI/Base/Component/DataTable/StaticTable/StaticTable.php

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Update sources/Application/UI/Base/Component/DataTable/StaticTable/StaticTable.php

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Update sources/Application/UI/Base/Component/DataTable/StaticTable/StaticTable.php

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Update js/dataTables.main.js

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Update sources/Application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Update sources/Application/UI/Base/Component/DataTable/StaticTable/StaticTable.php

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* Update application/utils.inc.php

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>

* datatable row actions (code review M2)

* datatable row actions (code review M3)

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
2022-09-26 08:20:28 +02:00
2022-09-23 15:10:21 +02:00
2020-05-14 11:26:35 +02:00
2021-03-15 09:29:45 +01:00
2022-09-21 10:34:38 +02:00
2019-11-22 18:44:27 +01:00
2021-08-18 14:35:35 +02:00
2020-06-23 15:10:09 +02:00
2020-08-18 09:18:37 +02:00

iTop stands for IT Operations Portal. It is a complete open source and web based IT service management platform including a fully customizable CMDB, a helpdesk system and a document management tool. It is ITIL compliant and easily customizable and extensible thanks to a high number of adds-on and web services to integrate with your IT.

iTop also offers mass import tools to help you being even more efficient.

Features

Latest release

Resources

About Us

iTop development is sponsored, led and supported by Combodo.

Contributors

We would like to give a special thank you 🤗 to the people from the community who contributed to this project, including:

Names

  • Alves, David
  • Beck, Pedro
  • Beer, Christian (a.k.a @ChristianBeer)
  • Bilger, Jean-François
  • Bostoen, Jeffrey (a.k.a @jbostoen)
  • Cardoso, Anderson
  • Cassaro, Bruno
  • Casteleyn, Thomas (a.k.a @Hipska)
  • Castro, Randall Badilla
  • Colantoni, Maria Laura
  • Couronné, Guy
  • Dvořák, Lukáš
  • Goethals, Stefan
  • Gumble, David
  • Kaltefleiter, Lars (a.k.a @larhip)
  • Khamit, Shamil
  • Kincel, Martin
  • Konečný, Kamil
  • Kunin, Vladimir
  • Lassiter, Dennis
  • Lazcano, Federico
  • Lucas, Jonathan
  • Malik, Remie
  • Mindêllo de Andrade, Lucas (a.k.a @rokam)
  • Mozart de Oliveira, Eduardo (a.k.a @eduardomozart)
  • Raenker, Martin
  • Roháč, Richard (a.k.a @RohacRichard)
  • Rosenke, Stephan
  • Rudner, Björn (a.k.a @rudnerbjoern)
  • Seki, Shoji
  • Shilov, Vladimir
  • Stukalov, Ilya (a.k.a @ilya-stukalov)
  • Tulio, Marco
  • Turrubiates, Miguel

Aliases

  • chifu1234
  • cprobst
  • DudekArtur
  • Karkoff1212
  • Laura
  • nv35
  • Purple Grape
  • Schlobinux
  • theBigOne
  • ulmerspatz

Companies

Languages
PHP 87.6%
JavaScript 5%
SCSS 2.7%
Twig 2.3%
CSS 2.2%
Other 0.1%