Skip to content

Commit

Permalink
Merge pull request #49 from breakforme732/big_cleanup
Browse files Browse the repository at this point in the history
remove some unnecessary lines
  • Loading branch information
ddymko authored Oct 28, 2019
2 parents 7813547 + e7aef90 commit 3db2b2c
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 28 deletions.
3 changes: 1 addition & 2 deletions addons/vultr/templates/admin/pages/dns/dns.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
<div class="form-group">
<label class="control-label col-sm-2">{$MGLANG->T('ns1')}</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="ns1"
value="{(!empty($nameServer['ns1']))? {$nameServer['ns1']}: ''}"/>
<input type="text" class="form-control" name="ns1" value="{(!empty($nameServer['ns1']))? {$nameServer['ns1']}: ''}"/>
</div>
</div>
<div class="form-group">
Expand Down
6 changes: 1 addition & 5 deletions addons/vultr/templates/admin/pages/home/home.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
<div class="row">
<div class="col-lg-12" id="mg-home-content">
<legend>{$MGLANG->T('Dashboard')}</legend>

<div class="row">

</div>

<div class="row"></div>
</div>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<form class="form-horizontal normal-form" action="{$url}" method="post">
<div class="form-group">
<!--
<div class="col-lg-12">
<legend>{*{$MGLANG->T('header')}*}</legend>
</div>
-->
</div>
<div class="form-group"></div>
{foreach from=$hidden item=field}
{$field->html}
{/foreach}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
{$MGLANG->T('Add Category')}
</button>
</div>
{*Modal mg-modal-new-entity*}
<form data-toggle="validator" role="form" id="mg-form-add-new">
<div class="modal fade bs-example-modal-lg" id="mg-modal-add-new" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel" aria-hidden="true">
Expand Down Expand Up @@ -65,7 +64,6 @@
</div>
</div>
</form>
{*Modal mg-modal-edit*}
<form data-toggle="validator" role="form" id="mg-form-entity-edit">
<div class="modal fade bs-example-modal-lg" id="mg-modal-edit-entity" data-modal-load="detail"
tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
Expand Down Expand Up @@ -112,7 +110,6 @@
</div>
</div>
</form>
{*Modal mg-modal-delete-account*}
<div class="modal fade bs-example-modal-lg" id="mg-modal-delete-entity" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
Expand Down
2 changes: 0 additions & 2 deletions addons/vultr/templates/clientarea/default/pages/home/home.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
</div>
</div>
</form>
{*Modal mg-modal-delete-account*}
<div class="modal fade bs-example-modal-lg" id="mg-modal-delete-entity" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
Expand Down Expand Up @@ -163,7 +162,6 @@
</div>
</div>
</div>
{*mg-modal-details*}
<div class="modal fade bs-example-modal-lg" id="mg-modal-details" data-modal-load="note" tabindex="-1"
role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
</button>
</div>
{/if}
{*Modal mg-modal-new-entity*}
<form data-toggle="validator" role="form" id="mg-form-add-new">
<div class="modal fade bs-example-modal-lg" id="mg-modal-add-new" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel" aria-hidden="true">
Expand Down Expand Up @@ -70,7 +69,6 @@
</div>
</div>
</form>
{*Modal mg-modal-edit*}
<form data-toggle="validator" role="form" id="mg-form-entity-edit">
<div class="modal fade bs-example-modal-lg" id="mg-modal-edit-entity" data-modal-load="detail"
tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
Expand Down Expand Up @@ -117,7 +115,6 @@
</div>
</div>
</form>
{*Modal mg-modal-delete-account*}
<div class="modal fade bs-example-modal-lg" id="mg-modal-delete-entity" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
Expand Down Expand Up @@ -165,7 +162,6 @@
</div>
</div>
</div>
{*mg-modal-details*}
<div class="modal fade bs-example-modal-lg" id="mg-modal-details" data-modal-load="note" tabindex="-1"
role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
Expand Down

0 comments on commit 3db2b2c

Please sign in to comment.