List of Articles

This page uses a Hashtag List to show the Headline for all Articles.   The table is styled using Bootstrap 3 default theme classes.   Methods are provided to create, review, update, and delete Articles.  
Status Headline Action
rejected New Headline Edit Apply Delete
rejected New Headline Edit Apply Delete
rejected New Headline Edit Apply Delete


Processed this Hashtag Markup:
<# start list for articles;
	sort by created on in descending order;
	show 10 rows per page;
#>

<# start header #>
<table class="table table-striped table-hover">
	<thead>
	<tr>
		<th>Status</th>
		<th>Headline</th>
		<th>Action</th>
	</tr>
	</thead>
<# end header #>

<# start row #>
	<tr>
		<td><# status #></td>
		<td><# headline as html #></td>
		<td><a href="form?edit=<# id #>" class="label label-primary">Edit</a>  
			<a href="apply?id=<# id #>" class="label label-primary">Apply</a>  
			<a href="delete?id=<# id #>&index=<#[url.index as html]#>" 
				onclick="return confirm('Confirm Article Delete?');"
				class="label label-primary">Delete</a>
		</td>
	</tr>
<# end row #>

<# start footer #>
</table>
<# end footer #>

<# start no results #>
<h4 class="alert alert-warning text-center">No Articles</h4>
<# end no results #>

<# end list #>


The Articles Mini-App uses the Hashtag Markup Language to provide a review process for Article Headlines.

Articles are stored in an SQL database.   Methods are provided to mark articles as reviewed, or update or delete any existing articles.