当前位置: 首页 > news >正文

哪里做网站比较好站外seo推广

哪里做网站比较好,站外seo推广,具有价值的微网站建设,金昌网站建设序言:时间是我们最宝贵的财富,珍惜手上的每个时分 从最初的tinyERP到Open ERP,再由OpenERP到Odoo,虽然UI已经过了多次大改,Odoo登录界面依旧丑陋,同时还有各种Odoo版权信息,对于定制项目而言是不友好的。 今天以Odoo18…

序言:时间是我们最宝贵的财富,珍惜手上的每个时分

        从最初的tinyERP到Open ERP,再由OpenERP到Odoo,虽然UI已经过了多次大改,Odoo登录界面依旧丑陋,同时还有各种Odoo版权信息,对于定制项目而言是不友好的。

        今天以Odoo18为例,我们来做一个简单的即插即用的修改。

话不多说,直接上代码

新建文件:views/login_template.xml:

<?xml version="1.0" encoding="utf-8"?>
<odoo><template id="login_layout" inherit_id="web.login_layout" name="web Login Inherit"><xpath expr="//*[@class='text-center small mt-4 pt-3 border-top']"position="attributes"><attribute name="style">display:none</attribute></xpath><xpath expr="//*[@t-attf-class='card border-0 mx-auto bg-100 {{login_card_classes}} o_database_list']"position="attributes"><attribute name="style">max-width: 500px;margin-top:4rem; opacity: 0.8;</attribute></xpath></template><template id="ro_login"><t t-call="web.login_layout"><style>#wrapwrap{<!--                background-color:#1c7bd4 !important;-->background-image:url(/模块名称/static/src/login.png);"}</style><form t-attf-class="oe_login_form" role="form" t-attf-action="/web/login"method="post" onsubmit="this.action = '/web/login' + location.hash"><input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/><div class="mb-3 field-login"><label for="login" class="form-label d-flex justify-content-between">用户名</label><input type="text" placeholder="用户名" name="login" t-att-value="login" id="login"class="form-control" required="required" autocapitalize="off" autocomplete="username"/></div><div class="mb-3"><label for="password" class="form-label d-flex justify-content-between">密码</label><input type="password" placeholder="密码" name="password" id="password" class="form-control"required="required" autocomplete="current-password"t-att-autofocus="'autofocus' if login else None" maxlength="4096"/></div><p class="alert alert-danger" t-if="error" role="alert"><t t-esc="error"/></p><p class="alert alert-success" t-if="message" role="status"><t t-esc="message"/></p><div class="oe_login_buttons text-center gap-1 d-grid mb-1 pt-3"><button type="submit" class="btn btn-primary">登录</button></div></form></t></template></odoo>

引入视图:__manifiest__.py

''''data': ['views/login_template.xml',],
'''

新建 static/src文件夹,放入 login.png,此为背景图片,自己选素材即可。

在模块中做如上几步,即大功告成。

http://www.hrbkazy.com/news/13425.html

相关文章:

  • 武汉大型互联网公司seo管理是什么
  • 微信小程序开发者济南优化网络营销
  • 专做logo网站叫什么地方潍坊疫情最新消息
  • 自己有网站怎么做点卡全球十大网站排名
  • 网站如何自己做优化世界杯数据分析
  • 手机把网站做成软件今日热榜
  • 想搞一个自己的网站怎么做拼多多seo 优化软件
  • 做试题的网站免费网站推广网站破解版
  • wordpress离线发布windows7优化大师
  • 自己做网站卖仿货网络销售培训学校
  • 广州网站改版商品营销推广的方法有哪些
  • 高州做网站旺道seo优化
  • 网站可以免费建设吗谷歌浏览器网址
  • 北京seo排名武汉seo网络营销推广
  • 什么是专门型的网站上海seo服务
  • 天宁网站建设制作只要做好关键词优化
  • 霞山网站建设公司广告点击一次多少钱
  • wordpress分菜单seo工具是什么意思
  • 代理域名网站的公司设计公司网站
  • 广东网站建设公司电话2024年重大政治时事汇总
  • 做网站没装数据库sem培训班
  • 做特价网站百度竞价怎么做效果好
  • 网站放到iis如何做指向上海整站seo
  • 设计师网站 pins深圳seo推广公司
  • seo网站有哪些买卖网站
  • 网站建设php书籍短视频推广引流
  • 我要建立自己的网站网站和网页的区别
  • 做恋视频网站软媒win7优化大师
  • 建一个团购网站seo怎么优化简述
  • 网站内容布局夫唯seo视频教程