commit 6a6761ebe056f98da5c019da9874eb7f9b9c4ac9 Author: Harald Wolff Date: Thu Jul 26 00:06:48 2018 +0200 Initial Commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4e82d27 --- /dev/null +++ b/.gitignore @@ -0,0 +1,40 @@ +# Autosave files +*~ + +# build +[Oo]bj/ +[Bb]in/ +packages/ +TestResults/ + +# globs +Makefile.in +*.DS_Store +*.sln.cache +*.suo +*.cache +*.pidb +*.userprefs +*.usertasks +config.log +config.make +config.status +aclocal.m4 +install-sh +autom4te.cache/ +*.user +*.tar.gz +tarballs/ +test-results/ +Thumbs.db + +# Mac bundle stuff +*.dmg +*.app + +# resharper +*_Resharper.* +*.Resharper + +# dotCover +*.dotCover diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..a3e3b5b --- /dev/null +++ b/Properties/AssemblyInfo.cs @@ -0,0 +1,26 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// Information about this assembly is defined by the following attributes. +// Change them to the values specific to your project. + +[assembly: AssemblyTitle("sharp-wawi")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("${AuthorCopyright}")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". +// The form "{Major}.{Minor}.*" will automatically update the build and revision, +// and "{Major}.{Minor}.{Build}.*" will update just the revision. + +[assembly: AssemblyVersion("1.0.*")] + +// The following attributes are used to specify the signing key for the assembly, +// if desired. See the Mono documentation for more information about signing. + +//[assembly: AssemblyDelaySign(false)] +//[assembly: AssemblyKeyFile("")] diff --git a/WaWi.cs b/WaWi.cs new file mode 100644 index 0000000..eba0f5d --- /dev/null +++ b/WaWi.cs @@ -0,0 +1,13 @@ +using System; +using appsrv.attributes; +namespace sharpwawi +{ + public static class WaWi + { + [WebCallable] + public static String Version { get; } = "V0.0.1"; + + [WebCallable] + public static String CurrentTime => DateTime.Now.ToString(); + } +} diff --git a/WaWi.xml b/WaWi.xml new file mode 100644 index 0000000..2ddb020 --- /dev/null +++ b/WaWi.xml @@ -0,0 +1,11 @@ + + + localhost + sharp-wawi.dll + + www + + sharpwawi.WaWi + + + diff --git a/sharp-wawi.csproj b/sharp-wawi.csproj new file mode 100644 index 0000000..8d367f9 --- /dev/null +++ b/sharp-wawi.csproj @@ -0,0 +1,60 @@ + + + + Debug + AnyCPU + {C47CCF51-C78D-4213-BC03-E8B6806BBC04} + Library + sharpwawi + sharp-wawi + v4.6.1 + + + true + full + false + bin\Debug + DEBUG; + prompt + 4 + false + + + true + bin\Release + prompt + 4 + false + + + + + + + + + + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + {FD508FE5-5879-4C60-91D8-CA408E06361F} + sharp-application-server + + + + \ No newline at end of file diff --git a/www/index.hfrm b/www/index.hfrm new file mode 100644 index 0000000..05474b0 --- /dev/null +++ b/www/index.hfrm @@ -0,0 +1,7 @@ + + + Willkommen + +

Willkommen bei WaWi

+ +
diff --git a/www/layout.hfrm b/www/layout.hfrm new file mode 100644 index 0000000..f5d5255 --- /dev/null +++ b/www/layout.hfrm @@ -0,0 +1,28 @@ + + + + WaWi Version [<Var Expression="/WaWi/Version"/>] / <Var Expression="pagetitle"/> + + + +
+
WaWi
+
+
+ +
+
+ + + +
+ +
+ +
+
+
+
+ +
diff --git a/www/style.css b/www/style.css new file mode 100644 index 0000000..fe1544f --- /dev/null +++ b/www/style.css @@ -0,0 +1,127 @@ + +* { + font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; + font-size: 18px; + text-decoration: none; + font-style: normal; +} + +div { + display: block; +} + +#headbar { + position: absolute; + top: 0px; + left: 0px; + right: 0px; + height: 36px; + + background-color: #00a5fe; + + padding-top: 6px; + padding-bottom: 6px; +} + +#infobar { + position: absolute; + top: 48px; + left: 0px; + right: 0px; + height: 18px; +} + +#navigation { + position: absolute; + top: 64px; + left: 0px; + right: 0px; + height: 24px; + + background-color: #bfe9ff; +} + +#pagearea { + position: absolute; + top: 94px; + left: 5%; + right: 5%; + +} + + +#headbar .title { + position: absolute; + top: 8px; + + color: white; +} + +#headbar div { + left: 16px; +} + +#headbar #pagetitle { + top: 14px; + left: 0px; + font-size: 18px; +} + + +#footbar { + position: absolute; + bottom: 0px; + left: 0px; + left: 0px; + right: 0px; + + height: 24px; + + background-color: #00a5fe; + + border: 1px dotted black; + padding-top: 6px; + padding-bottom: 6px; + padding-left: 12px; + padding-right: 12px; +} + +#pagetime { + position: absolute; + right: 12px; +} + + +.center { + text-align: center; + width: 100%; + left: 0px; + right: 0px; +} + +.sub { + font-size: 80%; +} + +.title { + font-size: 24px; + font-weight: bold; +} + + + + + + + + + + + + +#wawi { + z-index: 1; +} +#wawi:hover { + color: #D02020; +}