Änderungen Visual Styles

This commit is contained in:
ja
2021-08-02 16:05:42 +02:00
parent 56bb165322
commit e7a6b8a10f
9 changed files with 138 additions and 92 deletions

View File

@@ -8,8 +8,6 @@ Public Class cNavigation
Property subnavigation As List(Of cNavigation) = Nothing
End Class
Public Class cBlock
Property block_ID As Integer = -1
Property block_order As Integer = -1

View File

@@ -12,9 +12,10 @@ Public Class cDBFunctions
Dim cn As New SqlConnection()
' cn.ConnectionString = "Server=db593295684.db.1and1.com;Database=db593295684;Uid=dbo593295684;Pwd=atilla#2;"
If HttpContext.Current.Request.ServerVariables("SERVER_NAME") = "localhost" Then
cn.ConnectionString = "Server=FMZOLL\SQLFMZOLL;Database=VERAG_HOMEPAGE;Uid=sa;Pwd=BmWr501956"
cn.ConnectionString = "Server=FMZOLL.verag.ost.dmn\SQLFMZOLL;Database=VERAG_HOMEPAGE;Uid=AppUser;Pwd=yp/THDd?xM+pZ$"
' cn.ConnectionString = "Server=FMZOLL\SQLFMZOLL;Database=VERAG_HOMEPAGE;Uid=sa;Pwd=BmWr501956"
Else
cn.ConnectionString = "Server=FMZOLL\SQLFMZOLL;Database=VERAG_HOMEPAGE;Uid=sa;Pwd=BmWr501956"
cn.ConnectionString = "Server=DEVELOPER.verag.ost.dmn\DEVSQL;Database=VERAG_HOMEPAGE;Uid=AppUser;Pwd=yp/THDd?xM+pZ$;"
' cn.ConnectionString = "Server=db593295684.db.1and1.com;Database=db593295684;Uid=dbo593295684;Pwd=atilla#2;"
End If
cn.Open()

View File

@@ -107,11 +107,11 @@
display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {
background-color: #043381;
color: #fff;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {
background-color: #043381;
color: #fff;
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
@@ -247,6 +247,14 @@
li {
list-style-type: none;
}
@media (min-width: 768px) {
#offcanvasWithBothOptions {
min-width: 350px;
min-width: 21.875em;
max-width: 350px;
max-width: 21.875em;
}
}
</style>
<script src="js/netzwerk.js" type="text/javascript"></script>

View File

@@ -206,8 +206,6 @@
<a class="navbar-brand" href="newpageJulius_Sidebar.aspx"><img src="images/Logo_small.png" width="140" height="40" alt="" data-toggle="tooltip" data-placement="top" title="https://www.verag.ag"/> </a>
</div>
<%
Dim flagpath = "../images/flags/flagge_DE_AT.gif"
Select Case laenderkuerzel
Case "de" : flagpath = "../images/flags/flagge_DE_AT.gif"
@@ -218,18 +216,24 @@
Case "TR" : flagpath = "../images/flags/flagge_TR.gif"
End Select%>
<div Class="dropdown">
<button Class="dropbtn"> <img id="myImage" src="<%=flagpath%>" style="border:1px solid #000;width:30px;"/></button>
<div Class="dropdown-content">
<!-- <a id="ButtonOesterreichLangPicker" class="btn btn-primary btn-sm" onclick="changeflag(A)" href="<%'= navParent%>?menuID=<%'= curentMenuId %>&lan=de"><img src="<%'= imgPath%>images/flags/flagge_A.gif" <%' If laenderkuerzel = "de" Then Response.Write("style='border:1px solid #000'")%> /> DE</a> -->
<a id="ButtonDeutschLangPicker" class="btn btn-primary btn-sm" href="<%= navParent%>?menuID=<%= curentMenuId %>&lan=de"<img src="../<%= imgPath%>images/flags/flagge_DE_AT.gif" <% If laenderkuerzel = "de" Then Response.Write("style='border:1px solid #000'")%>/>DE/AT</a>
<a id="ButtonEnglischLangPicker" class="btn btn-primary btn-sm" href="<%= navParent%>?menuID=<%= curentMenuId %>&lan=EN"<img src="../<%= imgPath%>images/flags/flagge_GB.gif" <% If laenderkuerzel = "en" Then Response.Write("style='border:1px solid #000'")%>/>EN</a>
<a id="ButtonSerbischLangPicker" class="btn btn-primary btn-sm" href="<%= navParent%>?menuID=<%= curentMenuId %>&lan=SRB"<img src="../<%= imgPath%>images/flags/flagge_BIH.gif" <% If laenderkuerzel = "yu" Then Response.Write("style='border:1px solid #000'")%> />BIH</a>
<a id="ButtonSerbischZweiLangPicker" class="btn btn-primary btn-sm" href="<%= navParent%>?menuID=<%= curentMenuId %>&lan=SRB"<img src="../<%= imgPath%>images/flags/flagge_SM.gif" <% If laenderkuerzel = "yu" Then Response.Write("style='border:1px solid #000'")%> />SRB</a>
<a id="ButtonBulgariaLangPicker" class="btn btn-primary btn-sm" href="<%= navParent%>?menuID=<%= curentMenuId %>&lan=BG"<img src="../<%= imgPath%>images/flags/flagge_BG.gif" <% If laenderkuerzel = "bg" Then Response.Write("style='border:1px solid #000'")%>/>BG</a>
<a id="ButtonTürkeiLangPicker" class="btn btn-primary btn-sm" href="<%= navParent%>?menuID=<%= curentMenuId %>&lan=TR"<img src="../<%= imgPath%>images/flags/flagge_TR.gif" <% If laenderkuerzel = "tr" Then Response.Write("style='border:1px solid #000'")%>/>TR</a>
</div>
</div>
<div class="dropdown" style="background-color:#fff">
<button class="dropbtn" style="background-color:#fff;color:#043381;"> <img id="myImage" src="<%=flagpath%>" style="border:1px solid #fff;width:30px; justify-items:center"/></button>
<div class="dropdown-content">
<% Dim stringDE = "&nbsp DE"
Dim stringEN = "&nbsp EN"
Dim stringBIH = "&nbsp BIH"
Dim stringSRB = "&nbsp SRB"
Dim stringBG = "&nbsp BG"
Dim stringTR = "&nbsp TR"%>
<!--<a id="ButtonOesterreichLangPicker" class="btn btn-primary btn-sm" onclick="changeflag(A)" href="<%'= navParent%>?menuID=<%'= curentMenuId %>&lan=de"><img src="<%'= imgPath%>images/flags/flagge_A.gif" <%' If laenderkuerzel = "de" Then Response.Write("style='border:1px solid #000'")%> /> DE</a>-->
<a id="ButtonDeutschLangPicker" class="btn btn-primary btn-sm" href="<%= navParent%>&lan2=DE" style="background-color:#fff;color:#043381;"><img src="<%= imgPath%>images/flags/flagge_DE_AT.gif" <% If laenderkuerzel = "de" Then Response.Write("style='border:1px solid #000'")%>/><%=stringDE%></a>
<a id="ButtonEnglischLangPicker" class="btn btn-primary btn-sm" href="<%= navParent%>&lan2=EN" style="background-color:#fff;color:#043381;"><img src="<%= imgPath%>images/flags/flagge_GB.gif" <% If laenderkuerzel = "en" Then Response.Write("style='border:1px solid #000'")%>/><%=stringEN%></a>
<a id="ButtonSerbischLangPicker" class="btn btn-primary btn-sm" href="<%= navParent%>&lan2=SRB" style="background-color:#fff;color:#043381;"><img src="<%= imgPath%>images/flags/flagge_BIH.gif" <% If laenderkuerzel = "yu" Then Response.Write("style='border:1px solid #000'")%> /><%=stringBIH%></a>
<a id="ButtonSerbischZweiLangPicker" class="btn btn-primary btn-sm" href="<%= navParent%>&lan2=SM" style="background-color:#fff;color:#043381;"><img src="<%= imgPath%>images/flags/flagge_SM.gif" <% If laenderkuerzel = "yu" Then Response.Write("style='border:1px solid #000'")%> /><%=stringSRB%></a>
<a id="ButtonBulgariaLangPicker" class="btn btn-primary btn-sm" href="<%= navParent%>&lan2=BG" style="background-color:#fff;color:#043381;"><img src="<%= imgPath%>images/flags/flagge_BG.gif" <% If laenderkuerzel = "bg" Then Response.Write("style='border:1px solid #000'")%>/><%=stringBG%></a>
<a id="ButtonTürkeiLangPicker" class="btn btn-primary btn-sm" href="<%= navParent%>&lan2=TR" style="background-color:#fff;color:#043381;"><img src="<%= imgPath%>images/flags/flagge_TR.gif" <% If laenderkuerzel = "yu" Then Response.Write("style='border:1px solid #000'")%>/><%=stringTR%></a>
</div>
</div>
</nav>

View File

@@ -4,8 +4,29 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" title="VERAG Login"/>
<style>
@media (min-width:768px) {
#UserNameLabel{
font-size: 20px;
font-size:1.25em;
}
#PasswordLabel{
font-size: 20px;
font-size:1.25em;
}
}
@media (max-width: 768px) {
#UserNameLabel{
font-size: 16px;
font-size:1em;
}
#PasswordLabel{
font-size: 16px;
font-size:1em;
}
}
</style>
</head>
<body>

View File

@@ -12,7 +12,8 @@ Partial Class login_login_TEST
'ConnectionString = "Server=DEVELOPER\DEVSQL;Database=VERAG_HOMEPAGE;Uid=sa;Pwd=BmWr501956"
ConnectionString = "Server=DEVELOPER\DEVSQL;Database=VERAG_HOMEPAGE;Uid=AppUser;Pwd=yp/THDd?xM+pZ$;"
Else
ConnectionString = "Server=db593295684.db.1and1.com;Database=db593295684;Uid=dbo593295684;Pwd=atilla#2;"
ConnectionString = "Server=DEVELOPER.verag.ost.dmn\DEVSQL;Database=VERAG_HOMEPAGE;Uid=AppUser;Pwd=yp/THDd?xM+pZ$;"
'ConnectionString = "Server=db593295684.db.1and1.com;Database=db593295684;Uid=dbo593295684;Pwd=atilla#2;"
End If

File diff suppressed because one or more lines are too long

View File

@@ -49,8 +49,7 @@
<LINK REL="SHORTCUT ICON" HREF="images/Icons/favicon/favicon.ico" />
<!-- <link rel="stylesheet" type="text/css" href="css/edit_main.css"> -->
<script src="js/netzwerk.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="../stylesheets/style.css"/>
<link rel="stylesheet" type="text/css" href="../stylesheets/example.css"/>
<script type="text/javascript">

View File

@@ -118,6 +118,11 @@
.alert {
width:93em;
}
li {
list-style-type: none;
}
.bodycontent{
align-self:center;
justify-content:center;
@@ -378,7 +383,7 @@
<!-- Page Content -->
<div id="content">
<div class="d-none d-lg-block">
<div class="d-none d-md-block">
<nav class="navbar navbar-expand-lg navbar-light" style="background-color:#fff">
<li>
<a class="navbar-brand" href="newpageJulius_Sidebar.aspx?lan2=DE"><img src="images/Logo_small.png" alt="" data-toggle="tooltip" data-placement="top" title="https://www.verag.ag"></a>
@@ -391,9 +396,9 @@
End If
%>
</li>
<li style="width:520px; width:32.5em;"></li>
<li style="width:535px; width:33.438em;"></li>
<li>
<div class="dropdown" style="background-color:#6c757d;">
<div class="dropdown" style="background-color:#fff; color:#043381;">
<button class="dropbtn"> <center><img id="myImage" src="<%=flagpath%>" style="border:1px solid #fff;width:30px;" /></center></button>
<div class="dropdown-content">
<% Dim stringDE = "&nbsp DE"
@@ -415,7 +420,7 @@
</nav>
</div>
<div class="d-lg-none">
<div class="d-md-none">
<a href="newpageJulius_Sidebar.aspx?lan2=DE"><img src="images/Logo_small.png" alt="" data-toggle="tooltip" data-placement="top" title="https://www.verag.ag"></a>
<button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasWithBothOptions" aria-controls="offcanvasWithBothOptions" style="background-color:#fff;color:#043381;"><img id="myImage" src="<%=flagpath%>" style="border:1px solid #fff;width:30px;"/></button>
</div>
@@ -455,7 +460,7 @@
</li>
<li style="transform: rotate(0);">
<!--<a id="ButtonTürkeiLangPicker" class="btn btn-primary btn-sm" href="<%'= navParent%>&lan=TR"><img src="<%'= imgPath%>images/flags/flagge_TR.gif" <%' If laenderkuerzel = "yu" Then Response.Write("style='border:1px solid #000'")%>/>TR</a>-->
<a id="ButtonTürkeiLangPicker2" href="<%= navParent%>&lan2=TR" class="stretched-link"><img src="<%= imgPath%>images/flags/flagge_TR.gif" <% If laenderkuerzel = "yu" Then Response.Write("style='border:1px solid #000'")%>/><%=strTRlang %></a>
<a id="ButtonTürkeiLangPicker2" href="<%= navParent%>&lan2=TR" class="stretched-link"><img src="<%= imgPath%>images/flags/flagge_TR.gif" <% If laenderkuerzel = "tr" Then Response.Write("style='border:1px solid #000'")%>/><%=strTRlang %></a>
</li>
</ul>
</div>
@@ -477,7 +482,7 @@
<%
End If
'Response.Write(DB2.qry_contentNew(menuID, lan)) %>
<br />
<br />
<br />
<h1><%= LT.getTxt(1, lan, "Herzlich Willkommen bei VERAG Spedition AG!")%></h1>
@@ -575,8 +580,7 @@
<!-- <div> <img src="images/okround.jpg" style="height:50px"/><h1 class="statusLKW_OK">&nbsp;&nbsp; <%'= LT.getTxt(16, lan, "Der LKW ist fertig, bitte kommen Sie zum Schalter!") %></h1></div>-->
<% Elseif AVISO.Status = 3 Then %>
<div style="height:20px"></div>
<div style="height:20px"></div>
<!-- <h3><%'= LT.getTxt(17, lan, "Ihr LKW wird gerade bearbeitet!") %></h3> -->
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="info-fill" fill="currentColor" viewBox="0 0 16 16">
@@ -708,7 +712,7 @@
<br/>
<br/>
<p>
<a id="ButtonPanel" class="btn btn-primary btn-lg" href="AvisoTV_Flex.aspx?&lan2=<%=lan %>">Panel </a>
<a id="ButtonPanel" class="btn btn-primary btn-lg" href="AvisoTV_Flex.aspx?&lan2=<%=lan %>" style="background-color:#fff; color:#043381;">Panel </a>
</p>
<%
End If