summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
AgeCommit message (Collapse)Author
2015-06-17[IMP] web, web_*, mail, board : New modals and dialogsqsm-odoo
2015-06-15[FIX] base: export translationGoffin Simon
In css, overflow-x and overflow-y must have the same value. If overflow-x is equal to auto then overflow-y is equal to auto. To solve the problem, the height of the input is removed because it is forced by the Jquery auto-completion plugin according to the wrapper. Without this patch, when you go to Settings > Import/Export > Export Translation and click on the arrow to to show the list of modules you can export, the list is partially hidden. opw:632607
2015-05-28[MERGE] forward port of branch saas-6 up to bf1e999Christophe Simonis
2015-05-21[IMP][ADD] mail, various: timeline view.Valerie Pirenne
This commit introduces a new view type, the timeline view. This view is intended to display messages like the previous chatter. This is now a view like the form or list view. Like other views it will be possible to have custom templates for some specific needs, allowing customization. [IMP] mail: the value tracking is modified. Previously messages were created containing the modified values. Those values are now stored, using a new model mail.tracking.value. The message body is dynamically build based on the values. Tests have been updated. This version is temporary. Indeed two main modifications will come in a short future : - the new design will improve the display - the slack mode will change the way the Inbox and notifications are managed All glory to the Hypnotoad. Special thanks to Valerie Pirenne (vpi), Jerome Maes (jem) and Richat Mathot (rim) that did not code but said a lot of things. Martin Trigaux (mat) did nothing, a bit like for the slides modules, but he is busy sending emails.
2015-05-15[IMP] Web: ListView: semantics classes for row decorationAaron Bohy
based on bootstrap contextual colors, and bold/italic fonts. Backward compatibility is ensured as the ListView is monkey-patched to keep interpreting colors and fonts attributes.
2015-05-13[IMP] web: New generic progressbar widget + FieldProgressBar adaptationqsm-odoo
2015-05-13[FIX] web : Trying to reconnect banner was creating a bannerYannick Tivisse
each time the rpc_error function was called. There was several call to setInterval method, and several block were created with the same content. Also, the banner was not centered, and a blur effect was created by the fa-spin class
2015-05-08[FIX] web: view list lines in media printNicolas Lempereur
List view elements were not displayed when printing a list view via the browser interface. Also now, with firefox (and maybe other browser but not with webkit based ones) the page break should not happen in the middle of a row (hence something cutting a sentence vertically on two pages). closes #6581 opw-634588
2015-04-30[IMP] web : replace timezone warning icon with a form widgetVidhin Mehta
2015-04-20[FIX] web: priority stars on/off design in modalsDenis Ledoux
When opening a task through a modal, like when opening the task field of an issue while being in edit mode, the priority stars had not the same design than in the regular task form. opw-633426
2015-04-17[MERGE] forward port of branch saas-6 up to e941c0fChristophe Simonis
2015-04-14[MERGE] forward port of branch 8.0 up to ba54a66Christophe Simonis
2015-04-13[FIX] css: move ie9 targetted rules to ie.cssNicolas Lempereur
Moving existing rules targetting IE9 or less to addons/web/static/src/css/ie.css
2015-04-13[FIX] css: ie9 specific fixesNicolas Lempereur
Create a new stylesheet for IE9 and less custom css. The issue #6198 and #6201 is present in IE9 since a div with height 100% inside a table-cell (i.e: td tag) element only take the minimum height possible for the content. For issue #6198: in IE9 a kanban tile could not be moved to an empty kanban, this fix sets a minimum height for a empty column (80px, the size of two empty tiles) so now a tile can be moved in the 80px in the top of the column. For issue #6201: graphs took the minimum height in IE9, this fix set a fixed height to improve the situation. For issue #6200: in IE9, the list view could wrongly not go the next line even if its width is 100%. For the given case, the display CSS property of these listview is set to value "block". opw-632415 opw-632417 opw-632416
2015-04-08[FIX] Web: pager for ListView in One2Many fieldsAaron Bohy
The pager was not displayed in One2Many List views. This fix applies the same behavior as in One2Many Kanban views, which is probably not the best way to do it, but which works fine. The issue was caused by 2 things: - The One2Many.FormView template removes the condition around the buttons/pager divs of the FormView template. However, it was using a selector that does not seem to be used anymore. We thus removed it and the buttons/pager divs are now in the rendered One2Many List View - The rendered pager was appended to this.options.$pager whereas it should be appended to the corresponding div in its own template. This commit should not be forwardported
2015-04-01[MERGE] forward port of branch 8.0 up to 8ad1105Christophe Simonis
2015-03-31[IMP] web: added readonly checkmarks fix in saas fileDavid Monjoie
I forgot to put the new rule of cc9f2919be82946f1f4801bde3e4ddc255f5047f in the saas file. opw 630611
2015-03-31[IMP] web: responsive centering of the 'Try to reconnect' banner + color ↵Yannick Tivisse
uniformization
2015-03-30[FIX] web: fixed opacity of readonly checkboxesDavid Monjoie
Apparently, browsers decide how they want to style readonly inputs, and it seems like Firefox is greying them out while Chrome doesn't. We use an opacity: 0.5 rule to grey them out ourselves in Chrome, but in Firefox they are not dark enough to read easily because of the double greying. I checked with the designers but they don't have any better fix for that.
2015-03-21[MERGE] forward port of branch saas-6 up to 42db2dbChristophe Simonis
2015-03-20[IMP] Web: Use of a ControlPanel in One2Many FieldsAaron Bohy
Creation of the One2ManyControlPanel template. The One2ManyControlPanel can only contain action_buttons and a pager. Typically, in One2Many Kanban, buttons are displayed (in edit mode) and in One2Many Lists, the pager is displayed. Improvement of all Views.buttons templates so that if there is no button to render, it does not render an empty div. This was necessary for Kanban buttons to prevent padding when there is no button displayed. Changes in the other views were motivated by uniformity concerns. This prevents to add empty div in the DOM as well. Exception for FormView where the outer div is required for the option footer_to_buttons to work. This fixes a bug as the pager is now available in One2Many Lists, which was not the case before, even if there were more than 80 items in the list, i.e. some items were unreachable. cp_bus argument in ViewManager init() is now required. If there is no ControlPanel to communicate with, a dummy Bus should be given ot the ViewManager.
2015-03-20[IMP] Web and all views: ControlPanel atomic updateAaron Bohy
Change the logic of rendering and displaying/hidding the control elements (buttons, sidebar and pager) of all views. The views do no more render automatically their elements as this is rather done through the render_[element] function called by the ViewManager. This function only appends the element to the $node given as argument. If no argument is given, then it may appends it to the DOM directly, within the adequate div of its template. This allows the ViewManager to attach/detach all elements of the ControlPanel in an atomic may, to prevent the ControlPanel from flickering. Also detach the contents of the ControlPanel in headless mode. Headless means that the ControlPanel exists, but is hidden. Detaching its contents permits to have a cleaner DOM. Also remove the oe_form_dirty class on the buttons in the FormView, as this class is only used on the view itself. Side changes: * base_import: import.js: Extend render_buttons function to be compliant with the new buttons rendering logic * board: dashboard.js: Set flag search_view to True as the searchview is needed for the Views displayed in the Dashboard to retrieve the records to display. Necessary since we do no more construct the searchview when this is set to false * google_drive: drive.js, share: share.js: Module extending the Sidebar widget often add their own buttons by extending the start(), which is called each time the Widget is appended to the DOM. With our new design, this could be done in start() anymore as it should be done only one. It is now done in init() instead.
2015-03-20[IMP] Web: views.js, view_editor.js: DebugManagerAaron Bohy
Creation of a widget for the DebugManager and move it from the ControlPanel to the Systray. Refactoring of the widget to improve/facilitate the way of adding options in the DebugManager as the view_editor does. Add a do_action() function in the WebClient that forwards the action to the main ActionManager so that widget that are not in the scope of the ActionManager (e.g. Menu) can performed actions as well. Note: The DebugManager is currently in the Systray but it will finally be moved to a dedicated spot above the ControlPanel.
2015-03-20[IMP] Web et al.: unique main ControlPanelAaron Bohy
A unique main ControlPanel is instantiated by the ActionManager and it is updated each time the state changes (i.e. when an action is performed on the ActionManager or when switch_mode() is called on the ViewManager). Introduction of State classes to facilitate the way of restoring previously rendered states in ControlPanel. The notion of widgets previously used in the ActionManager is now encapsulated in the notion of states. The search() function has been moved from ControlPanel to ViewManager as it makes more sense like this. The ViewManager doesn't have the reference to the ControlPanel but rather communicate with it through a dedicated bus. Some refactoring has been done on the ControlPanel as well so that it doesn't need to know the ActionManager and the current Action anymore (it communicates with the AM with events, and it updates itself using information passed in arguments). Improves the way the ViewManager requests the ControlPanel to instantiate a SearchView, and how it waits for this SearchView to be corretly loaded. Move back the views logic to the ViewManager which directly asks the ControlPanel to render the buttons and switch-buttons areas with the views passed in arguments. Removes option replace_breadcrumb in push_state() of ActionManager as it is not used. Side changes: * Account: account_widget.js: Adapt code to retrieve the current state of the ActionManager. Required due to the introduction of State classes that encapsulate the notions of widgets and inner_widget in the ActionManager. * Board: dashboard.js: Some refactoring to adapt the code according to the new Widgets structure. Several dependencies (e.g. searchview, action) were unnecessary. Do not append the "add to dashboard" option to the Favorite menu if there is no ViewManager available (e.g. in Messaging) instead of hidding it with a CSS rule, as a ViewManager required to retrieve the active_view. * Google_spreadsheet: search.js: Change the way to retrieve the list_view_id s.t. it does not rely on parent of the SearchView anymore. * Web: search.js: Change the way to retrieve the title in search.js for Favorites s.t. it does not rely on the parent of the SearchView anymore. Doing so, the ControlPanel does not need the title attribute anymore.
2015-03-20[IMP] Web et al.: ControlPanel extracted from ViewManagerAaron Bohy
The ControlPanel is still instantiated by the ViewManager. Changes details: * web: views.js: Code related to views header is extracted from the ViewManager to a new Widget named ControlPanel. Also uses the headless flag to tell the inner view not to put its buttons (use case: kanban) or pager (use case: list) in the header as it is hidden. * web: view_form.js, base.xml: Uses the headless flag at initialization of the One2ManyViewManager widget instead of extending the ViewManager template (which doesn't handle the header anymore). * web: view_list.js: Test on this.options.$pager instead of this.options.$buttons when dealing with pager. Note: the behavior for list view is unchanged and has a bug. If there are more then 80 records to display, only the 80th first are display, and as there is no pager, there is no way to see the remaining ones. A fix for this would be to use a light ControlPanel in One2Many views as well. With this, there won't be duplicated .oe-'view'-buttons/sidebar/pager anymore. * web: view_graph.js, view_pivot.js: Only render buttons in non-headless mode * web_dashboard: dashboard.js: Fix some references that were broken with ControlPanel extraction * web_view_editor: web_view_editor.js: Extend ControlPanel instead of ViewManager * Changes in selector of ControlPanel elements in several addons: * base_import * mail * web
2015-03-12[FIX] web: fix searchview menus heightGéry Debongnie
first, I want to say that I'm not proud of this. Let's just say that it is better than the previous code (of which I'm not proud either). The issue is that the sub menus (filters/groupbys/favorites) aren't very good when their height is too big, and they're hidden below the screen without scrollbar. Previous code tried clumsily to compute the correct max height in js, but it was only done in filters menu, and did not always work. This code do the same in css. This would be good except that it is just an estimation: calc(100vh - 125px). It assumes that the header will approximately take 120px, and size the max-height accordingly.
2015-03-09[MERGE] forward port of branch 8.0 up to 948befbChristophe Simonis
2015-03-06[FIX] Web: base.sass: FormView: overflow in One2Many fieldsAaron Bohy
Override the "overflow: auto" rule of view-manager-content in One2Many fields to remove useless scrollbar displayed in One2ManyKanban.
2015-03-05[FIX] base: correct m2o design for active items.Christophe Simonis
2015-03-05[FIX] web: do design changes in sass file!Christophe Simonis
8ab68d8 introduced css changes not present in sass file.
2015-03-05[FIX] web: autocomplete dropdown wrong initial positionDenis Ledoux
This issue is related to http://bugs.jqueryui.com/ticket/8656 http://bugs.jqueryui.com/ticket/8749 https://github.com/jquery/jquery-ui/commit/d693ce5324f6f3be8479ef083e4eaf3c705ef043 When opening a form view, scrolling down, and opening a many2one dropdown menu, the dropdown menu wasn't directly under its input. It could be really problematic when the menu was not even visible on the current browser page (when you had to scroll down a lot to access the many2one input). The issue was resolved as soon as you opened the dropdown menu a second time, and did not happen if you didn't scrolldown. But, on initialization, the dropdown menu wasn't at the right position. Fixes #5603 opw-629601
2015-02-26[FIX] web : fix the dropdown style to delete attachmentsJérome Maes
2015-02-24[FIX] Web: base.sass: 4 spaces indentationAaron Bohy
base.sass did not compile because those lines where indented using 2 spaces instead of 4.
2015-02-20[IMP] web: cleaner indicator when connection get lostHitesh Trivedi
2015-01-30[FIX] web: unbreak tree viewGéry Debongnie
The do_show and do_hide methods did not call their _super, which is bad. Also, add an icon for the poor treeview.
2015-01-27[FIX] Web : add fontawesome in list handle widgetYannick Tivisse
2015-01-27[IMP] web : harmonize action buttons css + sassYannick Tivisse
2015-01-26[IMP] web: jquery-ui autocomplete widget stylingSimon Lejeune
a little more integrated with the Odoo webclient
2015-01-26[IMP] modify class oe_highlight to harmonize the action buttonsYannick Tivisse
2015-01-21[IMP] Replace all oe_e class by fontawesome + remove entyporegular libraryYannick Tivisse
2015-01-12[ADD][IMP] web: added toogle button for form view. Like alreadyMitesh Savani
done in list view, this is a button used for boolean fields used to switch between pending-grey-false and done-green-true. hr_holidays: use this newly-introduced button on form view. I am sure HR people will love R&D now. Courtesy of RD India: Mitesh Savani (msa@odoo.com) Reviewed by Use Merge: Thibault Delavallée (tde@odoo.com)
2015-01-08[REM] modelines: Gotta catch 'em allRichard Mathot
2015-01-07[IMP] Web: navbar isn't displayed on several lines while renderingAaron Bohy
- Add a new SystrayMenu widget to improve and facilitate the way of adding widgets in .oe_systray - Rendering of the modules menu now waits for the systray and user menus to be rendered - A few refactoring of the UserMenu and Menu widgets
2015-01-07[FIX]: y-truncated username in usermenuAaron Bohy
2015-01-06[MERGE] forward port of branch 8.0 up to ea54d4aChristophe Simonis
2015-01-05[IMP] website: use the new summernote editorChristophe Matthieu
2015-01-02[FIX] web: base.sass: jquery.ui widget in bootstrap's modalSimon Lejeune
Apply a z-index of 1051 (bootstrap'smodals are 1050). This fixes an issue with the many2one hidden in a modal. Also, removed a reference to a removed file.
2014-12-26[FIX] web: fixed display of datepicker in editable list view.Paramjit Singh Sahota
The icon was quite board, leading to ugly and sometimes too short display of the date itself.
2014-12-24[FIX] web: firefox print all pages of list viewDenis Ledoux
opw-619093
2014-12-23[FIX] web: base.css: fallback for browsers without calc supportSimon Lejeune
see https://developer.mozilla.org/en-US/docs/Web/CSS/calc