2015-03-16 22:45:25 +01:00
|
|
|
@extends('master')
|
|
|
|
|
|
|
|
@section('head')
|
2016-01-07 08:08:30 +01:00
|
|
|
@if (!empty($clientFontUrl))
|
|
|
|
<link href="{!! $clientFontUrl !!}" rel="stylesheet" type="text/css">
|
|
|
|
@else
|
|
|
|
<link href="//fonts.googleapis.com/css?family=Roboto:400,700,900,100" rel="stylesheet" type="text/css">
|
|
|
|
@endif
|
2015-10-13 17:44:01 +02:00
|
|
|
<link href="{{ asset('css/built.public.css') }}?no_cache={{ NINJA_VERSION }}" rel="stylesheet" type="text/css"/>
|
2016-04-29 23:50:21 +02:00
|
|
|
<style type="text/css">{!! isset($account)?$account->clientViewCSS():'' !!}</style>
|
2015-03-16 22:45:25 +01:00
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('body')
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<div id="fb-root"></div>
|
|
|
|
<script>(function(d, s, id) {
|
|
|
|
var js, fjs = d.getElementsByTagName(s)[0];
|
|
|
|
if (d.getElementById(id)) return;
|
|
|
|
js = d.createElement(s); js.id = id;
|
|
|
|
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=635126583203143";
|
|
|
|
fjs.parentNode.insertBefore(js, fjs);
|
|
|
|
}(document, 'script', 'facebook-jssdk'));</script>
|
|
|
|
-->
|
|
|
|
|
2015-03-30 21:45:10 +02:00
|
|
|
{!! Form::open(array('url' => 'get_started', 'id' => 'startForm')) !!}
|
|
|
|
{!! Form::hidden('guest_key') !!}
|
|
|
|
{!! Form::hidden('sign_up', Input::get('sign_up')) !!}
|
2015-08-12 21:16:02 +02:00
|
|
|
{!! Form::hidden('redirect_to', Input::get('redirect_to')) !!}
|
2015-03-30 21:45:10 +02:00
|
|
|
{!! Form::close() !!}
|
2015-03-16 22:45:25 +01:00
|
|
|
|
|
|
|
<script>
|
|
|
|
if (isStorageSupported()) {
|
|
|
|
$('[name="guest_key"]').val(localStorage.getItem('guest_key'));
|
|
|
|
}
|
|
|
|
|
|
|
|
function isStorageSupported() {
|
|
|
|
if ('localStorage' in window && window['localStorage'] !== null) {
|
|
|
|
var storage = window.localStorage;
|
|
|
|
} else {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
var testKey = 'test';
|
|
|
|
try {
|
|
|
|
storage.setItem(testKey, '1');
|
|
|
|
storage.removeItem(testKey);
|
|
|
|
return true;
|
|
|
|
} catch (error) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function getStarted() {
|
|
|
|
$('#startForm').submit();
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<nav class="navbar navbar-top navbar-inverse">
|
|
|
|
<div class="container">
|
|
|
|
<div class="navbar-header">
|
|
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</button>
|
2016-04-29 23:50:21 +02:00
|
|
|
@if (!isset($account) || !$account->hasFeature(FEATURE_WHITE_LABEL))
|
2015-03-16 22:45:25 +01:00
|
|
|
{{-- Per our license, please do not remove or modify this link. --}}
|
2016-03-21 21:34:30 +01:00
|
|
|
<a class="navbar-brand" href="{{ URL::to(NINJA_WEB_URL) }}" target="_blank"><img src="{{ asset('images/invoiceninja-logo.png') }}" style="height:20px"></a>
|
2016-06-20 16:14:43 +02:00
|
|
|
@endif
|
2015-03-16 22:45:25 +01:00
|
|
|
</div>
|
|
|
|
<div id="navbar" class="collapse navbar-collapse">
|
2016-04-29 23:50:21 +02:00
|
|
|
@if (!isset($account) || $account->isNinjaAccount() || $account->enable_client_portal)
|
2015-03-16 22:45:25 +01:00
|
|
|
<ul class="nav navbar-nav navbar-right">
|
2016-04-29 23:50:21 +02:00
|
|
|
@if (!isset($account) || $account->enable_client_portal_dashboard)
|
2016-03-01 08:36:37 +01:00
|
|
|
<li {{ Request::is('*client/dashboard') ? 'class="active"' : '' }}>
|
|
|
|
{!! link_to('/client/dashboard', trans('texts.dashboard') ) !!}
|
|
|
|
</li>
|
|
|
|
@endif
|
2015-03-16 22:45:25 +01:00
|
|
|
<li {{ Request::is('*client/quotes') ? 'class="active"' : '' }}>
|
2015-04-06 08:58:47 +02:00
|
|
|
{!! link_to('/client/quotes', trans('texts.quotes') ) !!}
|
2015-03-16 22:45:25 +01:00
|
|
|
</li>
|
|
|
|
<li {{ Request::is('*client/invoices') ? 'class="active"' : '' }}>
|
2015-04-06 08:58:47 +02:00
|
|
|
{!! link_to('/client/invoices', trans('texts.invoices') ) !!}
|
2015-03-16 22:45:25 +01:00
|
|
|
</li>
|
2016-04-30 23:55:29 +02:00
|
|
|
@if (isset($account) && $account->hasFeature(FEATURE_DOCUMENTS))
|
2016-03-24 16:58:30 +01:00
|
|
|
<li {{ Request::is('*client/documents') ? 'class="active"' : '' }}>
|
|
|
|
{!! link_to('/client/documents', trans('texts.documents') ) !!}
|
|
|
|
</li>
|
|
|
|
@endif
|
2016-05-06 17:06:01 +02:00
|
|
|
@if (isset($account) && $account->getTokenGatewayId() && !$account->enable_client_portal_dashboard)
|
2016-06-20 16:14:43 +02:00
|
|
|
<li {{ Request::is('*client/payment_methods') ? 'class="active"' : '' }}>
|
|
|
|
{!! link_to('/client/payment_methods', trans('texts.payment_methods') ) !!}
|
2016-04-29 23:50:21 +02:00
|
|
|
</li>
|
2016-05-06 17:06:01 +02:00
|
|
|
@endif
|
2015-03-16 22:45:25 +01:00
|
|
|
<li {{ Request::is('*client/payments') ? 'class="active"' : '' }}>
|
2015-04-06 08:58:47 +02:00
|
|
|
{!! link_to('/client/payments', trans('texts.payments') ) !!}
|
2016-06-20 16:14:43 +02:00
|
|
|
</li>
|
2015-03-16 22:45:25 +01:00
|
|
|
</ul>
|
|
|
|
@endif
|
|
|
|
</div><!--/.nav-collapse -->
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<div class="container">
|
2015-09-28 22:37:32 +02:00
|
|
|
|
|
|
|
@include('partials.warn_session', ['redirectTo' => '/'])
|
|
|
|
|
2015-03-16 22:45:25 +01:00
|
|
|
@if (Session::has('warning'))
|
2015-04-15 18:35:41 +02:00
|
|
|
<div class="alert alert-warning">{!! Session::get('warning') !!}</div>
|
2015-03-16 22:45:25 +01:00
|
|
|
@endif
|
|
|
|
|
|
|
|
@if (Session::has('message'))
|
2015-04-15 18:35:41 +02:00
|
|
|
<div class="alert alert-info">{!! Session::get('message') !!}</div>
|
2015-03-16 22:45:25 +01:00
|
|
|
@endif
|
|
|
|
|
|
|
|
@if (Session::has('error'))
|
2015-04-15 18:35:41 +02:00
|
|
|
<div class="alert alert-danger">{!! Session::get('error') !!}</div>
|
2015-03-16 22:45:25 +01:00
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@yield('content')
|
|
|
|
|
|
|
|
<footer id="footer" role="contentinfo">
|
|
|
|
<div class="top">
|
|
|
|
<div class="wrap">
|
2016-04-29 23:50:21 +02:00
|
|
|
@if (!isset($account) || !$account->hasFeature(FEATURE_WHITE_LABEL))
|
2015-03-16 22:45:25 +01:00
|
|
|
<div id="footer-menu" class="menu-wrap">
|
|
|
|
<ul id="menu-footer-menu" class="menu">
|
2015-10-18 09:30:28 +02:00
|
|
|
<li id="menu-item-31" class="menu-item-31">
|
2015-04-06 08:58:47 +02:00
|
|
|
{!! link_to('#', 'Facebook', ['target' => '_blank', 'onclick' => 'openUrl("https://www.facebook.com/invoiceninja", "/footer/social/facebook")']) !!}
|
2015-03-16 22:45:25 +01:00
|
|
|
</li>
|
|
|
|
<li id="menu-item-32" class="menu-item-32">
|
2015-04-06 08:58:47 +02:00
|
|
|
{!! link_to('#', 'Twitter', ['target' => '_blank', 'onclick' => 'openUrl("https://twitter.com/invoiceninja", "/footer/social/twitter")']) !!}
|
2015-03-16 22:45:25 +01:00
|
|
|
</li>
|
|
|
|
<li id="menu-item-33" class="menu-item-33">
|
2015-04-06 08:58:47 +02:00
|
|
|
{!! link_to('#', 'GitHub', ['target' => '_blank', 'onclick' => 'openUrl("https://github.com/hillelcoren/invoice-ninja", "/footer/social/github")']) !!}
|
2016-06-20 16:14:43 +02:00
|
|
|
</li>
|
2015-04-27 14:28:40 +02:00
|
|
|
<li id="menu-item-30" class="menu-item-30">
|
|
|
|
{!! link_to(NINJA_WEB_URL . '/contact', trans('texts.contact')) !!}
|
|
|
|
</li>
|
2015-03-16 22:45:25 +01:00
|
|
|
</ul>
|
2016-06-20 16:14:43 +02:00
|
|
|
</div>
|
|
|
|
@endif
|
2015-03-16 22:45:25 +01:00
|
|
|
</div><!-- .wrap -->
|
|
|
|
</div><!-- .top -->
|
2016-06-20 16:14:43 +02:00
|
|
|
|
2015-03-16 22:45:25 +01:00
|
|
|
<div class="bottom">
|
|
|
|
<div class="wrap">
|
2016-04-29 23:50:21 +02:00
|
|
|
@if (!isset($account) || !$account->hasFeature(FEATURE_WHITE_LABEL))
|
2016-03-04 15:03:55 +01:00
|
|
|
<div class="copy">Copyright ©{{ date('Y') }} <a href="{{ NINJA_WEB_URL }}" target="_blank">Invoice Ninja</a>. All rights reserved.</div>
|
2015-11-03 20:03:24 +01:00
|
|
|
@endif
|
2015-03-16 22:45:25 +01:00
|
|
|
</div><!-- .wrap -->
|
|
|
|
</div><!-- .bottom -->
|
|
|
|
</footer><!-- #footer -->
|
|
|
|
|
|
|
|
|
|
|
|
<!--<div class="fb-follow" data-href="https://www.facebook.com/invoiceninja" data-colorscheme="light" data-layout="button" data-show-faces="false"></div>-->
|
|
|
|
|
|
|
|
<!--<a href="https://twitter.com/invoiceninja" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @invoiceninja</a>
|
|
|
|
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>-->
|
|
|
|
<!--<div class="fb-like" data-href="https://www.invoiceninja.com" data-layout="button" data-action="like" data-show-faces="false" data-share="false"></div> -->
|
|
|
|
<!--
|
|
|
|
<div class="fb-share-button" data-href="https://www.invoiceninja.com/" data-type="button"></div>
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://twitter.com/share" class="twitter-share-button" data-url="https://www.invoiceninja.com/" data-via="invoiceninja" data-related="hillelcoren" data-count="none" data-text="Free online invoicing">Tweet</a>
|
|
|
|
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|
|
|
|
|
|
|
|
<div class="g-plusone" data-size="medium" data-width="300" data-href="https://www.invoiceninja.com/" data-annotation="none" data-count="false" data-recommendations="false"></div>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
(function() {
|
|
|
|
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
|
|
|
|
po.src = 'https://apis.google.com/js/platform.js';
|
|
|
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
|
|
|
|
})();
|
|
|
|
</script>
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<script src="//platform.linkedin.com/in.js" type="text/javascript">
|
|
|
|
lang: en_US
|
|
|
|
</script>
|
|
|
|
<script type="IN/Share" data-url="https://www.invoiceninja.com/"></script>
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--<iframe src="http://ghbtns.com/github-btn.html?user=hillelcoren&repo=invoice-ninja&type=watch" allowtransparency="true" frameborder="0" scrolling="0" width="62" height="20"></iframe>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@stop
|