The next generation of the Teknik Services. Written in ASP.NET. Fork for blog tags.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

58 lines
2.5 KiB

@model Teknik.Areas.Paste.ViewModels.PasteViewModel
@using Teknik.Helpers
@Styles.Render("~/Content/paste")
@Scripts.Render("~/bundles/paste")
<div class="container">
<div class="row">
<div class="col-sm-12">
<form class="form-horizontal" name="editor" method="post" action="@Url.SubRouteUrl("paste", "Paste.Paste")">
<div class="form-group">
<div class="col-sm-10 col-sm-offset-1">
<textarea class="form-control" id="content" rows="20"></textarea>
</div>
</div>
<div class="form-group">
<label for="title" class="col-sm-2 col-sm-offset-2 control-label">Title</label>
<div class="col-sm-6">
<input type="text" class="form-control" id="title" placeholder="My Awesome Paste">
</div>
</div>
<div class="form-group">
<label for="format" class="col-sm-2 col-sm-offset-2 control-label">Format</label>
<div class="col-sm-6">
<select class="form-control">
<option value="<auto>">Auto Select</option>
@foreach (KeyValuePair<string, string> format in Constants.HIGHLIGHTFORMATS)
{
<option value="@format.Value">@format.Key</option>
}
</select>
</div>
</div>
<div class="form-group">
<label for="password" class="col-sm-2 col-sm-offset-2 control-label">Password</label>
<div class="col-sm-6">
<input type="password" class="form-control" id="title" placeholder="Secret">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-4 col-sm-6">
<div class="checkbox">
<label>
<input type="checkbox"> Hide from Public List
</label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Submit Paste</button>
</div>
</div>
</form>
</div>
</div>
</div>