中国本土应用
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.

133 lines
6.9KB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 2017-today MuK IT GmbH.
  4. This file is part of MuK Backend Theme
  5. (see https://mukit.at).
  6. MuK Proprietary License v1.0
  7. This software and associated files (the "Software") may only be used
  8. (executed, modified, executed after modifications) if you have
  9. purchased a valid license from MuK IT GmbH.
  10. The above permissions are granted for a single database per purchased
  11. license. Furthermore, with a valid license it is permitted to use the
  12. software on other databases as long as the usage is limited to a testing
  13. or development environment.
  14. You may develop modules based on the Software or that use the Software
  15. as a library (typically by depending on it, importing it and using its
  16. resources), but without copying any source code or material from the
  17. Software. You may distribute those modules under the license of your
  18. choice, provided that this license is compatible with the terms of the
  19. MuK Proprietary License (For example: LGPL, MIT, or proprietary licenses
  20. similar to this one).
  21. It is forbidden to publish, distribute, sublicense, or sell copies of
  22. the Software or modified copies of the Software.
  23. The above copyright notice and this permission notice must be included
  24. in all copies or substantial portions of the Software.
  25. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  26. OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  27. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  28. THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  29. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  30. FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  31. DEALINGS IN THE SOFTWARE.
  32. -->
  33. <odoo>
  34. <record id="res_config_settings_view_form" model="ir.ui.view">
  35. <field name="name">res.config.settings.view.form</field>
  36. <field name="model">res.config.settings</field>
  37. <field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
  38. <field name="arch" type="xml">
  39. <div id="companies" position="after">
  40. <h2 id="web_theme_title">Backend Theme</h2>
  41. <div class="row mt16 o_settings_container" name="web_theme">
  42. <div class="col-12 col-lg-6 o_setting_box">
  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-3 o_light_label"/>
  51. <field name="theme_color_brand" class="d-block w-25 p-0 m-0" widget="color"/>
  52. <div class="w-100 mt-1"></div>
  53. <label for="theme_color_primary" string="Primary" class="col-3 o_light_label"/>
  54. <field name="theme_color_primary" class="d-block w-25 p-0 m-0" widget="color"/>
  55. </div>
  56. <button
  57. name="action_reset_theme_assets"
  58. icon="fa-arrow-right"
  59. type="object"
  60. string="Reset Colors"
  61. class="btn-link"
  62. />
  63. </div>
  64. </div>
  65. </div>
  66. <div class="col-12 col-lg-6 o_setting_box">
  67. <div class="o_setting_right_pane">
  68. <span class="o_form_label">Menu Colors</span>
  69. <div class="text-muted">
  70. Set the main menu colors
  71. </div>
  72. <div class="content-group">
  73. <div class="mt16 row">
  74. <label for="theme_color_appbar_color" string="Menu Color" class="col-3 o_light_label"/>
  75. <field name="theme_color_appbar_color" class="d-block w-25 p-0 m-0" widget="color"/>
  76. <div class="w-100 mt-1"></div>
  77. <label for="theme_color_appbar_background" string="Background" class="col-3 o_light_label"/>
  78. <field name="theme_color_appbar_background" class="d-block w-25 p-0 m-0" widget="color"/>
  79. <div class="w-100 mt-1"></div>
  80. <label for="theme_color_menu" string="Apps Color" class="col-3 o_light_label"/>
  81. <field name="theme_color_menu" class="d-block w-25 p-0 m-0" widget="color"/>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. <div class="col-12 col-lg-6 o_setting_box">
  87. <div class="o_setting_right_pane">
  88. <span class="o_form_label">Background Image</span>
  89. <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"/>
  90. <div class="text-muted">
  91. Set the background image for the apps menu
  92. </div>
  93. <div class="content-group">
  94. <div class="mt16 row">
  95. <field name="theme_background_image" widget="image" class="ml-4 w-75"/>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. <div class="col-12 col-lg-6 o_setting_box">
  101. <div class="o_setting_right_pane">
  102. <span class="o_form_label">Favicon</span>
  103. <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"/>
  104. <div class="text-muted">
  105. Set the favicon for the system
  106. </div>
  107. <div class="content-group">
  108. <div class="mt16 row">
  109. <field name="theme_favicon" widget="image" class="ml-4 oe_avatar"/>
  110. </div>
  111. </div>
  112. </div>
  113. </div>
  114. </div>
  115. </div>
  116. </field>
  117. </record>
  118. </odoo>
上海开阖软件有限公司 沪ICP备12045867号-1