Sha256: 49194b86df0f60fdfa026557e2d72a3c1abbc30a5f1a48d1a6b1d7b1d9d00848

Contents?: true

Size: 1.05 KB

Versions: 15

Compression:

Stored size: 1.05 KB

Contents

<script type="text/template" id="vue-setting-section">

<div class='panel panel-default'>
  <div class='panel-heading' data-toggle='collapse' href='#{{ id }}' title='{{ content }}'>
    {{ type }}
    <span v-if="name == 'match'">({{ arg }})</span>
    <i class="fa fa-caret-down"></i>
  </div>
  <div class='panel-body collapse' id='{{ id }}'>
    <pre v-if="mode != 'edit'">{{ content }}</pre>
    <p v-if="mode == 'edit'">
      <textarea v-config-editor class="form-control" v-model="editContent" v-attr="disabled: processing"></textarea>
    </p>
    <p class="pull-right">
      <button v-if="mode != 'edit'" class="btn btn-default" v-on="click: onEdit"><%= t('terms.edit') %></button>
      <button v-if="mode != 'edit'" class="btn btn-danger" v-on="click: onDelete"><%= t('terms.destroy') %></button>
      <button v-if="mode == 'edit'" class="btn btn-default" v-on="click: onCancel"><%= t('terms.cancel') %></button>
      <button v-if="mode == 'edit'" class="btn btn-primary" v-on="click: onSubmit"><%= t('terms.save') %></button>
    </p>
  </div>
</div>

</script>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
fluentd-ui-0.4.5 app/views/shared/vue/_setting.html.erb
fluentd-ui-0.4.4 app/views/shared/vue/_setting.html.erb
fluentd-ui-0.4.3 app/views/shared/vue/_setting.html.erb
fluentd-ui-0.4.2 app/views/shared/vue/_setting.html.erb
fluentd-ui-0.4.1 app/views/shared/vue/_setting.html.erb
fluentd-ui-0.4.0 app/views/shared/vue/_setting.html.erb
fluentd-ui-0.3.21 app/views/shared/vue/_setting.html.erb
fluentd-ui-0.3.20 app/views/shared/vue/_setting.html.erb
fluentd-ui-0.3.19 app/views/shared/vue/_setting.html.erb
fluentd-ui-0.3.18 app/views/shared/vue/_setting.html.erb
fluentd-ui-0.3.17 app/views/shared/vue/_setting.html.erb
fluentd-ui-0.3.16 app/views/shared/vue/_setting.html.erb
fluentd-ui-0.3.15 app/views/shared/vue/_setting.html.erb
fluentd-ui-0.3.14 app/views/shared/vue/_setting.html.erb
fluentd-ui-0.3.13 app/views/shared/vue/_setting.html.erb