N°956 Portal: Add an icon to copy object name and url next to the form title

* Add a generic utility to build iTop clipboard widget
* Can be used in portal, console and extensions
This commit is contained in:
Stephen Abello
2019-08-06 12:29:02 +02:00
parent 16c123df49
commit e69275c6c5
25 changed files with 248 additions and 7 deletions

View File

@@ -75,6 +75,8 @@ class NiceWebPage extends WebPage
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/search/search_form_criteria_date_abstract.js');
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/search/search_form_criteria_date.js');
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/search/search_form_criteria_date_time.js');
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/clipboard.min.js');
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/clipboardwidget.js');
$this->add_dict_entries('UI:Combo');