Example #1
0
$htm[] = '<div class="form-group">';
$htm[] = '<label for="inputEmail3" class="col-sm-2 control-label">Updated</label>';
$htm[] = '<div class="col-xs-5">';
$htm[] = '<input type="text" class="form-control" id="category" placeholder="Category" value="' . $date . '" readonly>';
$htm[] = '</div>';
$htm[] = '<div class="col-xs-5">';
$htm[] = '<input type="text" class="form-control" id="category" placeholder="Category" value="' . $r['user_modified'] . '" readonly>';
$htm[] = '</div></div>';
$htm[] = '</div>';
$btn = [];
$btn[] = "<a href=index.php class='btn btn-default'><i class='fa fa-arrow-left'></i> Back</a>";
$btn[] = "<a href=#del id=delete class='btn btn-default pull-right' title='Delete'><i class='fa fa-trash-o'></i></a>";
$box = new LTE\Box();
$box->id("boxNews");
$box->title($r['title']);
$box->icon("fa fa-list");
$box->body($htm);
$box->footer($btn);
echo $box;
?>
<script>
$(function(){
	$('#delete').click(function(){
		if(!confirm("Delete this news ?"))return false;
		alert("No");
	});
});
</script>
<?php 
$admin->footer("Vorc backup");
$admin->end();
Example #2
0
	<?php 
//include "box_filter.php";
include "box_track.php";
include "box_preview.php";
?>
	</div>

</div>

<div class='row'>
	<div class='col-sm-12'>
	<?php 
include "box_canvas.php";
?>
	</div>
</div>

<script type="text/javascript" src="js/stream.js"></script>
<script type="text/javascript" src="js/midifile.js"></script>
<script type="text/javascript" src="js/replayer.js"></script>
<script type="text/javascript" src="js/synth.js"></script>
<script type="text/javascript" src="js/audio.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/canvas.js"></script>

<?php 
$modal = new LTE\Modal();
$modal->title("Browse");
echo $modal;
$admin->footer("<a href='https://github.com/gasman/jasmid'>https://github.com/gasman/jasmid</a>");
$admin->end();
Example #3
0
require __DIR__ . "/../../vendor/autoload.php";
$REMOTE_ADDR = $_SERVER['REMOTE_ADDR'];
$IP = new IP\IP();
$admin = new LTE\AdminLte2();
$admin->config()->title = $REMOTE_ADDR;
//menu override//
$admin->config()->menu = $IP->menuleft();
echo $admin;
//
?>

<section class="content-header">
  <h1>Ports</h1>
</section>

<section class="content">

	<div class="col-md-12">
	
	<?php 
include "box_ports.php";
?>
	</div>

</section>

<script src="js/ports.js"></script>

<?php 
$admin->footer();
$admin->end();
}
?>
<section class="content-header">
  <h1>Search</h1>
</section>

<section class="content">
	
    <div class="row">
        <div class='col-md-12'>
      	<?php 
// Search form //
include "box_search.php";
// search results //
$box = new LTE\Box();
$box->id("boxResult");
$box->title("Results");
$box->icon("fa fa-list");
$box->loading(true);
echo $box;
?>
        </div>
    </div><!-- /.row -->                    

</section>

<script src='js/search.js'></script>

<?php 
$admin->footer("Expense");
$admin->end();
Example #5
0
	<div class='col-sm-6'>
	<?php 
include "box_outputs.php";
?>
	</div>
	
</div>

<div class='row'>

	<div class='col-sm-6'>
	<?php 
include "box_receive.php";
?>
	</div>

	<div class='col-sm-6'>
	<?php 
include "box_send.php";
?>
	</div>

</div>


<script type="text/javascript" src='js/sysex.js'></script>

<?php 
$admin->footer("Midimon - Sysex");
$admin->end();
Example #6
0
<?php

// MIDI
header('Content-Type: text/html; charset=utf-8');
session_start();
require __DIR__ . "/../../vendor/autoload.php";
$admin = new LTE\AdminLte2();
$admin->title("MIDI Sequencer");
echo $admin;
?>
<section class="content-header">
  <h1><i class='fa fa-keyboard-o'></i> MIDI Sequencer
  <small></small>
  </h1>
</section>


<section class="content">


<script type="text/javascript" src='js/keyboard.js'></script>

<?php 
$admin->footer("Midi - Sequencer");
$admin->end();
Example #7
0
    })

    dropZone.ondrop = function(e) {
        e.preventDefault();
        this.className = 'upload-drop-zone';

        //startUpload(e.dataTransfer.files)
        console.log("droped !",e.dataTransfer.files);
    }

    dropZone.ondragover = function() {
        this.className = 'upload-drop-zone drop';
        return false;
    }

    dropZone.ondragleave = function() {
        this.className = 'upload-drop-zone';
        return false;
    }


});




</script>

<?php 
$admin->footer("<a href='http://jambonbill.org'>jambonbill.org</a>");
echo $admin->end();
Example #8
0
?>
	</div>

	
	
</div>

<div class='row'>
	


	<div class='col-sm-6'>
	<?php 
include "box_keymap.php";
?>
	</div>

	<div class='col-sm-6'>
	<?php 
include "box_messages.php";
?>
	</div>

</div>


<script type="text/javascript" src='js/keyboard.js'></script>

<?php 
$admin->footer("Midimon - keyboard");
$admin->end();
  	<small><?php 
echo number_format($count);
?>
 records</small>
  </h1>
</section>


<div class="content">
    
    <div class="col-md-6">
	<?php 
include "box_today.php";
include "box_stats.php";
?>
	</div><!-- /.row -->

	<div class="col-md-6">
    <?php 
include "box_lastExpenses.php";
//include "box_config.php";
?>
    </div>
  
</div>

<script type="text/javascript" src='js/home.js'></script>

<?php 
$admin->footer("Home");
$admin->end();
Example #10
0
It's necessary to use a ScriptProcessor in order to not miss any clipping samples - otherwise you could implement this using a RealtimeAnalyser to only grab samples when necessary.</p>
		
		<canvas id="meter" width="500" height="50"></canvas>

		<p>The usage is quite easy:
		<pre>var meter = createAudioMeter(audioContext,clipLevel,averaging,clipLag);

audioContext: the AudioContext you're using.
clipLevel: the level (0 to 1) that you would consider "clipping".  Defaults to 0.98.
averaging: how "smoothed" you would like the meter to be over time.  
Should be between 0 and less than 1.  Defaults to 0.95.
clipLag: how long the "clipping" indicator to show after clipping has occured, in ms.  
Defaults to 750ms.

meter.checkClipping();

returns true if the node has clipped in the last clipLag milliseconds.

meter.shutdown();//used to destroy the node 
				// (it's important to disconnect and remove the event handler
				// for any ScriptProcessor).
</pre>

<script src='js/volume-meter.js' charset="utf-8"></script>
<script src='js/main.js' charset="utf-8"></script>

<?php 
include "box_volume.php";
//include "box_settings.php";
$admin->footer('Check out the <a href="http://github.com/cwilso/volume-meter/">source on Github');
$admin->end();
    header("location:../login/logout.php");
    die("Error:!user_id");
}
?>
<section class="content-header">
  <h1><i class='fa fa-upload'></i> Import/Export</h1>
</section>


<section class="content">
    
    <div class="col-md-6">
	<?php 
include "box_googleDriveCsv.php";
include "box_upload.php";
?>
	</div><!-- /.row -->
    
    <div class="col-md-6">
	<?php 
include "box_export.php";
?>
	</div>
  
</section>

<script src='js/import.js'></script>

<?php 
$admin->footer("Import/Export");
$admin->end();
    $htm[]='</div>';
*/
$box->body($htm);
$btn = [];
$btn[] = "<a href=#save id=btnSave class='btn btn-primary'><i class='fa fa-save'></i> Save</a>";
//$btn[]="<a href=#save class='btn btn-default pull-right'><i class='fa fa-times'></i> Clear</a>";
$box->footer($btn);
echo $box;
?>
  	</div>

	<div class='col-md-6'>
	<?php 
$box = new LTE\Box();
$box->id("boxDay");
$box->title("Same day");
$box->loading(true);
echo $box;
?>
</div>



  </div><!-- /.row -->                    
</section>

<script src='js/new.js'></script>

<?php 
$admin->footer("New");
$admin->end();
<section class="content-header">
  <h1><i class='fa fa-edit'></i> Edit</h1>
</section>


<section class="content">
    
    <div class="col-md-6">
	<?php 
include "box_edit.php";
include "box_notes.php";
?>
	</div><!-- /.row -->
	<div class="col-md-6">
	<?php 
include "box_sameday.php";
?>
	</div><!-- /.row -->

  
</section>

<script type="text/javascript" src='js/edit.js'></script>
<style>
.selected{
	font-weight:bold;
}
</style>
<?php 
$admin->footer("Edit expense");
$admin->end();
Example #14
0
</section>

<section class="content">

<div class='row'>
	<div class='col-sm-6'>
	<?php 
include "box_inputs.php";
?>
	</div>

	<div class='col-sm-6'>
	<?php 
include "box_filter.php";
?>
	</div>

</div>

<div class='row'>
	<div class='col-sm-12'>
	<?php 
include "box_logs.php";
?>
	</div>
</div>

<script type="text/javascript" src='js/monitor.js'></script>
<?php 
$admin->footer("Midimon");
$admin->end();