Merge pull request #940 from expsa/dev_base_temp
add new elements & customization
This commit is contained in:
commit
50101123f3
|
|
@ -11,7 +11,7 @@ This module overrides community website features and introduces odex25 look and
|
|||
'depends': ['website'],
|
||||
'data': [
|
||||
'views/odex25_website_templates.xml',
|
||||
'views/support.xml',
|
||||
'views/help.xml',
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ from odoo import http
|
|||
|
||||
|
||||
class OdexSupport(http.Controller):
|
||||
@http.route('/support', type='http', auth='public', website=True)
|
||||
def support(self, **kw):
|
||||
return http.request.render("odex25_website.support")
|
||||
@http.route('/help', type='http', auth='public', website=True)
|
||||
def help(self, **kw):
|
||||
return http.request.render("odex25_website.help")
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 235 KiB |
|
|
@ -53,7 +53,7 @@
|
|||
width: 65%;
|
||||
height: auto;
|
||||
}
|
||||
.support-form-container #support-form .form-row .input-container input {
|
||||
.support-form-container #support-form .form-row .input-container input, .support-form-container #support-form .form-row .input-container select {
|
||||
width: 100%;
|
||||
height: 35px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -217,7 +217,7 @@
|
|||
width: 65%;
|
||||
height: auto;
|
||||
}
|
||||
.support-form-container #support-form .form-row .input-container input {
|
||||
.support-form-container #support-form .form-row .input-container input, .support-form-container #support-form .form-row .input-container select {
|
||||
width: 100%;
|
||||
height: 38px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -381,7 +381,7 @@
|
|||
width: 65%;
|
||||
height: auto;
|
||||
}
|
||||
.support-form-container #support-form .form-row .input-container input {
|
||||
.support-form-container #support-form .form-row .input-container input, .support-form-container #support-form .form-row .input-container select {
|
||||
width: 100%;
|
||||
height: 38px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -545,7 +545,7 @@
|
|||
width: 65%;
|
||||
height: auto;
|
||||
}
|
||||
.support-form-container #support-form .form-row .input-container input {
|
||||
.support-form-container #support-form .form-row .input-container input, .support-form-container #support-form .form-row .input-container select {
|
||||
width: 100%;
|
||||
height: 35px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -709,7 +709,7 @@
|
|||
width: 65%;
|
||||
height: auto;
|
||||
}
|
||||
.support-form-container #support-form .form-row .input-container input {
|
||||
.support-form-container #support-form .form-row .input-container input, .support-form-container #support-form .form-row .input-container select {
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -862,7 +862,7 @@
|
|||
width: 65%;
|
||||
height: auto;
|
||||
}
|
||||
.support-form-container #support-form .form-row .input-container input {
|
||||
.support-form-container #support-form .form-row .input-container input, .support-form-container #support-form .form-row .input-container select {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -1015,7 +1015,7 @@
|
|||
width: 65%;
|
||||
height: auto;
|
||||
}
|
||||
.support-form-container #support-form .form-row .input-container input {
|
||||
.support-form-container #support-form .form-row .input-container input, .support-form-container #support-form .form-row .input-container select {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -1168,7 +1168,7 @@
|
|||
width: 65%;
|
||||
height: auto;
|
||||
}
|
||||
.support-form-container #support-form .form-row .input-container input {
|
||||
.support-form-container #support-form .form-row .input-container input, .support-form-container #support-form .form-row .input-container select {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -1321,7 +1321,7 @@
|
|||
width: 65%;
|
||||
height: auto;
|
||||
}
|
||||
.support-form-container #support-form .form-row .input-container input {
|
||||
.support-form-container #support-form .form-row .input-container input, .support-form-container #support-form .form-row .input-container select {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -1474,7 +1474,7 @@
|
|||
width: 65%;
|
||||
height: auto;
|
||||
}
|
||||
.support-form-container #support-form .form-row .input-container input {
|
||||
.support-form-container #support-form .form-row .input-container input, .support-form-container #support-form .form-row .input-container select {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -1627,7 +1627,7 @@
|
|||
width: 65%;
|
||||
height: auto;
|
||||
}
|
||||
.support-form-container #support-form .form-row .input-container input {
|
||||
.support-form-container #support-form .form-row .input-container input, .support-form-container #support-form .form-row .input-container select {
|
||||
width: 100%;
|
||||
height: 45px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -1780,7 +1780,7 @@
|
|||
width: 65%;
|
||||
height: auto;
|
||||
}
|
||||
.support-form-container #support-form .form-row .input-container input {
|
||||
.support-form-container #support-form .form-row .input-container input, .support-form-container #support-form .form-row .input-container select {
|
||||
width: 100%;
|
||||
height: 45px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -1933,7 +1933,7 @@
|
|||
width: 65%;
|
||||
height: auto;
|
||||
}
|
||||
.support-form-container #support-form .form-row .input-container input {
|
||||
.support-form-container #support-form .form-row .input-container input, .support-form-container #support-form .form-row .input-container select {
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -2086,7 +2086,7 @@
|
|||
width: 65%;
|
||||
height: auto;
|
||||
}
|
||||
.support-form-container #support-form .form-row .input-container input {
|
||||
.support-form-container #support-form .form-row .input-container input, .support-form-container #support-form .form-row .input-container select {
|
||||
width: 100%;
|
||||
height: 90px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
.input-container{
|
||||
width: 65%;
|
||||
height: auto;
|
||||
input{
|
||||
input, select{
|
||||
width: 100%;
|
||||
height: 35px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -214,7 +214,7 @@
|
|||
.input-container{
|
||||
width: 65%;
|
||||
height: auto;
|
||||
input{
|
||||
input, select{
|
||||
width: 100%;
|
||||
height: 38px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -380,7 +380,7 @@
|
|||
.input-container{
|
||||
width: 65%;
|
||||
height: auto;
|
||||
input{
|
||||
input, select{
|
||||
width: 100%;
|
||||
height: 38px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -546,7 +546,7 @@
|
|||
.input-container{
|
||||
width: 65%;
|
||||
height: auto;
|
||||
input{
|
||||
input, select{
|
||||
width: 100%;
|
||||
height: 35px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -712,7 +712,7 @@
|
|||
.input-container{
|
||||
width: 65%;
|
||||
height: auto;
|
||||
input{
|
||||
input, select{
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -867,7 +867,7 @@
|
|||
.input-container{
|
||||
width: 65%;
|
||||
height: auto;
|
||||
input{
|
||||
input, select{
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -1032,7 +1032,7 @@
|
|||
.input-container{
|
||||
width: 65%;
|
||||
height: auto;
|
||||
input{
|
||||
input, select{
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -1187,7 +1187,7 @@
|
|||
.input-container{
|
||||
width: 65%;
|
||||
height: auto;
|
||||
input{
|
||||
input, select{
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -1342,7 +1342,7 @@
|
|||
.input-container{
|
||||
width: 65%;
|
||||
height: auto;
|
||||
input{
|
||||
input, select{
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -1497,7 +1497,7 @@
|
|||
.input-container{
|
||||
width: 65%;
|
||||
height: auto;
|
||||
input{
|
||||
input, select{
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -1652,7 +1652,7 @@
|
|||
.input-container{
|
||||
width: 65%;
|
||||
height: auto;
|
||||
input{
|
||||
input, select{
|
||||
width: 100%;
|
||||
height: 45px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -1807,7 +1807,7 @@
|
|||
.input-container{
|
||||
width: 65%;
|
||||
height: auto;
|
||||
input{
|
||||
input, select{
|
||||
width: 100%;
|
||||
height: 45px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -1962,7 +1962,7 @@
|
|||
.input-container{
|
||||
width: 65%;
|
||||
height: auto;
|
||||
input{
|
||||
input, select{
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
@ -2117,7 +2117,7 @@
|
|||
.input-container{
|
||||
width: 65%;
|
||||
height: auto;
|
||||
input{
|
||||
input, select{
|
||||
width: 100%;
|
||||
height: 90px;
|
||||
background-color: #FBFBFB;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,103 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="help" name="Help">
|
||||
<t t-call="website.layout">
|
||||
|
||||
<div class="oe_structure"/>
|
||||
<div id="wrap">
|
||||
<div class="support-banner">
|
||||
<img src="/odex25_website/static/img/support_banner.jpg" alt=""/>
|
||||
<h1>Get Some Help</h1>
|
||||
</div>
|
||||
<div class="support-form-container">
|
||||
<form id="support-form" action="">
|
||||
<div class="form-row">
|
||||
<label for="">Your Name</label>
|
||||
<div class="input-container">
|
||||
<input type="text" name=""/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="email">Your Email</label>
|
||||
<div class="input-container">
|
||||
<input type="email" name="email" id=""/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="phone">Your Phone</label>
|
||||
<div class="input-container">
|
||||
<input type="tel" name="phone" id=""/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="url">System URL</label>
|
||||
<div class="input-container">
|
||||
<input type="url" name="url" id=""/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="">Database Name</label>
|
||||
<div class="input-container">
|
||||
<input type="text" name=""/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="">Model Name</label>
|
||||
<div class="input-container">
|
||||
<input type="text" name=""/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="">Category</label>
|
||||
<div class="input-container">
|
||||
<select name="ticket-type" id="ticket-type">
|
||||
<option value="question1">Category 1</option>
|
||||
<option value="question2">Category 2</option>
|
||||
<option value="question3">Category 3</option>
|
||||
<option value="question4">Category 4</option>
|
||||
<option value="question5">Category 5</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="">Ticket Type</label>
|
||||
<div class="input-container">
|
||||
<select name="ticket-type" id="ticket-type">
|
||||
<option value="question1">Question 1</option>
|
||||
<option value="question2">Question 2</option>
|
||||
<option value="question3">Question 3</option>
|
||||
<option value="question4">Question 4</option>
|
||||
<option value="question5">Question 5</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="">Subject</label>
|
||||
<div class="input-container">
|
||||
<input type="text" name=""/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row align-top">
|
||||
<label for="">Details</label>
|
||||
<div class="input-container">
|
||||
<textarea name="" id=""></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row align-top">
|
||||
<label for="">Attachments</label>
|
||||
<div class="input-container" id="file-input-container">
|
||||
<input type="file" name="attachments[]" id="file-input-1"/>
|
||||
<a href="#" id="add-file-input"><img src="/odex25_website/static/img/add.png" alt=""/> Add More Attachments</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<button type="submit" id="support-submit">Submit</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
</template>
|
||||
</odoo>
|
||||
Loading…
Reference in New Issue