Initial Commit
commit
6a6761ebe0
|
@ -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
|
|
@ -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("")]
|
|
@ -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();
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<SharpWebApplication>
|
||||||
|
<ApplicationName>localhost</ApplicationName>
|
||||||
|
<Assembly>sharp-wawi.dll</Assembly>
|
||||||
|
<Resource Default="/index.hfrm">
|
||||||
|
<Provider Name="StaticDirectory">www</Provider>
|
||||||
|
<Resource>
|
||||||
|
<Provider Name="StaticClass">sharpwawi.WaWi</Provider>
|
||||||
|
</Resource>
|
||||||
|
</Resource>
|
||||||
|
</SharpWebApplication>
|
|
@ -0,0 +1,60 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{C47CCF51-C78D-4213-BC03-E8B6806BBC04}</ProjectGuid>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<RootNamespace>sharpwawi</RootNamespace>
|
||||||
|
<AssemblyName>sharp-wawi</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<ConsolePause>false</ConsolePause>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release</OutputPath>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<ConsolePause>false</ConsolePause>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="WaWi.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="www\" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="www\index.hfrm">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
<None Include="www\layout.hfrm">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
<None Include="www\style.css">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
<None Include="WaWi.xml">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\sharp-application-server\sharp-application-server.csproj">
|
||||||
|
<Project>{FD508FE5-5879-4C60-91D8-CA408E06361F}</Project>
|
||||||
|
<Name>sharp-application-server</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<SharpForm Frame="/layout.hfrm">
|
||||||
|
<Set Name="pagetitle">Willkommen</Set>
|
||||||
|
|
||||||
|
<h1>Willkommen bei WaWi</h1>
|
||||||
|
|
||||||
|
</SharpForm>
|
|
@ -0,0 +1,28 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<SharpForm>
|
||||||
|
<head>
|
||||||
|
<title>WaWi Version [<Var Expression="/WaWi/Version"/>] / <Var Expression="pagetitle"/></title>
|
||||||
|
<link rel="stylesheet" href="/style.css"/>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<section id="headbar">
|
||||||
|
<div class="title" id="wawi">WaWi</div>
|
||||||
|
<div class="title center" id="pagetitle"><Var Expression="pagetitle"/></div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="infobar">
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="navigation">
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="pagearea">
|
||||||
|
<SubFrame/>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="footbar">
|
||||||
|
<div></div>
|
||||||
|
<div id="pagetime"><Var Expression="/WaWi/CurrentTime"/></div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</SharpForm>
|
|
@ -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;
|
||||||
|
}
|
Loading…
Reference in New Issue