update
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro m_tab_head2(name, title, active) %}
|
||||
{% macro m_tab_head(name, title, active) %}
|
||||
{% if active %}
|
||||
<a class="nav-item nav-link active" id="tab_{{name}}" data-toggle="tab" href="#{{name}}" role="tab">{{title}}</a>
|
||||
{% else %}
|
||||
@@ -176,21 +176,26 @@
|
||||
{% macro setting_input_textarea_and_buttons(id, left, buttons, value='', col='9', row='3', desc='', disabled=False) %}
|
||||
{{ setting_top(left) }}
|
||||
<div class="input-group col-sm-{{col}}">
|
||||
<textarea id="{{id}}" name="{{id}}" class="col-md-12" rows="{{row}}"
|
||||
{% if disabled %}
|
||||
disabled
|
||||
{% endif %}
|
||||
>{{ value }}</textarea>
|
||||
<div class="btn-group btn-group-sm flex-wrap mr-2" role="group" style="padding-left:5px; padding-top:0px">
|
||||
{% for b in buttons %}
|
||||
<button id="{{b[0]}}" class="btn btn-sm btn-outline-primary"
|
||||
{% if b|length > 2 %}
|
||||
{% for d in b[2] %}
|
||||
data-{{d[0]}}="{{d[1]}}""
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
>{{b[1]}}</button>
|
||||
{% endfor %}
|
||||
<div class="col-md-12">
|
||||
<div class="row">
|
||||
<textarea id="{{id}}" name="{{id}}" class="col-md-12" rows="{{row}}"
|
||||
{% if disabled %}
|
||||
disabled
|
||||
{% endif %}
|
||||
>{{ value }}</textarea>
|
||||
</div>
|
||||
<div class="row" style="padding:5px;"></div>
|
||||
<div class="row">
|
||||
{% for b in buttons %}
|
||||
<button id="{{b[0]}}" class="btn btn-sm btn-outline-primary"
|
||||
{% if b|length > 2 %}
|
||||
{% for d in b[2] %}
|
||||
data-{{d[0]}}="{{d[1]}}""
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
>{{b[1]}}</button>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ setting_bottom(desc) }}
|
||||
@@ -370,13 +375,6 @@ option을 script로 넣을 때 사용
|
||||
|
||||
|
||||
<!-- 삭제해야함 --------------------------------------------------------->
|
||||
{% macro m_tab_head(name, active) %}
|
||||
{% if active %}
|
||||
<a class="nav-item nav-link active" id="tab_{{name}}" data-toggle="tab" href="#{{name}}" role="tab">{{name}}</a>
|
||||
{% else %}
|
||||
<a class="nav-item nav-link" id="tab_{{name}}" data-toggle="tab" href="#{{name}}" role="tab">{{name}}</a>
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro setting_radio(id, title, radios, value=None, desc=None, disabled=False) %}
|
||||
{{ setting_top(title) }}
|
||||
|
||||
Reference in New Issue
Block a user