95 lines
3.7 KiB
PHP
95 lines
3.7 KiB
PHP
|
|
<!-- Main content -->
|
|
<div class="content-wrapper">
|
|
|
|
<!-- Dashboard content -->
|
|
<div class="row">
|
|
<div class="col-lg-4">
|
|
|
|
<!-- Marketing campaigns -->
|
|
<div class="panel panel-flat">
|
|
<div class="panel-heading">
|
|
<h6 class="panel-title"> <b>What can i do with WrenchBoard? </b></h6>
|
|
<div class="heading-elements">
|
|
</div>
|
|
</div>
|
|
<form method="post" name="postfaq" action="/bkouser/wrbwhy">
|
|
<input type="hidden" name="link_id" value="">
|
|
|
|
<div class="table-responsive">
|
|
<table class='table table-sm table-hover table-bordered table-condensed'>
|
|
<tr>
|
|
<td style='width:100px;'>Flag[numbers]</td><td><input type="text" class="form-control" id="why_flag" name="why_flag" value="<?php echo $why_flag; ?>"></td></tr>
|
|
<td style='width:100px;'>Title</td><td><input type="text" class="form-control" id="why_title" name="why_title" value="<?php echo $why_title; ?>" maxlength="50"></td></tr>
|
|
<tr> <td colspan='2'>Detail<br><textarea class="form-control col-xs-12" rows="15" id="why_detail" name="why_detail"> <?php echo $why_detail; ?></textarea> </td>
|
|
</tr>
|
|
<tr><td></td><td><input type='submit' class='btn btn-success btn-sm' name='save_why' value='Save'></td></tr>
|
|
</table>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<!-- /marketing campaigns -->
|
|
</div>
|
|
|
|
<div class="col-lg-8">
|
|
<!-- Daily sales -->
|
|
<div class="panel panel-flat">
|
|
<div class="panel-heading">
|
|
<h6 class="panel-title"><b>What can i do with WrenchBoard?</b></h6>
|
|
<div class="heading-elements">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
<div id="sales-heatmap"></div>
|
|
</div>
|
|
|
|
<div class="table-responsive">
|
|
<?php echo $why_table; ?>
|
|
</div>
|
|
</div>
|
|
<!-- /daily sales -->
|
|
</div>
|
|
</div>
|
|
<!-- /dashboard content -->
|
|
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
function deleteFaq(link_id) {
|
|
|
|
if (confirm("Are you sure you want to delete this wrenchboard why?")) {
|
|
// do something
|
|
} else {
|
|
return false;
|
|
}
|
|
|
|
//$('#sdd'+link_id).html('Processing...');
|
|
$('#dacc' + link_id).prop('disabled', true);
|
|
$.ajax({
|
|
url: "/bkouser/deletewhy?proc=SEL&why_id=" + link_id
|
|
}).done(function (data) {
|
|
$('#subdel_' + link_id).html(data);
|
|
$('#dacc' + link_id).prop('disabled', false);
|
|
});
|
|
return false;
|
|
}
|
|
// -->
|
|
</script>
|
|
|
|
|
|
|
|
<script>
|
|
$('.textarea').wysihtml5({
|
|
"font-styles": true, //Font styling, e.g. h1, h2, etc. Default true
|
|
"emphasis": true, //Italics, bold, etc. Default true
|
|
"lists": true, //(Un)ordered lists, e.g. Bullets, Numbers. Default true
|
|
"html": true, //Button which allows you to edit the generated HTML. Default false
|
|
"link": true, //Button to insert a link. Default true
|
|
"image": true, //Button to insert an image. Default true,
|
|
"color": true, //Button to change color of font
|
|
"size": 'xs', // buttons size
|
|
});
|
|
</script>
|