Initial commit

This commit is contained in:
Joey Kimsey
2024-08-04 21:15:59 -04:00
parent c9d1fb983f
commit 0d469501ee
695 changed files with 70184 additions and 71 deletions

View File

@ -0,0 +1,32 @@
<legend>Create Note</legend>
<form action="" method="post" class="form-horizontal">
<input type="hidden" name="token" value="{TOKEN}">
<div class="col-lg-4">
<label for="notebookID" class="col-lg-3 control-label">Notebook</label>
{notebookSelect}
</div>
<div class="form-group">
<label for="title" class="col-lg-3 control-label">Title</label>
<div class="col-lg-3">
<input type="text" class="form-control" name="title" id="title">
</div>
</div>
<div class="form-group">
<label for="note" class="col-lg-3 control-label">Note</label>
<div class="col-lg-3">
<textarea class="form-control" name="note" maxlength="5000" rows="10" cols="50" id="note"></textarea>
</div>
</div>
<div class="form-group">
<label for="color" class="col-lg-3 control-label">Color</label>
<div class="col-lg-3 select-container" id="colorContainer">
{colorSelect}
</div>
</div>
<div class="form-group">
<label for="submit" class="col-lg-3 control-label"></label>
<div class="col-lg-3">
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block ">Submit</button>
</div>
</div>
</form>

View File

@ -0,0 +1,29 @@
<legend>Edit Note</legend>
<form action="" method="post" class="form-horizontal">
<input type="hidden" name="token" value="{TOKEN}">
<input type="hidden" name="noteID" id="noteID" value="{noteID}">
<div class="form-group">
<div class="col-lg-4">
<label for="title" class="control-label">Title</label>
<input type="text" class="form-control" name="title" id="title" value="{title}">
</div>
<div class="col-lg-4">
<label for="color" class="col-lg-3 control-label">Color</label>
<div class="select-container" id="colorContainer">
{colorSelect}
</div>
</div>
<div class="col-lg-4">
<label for="notebookID" class="col-lg-3 control-label">Notebook</label>
{notebookSelect}
</div>
<div class="col-lg-12">
<label for="color" class="control-label">Note</label>
<textarea class="form-control" name="note" maxlength="5000" rows="25" cols="50" id="note">{note}</textarea>
</div>
<div class="col-lg-12">
<label for="submit" class="control-label"></label>
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block ">Submit</button>
</div>
</div>
</form>

View File

@ -0,0 +1,35 @@
<div class="row" style="margin-top: 30px; margin-bottom: 50px;">
<form action="" method="post">
<table class="table table-striped">
<thead>
<tr>
<th style="width: 20%">Title</th>
<th style="width: 60%">Note</th>
<th style="width: 20%">Created</th>
<th style="width: 5%"></th>
<th style="width: 5%"></th>
</tr>
</thead>
<tbody>
{LOOP}
<tr>
<td>{title}</td>
<td>{contentSummaryNoLink}</td>
<td>{DTC}{createdAt}{/DTC}</td>
<td><a href="{ROOT_URL}notes/duplicateNote/{ID}" class="btn btn-sm btn-primary" role="button"><i class="glyphicon glyphicon-copy"></i></a></td>
<td><a href="{ROOT_URL}notes/editNote/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a></td>
<td><a href="{ROOT_URL}notes/deleteNote/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
</tr>
{/LOOP}
{ALT}
<tr>
<td colspan="7">
No Notes
</td>
</tr>
{/ALT}
</tbody>
</table>
<a href="{ROOT_URL}notes/createNote/{notebookID}" class="btn btn-sm btn-primary" role="button">New Note</a>
</form>
</div>