feat(v3): restructure project + add complete frontend
- Restructure: move backend from new_project/ to backend/ - Add full React/TypeScript frontend (37 pages, 17 services, 16 type defs, 11 query hooks) - Add docs/ with SRS specs, user stories, and workflow documentation - Update .gitignore for new directory layout Workflows implemented: WF1 User Signup, WF2 Placement Test, WF3 Exam Configuration, WF4 General English Exam, WF5 Course Generation, WF6 Entity Student Onboarding, AI Course Generation, Adaptive Learning Engine UI, White-Label Branding, Score Release Made-with: Cursor
This commit is contained in:
29
custom_addons/clarity_backend_theme_bits/views/res_config_setting.xml
Executable file
29
custom_addons/clarity_backend_theme_bits/views/res_config_setting.xml
Executable file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="res_config_settings_view_form" model="ir.ui.view">
|
||||
<field name="name">res.config.settings.view.form.inherit.base</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="priority" eval="1000"></field>
|
||||
<field name="inherit_id" ref="base.res_config_settings_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//form" position="inside">
|
||||
<!-- <div id="terabits-link">
|
||||
<block title="Clarity backend theme" name="links_container">
|
||||
<div class="d-block">
|
||||
<div>
|
||||
<h6 class="mb-3">
|
||||
Clarity Backend Theme - Powered by <a href="https://terabits.xyz?ref=clarity_backend_theme" target="_blank">Terabits Technolab</a>
|
||||
</h6>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h6>
|
||||
Easily set correct access rights with <a href="https://apps.odoo.com/apps/modules/17.0/simplify_access_management/" target="_blank" title="Terabits Technolab">Simplify Access Management</a> app.
|
||||
</h6>
|
||||
</div>
|
||||
</block>
|
||||
</div> -->
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
23
custom_addons/clarity_backend_theme_bits/views/res_users.xml
Executable file
23
custom_addons/clarity_backend_theme_bits/views/res_users.xml
Executable file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="view_users_form" model="ir.ui.view">
|
||||
<field name="name">res.users.form</field>
|
||||
<field name="model">res.users</field>
|
||||
<field name="inherit_id" ref="base.view_users_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//page[@name='access_rights']" position="inside">
|
||||
<!-- <separator string="Don't know how to set correct access rights for multiple users?" class=""/> -->
|
||||
<!-- <div class="o_horizontal_separator mt-4 mb-3 text-uppercase fw-bolder bg-300 py-4 rounded px-2">Don't know how to set correct access rights for multiple users?</div>
|
||||
<div>
|
||||
<div class="d-block">
|
||||
<h5 class="mt-2">Easily set with <a href="https://apps.odoo.com/apps/modules/18.0/simplify_access_management/" title="terabits">Simplify Access Management</a> app.</h5>
|
||||
<h5 class="mt-2">
|
||||
Live demo available
|
||||
<a href="https://www.terabits.xyz/request_demo?source=clarity_backend_theme&version=18&app=simplify_access_management" title="terabits">Access Here.</a>
|
||||
</h5>
|
||||
</div>
|
||||
</div> -->
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
32
custom_addons/clarity_backend_theme_bits/views/webclient_templates.xml
Executable file
32
custom_addons/clarity_backend_theme_bits/views/webclient_templates.xml
Executable file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="login_layout_bits" inherit_id="web.login_layout" name="login layout">
|
||||
<!-- <xpath expr="//div[@class='container py-5']" position="attributes">
|
||||
<attribute name="class">container py-5 login-view-bits</attribute>
|
||||
</xpath> -->
|
||||
<xpath expr="//div[@class='container py-5']" position="replace">
|
||||
<div class="container py-5 login-view-bits">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-12 col-md-4 col-lg-4">
|
||||
<div t-attf-class="card border-0 mx-auto bg-100 {{login_card_classes}} o_database_list" style="max-width: 300px;">
|
||||
<div class="card-body">
|
||||
<div t-attf-class="text-center pb-3 border-bottom {{'mb-3' if form_small else 'mb-4'}}">
|
||||
<img t-attf-src="/web/binary/company_logo{{ '?dbname='+db if db else '' }}" alt="Logo" style="max-height:120px; max-width: 100%; width:auto"/>
|
||||
</div>
|
||||
<t t-out="0"/>
|
||||
<div class="text-center small mt-4 pt-3 border-top" t-if="not disable_footer">
|
||||
<t t-if="not disable_database_manager">
|
||||
<a class="border-end pe-2 me-1" href="/web/database/manager">Manage Databases</a>
|
||||
</t>
|
||||
<a href="https://www.odoo.com?utm_source=db&utm_medium=auth" target="_blank">Powered by <span>Odoo</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user