Example #1
0
		<?php 
}
?>
	</div>
	<div class="span7">
		<div class="page-header">
			<a href="<?php 
echo base_url('client/projects');
?>
" class="btn pull-right">Back to Projects</a>
			<h3>Compose New Comment</h3>
		</div>
		<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
			<?php 
echo bootstrap_input('title', 'Comment Title');
?>
			<?php 
echo bootstrap_input('description', 'Comment Description');
?>
			<div class="controls">
				<?php 
echo form_submit('new_update', 'Submit Comment', 'class="btn btn-primary"');
?>
			</div>
		<?php 
echo form_close();
?>
	</div>
</div>
Example #2
0
?>
				</tbody>
			</table>
			<?php 
echo $links;
?>
		</div>
		<div class="span6 section-panel">
			<div class="page-header">
				<h3>Compose New Ticket</h3>
			</div>
			<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
				<?php 
echo bootstrap_input('subject', 'Ticket Subject');
?>
				<?php 
echo bootstrap_textarea('issue', 'Issue Description');
?>
				<?php 
echo bootstrap_dropdown('project', 'Project', $projects);
?>
				<div class="controls">
					<?php 
echo form_submit('new_ticket', 'Submit Ticket', 'class="btn btn-primary"');
?>
				</div>
			<?php 
echo form_close();
?>
Example #3
0
<div class="row-fluid">
	<div class="span6">
		<div class="page-header">
			<h3>Edit Invoice</h3>
		</div>
		<?php 
echo form_open(current_url(), array('class' => 'form-horizontal', 'id' => 'generate_invoice'));
?>
			<?php 
echo bootstrap_input('id', 'Invoice ID', $invoice->invoice_id);
?>
			<?php 
echo bootstrap_input('description', 'Invoice Description', $invoice->invoice_description);
?>
			<?php 
echo bootstrap_input('amount_paid', 'Amount Paid', $invoice->amount_paid);
?>
			<div class="items">
			<?php 
for ($i = 0; $i < $invoice->items->count; $i++) {
    ?>
			<div class="control-group" id="item_<?php 
    echo $i;
    ?>
">
				<label class="control-label">
					<strong>Invoice Item #<?php 
    echo $i;
    ?>
</strong>
					<br><a href="javascript:remove_item('<?php 
Example #4
0
	<h1>Edit Project</h1>
</div>
<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
	<?php 
echo bootstrap_input('project_name', 'Project Name', $project->name);
?>
	<?php 
echo bootstrap_input('project_description', 'Project Description', $project->description);
?>
	<?php 
echo bootstrap_dropdown('project_client', 'Client', $clients, $project->client);
?>
	<?php 
echo bootstrap_input('project_quote', 'Quote', $project->quote);
?>
	<?php 
echo bootstrap_dropdown('project_group', 'Group', $groups, $project->project_group);
?>
	<?php 
echo bootstrap_dropdown('project_status', 'Status', $status, $project->status);
?>
	<div class="controls">
		<?php 
echo form_submit('edit_project', 'Edit Project', 'class="btn btn-primary"');
?>
		<a href="<?php 
echo base_url('admin/projects');
?>
" class="btn">Cancel</a>
Example #5
0
echo form_submit('update_gateway', 'Update Paypal Gateway', 'class="btn btn-primary"');
?>
			</div>
		<?php 
echo form_close();
?>
		</div>
		<div class="tab-pane" id="stripe">
		<?php 
echo form_open(current_url(), array('class' => 'form-horizontal'));
?>
			<?php 
echo bootstrap_input('auth1', 'Your Secret Key', &$gateways['stripe']->auth1);
?>
			<?php 
echo bootstrap_input('auth2', 'Your Publishable Key', &$gateways['stripe']->auth2);
?>
			<?php 
echo bootstrap_hidden('gateway', 'gateway', 'Stripe');
?>
			<?php 
echo bootstrap_checkbox('active', 'Active', 1, &$gateways['stripe']->active);
?>
			<div class="controls">
				<?php 
echo form_submit('update_gateway', 'Update Stripe Gateway', 'class="btn btn-primary"');
?>
			</div>
		<?php 
echo form_close();
?>
Example #6
0
echo bootstrap_input_disabled('username', 'Your Username', $user->username);
?>
				<?php 
echo bootstrap_input('email', 'Your Email', $user->email);
?>
				<?php 
echo bootstrap_input('first_name', 'First Name', $user->first_name);
?>
				<?php 
echo bootstrap_input('last_name', 'Last Name', $user->last_name);
?>
				<?php 
echo bootstrap_input('company', 'Company', $user->company);
?>
				<?php 
echo bootstrap_input('phone', 'Phone', $user->phone);
?>
				<?php 
echo bootstrap_textarea('address', 'Address', $user->address);
?>
				<?php 
echo bootstrap_dropdown('timezone', 'Timezone', $timezones, $user->timezone);
?>
				<div class="controls">
					<?php 
echo form_submit('update_profile', 'Update Profile', 'class="btn btn-primary"');
?>
				</div>
			<?php 
echo form_close();
?>
Example #7
0
	<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
		<legend>Basics</legend>
		<?php 
echo bootstrap_input('name', 'Name');
?>
		<?php 
echo bootstrap_input('description', 'Description');
?>
		<legend>Attribute Points</legend>
		<?php 
foreach ($attributes as $attr) {
    ?>
			<?php 
    echo bootstrap_input(strtolower($attr->acronym), $attr->name . ' +');
    ?>
		<?php 
}
?>
		<div class="form-actions">
			<?php 
echo bootstrap_submit('submit', 'Create Zodiac', 'class="btn btn-primary"');
?>
			<a href="<?php 
echo base_url('editor/characters/zodiacs');
?>
" class="btn">Cancel</a>
		</div>
	<?php 
echo form_close();
Example #8
0
<div class="pane">
	<div class="page-header">
		<h1>Create Skill</h1>
	</div>
	<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
		<legend>Basics</legend>
		<?php 
echo bootstrap_input('name', 'Name');
?>
		<?php 
echo bootstrap_input('description', 'Description');
?>
		<?php 
echo bootstrap_dropdown('class', 'Class', $classes);
?>
		<div class="form-actions">
			<?php 
echo bootstrap_submit('submit', 'Create Skill', 'class="btn btn-primary"');
?>
			<a href="<?php 
echo base_url('editor/characters/skills');
?>
" class="btn">Cancel</a>
		</div>
	<?php 
echo form_close();
?>
</div>
<div class="page-header">
	<h1>Forgot Password <small>Please enter your <?php 
echo $identity_human;
?>
 so we can send you an email to reset your password.</small></h1>
</div>
<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
	<?php 
bootstrap_input($identity, $identity_human);
?>
	<div class="form-actions">
		<?php 
echo form_submit('submit', 'Submit', 'class="btn btn-primary"');
?>
	</div>
<?php 
echo form_close();
Example #10
0
echo bootstrap_input('skill_points', 'Skill Points', $character->skill_points);
?>
		<?php 
echo bootstrap_input('attack', 'Attack Points', $character->attack);
?>
		<?php 
echo bootstrap_input('defense', 'Defense Points', $character->defense);
?>
		<?php 
echo bootstrap_dropdown('zodiac', 'Zodiac', $zodiacs, $character->zodiac);
?>
		<?php 
echo bootstrap_input('avatar', 'Avatar', $character->avatar);
?>
		<?php 
echo bootstrap_input('face', 'Face', $character->face);
?>
		<?php 
echo bootstrap_dropdown('martial_status', 'Martial Status', $characters, $character->martial_status);
?>
		<?php 
echo bootstrap_dropdown('class', 'Class', $classes, $character->class);
?>
		<?php 
echo bootstrap_dropdown('gender', 'Gender', array('Male', 'Female'), $character->gender);
?>
		<div class="form-actions">
			<?php 
echo bootstrap_submit('submit', 'Update Character', 'class="btn btn-primary"');
?>
			<a href="<?php 
Example #11
0
echo bootstrap_input('skill_points', 'Skill Points');
?>
		<?php 
echo bootstrap_input('attack', 'Attack Points');
?>
		<?php 
echo bootstrap_input('defense', 'Defense Points');
?>
		<?php 
echo bootstrap_dropdown('zodiac', 'Zodiac', $zodiacs);
?>
		<?php 
echo bootstrap_input('avatar', 'Avatar');
?>
		<?php 
echo bootstrap_input('face', 'Face');
?>
		<?php 
echo bootstrap_dropdown('martial_status', 'Martial Status', $characters);
?>
		<?php 
echo bootstrap_dropdown('class', 'Class', $classes);
?>
		<?php 
echo bootstrap_dropdown('gender', 'Gender', array('Male', 'Female'));
?>
		<div class="form-actions">
			<?php 
echo bootstrap_submit('submit', 'Create Character', 'class="btn btn-primary"');
?>
			<a href="<?php 
Example #12
0
<div class="pane">
	<div class="page-header">
		<h1>Edit Group</h1>
	</div>
	<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
		<?php 
echo bootstrap_input('name', 'Name', $group->name);
?>
		<?php 
echo bootstrap_input('description', 'Description', $group->description);
?>
		<div class="form-actions">
			<?php 
echo bootstrap_submit('submit', 'Edit Group', 'class="btn btn-primary"');
?>
			<a href="<?php 
echo base_url('editor/groups');
?>
" class="btn">Cancel</a>
		</div>
	<?php 
echo form_close();
?>
</div>
Example #13
0
<div class="pane">
	<div class="page-header">
		<h1>Edit Attribute</h1>
	</div>
	<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
		<?php 
echo bootstrap_input('name', 'Name', $attr->name);
?>
		<?php 
echo bootstrap_input('acronym', 'Acronym', $attr->acronym);
?>
		<?php 
echo bootstrap_input('description', 'Description', $attr->description);
?>
		<div class="form-actions">
			<?php 
echo bootstrap_submit('submit', 'Update Attribute', 'class="btn btn-primary"');
?>
			<a href="<?php 
echo base_url('editor/characters/attributes');
?>
" class="btn">Cancel</a>
		</div>
	<?php 
echo form_close();
?>
</div>
Example #14
0
}
?>
		<?php 
echo bootstrap_input('id', 'ID*', NULL, 'class="span3"');
?>
		<?php 
echo bootstrap_input('name', 'Name*', NULL, 'class="span3"');
?>
		<?php 
echo bootstrap_input('amount', 'Amount*', NULL, 'class="span3"');
?>
		<?php 
echo bootstrap_dropdown('interval', 'Interval*', $intervals, NULL, 'class="span3"');
?>
		<?php 
echo bootstrap_input('trial_period_days', 'Trial period days', NULL, 'class="span3"');
?>
	</div>
	<div class="modal-footer">
		<?php 
echo bootstrap_submit('submit', 'Create Plan', 'class="btn btn-primary"');
?>
		<a href="#" class="btn" data-dismiss="modal">Close</a>
	</div>
</div>
<?php 
echo form_close();
?>
<script>
<?php 
if (validation_errors() || isset($create_error)) {
Example #15
0
<div class="admin-panel">
<div class="page-header">
	<h1>Create Option</h1>
</div>
<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
	<?php 
echo bootstrap_input('option_name', 'Option Name');
?>
	<?php 
echo bootstrap_input('option_value', 'Option Value');
?>
	<div class="controls">
		<?php 
echo form_submit('submit', 'Create', 'class="btn btn-primary"');
?>
		<a href="<?php 
echo base_url('admin/options');
?>
" class="btn">Cancel</a>
	</div>
<?php 
echo form_close();
?>
</div>
Example #16
0
<div class="pane">
	<div class="page-header">
		<h1>Edit Skill</h1>
	</div>
	<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
		<legend>Basics</legend>
		<?php 
echo bootstrap_input('name', 'Name', $skill->name, $skill->name);
?>
		<?php 
echo bootstrap_input('description', 'Description', $skill->description, $skill->description);
?>
		<?php 
echo bootstrap_dropdown('class', 'Class', $classes, $skill->class);
?>
		<div class="form-actions">
			<?php 
echo bootstrap_submit('submit', 'Update Skill', 'class="btn btn-primary"');
?>
			<a href="<?php 
echo base_url('editor/characters/skills');
?>
" class="btn">Cancel</a>
		</div>
	<?php 
echo form_close();
?>
</div>
Example #17
0
		<?php 
}
?>
	</div>
	<div class="span7">
		<div class="page-header">
			<a href="<?php 
echo base_url('admin/projects');
?>
" class="btn pull-right">Back to Projects</a>
			<h3>New Update</h3>
		</div>
		<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
			<?php 
echo bootstrap_input('title', 'Update Title');
?>
			<?php 
echo bootstrap_input('description', 'Update Description');
?>
			<div class="controls">
				<?php 
echo form_submit('new_update', 'Create Update', 'class="btn btn-primary"');
?>
			</div>
		<?php 
echo form_close();
?>
	</div>
</div>
Example #18
0
		<?php 
echo bootstrap_dropdown('class', 'Class', $classes, $power->class);
?>
		<?php 
echo bootstrap_dropdown('zodiac', 'Zodiac', $zodiacs, $power->zodiac);
?>
		<?php 
echo bootstrap_input('level', 'Level Required', $power->level);
?>
		<legend>Bonus Attribute Points</legend>
		<?php 
$power_attributes = json_decode($power->attributes, true);
foreach ($attributes as $attr) {
    ?>
			<?php 
    echo bootstrap_input(strtolower($attr->acronym), $attr->name . ' +', $power_attributes[strtolower($attr->acronym)]);
    ?>
		<?php 
}
?>
		<div class="form-actions">
			<?php 
echo bootstrap_submit('submit', 'Update Power', 'class="btn btn-primary"');
?>
			<a href="<?php 
echo base_url('editor/characters/powers');
?>
" class="btn">Cancel</a>
		</div>
	<?php 
echo form_close();
Example #19
0
<div class="modal">
	<div class="modal-header">
		<h3>Login <small>Please login with your email address and password below.</small></h3>
	</div>
	<div class="modal-body">
	<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
		<?php 
bootstrap_input('email', 'Email');
?>
		<?php 
bootstrap_password('password', 'Password');
?>
		<div class="control-group">
			<div class="controls">
				<label class="checkbox"><?php 
echo form_checkbox('remember', '1', FALSE);
?>
 Remember me</label>
			</div>
		</div>
	</div>
	<div class="modal-footer">
		<a href="<?php 
echo base_url('auth/forgot_password');
?>
">Forgot password?</a>
		<?php 
echo form_submit('submit', 'Login', 'class="btn btn-primary"');
?>
Example #20
0
?>
">
					<label class="control-label" for="date">Invoice Date</label>
						<div class="controls">
							<input class="input-small" type="text" placeholder="MM/DD/YYYY" name="date">
							<?php 
echo form_error('date');
?>
						</div>
					</div>
				</div>
				<?php 
echo bootstrap_input('description', 'Invoice Description', '...');
?>
				<?php 
echo bootstrap_input('amount_paid', 'Amount Paid');
?>
				<div class="items"></div>
				<div class="controls">
					<button type="button" onclick="update_preview()" class="btn btn-info">Update Preview</button>
					<button type="button" onclick="add_invoice_item()" class="btn btn-success">Add Item</button>
					<?php 
echo form_submit('new_invoice', 'Generate Invoice', 'class="btn btn-primary"');
?>
				</div>
			<?php 
echo form_close();
?>
		</div>
		<div class="span6">
			<div class="page-header">
Example #21
0
?>
			</tbody>
		</table>
	</div>
	<div class="span7">
		<div class="page-header">
			<a href="<?php 
echo base_url('admin/projects');
?>
" class="btn pull-right">Back to Projects</a>
			<h3>New Group</h3>
		</div>
		<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
			<?php 
echo bootstrap_input('group_name', 'Group Name');
?>
			<?php 
echo bootstrap_input('group_description', 'Group Description');
?>
			<div class="controls">
				<?php 
echo form_submit('new_group', 'Create Group', 'class="btn btn-primary"');
?>
			</div>
		<?php 
echo form_close();
?>
	</div>
</div>
Example #22
0
    ?>
	<div class="row-fluid">
		<div class="span5">
		<h3>Balance Due: <?php 
    echo _money_format($invoice->subtotal + $invoice->tax - $invoice->amount_paid);
    ?>
</h3>
		<p>The total balance due on this invoice is <?php 
    echo _money_format($invoice->subtotal + $invoice->tax - $invoice->amount_paid);
    ?>
, you can choose to pay the total amount due or make a partial payment.</p>
		<?php 
    echo form_open(current_url(), 'class="form-horizontal"');
    ?>
			<?php 
    echo bootstrap_input('amount', 'Enter payment amount', _money_format($invoice->subtotal + $invoice->tax - $invoice->amount_paid));
    ?>
			<div class="control-group">
            <label class="control-label">Select payment method</label>
				<div class="controls">
				<?php 
    foreach ($gateways as $gateway) {
        ?>
				  <label class="radio">
					<input type="radio" name="gateway" id="<?php 
        echo $gateway->name;
        ?>
" value="<?php 
        echo $gateway->name;
        ?>
">
Example #23
0
bootstrap_input('username', 'Username');
?>
			<?php 
bootstrap_input('first_name', 'First Name');
?>
			<?php 
bootstrap_input('last_name', 'Last Name');
?>
			<?php 
bootstrap_input('email', 'Email');
?>
			<?php 
bootstrap_input('company', 'Company');
?>
			<?php 
bootstrap_input('phone', 'Phone');
?>
			<?php 
bootstrap_password('password', 'Password');
?>
			<?php 
bootstrap_password('password_confirm', 'Confirm Password');
?>
			<div class="controls">
				<?php 
echo form_submit('submit', 'Register', 'class="btn btn-primary"');
?>
			</div>
		<?php 
echo form_close();
?>
Example #24
0
	<h1>Create New Project</h1>
</div>
<?php 
echo form_open(current_url(), 'class="form-horizontal"');
?>
	<?php 
echo bootstrap_input('project_name', 'Project Name');
?>
	<?php 
echo bootstrap_input('project_description', 'Project Description');
?>
	<?php 
echo bootstrap_dropdown('project_client', 'Client', $clients);
?>
	<?php 
echo bootstrap_input('project_quote', 'Quote');
?>
	<?php 
echo bootstrap_dropdown('project_group', 'Group', $groups);
?>
	<?php 
echo bootstrap_dropdown('project_status', 'Status', $status);
?>
	<div class="controls">
		<?php 
echo form_submit('new_project', 'Create Project', 'class="btn btn-primary"');
?>
		<a href="<?php 
echo base_url('admin/projects');
?>
" class="btn">Cancel</a>