summaryrefslogtreecommitdiff
path: root/Project-Unite/Views
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-03-25 12:24:54 -0400
committerMichael <[email protected]>2017-03-25 12:24:54 -0400
commitc5fe379bc02b18a6b84e10a5e24a99f6e5ce39d8 (patch)
tree6d0eea4272974649d82391755b408ecc1bfb0d12 /Project-Unite/Views
parentaaebed46d56f3beeb4552d8f18e9b2653959bcce (diff)
downloadproject-unite-c5fe379bc02b18a6b84e10a5e24a99f6e5ce39d8.tar.gz
project-unite-c5fe379bc02b18a6b84e10a5e24a99f6e5ce39d8.tar.bz2
project-unite-c5fe379bc02b18a6b84e10a5e24a99f6e5ce39d8.zip
Skin repo skin creator
Diffstat (limited to 'Project-Unite/Views')
-rw-r--r--Project-Unite/Views/Skins/PostSkin.cshtml42
1 files changed, 42 insertions, 0 deletions
diff --git a/Project-Unite/Views/Skins/PostSkin.cshtml b/Project-Unite/Views/Skins/PostSkin.cshtml
new file mode 100644
index 0000000..840d3ac
--- /dev/null
+++ b/Project-Unite/Views/Skins/PostSkin.cshtml
@@ -0,0 +1,42 @@
+@model Project_Unite.Models.CreateSkinViewModel
+@{
+ ViewBag.Title = "Create skin - Skin Repository";
+}
+
+<h2>Create a skin</h2>
+
+<p>Want to post your skin to the repository? Alright, just fill out this form and we'll do everything for you.</p>
+
+@using (Html.BeginForm())
+{
+ <div class="panel panel-danger">
+ @Html.ValidationSummary()
+ </div>
+ @Html.AntiForgeryToken()
+ <table class="table">
+ <tr style="width:35%;">
+ <td><strong>Title:</strong></td>
+ <td>@Html.TextBoxFor(Model=>Model.Title, new{@class="form-control"})</td>
+ </tr>
+ <tr>
+ <td><strong>Short description:</strong><br/>This is a short summary of your skin that displays on the index page. Keep it under 500 characters.</td>
+ <td>@Html.TextBoxFor(Model => Model.ShortDescription, new { @class = "form-control" })</td>
+ </tr>
+ <tr>
+ <td><strong>Long description:</strong><br/>This is a longer description for your skin. You can use Markdown to style it - use this to add notes, extra screenshots, etc, for your skin. It is displayed in the "view skin" page.</td>
+ <td>@Html.TextBoxFor(Model => Model.Title, new { @class = "form-control" })</td>
+ </tr>
+ <tr>
+ <td><strong>Skin file:</strong><br/>This is the actual skin - you can upload it to the repository and we'll host it for you. Skins are exported by the Skin Loader into <pre>My Documents\ShiftOS_Shared\skins</pre>.</td>
+ <td>@Html.EditorFor(Model=>Model.SkinFile, new { @class = "form-control" })</td>
+ </tr>
+ <tr>
+ <td><strong>Screenshot:</strong><br />Here you can upload a main screenshot to show on the repo index and view skin pages. This isn't required, but is recommended so that users can see what your skin looks like before applying it.</td>
+ <td>@Html.EditorFor(Model => Model.ScreenshotFile, new { @class = "form-control" })</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><input type="submit" value="Post!" class="btn btn-primary" /></td>
+ </tr>
+ </table>
+} \ No newline at end of file