﻿@model List<List<SymbolDrawing>>

@{
	ViewBag.Title = "Double posted symbol drawings";
	var drawingModel = new SymbolDrawingPartialViewModel() {
		ImageSise = 128,
		PenSizePerc = 4,
	};
}

<h1>@ViewBag.Title</h1>

@Html.ActionLink("Clear double-posts", MVC.Administration.SymbolDrawings.ClearDoublePosts())

@if (Model.Count == 0) {
	<p>No double-posts detected.</p>
}
else {
	foreach (var drawingsGroup in Model) {
		<div class="row">
			@foreach (var drawing in drawingsGroup) {
				drawingModel.SymbolDrawing = drawing;
				<div class="pull-left small">
					@{
						Html.RenderPartial(MVC.Administration.Shared.Views.Symbol_partial, drawingModel);
					}
				</div>
			}
		</div>
	}
}