@mersy


NZ
New !!
ƭ
ƭ


NEW










⭐





⭐

⭐
<mt:setvarblock name="scheduled_button_title"><__trans phrase="Save this
[_1]" params="<mt:var name="object_label">"></mt:setvarblock>
<mtapp:setting
id="status"
label="<__trans phrase="Status">"
label_class="top-label"
help_page="entries"
help_section="status">
<mt:unless name="sitepath_configured">
<input type="hidden" name="status" id="status" value="1" />
<span><__trans phrase="Unpublished"></span>
<span class="alert-warning-inline"><img src="<$mt:var
name="static_uri"$>images/status_icons/warning.gif" alt="<__trans
sub foo {
my ($cb, $app, $param, $tmpl) = @_;
...
$innerHTML =~ s/(,s)$//;
my $pointer_field = $tmpl->getElementById('ip');
my $label = '<__trans_section component="commentrating"><__trans
phrase="Rating"></__trans_section>';
my $hint = '<__trans_section component="commentrating"><__trans
phrase="It is the value that evaluated a entry with five phases."></
__trans_section>';
my $nodeset = $tmpl->createElement('app:setting', { id => 'rating', label =>
$label, hint => $hint, show_hint => 0 });
$nodeset->innerHTML($innerHTML);




▶














‣
‣
‣


‣


‣


‣
‣
‣


<mtapp-entries

table_label=" "

site_id="1"

api_limit="20"

api_fields=“id,title,tags"></mtapp-
entries>




<mtapp-form-entry></mtapp-form-entry>

<!-- -->
<mtapp-entries>
<table class="table table-bordered bp-view" id="{ table_id }">
<thead class="thead-inverse">
<tr>...</tr>
</thead>
<tbody>
<tr each="{ item, items_index in items }">
<td each="{ field in fields }" class="align-middle">

{ item[field] }</td>
</tr>
</tbody>
</table>
HTML
<style scoped>
.bp-items { overflow-x: scroll; }
</style>
<script>
// Data API
api.listEntries(that.site_id, params, function (response) {
// `mtapp-items`
that.items = response.items;
that.update();
});
</script>
</mtapp-entries>
JavaScript
CSS










<div class="form-group">

<label> </label>

<input class="form-control" 

type="color" name="keywords">

</div>
<mtapp-form-parts 

form_type="color" basename="keywords"

label=" "></mtapp-form-parts>




5mini


MT::Lover::bitpart
Update bit part, everyday!!

MTDDC Meetup TOKYO 2016