Converting to EF, need to work on TS
This commit is contained in:
@@ -18,12 +18,12 @@
|
||||
</header>
|
||||
<article id="play_area" style="background-color: #@Model.BorderColor">
|
||||
<div id="play_space" style="height: @(Model.Height)px; width: @(Model.Width)px">
|
||||
@for (var index = 0; index < Model.Cels.Count; index++)
|
||||
@for (var index = 0; index < Model.Cels.Length; index++)
|
||||
{
|
||||
var cel = Model.Cels[index];
|
||||
<div class="cel-image"
|
||||
style="background-image: url('data:image/gif;base64,@cel.DefaultImage'); height: @(cel.Height)px; width: @(cel.Width)px; z-index: @cel.ZIndex; opacity: @cel.Opacity"
|
||||
data-id="@cel.Id"
|
||||
style="background-image: url('data:image/gif;base64,@cel.Image');"
|
||||
data-id="@cel.Mark"
|
||||
data-index="@index"></div>
|
||||
}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user