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 | |
include 'init.php'; | |
if (!logged_in()){header('Location: index.php'); exit();} | |
include 'template/header.php'; | |
?> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript" ></script> | |
<script src="http://cdn.jquerytools.org/1.2.6/jquery.tools.min.js"></script> | |
<style type="text/css" media="screen"> | |
.msg{ background:#aaa;padding:.2em; border-bottom:1px #99FF99 solid} |
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
FROM php:7.1-fpm | |
LABEL maintainer="Paul Redmond <[email protected]>" | |
# Install application dependencies | |
RUN curl --silent --show-error --fail --location \ | |
--header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" -o - \ | |
"https://caddyserver.com/download/linux/amd64?plugins=http.expires,http.realip&license=personal" \ | |
| tar --no-same-owner -C /usr/bin/ -xz caddy \ | |
&& chmod 0755 /usr/bin/caddy \ | |
&& /usr/bin/caddy -version \ |
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
version: '3' | |
services: | |
app: | |
build: | |
context: . | |
dockerfile: .docker/Dockerfile | |
image: laravel-docker | |
ports: | |
- 8080:80 | |
volumes: |
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\Http\Controllers; | |
use Alert; | |
use App\Http\Requests; | |
use Artisan; | |
use Log; | |
use Storage; |
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
public function get_check($queue_id = 0) | |
{ | |
$options = array( | |
'queue_id' => $queue_id | |
); | |
$status = Polling::forResult(function($options) { | |
$queue = Queue::find($options['queue_id']); | |
has_access($queue); |
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
var Checkin = (function(window, document, undefined) { | |
var s = { | |
contact: {} | |
}, | |
showing = false; | |
function init() { | |
bindVerify(); | |
bindDeny(); | |
waitForMsg(); |