Removed all the old views.

This commit is contained in:
James Cole
2015-05-02 21:18:04 +02:00
parent b2fd346ef8
commit 195a2d7523
97 changed files with 0 additions and 5640 deletions

View File

@@ -1,22 +0,0 @@
<div class="{{{$classes}}}">
<label for="{{{$options['id']}}}" class="col-sm-4 control-label">{{{$label}}}</label>
<div class="col-sm-8">
<div class="input-group">
<div class="input-group-btn">
<button type="button" class="btn btn-default dropdown-toggle amountCurrencyDropdown" data-toggle="dropdown" aria-expanded="false">
<span id="amountCurrentSymbol">{{$defaultCurrency->symbol}}</span> <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
@foreach($currencies as $currency)
<li><a href="#" class="currencySelect" data-id="{{{$currency->id}}}" data-field="amount" data-currency="{{{$currency->code}}}" data-symbol="{{{$currency->symbol}}}">{{{$currency->name}}}</a></li>
@endforeach
</ul>
</div>
{!! Form::input('number', $name, $value, $options) !!}
</div>
@include('form.feedback')
</div>
{!! Form::input('hidden','amount_currency_id',$defaultCurrency->id) !!}
</div>

View File

@@ -1,22 +0,0 @@
<div class="{{{$classes}}}">
<label for="{{{$options['id']}}}" class="col-sm-4 control-label">{{{$label}}}</label>
<div class="col-sm-8">
<div class="input-group">
<div class="input-group-btn">
<button type="button" class="btn btn-default dropdown-toggle balanceCurrencyDropdown" data-toggle="dropdown" aria-expanded="false">
<span id="balanceCurrentSymbol">{{$defaultCurrency->symbol}}</span> <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
@foreach($currencies as $currency)
<li><a href="#" class="currencySelect" data-id="{{{$currency->id}}}" data-field="balance" data-currency="{{{$currency->code}}}" data-symbol="{{{$currency->symbol}}}">{{{$currency->name}}}</a></li>
@endforeach
</ul>
</div>
{!! Form::input('number', $name, $value, $options) !!}
</div>
@include('form.feedback')
</div>
{!! Form::input('hidden','balance_currency_id',$defaultCurrency->id) !!}
</div>

View File

@@ -1,11 +0,0 @@
<div class="{{{$classes}}}">
<label for="{{{$options['id']}}}" class="col-sm-4 control-label">{{{$label}}}</label>
<div class="col-sm-8">
<div class="checkbox">
<label>
{!! Form::checkbox($name, $value, $options['checked'], $options) !!}
</label>
</div>
@include('form.feedback')
</div>
</div>

View File

@@ -1,8 +0,0 @@
<div class="{{{$classes}}}">
<label for="{{{$options['id']}}}" class="col-sm-4 control-label">{{{$label}}}</label>
<div class="col-sm-8">
{!! Form::input('date', $name, $value, $options) !!}
@include('form.help')
@include('form.feedback')
</div>
</div>

View File

@@ -1,4 +0,0 @@
@if($errors->has($name))
<span class="form-control-feedback"><i class="fa fa-fw fa-remove"></i></span>
<p class="text-danger">{{{$errors->first($name)}}}</p>
@endif

View File

@@ -1,3 +0,0 @@
@if(isset($options['helpText']))
<p class="help-block">{{$options['helpText']}}</p>
@endif

View File

@@ -1,9 +0,0 @@
<div class="{{{$classes}}}">
<label for="{{{$options['id']}}}" class="col-sm-4 control-label">{{{$label}}}</label>
<div class="col-sm-8">
<div class="input-group">
{!! Form::input('number', $name, $value, $options) !!}
@include('form.feedback')
</div>
</div>
</div>

View File

@@ -1,14 +0,0 @@
<div class="{{{$classes}}}">
<label for="{{{$options['id']}}}" class="col-sm-4 control-label">{{{$label}}}</label>
<div class="col-sm-8">
<div id="map-canvas" style="width:100%;height:300px;"></div>
<p class="help-block">Right-click to set the tag's location.
<a href="#" id="clearLocation">Clear location</a>
</p>
<input type="hidden" name="latitude" value="" />
<input type="hidden" name="longitude" value="" />
<input type="hidden" name="zoomLevel" value="6" />
<input type="hidden" name="setTag" value="" />
@include('form.feedback')
</div>
</div>

View File

@@ -1,8 +0,0 @@
<div class="{{{$classes}}}">
<label for="{{{$options['id']}}}" class="col-sm-4 control-label">{{{$label}}}</label>
<div class="col-sm-8">
{!! Form::input('month', $name, $value, $options) !!}
@include('form.help')
@include('form.feedback')
</div>
</div>

View File

@@ -1,16 +0,0 @@
<div class="{{{$classes}}}">
<label for="{{{$options['id']}}}" class="col-sm-4 control-label">{{{$label}}}</label>
<div class="col-sm-8">
@foreach($list as $value => $description)
<div class="radio">
<label>
{!! Form::radio($name, $value, ($selected == $value), $options) !!}
{{$description}}
</label>
</div>
@endforeach
@include('form.help')
@include('form.feedback')
</div>
</div>

View File

@@ -1,73 +0,0 @@
@if($type == 'create')
<!--
<div class="form-group">
<label for="{{{$name}}}_store" class="col-sm-4 control-label">Store</label>
<div class="col-sm-8">
<div class="radio">
<label>
{!! Form::radio('post_submit_action', 'store', $previousValue == 'store', ['id' => $name . '_store']) !!}
Store {{{$name}}}
</label>
</div>
</div>
</div>
-->
@endif
@if($type == 'update')
<!--
<div class="form-group">
<label for="{{{$name}}}_update" class="col-sm-4 control-label">Update</label>
<div class="col-sm-8">
<div class="radio">
<label>
{!! Form::radio('post_submit_action', 'update', $previousValue == 'update' || $previousValue == 'store', ['id' => $name . '_update']) !!}
Update {{{$name}}}
</label>
</div>
</div>
</div>
-->
@endif
<!--
<div class="form-group">
<label for="{{{$name}}}_validate_only" class="col-sm-4 control-label">Validate only</label>
<div class="col-sm-8">
<div class="radio">
<label>
{!! Form::radio('post_submit_action', 'validate_only', $previousValue == 'validate_only', ['id' => $name . '_validate_only']) !!}
Only validate, do not save
</label>
</div>
</div>
</div>
-->
@if($type == 'create')
<div class="form-group">
<label for="{{{$name}}}_return_to_form" class="col-sm-4 control-label">
Return here
</label>
<div class="col-sm-8">
<div class="radio">
<label>
{!! Form::checkbox('create_another', '1') !!}
After storing, return here to create another one.
</label>
</div>
</div>
</div>
@endif
@if($type == 'update')
<div class="form-group">
<label for="{{{$name}}}_return_to_edit" class="col-sm-4 control-label">
Return here
</label>
<div class="col-sm-8">
<div class="radio"><label>
{!! Form::checkbox('return_to_edit', '1', intval(Input::old('return_to_edit')) == 1) !!}
After updating, return here.
</label>
</div>
</div>
</div>
@endif

View File

@@ -1,9 +0,0 @@
<div class="{{{$classes}}}">
<label for="{{{$options['id']}}}" class="col-sm-4 control-label">{{{$label}}}</label>
<div class="col-sm-8">
{!! Form::select($name, $list, $selected , $options ) !!}
@include('form.help')
@include('form.feedback')
</div>
</div>

View File

@@ -1,7 +0,0 @@
<div class="{{{$classes}}}">
<label for="{{{$options['id']}}}" class="col-sm-4 control-label">{{{$label}}}</label>
<div class="col-sm-8">
{!! Form::input('text', $name, $value, $options) !!}
@include('form.feedback')
</div>
</div>

View File

@@ -1,7 +0,0 @@
<div class="{{{$classes}}}">
<label for="{{{$options['id']}}}" class="col-sm-4 control-label">{{{$label}}}</label>
<div class="col-sm-8">
{!! Form::input('text', $name, $value, $options) !!}
@include('form.feedback')
</div>
</div>

View File

@@ -1,7 +0,0 @@
<div class="{{{$classes}}}">
<label for="{{{$options['id']}}}" class="col-sm-4 control-label">{{{$label}}}</label>
<div class="col-sm-8">
{!! Form::textarea($name, $value, $options) !!}
@include('form.feedback')
</div>
</div>