You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
3.7 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (C) 2017 MuK IT GmbH
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU Affero General Public License as
  6. published by the Free Software Foundation, either version 3 of the
  7. License, or (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU Affero General Public License for more details.
  12. You should have received a copy of the GNU Affero General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. -->
  15. <odoo>
  16. <record id="res_config_settings_view_form" model="ir.ui.view">
  17. <field name="name">res.config.settings.view.form</field>
  18. <field name="model">res.config.settings</field>
  19. <field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
  20. <field name="arch" type="xml">
  21. <div id="business_documents" position="after">
  22. <h2 id="web_theme_title">Backend Theme</h2>
  23. <div class="row mt16 o_settings_container" name="web_theme">
  24. <div class="col-12 col-lg-6 o_setting_box">
  25. <div class="o_setting_left_pane">
  26. </div>
  27. <div class="o_setting_right_pane">
  28. <span class="o_form_label">Background Image</span>
  29. <span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
  30. <div class="text-muted">
  31. Set the background image for the apps menu
  32. </div>
  33. <div class="content-group">
  34. <div class="mt16 row">
  35. <field name="theme_background_image" widget="image" class="ml-4" required="1"/>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. <div class="col-12 col-lg-6 o_setting_box">
  41. <div class="o_setting_left_pane">
  42. </div>
  43. <div class="o_setting_right_pane">
  44. <span class="o_form_label">Theme Colors</span>
  45. <div class="text-muted">
  46. Set the main theme colors
  47. </div>
  48. <div class="content-group">
  49. <div class="mt16 row">
  50. <label for="theme_color_brand" string="Brand" class="col-lg-3 o_light_label"/>
  51. <field name="theme_color_brand" widget="color" class="oe_inline"/>
  52. <div class="w-100"></div>
  53. <label for="theme_color_primary" string="Primary" class="col-lg-3 o_light_label"/>
  54. <field name="theme_color_primary" widget="color" class="oe_inline"/>
  55. <div class="w-100"></div>
  56. <label for="theme_color_appbar" string="AppBar" class="col-lg-3 o_light_label"/>
  57. <field name="theme_color_appbar" widget="color" class="oe_inline"/>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </field>
  65. </record>
  66. </odoo>