This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>Datatables</title> | |
| <script type="text/javascript" src="http://www.codecaven.co.uk/js/jquery.js"></script> | |
| <script type="text/javascript" src="http://www.codecaven.co.uk/js/jquery.snippet.min.js"></script> | |
| <style type="text/css" title="currentStyle"> | |
| @import "http://www.codecaven.co.uk/media/css/demo_page.css"; | |
| @import "http://www.codecaven.co.uk/media/css/demo_table.css"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no"/> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
| <title>Google Maps Postcode To Destination Working Example</title> | |
| <script src="http://code.jquery.com/jquery-latest.js"></script> | |
| <link href="http://code.google.com/apis/maps/documentation/javascript/examples/standard.css" rel="stylesheet" type="text/css" /> | |
| <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
| <script type="text/javascript"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no"/> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
| <title>Google Maps With Postcode To Postcode Directions</title> | |
| <script src="http://code.jquery.com/jquery-latest.js"></script> | |
| <link href="http://code.google.com/apis/maps/documentation/javascript/examples/standard.css" rel="stylesheet" type="text/css" /> | |
| <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
| <script type="text/javascript"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="content"> | |
| <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> | |
| <label>Target URL</label><input type="text" name="url" class="url" value="http://www." /><br/> | |
| <label>Your URL </label> <input type="thereurl" name="thereurl" class="url" value="http://www."/> | |
| <input type="hidden" name="secureurl" value="1"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="js/ko.js" type="text/javascript"></script> | |
| <script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
| <style type='text/css'> | |
| body { font-family: arial; font-size: 14px; } | |
| .liveExample { padding: 1em; background-color: #EEEEDD; border: 1px solid #CCC; max-width: 655px; } | |
| .liveExample input { font-family: Arial; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(function() { | |
| Dropzone.autoDiscover = false; | |
| $("form#dropzone").dropzone({ | |
| autoProcessQueue: false, | |
| maxFiles: 1, | |
| init: function () { | |
| var dropzone = this; | |
| $('#uploadSubmit').on('click', function (e) { | |
| e.preventDefault(); | |
| e.stopPropagation(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).on("click", ".open-document-modal", function () { | |
| var document_id = $(this).data('document_id'); | |
| $.post('/details',{ document_id: document_id}, function(data) { | |
| $('#documentModal').load('/adocument-modal', { data: data }); | |
| }) | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Header add Access-Control-Allow-Origin "*" | |
| Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type, Authorization" | |
| Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App; | |
| use Jenssegers\Mongodb\Eloquent\Model as Eloquent; | |
| //use Illuminate\Contracts\Auth\Authenticatable; | |
| use Illuminate\Auth\Authenticatable as AuthenticableTrait; | |
| use Illuminate\Auth\Passwords\CanResetPassword; | |
| use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; | |
| use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| html | |
| <p class="input-group"> | |
| <input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="latestRevision(dValue).date_returned" close-text="Close" datepicker-options="datePicker.options" is-open="datePicker.instances['returned'+dValue.document_id]" /> | |
| <span class="input-group-btn"> | |
| <button type="button" class="btn btn-sm btn-default no-border" datepicker-options="datePicker.options" close-text="Close" ng-click="datePicker.open($event, 'returned'+dValue.document_id)"><i class="fa fa-calendar"></i></button> | |
| </span> | |
| </p> | |
| js | |
| $scope.datePicker = (function() { |