Rename progetto + inizio a sistemare jenkinsfile
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
@{
|
||||
ViewBag.Title = "Home Page";
|
||||
}
|
||||
|
||||
@{
|
||||
string QrTextBox = "www.steamware.net";
|
||||
if (IsPost)
|
||||
{
|
||||
QrTextBox = Request.Form["QrTextBox"];
|
||||
}
|
||||
}
|
||||
<div class="jumbotron">
|
||||
<h1>Multi-format CODE GENERATOR</h1>
|
||||
<p class="lead">Generatore Barcode 1D / 2D by Steamware</p>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
Controller route
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,71 @@
|
||||
@{
|
||||
ViewBag.Title = "Home Page";
|
||||
}
|
||||
|
||||
@{
|
||||
string QrTextBox = "www.steamware.net";
|
||||
if (IsPost)
|
||||
{
|
||||
QrTextBox = Request.Form["QrTextBox"];
|
||||
}
|
||||
}
|
||||
<div class="jumbotron">
|
||||
<h1>Multi-format CODE GENERATOR</h1>
|
||||
<p class="lead">Barcode generator 1D / 2D</p>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<form method="post">
|
||||
<div class="row text-center border border-success p-1 rounded mx-0">
|
||||
<div class="col">
|
||||
<b>Value</b> →
|
||||
</div>
|
||||
<div class="col">
|
||||
@Html.TextBox("QrTextBox", @QrTextBox, new { @class = "form-control" })
|
||||
</div>
|
||||
<div class="col">
|
||||
<input type="submit" value="Submit" class="submit btn btn-block btn-success" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-md-12 text-center">
|
||||
<div class="row p-2">
|
||||
<div class="col">
|
||||
<h4>QR Code</h4>
|
||||
<img src="@Url.Action("QR", "Gen", new { id = System.Net.WebUtility.UrlEncode(@QrTextBox) })" alt="QRImage" class="img-fluid mx-auto d-block" />
|
||||
</div>
|
||||
<div class="col">
|
||||
<h4>Aztec</h4>
|
||||
<img src="@Url.Action("Aztec", "Gen", new { id = System.Net.WebUtility.UrlEncode(@QrTextBox) })" alt="AztecImage" class="img-fluid mx-auto d-block" />
|
||||
</div>
|
||||
<div class="col">
|
||||
<h4>DataMatrix</h4>
|
||||
<img src="@Url.Action("DataMatrix", "Gen", new { id = System.Net.WebUtility.UrlEncode(@QrTextBox) })" alt="DmtxImage" class="img-fluid mx-auto d-block" />
|
||||
<h4>Pdf417</h4>
|
||||
<img src="@Url.Action("Pdf417", "Gen", new { id = System.Net.WebUtility.UrlEncode(@QrTextBox) })" alt="AztecImage" class="img-fluid mx-auto d-block" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row p-2">
|
||||
<div class="col-6">
|
||||
<h4>Code 39 <sub>(show val)</sub></h4>
|
||||
<img src="@Url.Action("Code39", "Gen", new { id = System.Net.WebUtility.UrlEncode(@QrTextBox) })" alt="Code39Image" class="img-fluid mx-auto d-block" />
|
||||
</div>
|
||||
<div class="col">
|
||||
<h4>Code 128 <sub>(show val)</sub></h4>
|
||||
<img src="@Url.Action("Code128", "Gen", new { id = System.Net.WebUtility.UrlEncode(@QrTextBox) })" alt="Code128Image" class="img-fluid mx-auto d-block" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row p-2">
|
||||
<div class="col-6">
|
||||
<h4>Code 39 <sub>(no val)</sub></h4>
|
||||
<img src="@Url.Action("Code39", "Gen", new { id = System.Net.WebUtility.UrlEncode(@QrTextBox), showVal = false})" alt="Code39Image" class="img-fluid mx-auto d-block" />
|
||||
</div>
|
||||
<div class="col">
|
||||
<h4>Code 128 <sub>(no val)</sub></h4>
|
||||
<img src="@Url.Action("Code128", "Gen", new { id = System.Net.WebUtility.UrlEncode(@QrTextBox), showVal = false })" alt="Code128Image" class="img-fluid mx-auto d-block" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>Errore</title>
|
||||
</head>
|
||||
<body>
|
||||
<hgroup>
|
||||
<h1>Errore.</h1>
|
||||
<h2>Si è verificato un errore durante l'elaborazione della richiesta.</h2>
|
||||
</hgroup>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,44 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Steamware ZCode Generator</title>
|
||||
@Styles.Render("~/Content/css")
|
||||
@Scripts.Render("~/bundles/modernizr")
|
||||
</head>
|
||||
<body>
|
||||
<div class="navbar navbar-expand-sm navbar-dark bg-dark fixed-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbarContent">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
@Html.ActionLink("ZCode Gen", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })
|
||||
<i class="fa fa-qrcode text-light" aria-hidden="true"></i>
|
||||
<i class="fa fa-barcode text-light" aria-hidden="true"></i>
|
||||
</div>
|
||||
@*<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li>@Html.ActionLink("www.steamware.net", "steamware", "Home")</li>
|
||||
</ul>
|
||||
</div>*@
|
||||
</div>
|
||||
</div>
|
||||
<div class="container body-content">
|
||||
@RenderBody()
|
||||
<hr />
|
||||
<footer>
|
||||
<div class="row">
|
||||
<div class="col text-left">v @ViewBag.Version © @ViewBag.CopyRight @DateTime.Now.Year</div>
|
||||
<div class="col text-right">Powered by <a href="https://www.steamware.net" target="_blank">www.steamware.net</a></div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
@Scripts.Render("~/bundles/jquery")
|
||||
@Scripts.Render("~/bundles/bootstrap")
|
||||
@RenderSection("scripts", required: false)
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
|
||||
<system.web.webPages.razor>
|
||||
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.4.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
<pages pageBaseType="System.Web.Mvc.WebViewPage">
|
||||
<namespaces>
|
||||
<add namespace="System.Web.Mvc" />
|
||||
<add namespace="System.Web.Mvc.Ajax" />
|
||||
<add namespace="System.Web.Mvc.Html" />
|
||||
<add namespace="System.Web.Optimization"/>
|
||||
<add namespace="System.Web.Routing" />
|
||||
<add namespace="QR_GEN" />
|
||||
</namespaces>
|
||||
</pages>
|
||||
</system.web.webPages.razor>
|
||||
|
||||
<appSettings>
|
||||
<add key="webpages:Enabled" value="false" />
|
||||
</appSettings>
|
||||
|
||||
<system.webServer>
|
||||
<handlers>
|
||||
<remove name="BlockViewHandler"/>
|
||||
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
|
||||
<system.web>
|
||||
<compilation>
|
||||
<assemblies>
|
||||
<add assembly="System.Web.Mvc, Version=5.2.4.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
</assemblies>
|
||||
</compilation>
|
||||
</system.web>
|
||||
</configuration>
|
||||
@@ -0,0 +1,3 @@
|
||||
@{
|
||||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
Reference in New Issue
Block a user