2011-11-06 23:09:51 +00:00
|
|
|
|
2019-05-13 17:28:16 +00:00
|
|
|
<div class="container notes">
|
2011-11-06 23:09:51 +00:00
|
|
|
|
2019-05-13 17:28:16 +00:00
|
|
|
<div class="card">
|
2019-10-05 20:57:44 +00:00
|
|
|
<div class="card-header">
|
2021-01-11 15:22:48 +00:00
|
|
|
<h2 class="card-title"><?php echo $this->lang->line('notes_create_note'); ?></h2>
|
2019-10-05 21:10:45 +00:00
|
|
|
<ul class="nav nav-tabs card-header-tabs">
|
|
|
|
<li class="nav-item">
|
2021-01-11 15:22:48 +00:00
|
|
|
<a class="nav-link" href="<?php echo site_url('notes'); ?>"><?php echo $this->lang->line('notes_menu_notes'); ?></a>
|
2019-10-05 21:10:45 +00:00
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2021-01-11 15:22:48 +00:00
|
|
|
<a class="nav-link active" href="<?php echo site_url('notes/add'); ?>"><?php echo $this->lang->line('notes_create_note'); ?></a>
|
2019-10-05 21:10:45 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
2019-10-05 20:57:44 +00:00
|
|
|
</div>
|
|
|
|
|
2019-05-13 17:28:16 +00:00
|
|
|
<div class="card-body">
|
2011-06-17 12:52:00 +00:00
|
|
|
|
2019-10-05 20:57:44 +00:00
|
|
|
<?php if (!empty(validation_errors())): ?>
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
<a class="close" data-dismiss="alert" title="close">x</a>
|
|
|
|
<ul><?php echo (validation_errors('<li>', '</li>')); ?></ul>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
<form method="post" action="<?php echo site_url('notes/add'); ?>" name="notes_add" id="notes_add">
|
|
|
|
|
|
|
|
<div class="form-group">
|
2021-01-11 15:22:48 +00:00
|
|
|
<label for="inputTitle"><?php echo $this->lang->line('notes_input_title'); ?></label>
|
2019-10-05 20:57:44 +00:00
|
|
|
<input type="text" name="title" class="form-control" id="inputTitle">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2021-01-11 15:22:48 +00:00
|
|
|
<label for="catSelect"><?php echo $this->lang->line('notes_input_category'); ?></label>
|
2019-10-05 20:57:44 +00:00
|
|
|
<select name="category" class="form-control" id="catSelect">
|
2021-01-11 15:22:48 +00:00
|
|
|
<option value="General" selected="selected"><?php echo $this->lang->line('notes_selection_general'); ?></option>
|
|
|
|
<option value="Antennas"><?php echo $this->lang->line('notes_selection_antennas'); ?></option>
|
|
|
|
<option value="Satellites"><?php echo $this->lang->line('notes_selection_satellites'); ?></option>
|
2019-10-05 20:57:44 +00:00
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2021-01-11 15:22:48 +00:00
|
|
|
<label for="inputTitle"><?php echo $this->lang->line('notes_input_notes_content'); ?></label>
|
2019-10-05 20:57:44 +00:00
|
|
|
<div id="quillArea"></div>
|
|
|
|
<textarea name="content" style="display:none" id="hiddenArea"></textarea>
|
|
|
|
</div>
|
|
|
|
|
2021-01-11 15:22:48 +00:00
|
|
|
<button type="submit" value="Submit" class="btn btn-primary"><?php echo $this->lang->line('notes_input_btn_save_note'); ?></button>
|
2019-10-05 20:57:44 +00:00
|
|
|
</form>
|
2019-05-13 17:28:16 +00:00
|
|
|
</div>
|
2011-06-17 12:52:00 +00:00
|
|
|
</div>
|
2011-11-06 23:09:51 +00:00
|
|
|
|
2019-05-13 17:28:16 +00:00
|
|
|
</div>
|