[IMP] replace tabs by space.

bzr revid: tpa@tinyerp.com-20140224073002-6m8sf5i4qo1ixa2z
This commit is contained in:
Turkesh Patel (Open ERP) 2014-02-24 13:00:02 +05:30
parent 6721db92a6
commit 61eb17b7b3
1 changed files with 251 additions and 255 deletions

View File

@ -2,71 +2,70 @@
<openerp> <openerp>
<data> <data>
<template id="editor_head" inherit_id="website.editor_head" <template id="editor_head" inherit_id="website.editor_head" name="Fvent Editor">
name="Event Editor"> <xpath expr="//script[@id='website_tour_js']" position="after">
<xpath expr="//script[@id='website_tour_js']" position="after"> <script type="text/javascript"
<script type="text/javascript" src="/website_forum/static/src/js/website_forum.editor.js"></script>
src="/website_forum/static/src/js/website_forum.editor.js"></script> <script type="text/javascript"
<script type="text/javascript" src="/website_forum/static/src/js/website.tour.forum.js"></script>
src="/website_forum/static/src/js/website.tour.forum.js"></script> </xpath>
</xpath> </template>
</template>
<!-- Layout add nav and footer --> <!-- Layout add nav and footer -->
<template id="header_footer_custom" inherit_id="website.layout" <template id="header_footer_custom" inherit_id="website.layout"
name="Footer Questions Link"> name="Footer Questions Link">
<xpath expr="//footer//ul[@name='products']" position="inside"> <xpath expr="//footer//ul[@name='products']" position="inside">
<li> <li>
<a href="/questions">Support</a> <a href="/questions">Support</a>
</li> </li>
</xpath> </xpath>
</template> </template>
<!-- Page --> <!-- Page -->
<template id="question_list"> <template id="question_list">
<div class="tab-pane active" id="all"> <div class="tab-pane active" id="all">
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
<div class="row"> <div class="row">
<div class="col-xs-9"> <div class="col-xs-9">
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
<h4> <h4>
<a t-attf-href="/question/#{ slug(question) }"> <a t-attf-href="/question/#{ slug(question) }">
<span> <span>
<t t-esc="question.name" /> <t t-esc="question.name" />
</span> </span>
</a> </a>
</h4> </h4>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
<a href="" class="badge">6.1</a> <a href="" class="badge">6.1</a>
<a href="" class="badge">7.0</a> <a href="" class="badge">7.0</a>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-xs-12 text-right"> <div class="col-xs-12 text-right">
<small> <small>
<span> <span>
<t t-esc="question.write_date" /> <t t-esc="question.write_date" />
</span> </span>
<a href=""> <a href="">
<span> <span>
<t t-esc="question.create_uid.name" /> <t t-esc="question.create_uid.name" />
</span> </span>
</a> </a>
<a href=""> <a href="">
<span> <span>
<t t-esc="question.create_uid.id" /> <t t-esc="question.create_uid.id" />
</span> </span>
</a> </a>
</small> </small>
</div> </div>
</div> </div>
</div> </div>
<div class="col-xs-3"> <div class="col-xs-3">
<h5> <h5>
<span itemprop="Votes" class="label label-success"> <span itemprop="Votes" class="label label-success">
@ -91,12 +90,12 @@
</span> </span>
</h5> </h5>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<template id="answer"> <template id="answer">
<div class="row"> <div class="row">
<t t-call="website_forum.question_vote" /> <t t-call="website_forum.question_vote" />
@ -121,131 +120,130 @@
</div> </div>
</template> </template>
<template id="question_search"> <template id="question_search">
<form class="navbar-form " role="search"> <form class="navbar-form " role="search">
<div class="form-group search-navbar"> <div class="form-group search-navbar">
<input type="text" class="form-control" placeholder="Search Or Ask your Question" /> <input type="text" class="form-control" placeholder="Search Or Ask your Question" />
</div> </div>
<button type="submit" class="btn btn-default AskButton">Ask Question</button> <button type="submit" class="btn btn-default AskButton">Ask Question</button>
</form> </form>
</template> </template>
<!-- index page of forum --> <!-- index page of forum -->
<template id="index" name="Questions"> <template id="index" name="Questions">
<t t-call="website.layout"> <t t-call="website.layout">
<t t-set="head"> <t t-set="head">
<link rel='stylesheet' href='/website_blog/static/src/css/website_forum.css' /> <link rel='stylesheet' href='/website_blog/static/src/css/website_forum.css' />
</t> </t>
<div id="wrap" class="js_blog"> <div id="wrap" class="js_blog">
<t t-call="website_forum.question_search" /> <t t-call="website_forum.question_search" />
<div class="row"> <div class="row">
<div class="col-xs-3"> <div class="col-xs-3">
<span itemprop="name" class="badge"> <span itemprop="name" class="badge">
<t t-esc="len(question_ids)" /> <t t-esc="len(question_ids)" />
Question Question
</span> </span>
</div> </div>
<div class="col-xs-3"> <div class="col-xs-3">
<h5> <h5>
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">
Short by Short by
<b class="caret"></b> <b class="caret"></b>
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li> <li>
<a href="#">By Date</a> <a href="#">By Date</a>
</li> </li>
<li> <li>
<a href="#">By Activity</a> <a href="#">By Activity</a>
</li> </li>
<li> <li>
<a href="#">By Answer</a> <a href="#">By Answer</a>
</li> </li>
<li> <li>
<a href="#">By Votes</a> <a href="#">By Votes</a>
</li> </li>
</ul> </ul>
</h5> </h5>
</div> </div>
</div> </div>
<ul id="tabs" class="nav nav-tabs" data-tabs="tabs"> <ul id="tabs" class="nav nav-tabs" data-tabs="tabs">
<li class="active"> <li class="active">
<a href="#all" data-toggle="tab">ALL</a> <a href="#all" data-toggle="tab">ALL</a>
</li> </li>
<li> <li>
<a href="#unanswerd" data-toggle="tab">Unanswerd</a> <a href="#unanswerd" data-toggle="tab">Unanswerd</a>
</li> </li>
</ul> </ul>
<ul class="media-list"> <ul class="media-list">
<li t-foreach="question_ids" t-as="question" class="media"> <li t-foreach="question_ids" t-as="question" class="media">
<t t-call="website_forum.question_list" /> <t t-call="website_forum.question_list" />
</li> </li>
</ul> </ul>
</div> </div>
</t> </t>
</template> </template>
<template id="404"> <template id="404">
<t t-call="website.layout"> <t t-call="website.layout">
<div id="wrap"> <div id="wrap">
<div class="oe_structure oe_empty"> <div class="oe_structure oe_empty">
<div class="container"> <div class="container">
<h1 class="mt32">Question not found!</h1> <h1 class="mt32">Question not found!</h1>
<p>Sorry, the requested question is not available anymore.</p> <p>Sorry, the requested question is not available anymore.</p>
<p> <p>
<a t-attf-href="/question/">Return to the question list.</a> <a t-attf-href="/question/">Return to the question list.</a>
</p> </p>
</div> </div>
</div> </div>
</div> </div>
</t> </t>
</template> </template>
<template id="user_detail"> <template id="user_detail">
<div <div
class="col-xs-7 col-xs-offset-5 col-sm-3 col-sm-offset-9 col-md-4 col-md-offset-8 col-lg-4 col-lg-offset-8 text-right"> class="col-xs-7 col-xs-offset-5 col-sm-3 col-sm-offset-9 col-md-4 col-md-offset-8 col-lg-4 col-lg-offset-8 text-right">
<div class="panel panel-primary "> <div class="panel panel-primary ">
<p class="text-center -heading"> <p class="text-center -heading">
<small>asked Sep 12'13</small> <small>asked Sep 12'13</small>
</p> </p>
<div class="row"> <div class="row">
<div class="col-xs-3"> <div class="col-xs-3">
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
<img src="images/profile_picture/png/user_1.png" class="user-profile-image" <img src="images/profile_picture/png/user_1.png" class="user-profile-image" alt="" />
alt="" /> </div>
</div> </div>
</div> </div>
</div> <div class="col-xs-9">
<div class="col-xs-9"> <div class="row">
<div class="row"> <div class="col-xs-12">
<div class="col-xs-12"> <div class="text-left">
<div class="text-left"> <a href="">Than N.</a>
<a href="">Than N.</a> </div>
</div> </div>
</div> </div>
</div> <div class="row">
<div class="row"> <div class="col-xs-12">
<div class="col-xs-12"> <div style="font-size:10px" class="text-left">
<div style="font-size:10px" class="text-left"> <b style="color : green">11</b>
<b style="color : green">11</b> <span class="glyphicon glyphicon-certificate badge-gold"></span>
<span class="glyphicon glyphicon-certificate badge-gold"></span> 1
1 <span class="glyphicon glyphicon-certificate badge-silver"></span>
<span class="glyphicon glyphicon-certificate badge-silver"></span> 10
10 <span class="glyphicon glyphicon-certificate badge-bronze"></span>
<span class="glyphicon glyphicon-certificate badge-bronze"></span> 5
5 </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </template>
</template>
<template id="question_vote"> <template id="question_vote">
<div class="row"> <div class="row">
<div class="col-md-1 col-xs-1"> <div class="col-md-1 col-xs-1">
<div class="row"> <div class="row">
@ -267,75 +265,73 @@
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<template id="question_links"> <template id="question_links">
<div class="row"> <div class="row">
<div class="col-xs-12 text-right"> <div class="col-xs-12 text-right">
<a class="action-links" href=""> <a class="action-links" href="">
<span class="glyphicon glyphicon-pencil"></span> <span class="glyphicon glyphicon-pencil"></span>
</a> </a>
<a class="action-links" href=""> <a class="action-links" href="">
<span class="glyphicon glyphicon-flag"></span> <span class="glyphicon glyphicon-flag"></span>
</a> </a>
<a class="action-links" href=""> <a class="action-links" href="">
<span class="glyphicon glyphicon-trash"></span> <span class="glyphicon glyphicon-trash"></span>
</a> </a>
<a class="action-links" href=""> <a class="action-links" href="">
<span class="glyphicon glyphicon-link"></span> <span class="glyphicon glyphicon-link"></span>
</a> </a>
</div> </div>
</div> </div>
</template> </template>
<template id="question_description_full"> <template id="question_description_full">
<t t-call="website.layout"> <t t-call="website.layout">
<t t-call="website_forum.question_search" /> <t t-call="website_forum.question_search" />
<div class="container MainBody"> <div class="container MainBody">
<t t-call="website_forum.question_vote" /> <t t-call="website_forum.question_vote" />
<div class="row"> <div class="row">
<div class="col-md-9 col-xs-11">
<div class="row">
<div class="col-xs-12">
<h4>
<div itemprop="name" t-field="question.name"></div>
</h4>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<span class="badge">openerp-7</span>
<span class="badge">pos</span>
<span class="badge">receipt</span>
<span class="badge">cash</span>
</div>
</div>
</div>
</div>
<div class="col-md-9 col-xs-11"> <div class="row">
<div class="row"> <div class="col-xs-12 page-header">
<div class="col-xs-12"> <span class="badge">2 Answers</span>
<h4> <a href="#" class="dropdown-toggle" data-toggle="dropdown">
<div itemprop="name" t-field="question.name"></div> Short by
</h4> <b class="caret"></b>
</div> </a>
</div> <ul class="dropdown-menu">
<div class="row"> <li>
<div class="col-xs-12"> <a href="#">Oldest</a>
<span class="badge">openerp-7</span> </li>
<span class="badge">pos</span> <li>
<span class="badge">receipt</span> <a href="#">Newest</a>
<span class="badge">cash</span> </li>
</div> <li>
</div> <a href="#">Most Viewd</a>
</div> </li>
</div> </ul>
</div>
<div class="row"> </div>
<div class="col-xs-12 page-header">
<span class="badge">2 Answers</span>
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Short by
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li>
<a href="#">Oldest</a>
</li>
<li>
<a href="#">Newest</a>
</li>
<li>
<a href="#">Most Viewd</a>
</li>
</ul>
</div>
</div>
<ul class="media-list"> <ul class="media-list">
<li t-foreach="question.child_ids" t-as="answer" class="media"> <li t-foreach="question.child_ids" t-as="answer" class="media">
@ -344,9 +340,9 @@
<t t-call="website_forum.answer" /> <t t-call="website_forum.answer" />
</ul> </ul>
</div> </div>
</t> </t>
</template> </template>
</data> </data>
</openerp> </openerp>