summaryrefslogtreecommitdiffstats
path: root/install/ui/details.js
Commit message (Collapse)AuthorAgeFilesLines
* Moved back link next to facet tabs.navigationEndi S. Dewata2011-05-041-2/+0
| | | | | The back link has been moved from the far right of the page, which is not very intuitive, into a location next to the facet tabs.
* Added facet container.Endi S. Dewata2011-05-041-196/+200
| | | | | Facet container has been created to hold facet header (i.e. title, search fields, buttons, links) and facet content.
* Moved entity contents outside navigation.Endi S. Dewata2011-05-041-33/+12
| | | | | | Previously the entities and navigation are entangled inside a common DOM structure which restricts code reuse. Now they have been moved into separate structures.
* action panel to top tabsAdam Young2011-04-261-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | replacing the action panel with the Design for 2.1 Significantly cleaned up implementation of intra-entity navigation requires additional CSS work still need to integrate the search controls onto each page cleaning up interface between entity and facet simplified nested tabs logic Fixed role navigation select default tab from the search widget fixed unit tests and jsl keep tabs area allocated set default tab selected whenever the pkey changes. Removing styling that is changing positions of buttons. The logic for that was for action-panel, but does not translate to entity-header. change from metadata name to label for I18N set selected tab in entity_init. Default title for entities without search and pkeys associations in table now link. remove colon from title when not showing pkey added Managed by facet group. Removed entities that are, for some reason, invalid.
* Standardized action panel buttons creation.Endi S. Dewata2011-04-211-16/+17
| | | | | Action panel buttons are now created in facet's create_action_panel(). This is to allow a subclass to override and customize the buttons.
* Merged IPA.cmd() into IPA.command().Endi S. Dewata2011-04-131-4/+5
| | | | | | | The IPA.cmd() has been merged into IPA.command(). All invocations and test cases have been converted. Ticket #988
* Refactored action panel and client area.Endi S. Dewata2011-04-111-7/+5
| | | | | | | To improve code readability and extensibility the containers for action panel and client area are now created in IPA.entity.setup(). The 'client area' has been renamed into 'content'. The IPA.facet.create() has been renamed to IPA.facet.create_content().
* code review fixesAdam Young2011-03-311-2/+2
| | | | this version includes using spec for detail_facets
* define entities using builder and more declarative syntaxAdam Young2011-03-311-23/+6
| | | | | | merged hbac and sudo in to single files associaton facet and table supports linking
* move expand and collpase all to the right hand sideAdam Young2011-02-221-1/+3
|
* search filter focus afdter a search loads, focus moved to the search filter ↵Adam Young2011-02-211-1/+4
| | | | | | text box, tyhe most likely thing that the user will want to change on the page. https://fedorahosted.org/freeipa/ticket/983
* I18n update.Endi S. Dewata2011-02-211-6/+8
| | | | | Hard-coded messages through out the code have been replaced by i18n messages obtained from json_metadata and i18n_messages.
* Added expand/collapse all.Endi S. Dewata2011-02-171-26/+74
| | | | | | | | A link has been added into the details page to expand/collapse all sections. Previously each section's <div> container is identified using a long ID. It is now identified using the section name.
* allow null keys for showAdam Young2011-02-111-4/+8
| | | | https://fedorahosted.org/freeipa/ticket/951
* Moved add dialog into search facet.Endi S. Dewata2011-02-091-0/+3
| | | | | Previously the add dialog is added into entity. The dialog is only used by the search facet, so it's now moved into the search facet.
* Removed unused code.Endi S. Dewata2011-02-071-360/+25
|
* Restructuring details page.Endi S. Dewata2011-02-071-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the IPA.details_list_section can only be used with widgets that generates <dd> tag because it uses the following structure: <dl> <dt>Telephone Number:</dt> <span name="teleponenumber"> <dd>111-1111</dd> <dd>222-2222</dd> </span> </dl> The <dd> tag was previously used to handle multi-valued attributes. Since multi-valued attributes are now handled by the recently added IPA.multivalued_text_widget, the structure can be changed as follows: <dl> <dt>Telephone Number:</dt> <dd> <span name="telephonenumber"> <div>111-1111</div> <div>222-2222</div> </span> </dd> </dl> This allows IPA.details_list_section to be used with any widgets without requiring the <dd> tag.
* Added multi-valued text widget.Endi S. Dewata2011-02-031-6/+9
| | | | | | | | | | | | | | | | | | A multi-valued text widget has been created to replace the old IPA.details_field. The old code was designed to handle all data types, and it uses one <dd> tag for each value, so the code is still incomplete and complex. The new code was designed to handle only multi-valued text attributes, and it uses one <dd> tag for all values, so it's easier to maintain. There are already other widgets that can be used to handle other data types. The new code supports line-level undo and line-out for removal like the old code, but there are some changes: - Undoing a newly added line will remove the entire line. - Editing the value of a removed line will cancel the removal. - It provides 'undo all' link to reset the entire attribute. The old code will be cleaned up in a subsequent patch.
* core widget unit tests baseline set of unit tests for checking that each ↵Adam Young2011-02-021-6/+0
| | | | widget conforms to the contract
* reduce scope of remove link it was global ↵Adam Young2011-01-311-37/+35
| | | | https://fedorahosted.org/freeipa/ticket/212
* Fixed permission reset and is_dirty.Endi S. Dewata2011-01-291-9/+31
| | | | | | The reset and is_dirty functionality for permission has been fixed. New widgets have been created for select and a collection of checkboxes. New test data files have been added for each target type.
* Add permission dialog adjustments.Endi S. Dewata2011-01-291-0/+1
| | | | | | | | | | | | The IPA.dialog has been modified to support sections. The add dialog for permission has been modified to include the target section. The base dialog classes have been moved from widget.js into a new file called dialog.js. This patch also includes ayoung's fix for parameter name and format for the permission attributes. https://fedorahosted.org/freeipa/ticket/791
* Fixed delegation UI issuesEndi S. Dewata2011-01-281-11/+22
| | | | | | | | | | | | | | | | | | This patch fixes several issues in delegation UI: When adding a new delegation, only the first attribute selected was saved. Now all attributes will be saved properly. When loading the details page, the custom widgets did not store the original values properly so is_dirty() did not work correctly. Now this has been fixed except for the memberof attribute because of these issues: - https://fedorahosted.org/freeipa/ticket/869 - https://fedorahosted.org/freeipa/ticket/870 When saving the details page, the attrs were saved as an array which was rejected by the server. Now it is stored as comma- separated list.
* jsl warningsAdam Young2011-01-281-1/+1
|
* dirtyAdam Young2011-01-271-2/+40
| | | | | If a page is dirty, do not allow additional navigation until changes are saved or committed https://fedorahosted.org/freeipa/ticket/726
* declarative defintionsAdam Young2011-01-271-7/+6
| | | | | | | | | | | | | | Delay the creation of entities until after ipa init is called made the user and group entity definitions declarative removed unused facet from groups adjusted unit tests made review changes: factories are now in an associative array entity init called right after factory init dialogs in entity init fixed type on search
* rename static to uiAdam Young2011-01-201-0/+897
Directory rename