Skip to content

Commit

Permalink
[BUGFIX] Fix padding issue in module filter form
Browse files Browse the repository at this point in the history
  • Loading branch information
reinhardfuehricht committed Jun 1, 2016
1 parent 7e6f700 commit 349e934
Showing 1 changed file with 49 additions and 51 deletions.
100 changes: 49 additions & 51 deletions Resources/Private/Templates/Module/Index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,59 +7,57 @@ <h1><f:translate key="headline.index" /></h1>
</f:section>

<f:section name="content">
<div class="row">
<div class="col-xs-3 last">
<f:form method="post" action="index" name="demand" object="{demand}" class="filterForm form-horizontal">
<div class="form-group">
<label for="tx_formhandler_logdata_pid"><f:translate key="label.pid" /></label>
<f:form.textfield id="tx_formhandler_logdata_pid" property="pid" readonly="readonly" title="{f:translate(key: 'label.select-page-from-tree')}" class="form-control input-sm"/>
</div>
<div class="form-group">
<label for="tx_formhandler_logdata_ip"><f:translate key="label.ip" /></label>
<f:form.textfield id="tx_formhandler_logdata_ip" property="ip" class="form-control input-sm"/>
</div>
<div class="form-group">
<label for="tx_formhandler_logdata_start"><f:translate key="label.start" /></label>
<div class="input-group input-group-sm">
<f:form.textfield
name="start"
value="{f:if(condition: demand.startTimestamp, then: \"{f:format.date(format:'{settings.timeFormat} {settings.dateFormat}', date: '@{demand.startTimestamp}')}\")}"
id="tx_formhandler_logdata_start"
class="form-control input-sm t3js-datetimepicker t3js-clearable"
data="{date-type: 'datetime', date-offset: 0}"
/>
<f:form.hidden property="startTimestamp" value="{demand.startTimestamp}" />
<span class="input-group-btn">
<label class="btn btn-default" for="tx_formhandler_logdata_start">
<span class="fa fa-calendar"></span>
</label>
</span>
</div>
<div class="col-xs-4 last">
<f:form method="post" action="index" name="demand" object="{demand}" class="filterForm form-horizontal">
<div class="form-group">
<label for="tx_formhandler_logdata_pid"><f:translate key="label.pid" /></label>
<f:form.textfield id="tx_formhandler_logdata_pid" property="pid" readonly="readonly" title="{f:translate(key: 'label.select-page-from-tree')}" class="form-control input-sm"/>
</div>
<div class="form-group">
<label for="tx_formhandler_logdata_ip"><f:translate key="label.ip" /></label>
<f:form.textfield id="tx_formhandler_logdata_ip" property="ip" class="form-control input-sm"/>
</div>
<div class="form-group">
<label for="tx_formhandler_logdata_start"><f:translate key="label.start" /></label>
<div class="input-group input-group-sm">
<f:form.textfield
name="start"
value="{f:if(condition: demand.startTimestamp, then: \"{f:format.date(format:'{settings.timeFormat} {settings.dateFormat}', date: '@{demand.startTimestamp}')}\")}"
id="tx_formhandler_logdata_start"
class="form-control input-sm t3js-datetimepicker t3js-clearable"
data="{date-type: 'datetime', date-offset: 0}"
/>
<f:form.hidden property="startTimestamp" value="{demand.startTimestamp}" />
<span class="input-group-btn">
<label class="btn btn-default" for="tx_formhandler_logdata_start">
<span class="fa fa-calendar"></span>
</label>
</span>
</div>
<div class="form-group">
<label for="tx_formhandler_logdata_end"><f:translate key="label.end" /></label>
<div class="input-group input-group-sm">
<f:form.textfield
name="start"
value="{f:if(condition: demand.endTimestamp, then: \"{f:format.date(format:'{settings.timeFormat} {settings.dateFormat}', date: '@{demand.endTimestamp}')}\")}"
id="tx_formhandler_logdata_end"
class="form-control input-sm t3js-datetimepicker t3js-clearable"
data="{date-type: 'datetime', date-offset: 0}"
/>
<f:form.hidden property="endTimestamp" value="{demand.endTimestamp}" />
<span class="input-group-btn">
<label class="btn btn-default" for="tx_formhandler_logdata_end">
<span class="fa fa-calendar"></span>
</label>
</span>
</div>
</div>
<div class="form-group">
<label for="tx_formhandler_logdata_end"><f:translate key="label.end" /></label>
<div class="input-group input-group-sm">
<f:form.textfield
name="start"
value="{f:if(condition: demand.endTimestamp, then: \"{f:format.date(format:'{settings.timeFormat} {settings.dateFormat}', date: '@{demand.endTimestamp}')}\")}"
id="tx_formhandler_logdata_end"
class="form-control input-sm t3js-datetimepicker t3js-clearable"
data="{date-type: 'datetime', date-offset: 0}"
/>
<f:form.hidden property="endTimestamp" value="{demand.endTimestamp}" />
<span class="input-group-btn">
<label class="btn btn-default" for="tx_formhandler_logdata_end">
<span class="fa fa-calendar"></span>
</label>
</span>
</div>

<div class="form-group">
<f:form.submit value="{f:translate(key: 'label.submit')}" class="btn btn-default btn-sm" />
</div>
</f:form>
</div>
</div>

<div class="form-group">
<f:form.submit value="{f:translate(key: 'label.submit')}" class="btn btn-default btn-sm" />
</div>
</f:form>
</div>
<div class="row">
<div class="col-xs-12">
Expand Down

0 comments on commit 349e934

Please sign in to comment.