Skip to content

Commit

Permalink
buttons update
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jul 9, 2015
1 parent 57db16a commit 98504b1
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions modules/sms/html/sms_scan.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,22 @@
exit();
}
?>
<table><tr>
<form action="" method="post">
<td><button type="submit" name="scan" value="Scan" class="btn btn-primary">Search GSM modem</button </td>
</form></tr></table>
<button type="submit" name="scan" value="Scan" class="btn btn-primary">Search GSM modem</button>
</form>
<script type="text/javascript">
$("button").click(function() {
var $btn = $(this);
$btn.button('loading');
function submitform()
{
$btn.button('reset');
}
});
</script>



<?php
$db = new PDO('sqlite:dbf/nettemp.db');
$sth = $db->prepare("SELECT * FROM sms_settings where id='2'");
Expand All @@ -47,10 +59,6 @@
}

if (!empty($name)) { ?>




<table><tr><td>
<form action="" method="post">
<select name="sd" onchange="this.form.submit()" >
Expand Down

0 comments on commit 98504b1

Please sign in to comment.