</h4>
				<p>Last login:
				<span data-toggle="tooltip" data-placement="top" title="<?php 
echo $user->updated_at;
?>
">
					<?php 
echo Carbon\Carbon::parse($user->updated_at)->diffForHumans();
?>
				</span></p>
			</div>
		</div>

		<div class="modal-footer">
			<button type="button" class="btn btn-default pull-left" data-dismiss="modal">Close</button>
			<?php 
if (!$user->admin) {
    echo BootForm::open(['route' => ['admin.promote_user', 'id' => $user->id]]);
    echo BootForm::hidden('_action', 'promote_user');
    echo Button::submit()->success()->withValue('Promote');
    echo BootForm::close();
} else {
    echo BootForm::open(['route' => ['admin.demote_user', 'id' => $user->id]]);
    echo BootForm::hidden('_action', 'demote_user');
    echo Button::submit()->danger()->withValue('Demote');
    echo BootForm::close();
}
?>
		</div>
	</div><!-- /.modal-content -->
예제 #2
0
<?php

echo BootForm::open(['route' => ['sheets.remove_pilot', 'pilot_id' => $pilot->id, 'id' => $id]]);
echo BootForm::hidden('_action', 'remove_pilot');
echo Button::submit()->withValue('OK')->block();
echo BootForm::close();
예제 #3
0
<?php

echo BootForm::open(['route' => ['sheets.add_pilots', $site->id]]);
echo BootForm::hidden('_action', 'add_pilots');
echo BootForm::textarea('pilots');
?>
 <small class="text-muted">Copy and Paste your fleet composition here</small> <?php 
echo Button::submit()->withValue('Save')->block();
echo BootForm::close();
예제 #4
0
<?php

echo BootForm::open(['route' => ['sheets.add_bookmarker', $site->id]]);
echo BootForm::hidden('_action', 'add_bookmarker');
echo BootForm::text('name', 'Name');
echo Button::submit()->withValue('Save')->block();
echo BootForm::close();
예제 #5
0
<?php

echo BootForm::open(['route' => ['sheets.mark_as_finished', $site->id]]);
echo BootForm::hidden('_action', 'mark_as_finished');
echo BootForm::number('payout', 'Site Payout');
echo BootForm::textarea('comment');
echo Button::submit()->withValue('Save')->block();
echo BootForm::close();
예제 #6
0
<?php

echo BootForm::open(['route' => ['sheets.add_escalator', $site->id]]);
echo BootForm::hidden('_action', 'add_escalator');
echo BootForm::text('name', 'Name');
echo BootForm::select('ship', 'Ship', ['Archon' => 'Archon', 'Thanatos' => 'Thanatos', 'Nidhoggur' => 'Nidhoggur', 'Chimera' => 'Chimera', 'Revalation' => 'Revalation', 'Naglfar' => 'Naglfar', 'Moros' => 'Moros', 'Phoenix' => 'Phoenix']);
echo Button::submit()->withValue('Save')->block();
echo BootForm::close();
예제 #7
0
<?php

echo BootForm::open(['route' => ['sheets.add_defanger', $site->id]]);
echo BootForm::hidden('_action', 'add_defanger');
echo BootForm::text('name', 'Name');
echo Button::submit()->withValue('Save')->block();
echo BootForm::close();
예제 #8
0
<?php

echo BootForm::open(['route' => ['sheets.pay_pilot', 'pilot_id' => $pilot->id, 'id' => $id]]);
echo BootForm::hidden('_action', 'pay_pilot');
echo BootForm::text('payout', 'Payout', number_format($payout, 2, '.', ''), ['readonly']);
?>
<small class="text-muted">Copy this number for your payments</small><?php 
echo Button::submit()->withValue('OK')->block();
echo BootForm::close();
예제 #9
0
<?php

echo BootForm::open(['route' => ['options.remove_corp', 'id' => $corp->id]]);
echo BootForm::hidden('_action', 'remove_corp');
echo Button::submit()->withValue('OK')->block();
echo BootForm::close();
예제 #10
0
<?php

echo BootForm::open(['route' => ['sheets.mark_as_paid', $site->id]]);
echo BootForm::hidden('_action', 'mark_as_paid');
echo BootForm::text('payout', 'Corp Cut', number_format($site->sheet->corp_cut, 2, '.', ''), ['readonly']);
echo Button::submit()->withValue('Mark as Paid')->block();
echo BootForm::close();
예제 #11
0
<?php

echo BootForm::open(['route' => ['sheets.close', $site->id]]);
echo BootForm::hidden('_action', 'close');
echo BootForm::textarea('comment');
echo Button::submit()->withValue('Save')->block();
echo BootForm::close();