Last active
September 20, 2017 14:21
-
-
Save alnutile/f6f9d49efc39fd431cca to your computer and use it in GitHub Desktop.
Theme files
This file contains 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 class="col-lg-10 col-lg-offset-1"> | |
<div class="panel panel-default"> | |
<div class="panel-heading"> | |
Profile Settings | |
</div> | |
<div class="panel-body"> | |
<form method="POST" action="/profile/edit"> | |
{!! csrf_field() !!} | |
<input type="hidden" name="token" value="<?php csrf_token(); ?>"> | |
<div class="form-group"> | |
<label for="email">Email address</label> | |
<input type="email" class="form-control" id="email" name="email" value="{{ $user->email }}" placeholder="Enter email"> | |
</div> | |
<div class="form-group"> | |
<label for="password">Password</label> | |
<input type="password" class="form-control" id="password" name="password" placeholder="new password"> | |
</div> | |
<div class="form-group"> | |
<label for="password">Confirm Password</label> | |
<input type="password" class="form-control" id="password_confirmation" name="password_confirmation" placeholder="confirm password"> | |
</div> | |
<button type="submit" class="btn btn-warning"> | |
Save new password | |
</button> | |
</form> | |
</div> | |
</div> | |
</div> |
This file contains 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 class="row clearfix"> | |
<div class="col-md-4 column"> | |
</div> | |
<div class="col-md-4 column"> | |
@if($errors->has()) | |
@foreach ($errors->all() as $error) | |
<div class="alert alert-warning"> | |
{{ $error }} | |
</div> | |
@endforeach | |
@endif | |
@if(Session::has('message')) | |
<div class="alert alert-info">{{ Session::get('message') }}</div> | |
@endif | |
@if (session('status')) | |
<div class="alert alert-success"> | |
{{ session('status') }} | |
</div> | |
@endif | |
</div> | |
<div class="col-md-4 column"> | |
</div> | |
</div> |
This file contains 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 class="row"> | |
<div class="col-lg-10 col-lg-offset-1"> | |
<div class="panel panel-default"> | |
<div class="panel-heading"> | |
Past Payments | |
</div> | |
<div class="panel-body"> | |
<table class="table"> | |
<thead> | |
<tr> | |
<th>Date</th> | |
<th>Amount</th> | |
<th>Invoice</th> | |
</tr> | |
</thead> | |
@foreach ($invoices as $invoice) | |
<tr> | |
<td>{{ $invoice->dateString() }}</td> | |
<td>{{ $invoice->dollars() }}</td> | |
<td> | |
<a href="/profile/invoice/{{ $invoice->id }}">Download</a></td> | |
</tr> | |
@endforeach | |
</table> | |
</div> | |
</div> | |
</div> | |
</div> |
This file contains 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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<link rel="shortcut icon" href="/fav.png"> | |
<title>DevelopersHangout</title> | |
<!-- Bootstrap core CSS --> | |
<link href="/css/bootstrap-dark.css" rel="stylesheet"> | |
<link href="/css/app.css" rel="stylesheet"> | |
<![endif]--> | |
</head> | |
<body> | |
@include('nav') | |
<div class="container"> | |
@yield('content') | |
</div> | |
@include('footer') | |
</body> | |
</html> |
This file contains 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 | |
//app/Plans.php | |
namespace App; | |
class Plans { | |
public static $ONE_SHOW_A_MONTH = '1SHOW'; | |
public static $TWO_SHOWS_A_MONTH = '2SHOWS'; | |
public static $FAN = 'FAN'; | |
} |
This file contains 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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Invoice</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style> | |
body { | |
background: #fff; | |
background-image: none; | |
font-size: 12px; | |
} | |
address{ | |
margin-top:15px; | |
} | |
h2 { | |
font-size:28px; | |
color:#cccccc; | |
} | |
.container { | |
padding-top:30px; | |
} | |
.invoice-head td { | |
padding: 0 8px; | |
} | |
.invoice-body{ | |
background-color:transparent; | |
} | |
.logo { | |
padding-bottom: 10px; | |
} | |
.table th { | |
vertical-align: bottom; | |
font-weight: bold; | |
padding: 8px; | |
line-height: 20px; | |
text-align: left; | |
} | |
.table td { | |
padding: 8px; | |
line-height: 20px; | |
text-align: left; | |
vertical-align: top; | |
border-top: 1px solid #dddddd; | |
} | |
.well { | |
margin-top: 15px; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"> | |
<table style="margin-left: auto; margin-right: auto" width="550"> | |
<tr> | |
<td width="160"> | |
| |
</td> | |
<!-- Organization Name / Image --> | |
<td align="right"> | |
<strong>{{ $header or $vendor }}</strong> | |
</td> | |
</tr> | |
<tr valign="top"> | |
<td style="font-size:28px;color:#cccccc;"> | |
Receipt | |
</td> | |
<!-- Organization Name / Date --> | |
<td> | |
<br><br> | |
<strong>To:</strong> {{ $billable->getBillableName() }} | |
<br> | |
<strong>Date:</strong> {{ $invoice->date()->toFormattedDateString() }} | |
</td> | |
</tr> | |
<tr valign="top"> | |
<!-- Organization Details --> | |
<td style="font-size:9px;"> | |
{{ $vendor }}<br> | |
@if (isset($street)) | |
{{ $street }}<br> | |
@endif | |
@if (isset($location)) | |
{{ $location }}<br> | |
@endif | |
@if (isset($phone)) | |
<stro ng>T</strong> {{ $phone }}<br> | |
@endif | |
@if (isset($url)) | |
<a href="{{ $url }}">{{ $url }}</a> | |
@endif | |
</td> | |
<td> | |
<!-- Invoice Info --> | |
<p> | |
<strong>Product:</strong> {{ $product }}<br> | |
<strong>Invoice Number:</strong> {{ $invoice->id }}<br> | |
</p> | |
<!-- Extra / VAT Information --> | |
@if (isset($vat)) | |
<p> | |
{{ $vat }} | |
</p> | |
@endif | |
<br><br> | |
<!-- Invoice Table --> | |
<table width="100%" class="table" border="0"> | |
<tr> | |
<th align="left">Description</th> | |
<th align="right">Date</th> | |
<th align="right">Amount</th> | |
</tr> | |
<!-- Display The Invoice Items --> | |
@foreach ($invoice->invoiceItems() as $item) | |
<tr> | |
<td colspan="2">{{ $item->description }}</td> | |
<td>{{ $item->dollars() }}</td> | |
</tr> | |
@endforeach | |
<!-- Display The Subscriptions --> | |
@foreach ($invoice->subscriptions() as $subscription) | |
<tr> | |
<td>Subscription ({{ $subscription->quantity }})</td> | |
<td>{{ $subscription->startDateString() }} - {{ $subscription->endDateString() }}</td> | |
<td>{{ $subscription->dollars() }}</td> | |
</tr> | |
@endforeach | |
<!-- Display The Discount --> | |
@if ($invoice->hasDiscount()) | |
<tr> | |
@if ($invoice->discountIsPercentage()) | |
<td>{{ $invoice->coupon() }} ({{ $invoice->percentOff() }}% Off)</td> | |
@else | |
<td>{{ $invoice->coupon() }} (${{ $invoice->amountOff() }} Off)</td> | |
@endif | |
<td> </td> | |
<td>-${{ $invoice->discount() }}</td> | |
</tr> | |
@endif | |
<!-- Display The Final Total --> | |
<tr style="border-top:2px solid #000;"> | |
<td> </td> | |
<td style="text-align: right;"><strong>Total</strong></td> | |
<td><strong>{{ $invoice->dollars() }}</strong></td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
</div> | |
</body> | |
</html> |
This file contains 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
@if($user->subscribed()) | |
<div class="row"> | |
<div class="col-lg-10 col-lg-offset-1"> | |
<div class="panel panel-default"> | |
<div class="panel-heading"> | |
Details | |
</div> | |
<div class="panel-body"> | |
@if($user->cancelled()) | |
<h4>Expires: | |
{{ | |
$user->subscription()->getSubscriptionEndDate()->toFormattedDateString() | |
}} ( {{ $user->subscription()->getSubscriptionEndDate()->diffInDays(\Carbon\Carbon::now()) }} days from now ) | |
</h4> | |
<a href="/sponsor">Take a moment to re-subscribe?</a> | |
@else | |
<h4>Auto Renews: | |
{{ | |
$user->subscription()->getSubscriptionEndDate()->toFormattedDateString() | |
}} ( {{ $user->subscription()->getSubscriptionEndDate()->diffInDays(\Carbon\Carbon::now()) }} days from now ) | |
</h4> | |
<a href="/profile/cancel"><i class="glyphicon glyphicon-adjust"></i> Cancel</a> | |
@endif | |
</div> | |
</div> | |
</div> | |
</div> | |
@else | |
<a href="/sponsor">Take a moment to re-subscribe?</a> | |
@endif | |
This file contains 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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<link rel="shortcut icon" href="/favicon.ico"> | |
<title>Starter Template for Bootstrap</title> | |
<!-- Bootstrap core CSS --> | |
<link href="/css/pricing-tables.css" rel="stylesheet"> | |
<link href="/css/bootstrap-dark.css" rel="stylesheet"> | |
<![endif]--> | |
</head> | |
<body> | |
@include('nav') | |
<div class="container"> | |
@include('errors') | |
<div class="pricing-tables"> | |
<div class="row"> | |
<div class="col-sm-4 col-md-4"> | |
<div class="plan"> | |
<div class="head"> | |
<h2>2 Shows a Month</h2> | |
</div> | |
<ul class="item-list"> | |
<li>2 min segment</li> | |
<li>We talk from experience</li> | |
<li>Happens at the start of the show</li> | |
</ul> | |
<div class="price"> | |
<h3><span class="symbol">$</span>400</h3> | |
<h4>per month</h4> | |
</div> | |
<form action="/sponsor/2show" method="POST"> | |
<script | |
src="https://checkout.stripe.com/checkout.js" class="stripe-button" | |
data-key="{{ $public_key }}" | |
data-amount="40000" | |
data-name="Sponsor Shows" | |
data-description="2 Shows a Month ($200.00)" | |
data-image="/128x128.png"> | |
</script> | |
</form> | |
</div> | |
</div> | |
<div class="col-sm-4 col-md-4 "> | |
<div class="plan"> | |
<div class="head"> | |
<h2>1 Show a Month</h2> | |
</div> | |
<ul class="item-list"> | |
<li>2 min segment</li> | |
<li>We talk from experience</li> | |
<li>Happens at the start of the show</li> | |
</ul> | |
<div class="price"> | |
<h3><span class="symbol">$</span>200</h3> | |
<h4>per month</h4> | |
</div> | |
<form action="/sponsor/1show" method="POST"> | |
<script | |
src="https://checkout.stripe.com/checkout.js" class="stripe-button" | |
data-key="{{ $public_key }}" | |
data-amount="20000" | |
data-name="Sponsor Shows" | |
data-description="1 Show a Month ($200.00)" | |
data-image="/128x128.png"> | |
</script> | |
</form> | |
</div> | |
</div> | |
<div class="col-sm-4 col-md-4 "> | |
<div class="plan"> | |
<div class="head"> | |
<h2>Fan of the PodCast</h2> | |
</div> | |
<ul class="item-list"> | |
<li>0 min segment :)</li> | |
<li>We still talk from experience</li> | |
<li>Happens through out the show</li> | |
</ul> | |
<div class="price"> | |
<h3><span class="symbol">$</span>1</h3> | |
<h4>per month</h4> | |
</div> | |
<form action="/sponsor/fan" method="POST"> | |
<script | |
src="https://checkout.stripe.com/checkout.js" class="stripe-button" | |
data-key="{{ $public_key }}" | |
data-amount="100" | |
data-name="Fan" | |
data-description="Fan ($1.00)" | |
data-image="/128x128.png"> | |
</script> | |
</form> | |
</div> | |
</div> | |
</div> <!-- row--> | |
</div> <!-- pricing-tables --> | |
</div><!-- /.container --> | |
@include('footer') | |
</body> | |
</html> |
This file contains 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
@extends('main') | |
@include('errors') | |
<div class="row clearfix"> | |
<div class="col-md-10 col-lg-offset-1 column"> | |
<div class="tabbable" id="tabs-704627"> | |
<ul class="nav nav-tabs"> | |
<li class="active"> | |
<a href="#panel-468360" data-toggle="tab"> | |
<i class="glyphicon glyphicon-heart"></i> Subscription Info</a> | |
</li> | |
<li> | |
<a href="#panel-603341" data-toggle="tab"> | |
<i class="glyphicon glyphicon-user"></i> Email/Password</a> | |
</li> | |
</ul> | |
<div class="tab-content"> | |
<div class="tab-pane fade in active" id="panel-468360"> | |
<br> | |
<br> | |
@include('stripe.status') | |
@include('stripe.history') | |
</div> | |
<div class="tab-pane fade" id="panel-603341"> | |
<div class="row"> | |
<br> | |
<br> | |
@include('profile.edit') | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment