forked from OCA/web
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
116 additions
and
41 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
web_widget_html_markdown/static/src/css/web_widget_html_markdown.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,36 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<templates id="template" xml:space="preserve"> | ||
<div t-name="web_widget_html_markdown.radio_info"> | ||
<div id="radio_container"> | ||
<input id="markdown" | ||
type="radio" | ||
name="mk_html_switcher" | ||
value="markdown"/> | ||
<label id="markdown_label" for="markdown">Markdown</label> | ||
<input type="radio" id="html" | ||
name="mk_html_switcher" | ||
value="html" | ||
checked="checked" /> | ||
<label id="html_label" for="html">HTML</label> | ||
<div id="radio_container" class="o_field_radio o_field_widget o_required_modifier o_light_label" > | ||
<div class="custom-control custom-radio o_radio_item" aria-atomic="true"> | ||
<input id="markdown" | ||
type="radio" | ||
name="_switcher" | ||
value="markdown" | ||
class="custom-control-input o_radio_input" | ||
> </input> | ||
<label id="markdown_label" | ||
for="markdown" | ||
class="custom-control-label o_form_label" > | ||
Markdown | ||
</label> | ||
</div> | ||
<div class="custom-control custom-radio o_radio_item" aria-atomic="true" | ||
t-if="!widget.options.only_markdown_on_new" > | ||
<input type="radio" id="html" | ||
name="_switcher" | ||
value="html" | ||
class="custom-control-input o_radio_input" | ||
t-if="!widget.options.only_markdown_on_new" | ||
> </input> | ||
<label id="html_label" for="html" | ||
t-if="!widget.options.only_markdown_on_new" | ||
class="custom-control-label o_form_label"> | ||
HTML | ||
</label> | ||
</div> | ||
</div> | ||
<div id="md_infoarea"> | ||
<div id="md_infoarea" class="badge badge-primary"> | ||
</div> | ||
</div> | ||
</templates> |