summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/views.less
AgeCommit message (Collapse)Author
2018-04-18[REF] *: rename all LESS files to SCSSqsm-odoo
This is a simple renaming without adaptation.
2018-03-09[MERGE] forward port branch saas-11.2 up to 42659dc70c2Christophe Simonis
2018-03-06[FIX] web: set cursor pointer on link hovering in nocontent helpDhawal Limbuwala
While displaying no content help, hovering over link was not displaying cursor as a pointer type. This bug has been introduced with the new design on nocontent helpers.
2018-02-23[MERGE] forward port branch saas-11.2 up to 932e641be17Christophe Simonis
2018-02-16[FIX] web,*: various nocontent helper fixesAlexandre Kühn
* account, board, hr_holidays, mail, sale, website_sale Small fixes on nocontent onboarding screens. Initial commit: https://github.com/odoo/odoo/commit/a87d761fdbf345ada5dc93e0a686b08a0f5a0417 Details: - list: centered; - pivot/graph: centered + empty folder face; - Dashboard app with nocontent helper; - Discuss inbox/starred: centered without neutral/smiling faces; => no faces because it's too much with animated rainbow man when emptying the any of the boxes. - hr_holidays: fixed onboarding screens; - (technical) dropped obsolete 'o_view_nocontent_container' style; - manual reconciliation 'nothing to reconcile': centered + inside form sheet; => renamed account's o_view_nocontent to o_view_noreconciliation, so that it doesn't use the style of views.less. - kanban: nocontent helper above the columns (if any); - texts "no order to upsell"/"abandonned cart" paragraph split in two.
2018-02-05[MERGE] forward port branch saas-11.2 up to eefca5d492dChristophe Simonis
2018-02-04[FIX] kanban: avoid empty message broken by folded columnsFabien Pinckaers
2018-02-02[FIX] web: position of the no content helper was wrong on the list viewVincent Schippefilt
2018-02-01[IMP] web: display no content helper in grouped kanban viewGéry Debongnie
Before this commit, it was not possible to display a help message in a kanban view, if it is grouped. This is an issue, from an onboarding point of view. Imagine a new user, creating a project. After it creates a few columns, it is not clear what to do. With this commit, we display the nocontent help message in a grouped kanban view, if the user is not currently creating a new column. This allows the user to focus on its work, by working in phases: first, he is prompted to create project column, then when he decides that he is done, the user interface shows the nocontent help message, which guides her/him to the process of creating a task.
2018-01-18[IMP] core: menu tip ux/ui improvementAlexandre Kühn
We would like to make the "no item found" screens more appealing. Before this commit, it shows a small help tip in the top-left corner of the screen, just below the "Create" button. With this commit, these help tips have been replaced by onboarding screens, which consist of a picture and some text below, both of which are horizontally centered. The texts have been slightly changed, so that they are shorter and clearer. Considered modules: (A) account, account_asset, account_budget, account_test, account_voucher, analytic (B) barcodes, base, base_automation, board (C) calendar, contacts, crm (D) delivery (E) event (F) fleet (G) gamification, google_drive (H) hr, hr_attendance, hr_contract, hr_expense, hr_gamification, hr_holidays, hr_payroll, hr_recruitment, hr_timesheet (I) im_livechat (L) l10n_fr_sale_closing, link_tracker, lunch (M) mail, maintenance, mass_mailing, membership, mrp (N) note (P) payment, point_of_sale, post_mercury, pos_restaurant, product, project, purchase, purchase_requisition (R) rating, repair, resource (S) sale, sale_timesheet, sales_team, stock, stock_account, stock_landed_costs, stock_picking_batch, survey (U) utm (W) web, website, website_blog, website_customer, website_event_track, website_forum, website_quote, website_sale, website_sale_digital, website_slides
2018-01-16[REF] web,*: ActionManager/ViewManager refactoringAaron Bohy
This rev. is the first part (out of 3) of the refactoring of the ActionManager and ViewManager layer of the webclient. The main changes are: - there is no ViewManager anymore, its work is now handled by the ActionManager itself, but isolated in a specific file ; this eases a lot of things, as the breadcrumbs handling for example. - the ActionManager code is converted to the new coding principles and guidelines ; mainly, children widgets communicate with it by triggering events up, and not by function calls anymore. - the ActionManager layer is now testable, and a lot of tests have already been written. - the code in other addons has been adapted consequently. What's coming next: - introduce the 'AbstractAction' Widget, and make client actions and view controllers inherit from it ; this widget will implement a common API that could be used uniformly by the ActionManager (e.g. restore(), canBeLeft(), renderButtons(), getTitle()...). - move the ControlPanel handling from the ActionManager to the AbstractAction.
2017-09-26[FIX] web, google_drive: fixed display of field linkLucas Perais (lpe)
Before this commit, a field handled with a widget url was given its value (href) as its text, fully displaying the url. Moreover, the display was odd and did not match that of buttons After this commit, if the field contains a text attribute, we use is as the text of the link. The link also correctly displays and looks like a button (in a form view) Of course, a test for this new field widget feature is implemented closes #19587
2017-09-20[FIX] web: better project kanban_status inactive colorqsm-odoo
- Use a lighter color so that the red and green ones are more visible - Use the same color for the column progressbar's inactive state
2017-07-31[FIX] web: make calendar adapt to screen sizeKhoi Nguyen
This commit aims to reproduce saas-15 behaviour when rendering the calendar. More explicitely, in favourable conditions, we would like the calendar to be contained in a scroller adapted to the screen dimensions. To do so, we require that the calendar only use the height given by its parent container (in case of overflow, the calendar should have its own scrollbars). We then trigger a 'resize' event to account for a bad initial render of the calendar.
2017-06-15[FIX] web: correctly style `o_status` classMartin Geubelle
The `o_status` style has been moved in a previous rev. in `fields.less` which is only for `o_field_widget` nodes. This class however is used in other context than a field (e.g. on a label in the project.task.type form view) so its style needs to be placed at an upper level.
2017-05-04[REF] web, *: restore views designqsm-odoo
Since the new views merge, a lot of design elements were broken. This was particularly impacting the fields in the editable list view; indeed the editable list view is not using an inline form view anymore so the fields in the list were not properly styled as the LESS was still defined assuming the form view environment (for example the invalid fields were red for o2m fields in form view but not in editable list view even though they got the right CSS class). This commit refactor the LESS following these rules: - No more division of non-layout and layout rules. Dividing LESS rules in x_layout.less and x.less was a mistake. Many rules can be considered to be layout and not layout at the same time, developers always have to switch from one file part to the other, many CSS selectors (and rules!) are duplicated for nothing, ... - Field style is extracted from x_view.less and put in the new fields.less file. As before, the fields_extra.less will contain the rules specific to community so that the enterprise repo can override those by replacing the whole file. - Many classes have been renamed so that o_form_x_y becomes o_x_y as many classes can now be applied outside of form view. These classes should not be used in templates anyway. The commit also changes the DOM of fields so that it is more minimalist (no useless parent div, etc). Input elements are not automatically styled anymore, they have to get the o_input class explicitely. This allows to fix lots of small style bugs of previous versions (required monetary field had not the proper style, readonly m2m tags appeared as editable, ...). This also improves the LESS code. The editable list view should also completely stop flickering on chrome and firefox. The commit also removes the orange outline on list view dirty cells. The commit also removes deprecated static xml, LESS and other code. Notice there are still styles to restore/fix and LESS to improve.
2017-04-11[REF] web, *: redesign all JS viewsGéry Debongnie
This commit introduce a full redesign of all JS views. We started basically from scratch. The goal was to unify all the various views under a common framework, to make them testable, to make then usable in different conditions (in studio, or in the frontend), and to make our lives easier. Some important points are: - we introduced new coding guidelines (camelCase, 80 chars width, ...) - we have a brand new testing framework (still QUnit based) - kanban view moved to the web addon - calendar view (formerly web_calender) moved to web as well - the tree view was removed - all new code should be documented We hope that this code is the start of a new era for the Odoo web client, we want to have a high quality codebase, well documented, well tested, well designed. Work done by the framework team: mostly aab, ged, chm, dmo, qsm
2016-10-05[FIX] *: adapt odoo interface violetqsm-odoo
Change color #a24689 to #875A7B Commit https://github.com/odoo/enterprise/commit/8ac1c19fac7615fecd51e670f798d13158a4e53c changed the odoo interface violet by changing the main LESS variable but forgot there was many direct occurences in XML/HTML/... (for example for the mobile browser color). Even if it's community the odoo interface violet is used at many places (module description, XML demo data, ...).
2016-06-28[MERGE] forward port of branch saas-11 up to 7153077Christophe Simonis
2016-06-28[IMP] web: visible default color on tags now visible in kanban viewChristophe Simonis
un-revert of fe66472e2cf7844c21ec438921307330ae562668 which have wrongly been reverted with 977db823c7c84e9edc7c8cf8384eb9cf47275b3a
2016-06-21[MERGE] forward port of branch saas-11 up to c88c70eChristophe Simonis
2016-06-16[FIX] web: nocontent_helper styleAaron Bohy
Correctly hide the 'create' part of the helper if the user can't create Ensure that a's and span's are inline
2016-06-13[REM] web: Remove GTK icons and replace them by Font-awesomeJainik Patel
2016-04-21[REF] web: stop duplicating webAaron Bohy
Avoid duplicating web addon in enterprise by extracting a common basis. Enterprise features stay in enterprise, but use that common basis. Mainly: - JS refactoring and linting - Conversion of .sass into .less split into multiple files - Templates cleaning and DOM simplification - Re-generation of web.pot, and update of .po files