Browse Source

fix: rename module to web_widget_text_markdown

pull/71/head
Nicolas JEUDY 10 years ago
parent
commit
c5641d7643
  1. 18
      web_bootstrap_markdown/views/web_bootstrap_markdown.xml
  2. 0
      web_widget_text_markdown/README.rst
  3. 0
      web_widget_text_markdown/__init__.py
  4. 4
      web_widget_text_markdown/__openerp__.py
  5. 0
      web_widget_text_markdown/static/src/css/bootstrap-markdown.min.css
  6. 0
      web_widget_text_markdown/static/src/css/main.css
  7. 6
      web_widget_text_markdown/static/src/js/web_widget_text_markdown.js
  8. 0
      web_widget_text_markdown/static/src/xml/bootstrap_markdown.xml
  9. 18
      web_widget_text_markdown/views/main.xml

18
web_bootstrap_markdown/views/web_bootstrap_markdown.xml

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- vim:fdn=3:
-->
<openerp>
<data>
<template id="assets_backend" name="web_bootstrap_markdown assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/web_bootstrap_markdown/static/src/css/bootstrap-markdown.min.css"/>
<link rel="stylesheet" href="/web_bootstrap_markdown/static/lib/highlight/styles/railscasts.css"/>
<link rel="stylesheet" href="/web_bootstrap_markdown/static/src/css/main.css"/>
<script type="text/javascript" src="/web_bootstrap_markdown/static/lib/highlight/highlight.min.js"></script>
<script type="text/javascript" src="/web_bootstrap_markdown/static/lib/marked/marked.js"></script>
<script type="text/javascript" src="/web_bootstrap_markdown/static/lib/bootstrap-markdown/bootstrap-markdown.js"></script>
<script type="text/javascript" src="/web_bootstrap_markdown/static/src/js/web_bootstrap_markdown.js"></script>
</xpath>
</template>
</data>
</openerp>

0
web_bootstrap_markdown/README.rst → web_widget_text_markdown/README.rst

0
web_bootstrap_markdown/__init__.py → web_widget_text_markdown/__init__.py

4
web_bootstrap_markdown/__openerp__.py → web_widget_text_markdown/__openerp__.py

@ -1,5 +1,5 @@
{ {
'name': 'web_bootstrap_markdown',
'name': 'web_widget_text_markdown',
'version': '1.0', 'version': '1.0',
'author': 'Sudokeys', 'author': 'Sudokeys',
'maintainer': 'Sudokeys', 'maintainer': 'Sudokeys',
@ -7,7 +7,7 @@
'license': 'AGPL-3', 'license': 'AGPL-3',
'depends': ['base','web'], 'depends': ['base','web'],
'website': 'http://www.sudokey.com', 'website': 'http://www.sudokey.com',
'data': ['views/web_bootstrap_markdown.xml',],
'data': ['views/main.xml',],
"qweb": ["static/src/xml/bootstrap_markdown.xml", "qweb": ["static/src/xml/bootstrap_markdown.xml",
], ],
'demo': [], 'demo': [],

0
web_bootstrap_markdown/static/src/css/bootstrap-markdown.min.css → web_widget_text_markdown/static/src/css/bootstrap-markdown.min.css

0
web_bootstrap_markdown/static/src/css/main.css → web_widget_text_markdown/static/src/css/main.css

6
web_bootstrap_markdown/static/src/js/web_bootstrap_markdown.js → web_widget_text_markdown/static/src/js/web_widget_text_markdown.js

@ -1,10 +1,10 @@
openerp.web_bootstrap_markdown = function (oe) {
openerp.web_widget_text_markdown = function (oe) {
var _lt = oe.web._lt; var _lt = oe.web._lt;
oe.web.form.widgets.add('bootstrap_markdown', 'openerp.web_bootstrap_markdown.FieldTextMarkDown');
oe.web.form.widgets.add('bootstrap_markdown', 'openerp.web_widget_text_markdown.FieldTextMarkDown');
oe.web_bootstrap_markdown.FieldTextMarkDown = oe.web.form.AbstractField.extend(
oe.web_widget_text_markdown.FieldTextMarkDown = oe.web.form.AbstractField.extend(
oe.web.form.ReinitializeFieldMixin, oe.web.form.ReinitializeFieldMixin,
{ {

0
web_bootstrap_markdown/static/src/xml/bootstrap_markdown.xml → web_widget_text_markdown/static/src/xml/bootstrap_markdown.xml

18
web_widget_text_markdown/views/main.xml

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- vim:fdn=3:
-->
<openerp>
<data>
<template id="assets_backend" name="web_widget_text_markdown assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/web_widget_text_markdown/static/src/css/bootstrap-markdown.min.css"/>
<link rel="stylesheet" href="/web_widget_text_markdown/static/lib/highlight/styles/railscasts.css"/>
<link rel="stylesheet" href="/web_widget_text_markdown/static/src/css/main.css"/>
<script type="text/javascript" src="/web_widget_text_markdown/static/lib/highlight/highlight.min.js"></script>
<script type="text/javascript" src="/web_widget_text_markdown/static/lib/marked/marked.js"></script>
<script type="text/javascript" src="/web_widget_text_markdown/static/lib/bootstrap-markdown/bootstrap-markdown.js"></script>
<script type="text/javascript" src="/web_widget_text_markdown/static/src/js/web_widget_text_markdown.js"></script>
</xpath>
</template>
</data>
</openerp>
Loading…
Cancel
Save