Skip to content

Commit

Permalink
[1.1.2] #2 Show versions number in Site
Browse files Browse the repository at this point in the history
  • Loading branch information
blubbfish committed Mar 8, 2019
1 parent 7afb64e commit f4bb38d
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 20 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions mqtt-map/Googlelocation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
using BlubbFish.Utils.IoT.Bots;
using BlubbFish.Utils.IoT.Connector;
using BlubbFish.Utils.IoT.Events;
using Fraunhofer.Fit.IoT.MqttMap.Model;
using Fraunhofer.Fit.IoT.LoraMap.Model;
using LitJson;

namespace Fraunhofer.Fit.IoT.MqttMap {
namespace Fraunhofer.Fit.IoT.LoraMap {


class Googlelocation : Webserver
Expand Down
6 changes: 3 additions & 3 deletions mqtt-map/Lora-Map.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{95D6F48A-9488-42A6-A973-941B45B26DB8}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>Fraunhofer.Fit.IoT.MqttMap</RootNamespace>
<RootNamespace>Fraunhofer.Fit.IoT.LoraMap</RootNamespace>
<AssemblyName>Lora-Map</AssemblyName>
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
Expand All @@ -32,7 +32,7 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
<ApplicationManifest>Adminrights.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand All @@ -51,7 +51,7 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.manifest" />
<None Include="Adminrights.manifest" />
<None Include="config-example\settings.conf.example">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
Expand Down
2 changes: 1 addition & 1 deletion mqtt-map/Model/Botclient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using BlubbFish.Utils;
using LitJson;

namespace Fraunhofer.Fit.IoT.MqttMap.Model {
namespace Fraunhofer.Fit.IoT.LoraMap.Model {
class Botclient {

public Botclient(JsonData json) {
Expand Down
2 changes: 1 addition & 1 deletion mqtt-map/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using BlubbFish.Utils;
using BlubbFish.Utils.IoT.Connector;

namespace Fraunhofer.Fit.IoT.MqttMap {
namespace Fraunhofer.Fit.IoT.LoraMap {
class Program {
static void Main(String[] args) {
InIReader.SetSearchPath(new List<String>() { "/etc/loramap", Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\loramap" });
Expand Down
26 changes: 15 additions & 11 deletions mqtt-map/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
using System.Reflection;
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: AssemblyTitle("mqtt-map")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyTitle("Lora-Map")]
[assembly: AssemblyDescription("Displays Items with Coordinates from Mqtt on a Map")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("mqtt-map")]
[assembly: AssemblyCopyright("Copyright © 2018 - 06.03.2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCompany("Fraunhofer FIT")]
[assembly: AssemblyProduct("Lora-Map")]
[assembly: AssemblyCopyright("Copyright © 2018 - 08.03.2019")]
[assembly: AssemblyTrademark("Fraunhofer FIT, BlubbFish")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("de-DE")]

// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
Expand All @@ -32,8 +34,10 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.1")]
[assembly: AssemblyFileVersion("1.1.1")]
[assembly: AssemblyVersion("1.1.2")]
[assembly: AssemblyFileVersion("1.1.2")]

/*
* 1.1.1 Add Debian package config
*/
* 1.1.1 Add Debian package config
* 1.1.2 #2 Show versions number in Site
*/
1 change: 1 addition & 0 deletions mqtt-map/dpkg/make-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ chmod 644 $EXEC/*
chmod 755 $EXEC

cp $OUTPUT/resources $EXEC -r
sed -i s/"<div id=\"version\">vx.x.x"/"<div id=\"version\">$VMAJOR.$VMINOR.$VBUILD"/ $EXEC/resources/index.html

cp $OUTPUT/config-example/* $CONFIG
chmod 644 $CONFIG/*
Expand Down
18 changes: 16 additions & 2 deletions mqtt-map/resources/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,29 @@ html, body {
background-color: white;
position: absolute;
top: 85px;
bottom: 10px;
bottom: 35px;
left: 10px;
z-index: 5000;
border: rgba(0,0,0,0.5) 2px solid;
border: #707070 2px solid;
border: rgba(0,0,0,0.4) 2px solid;
border-radius: 4px
}

#menucollumn .pos {
display: block;
height: 32px;
width: 32px;
}

#version {
position: absolute;
bottom: 0;
left: 0;
z-index: 50000;
background-color: white;
border-radius: 5px;
height: 20px;
width: 40px;
border: #707070 2px solid;
border: rgba(0,0,0,0.4) 2px solid;
}
1 change: 1 addition & 0 deletions mqtt-map/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<div id="menucollumn">
<span class="pos"></span>
</div>
<div id="version">vx.x.x</div>
<script type="text/javascript" src="js/leaflet/leaflet.js"></script>
<script type="text/javascript" src="js/nav.js"></script>
</body>
Expand Down

0 comments on commit f4bb38d

Please sign in to comment.