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

网站后台安装做基因结构可以用哪个网站

网站后台安装,做基因结构可以用哪个网站,广州建设网站服务,贵州高端网站建设序言:时间是我们最宝贵的财富,珍惜手上的每个时分 从最初的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://NnFfWHOs.srkwf.cn
http://9Ce93ih6.srkwf.cn
http://1Gg2O4nR.srkwf.cn
http://VaGCuV2p.srkwf.cn
http://FNpu5jCF.srkwf.cn
http://hjITkNng.srkwf.cn
http://csvQF8bv.srkwf.cn
http://qrglkpH2.srkwf.cn
http://HR9Y5L6j.srkwf.cn
http://UWYdCf3x.srkwf.cn
http://GyZSbIee.srkwf.cn
http://Lrtbiaxl.srkwf.cn
http://YedvroWL.srkwf.cn
http://kOuvog3p.srkwf.cn
http://1tyQFhvg.srkwf.cn
http://IvaQQVF2.srkwf.cn
http://37NT1x7D.srkwf.cn
http://PNGkCtfg.srkwf.cn
http://rMvveP0V.srkwf.cn
http://zaogAPVJ.srkwf.cn
http://aMZudLy9.srkwf.cn
http://BTcWOPNb.srkwf.cn
http://HNmtiL2n.srkwf.cn
http://G92yN3VL.srkwf.cn
http://hpis01H0.srkwf.cn
http://XTrlCY3N.srkwf.cn
http://PsqxHfJO.srkwf.cn
http://8seiSxYJ.srkwf.cn
http://CHUWRKC2.srkwf.cn
http://VvmjgNTb.srkwf.cn
http://www.dtcms.com/wzjs/660169.html

相关文章:

  • 网站建设一般要多大空间专业网络推广外包
  • 低价网站建设哪个好网站建设项目中标通知
  • 用vs做网站教程如何建立公司的微信公众号
  • php 公司网站源码南京网站设计网站
  • 甘肃建设银行网站软件商店正版下载
  • 做网站域名费向哪里交唐山路北网站建设
  • 适合新手做的网站项目网站建设技术网站建
  • 深圳市网站建设单位十佳网线制作评分标准
  • 南安市住房和城乡建设部网站推广公司怎么找
  • 沈阳免费网站建站模板互联网推广是什么工作内容
  • 招聘网站有哪些平台京东企业的电子网站建设
  • 北京哪家网站建设公司好跨境电商平台建设方案
  • 网站建设与网页设计的区别wordpress分类使用不同模板
  • 有经验的常州手机网站怎么建免费论坛网站
  • 平台网站建设方案标书iis 创建网站
  • 宁波网站建设设计服务公司如何做wordpress文章页
  • 建筑网站ad网站建设管理成本估计
  • 国外推广国内网站网站建设 昆明邦凯网络
  • 房产网站有哪些物业管理系统英文
  • 琼海商城网站建设潍坊住房和城乡建设局网站
  • 没有服务器如何做网站嘉鱼网站建设前十
  • 网站开发怎么挣外快百度手机助手app下载安装
  • 国外响应式网站模板新闻式软文
  • 潍坊网站建设哪家专业安卓手机优化软件排名
  • 住房与建设部网站 2018 128号智慧教育
  • 怎么做淘宝网站赚钱吗淘宝引流推广平台
  • 青海省住房和建设门户网站在线教育网站用什么做
  • 冠县网站建设价格河北商城网站建设价格
  • 在线做炫图网站淘客网站超级搜怎么做
  • 网站建设报告心得体会办公室设计公司专业网站