Ejemplo n.º 1
0
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();
?>
			<br>
		</div>
		<div class="span4">
			<h3>Update Password</h3><hr>
			<?php 
echo form_open(current_url(), 'class="form-horizontal"');
Ejemplo n.º 2
0
	<?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>
	</div>
<?php 
echo form_close();
?>
</div>
Ejemplo n.º 3
0
<div class="admin-panel">
	<div class="row-fluid">
		<div class="span6">
			<div class="page-header">
				<h3>Invoice Details</h3>
			</div>
			<?php 
echo form_open(current_url(), array('class' => 'form-horizontal', 'id' => 'generate_invoice'));
?>
				<?php 
echo bootstrap_dropdown('client', 'Client', $clients, NULL, 'class="span4" onchange="get_clients_projects()"');
?>
				<?php 
echo bootstrap_dropdown('project_id', 'Project', array());
?>
				<?php 
echo bootstrap_input('id', 'Invoice ID');
?>
				<div class="control-group">
					<label class="control-label" for="recurring">Recurring</label>
					<div class="controls">
					  <label class="checkbox">
						<input type="checkbox" id="recurring" name="recurring" value="1" onclick="recurring_invoice_opts();" <?php 
if (isset($_POST['recurring'])) {
    if (intval($_POST['recurring'])) {
        ?>
checked="yes"<?php 
    }
}
?>
>
Ejemplo n.º 4
0
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();
?>
		</div>
	</div>
</div>
Ejemplo n.º 5
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>
Ejemplo n.º 6
0
?>
		<legend>Basics</legend>
		<?php 
echo bootstrap_input('name', 'Name', $power->name);
?>
		<?php 
echo bootstrap_input('description', 'Description', $power->description);
?>
		<?php 
echo bootstrap_dropdown('race', 'Race', $races, $power->race);
?>
		<?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 
}
?>
Ejemplo n.º 7
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>
Ejemplo n.º 8
0
echo bootstrap_input('name', 'Name');
?>
		<?php 
echo bootstrap_input('description', 'Description');
?>
		<?php 
echo bootstrap_input('damage', 'Damage');
?>
		<?php 
echo bootstrap_dropdown('race', 'Race', $races);
?>
		<?php 
echo bootstrap_dropdown('class', 'Class', $classes);
?>
		<?php 
echo bootstrap_dropdown('zodiac', 'Zodiac', $zodiacs);
?>
		<?php 
echo bootstrap_input('level', 'Level Required');
?>
		<legend>Bonus Attribute Points</legend>
		<?php 
foreach ($attributes as $attr) {
    ?>
			<?php 
    echo bootstrap_input(strtolower($attr->acronym), $attr->name . ' +');
    ?>
		<?php 
}
?>
		<div class="form-actions">
Ejemplo n.º 9
0
	<?php 
echo bootstrap_input('company', 'Company');
?>
	<?php 
echo bootstrap_input('phone', 'Phone');
?>
	<?php 
echo bootstrap_textarea('address', 'Address');
?>
	<?php 
echo bootstrap_password('password', 'Password');
?>
	<?php 
echo bootstrap_password('password_confirm', 'Confirm Password');
?>
	<?php 
echo bootstrap_dropdown('group_id', 'Group', $groups);
?>
	<div class="controls">
		<?php 
echo form_submit('submit', 'Create User', 'class="btn btn-primary"');
?>
		<a href="<?php 
echo base_url('admin/clients');
?>
" class="btn">Cancel</a>
	</div>
<?php 
echo form_close();
?>
</div>
Ejemplo n.º 10
0
		<?php 
echo bootstrap_input('email', 'Email', $user->email);
?>
		<?php 
echo bootstrap_input('company', 'Company', $user->company);
?>
		<?php 
echo bootstrap_input('phone', 'Phone', $user->phone);
?>
		<?php 
echo bootstrap_password('password', 'Password');
?>
		<?php 
echo bootstrap_password('password_confirm', 'Confirm Password');
?>
		<?php 
echo bootstrap_dropdown('group_id', 'Group', $groups, $user->group_id);
?>
		<div class="form-actions">
			<?php 
echo bootstrap_submit('submit', 'Edit Player', 'class="btn btn-primary"');
?>
			<a href="<?php 
echo base_url('editor/players');
?>
" class="btn">Cancel</a>
		</div>
	<?php 
echo form_close();
?>
</div>
Ejemplo n.º 11
0
		<?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 
echo base_url('editor/characters');
?>
" class="btn">Cancel</a>
		</div>
	<?php 
echo form_close();
?>
</div>
Ejemplo n.º 12
0
		<?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 
echo base_url('editor/characters');
?>
" class="btn">Cancel</a>
		</div>
	<?php 
echo form_close();
?>
</div>
Ejemplo n.º 13
0
echo bootstrap_input('name', 'Name', $aptitude->name);
?>
		<?php 
echo bootstrap_input('description', 'Description', $aptitude->description);
?>
		<?php 
echo bootstrap_input('damage', 'Damage', $aptitude->damage);
?>
		<?php 
echo bootstrap_dropdown('race', 'Race', $races, $aptitude->race);
?>
		<?php 
echo bootstrap_dropdown('class', 'Class', $classes, $aptitude->class);
?>
		<?php 
echo bootstrap_dropdown('zodiac', 'Zodiac', $zodiacs, $aptitude->zodiac);
?>
		<?php 
echo bootstrap_input('level', 'Level Required', $aptitude->level);
?>
		<legend>Bonus Attribute Points</legend>
		<?php 
$aptitude_attributes = json_decode($aptitude->attributes, true);
foreach ($attributes as $attr) {
    ?>
			<?php 
    echo bootstrap_input(strtolower($attr->acronym), $attr->name . ' +', $aptitude_attributes[strtolower($attr->acronym)]);
    ?>
		<?php 
}
?>
Ejemplo n.º 14
0
?>
		<legend>Basics</legend>
		<?php 
echo bootstrap_input('name', 'Name', $ability->name);
?>
		<?php 
echo bootstrap_input('description', 'Description', $ability->description);
?>
		<?php 
echo bootstrap_dropdown('race', 'Race', $races, $ability->race);
?>
		<?php 
echo bootstrap_dropdown('class', 'Class', $classes, $ability->class);
?>
		<?php 
echo bootstrap_dropdown('zodiac', 'Zodiac', $zodiacs, $ability->zodiac);
?>
		<?php 
echo bootstrap_input('level', 'Level Required', $ability->level);
?>
		<legend>Bonus Attribute Points</legend>
		<?php 
$ability_attributes = json_decode($ability->attributes, true);
foreach ($attributes as $attr) {
    ?>
			<?php 
    echo bootstrap_input(strtolower($attr->acronym), $attr->name . ' +', $ability_attributes[strtolower($attr->acronym)]);
    ?>
		<?php 
}
?>
Ejemplo n.º 15
0
    ?>
</div>
		<?php 
}
?>
		<?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();
?>