Skip to content

Commit 6f26b6a

Browse files
Merge pull request #16 from VasukiElango/master
1037762: V34.1.29 has been published
2 parents f03a773 + e3c8a02 commit 6f26b6a

22 files changed

Lines changed: 401 additions & 58 deletions

‎.github/workflows/dotnet.yml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v4
19-
- name: Setup .NET8
19+
- name: Setup .NET10
2020
uses: actions/setup-dotnet@v4
2121
with:
22-
dotnet-version: 8.0.x
23-
- name: Setup .NET9
24-
uses: actions/setup-dotnet@v4
25-
with:
26-
dotnet-version: 9.0.x
22+
dotnet-version: 10.0.x
2723
- name: Build Server
2824
run: dotnet build ./Server/FloorPlanner.csproj
2925
- name: Build Wasm

‎Common/Pages/DiagramMainContent.razor‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
/// <summary>
6363
/// Gets or sets the scroll limit for the diagram's viewport.
6464
/// </summary>
65-
public ScrollLimitMode scrollLimit { get; set; } = ScrollLimitMode.Infinity;
65+
public ScrollLimitMode scrollLimit { get; set; } = ScrollLimitMode.Diagram;
6666
/// <summary>
6767
/// Gets or sets the current zoom level of the diagram.
6868
/// </summary>

‎Common/Pages/DiagramMenuBar.razor‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,16 @@
7676
<DiagramSaveDialog @ref="@SaveDialogBox"></DiagramSaveDialog>
7777
<DiagramExportDialog @ref="@ExportDialogBox"></DiagramExportDialog>
7878
<DiagramPrintDialog @ref="@PrintDialogBox"></DiagramPrintDialog>
79+
<div class="promotion-text e-control">
80+
<img src="syncfusion_logo.svg" style="margin-right:7px; filter: brightness(0) invert(1)"
81+
alt="Syncfusion Logo" />
82+
Powered by&nbsp;
83+
<a href="https://www.syncfusion.com/blazor-components/blazor-diagram?tag=es-freetools-floor-planner-sample-ft"
84+
target="_blank"
85+
style="text-decoration:none; color:#fff30f;">
86+
Syncfusion Diagram Component
87+
</a>
88+
</div>
7989
</div>
8090
</div>
8191

‎Common/Pages/DiagramPropertyContainer.razor‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
@using Syncfusion.Blazor.Popups
88
@using System.Collections.ObjectModel
99
@using Syncfusion.Blazor.SplitButtons
10-
@using Newtonsoft.Json.Linq
1110
@using System.Drawing
1211

1312

‎Common/Pages/DiagramToolBar.razor.cs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using Microsoft.JSInterop;
33
using System;
44
using System.Threading.Tasks;
5-
using Newtonsoft.Json;
65
using System.Collections.ObjectModel;
76
using System.Globalization;
87
using Syncfusion.Blazor.Diagram;

‎Common/Parent/DiagramMain.razor‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,31 @@
1313
</div>
1414
</div>
1515
</div>
16+
<!-- Fixed footer -->
17+
<div class="footer">
18+
<div class="footer-container">
19+
<div class="diagram-icon">
20+
<img class="footer-logo" src="diagram_component.svg" alt="Diagram Component" />
21+
</div>
22+
<div class="footer-content">
23+
<div class="title">
24+
<span>Want interactive diagramming in your app?</span>
25+
<span><strong class="main-title"> Try our Diagram component</strong> — build, connect, and customize!</span>
26+
</div>
27+
<div class="buttons">
28+
<a class="e-trial-btn e-btn"
29+
href="https://www.syncfusion.com/downloads/blazor?tag=es-freetools-floor-planner-sample-ads-trial"
30+
target="_blank" rel="noopener noreferrer">
31+
</a>
32+
<a class="e-demo-btn"
33+
href="https://www.syncfusion.com/request-demo?tag=es-freetools-floor-planner-sample-ads-demo"
34+
target="_blank" rel="noopener noreferrer">
35+
Request Demo
36+
</a>
37+
</div>
38+
</div>
39+
</div>
40+
</div>
1641
</div>
1742

1843

‎Common/wwwroot/assets/dbstyle/diagrambuilder.css‎

Lines changed: 225 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* https://fonts.google.com/specimen/Roboto?selection.family=Lato|Roboto */
1+
z/* https://fonts.google.com/specimen/Roboto?selection.family=Lato|Roboto */
22
html, body {
33
height: 100%;
44
overflow: hidden;
@@ -9,7 +9,23 @@ html, body {
99
font-family: "Roboto","GeezaPro","DejaVu Serif";
1010
letter-spacing: 0.3px;
1111
}
12-
12+
/* Layout adjustments to keep footer at bottom and align header content */
13+
#FloorPlanner-container {
14+
min-height: 100vh;
15+
display: flex;
16+
flex-direction: column;
17+
}
18+
/* Content area should fill remaining space between header and footer */
19+
.row.content {
20+
flex: 1 1 auto;
21+
position: relative;
22+
}
23+
/* Ensure editor panes fill available height inside flex container */
24+
#FloorPlanner-container .sidebar,
25+
#FloorPlanner-container .main-content {
26+
top: 0;
27+
height: 100%;
28+
}
1329
#DiagramTooltip {
1430
width: 100% !important;
1531
height: 100% !important;
@@ -55,6 +71,9 @@ html, body {
5571

5672
.db-menu-container {
5773
padding: 2px 10px;
74+
display: flex;
75+
align-items: center;
76+
justify-content: space-between;
5877
}
5978

6079
.db-toolbar-editor {
@@ -1185,7 +1204,7 @@ html, body {
11851204
}
11861205

11871206
.e-dialog .e-dlg-header-content {
1188-
height: 36px;
1207+
height: 46px;
11891208
padding: 9.5px 4px 9.5px 16px;
11901209
border-bottom: 1px solid #D5D5D5;
11911210
}
@@ -1240,6 +1259,7 @@ html, body {
12401259
.e-upload .e-upload-files .e-upload-file-list,
12411260
.e-upload .e-upload-files {
12421261
border: none;
1262+
width: auto;
12431263
}
12441264
/*.e-icons {
12451265
color: black;
@@ -1855,4 +1875,205 @@ td {
18551875
max-width: unset;
18561876
}
18571877
/* Some animation occur while click the dropdown value End */
1858-
/* Some animation occur while click the dropdown value End */
1878+
/* Some animation occur while click the dropdown value End */
1879+
/* Animation At Initial Rendering End */
1880+
.promotion-text {
1881+
display: flex;
1882+
align-items: center;
1883+
font-size: 14px;
1884+
font-weight: 500;
1885+
margin-right: 1.5rem;
1886+
margin-left: auto;
1887+
color: white;
1888+
}
1889+
/* Footer styles scoped to the sample root */
1890+
.footer {
1891+
position: static;
1892+
display: flex;
1893+
justify-content: center;
1894+
align-items: center;
1895+
background: linear-gradient(90.4deg, #154db9 0.03%, #081b3f 11.56%, #081b3f 85.56%, #154db9 99.97%);
1896+
border-top: 1px solid #D8DEE9;
1897+
padding: 12px;
1898+
font-family: sans-serif;
1899+
}
1900+
1901+
.footer-container {
1902+
display: flex;
1903+
justify-content: center;
1904+
align-items: center;
1905+
gap: 16px;
1906+
}
1907+
1908+
.diagram-icon {
1909+
display: flex;
1910+
align-items: center;
1911+
gap: 10px;
1912+
flex: 0 0 auto;
1913+
width: 38px;
1914+
height: 38px;
1915+
}
1916+
1917+
.footer-logo{
1918+
width:38px;
1919+
height:38px;
1920+
}
1921+
1922+
.footer-content {
1923+
display: flex;
1924+
align-items: center;
1925+
gap: 20px;
1926+
}
1927+
1928+
.title span {
1929+
font-weight: 400;
1930+
font-size: 16px;
1931+
color: #e1e3e7;
1932+
}
1933+
1934+
.title span .main-title {
1935+
font-weight: 700;
1936+
font-size: 16px;
1937+
color: #ffffff;
1938+
}
1939+
1940+
.buttons {
1941+
display: flex;
1942+
align-items: center;
1943+
gap: 8px;
1944+
}
1945+
1946+
.e-trial-btn::before {
1947+
content: 'Start Free Trail';
1948+
font-family: sans-serif;
1949+
}
1950+
1951+
.e-trial-btn {
1952+
display: flex;
1953+
align-items: center;
1954+
gap: 10px;
1955+
background: #FFF30F;
1956+
color: #0F172A;
1957+
border: transparent;
1958+
border-radius: 8px;
1959+
padding: 10px 16px;
1960+
font-size: 14px;
1961+
font-weight: 700;
1962+
height: 40px;
1963+
width: auto;
1964+
box-shadow: none;
1965+
font-family: "Open Sans", Helvetica, Arial, sans-serif;
1966+
text-decoration: none;
1967+
text-transform: none;
1968+
box-sizing: border-box;
1969+
}
1970+
1971+
.e-demo-btn {
1972+
display: flex;
1973+
-webkit-tap-highlight-color: transparent;
1974+
-webkit-font-smoothing: antialiased;
1975+
align-items: center;
1976+
background-color: transparent;
1977+
border: transparent;
1978+
color: white;
1979+
border-radius: 6px;
1980+
gap: 10px;
1981+
padding: 10px 16px;
1982+
font-size: 14px;
1983+
font-weight: 500;
1984+
letter-spacing: .7px;
1985+
height: 40px;
1986+
box-shadow: none;
1987+
text-transform: none;
1988+
text-decoration: none;
1989+
transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
1990+
}
1991+
1992+
.e-demo-btn:hover {
1993+
background-color: #173D87;
1994+
text-decoration: none;
1995+
color: white;
1996+
}
1997+
1998+
.e-demo-btn:focus {
1999+
color: white;
2000+
text-decoration: none;
2001+
}
2002+
2003+
.e-trial-btn::after {
2004+
content: "\e7f9";
2005+
font-family: 'e-icons';
2006+
}
2007+
2008+
.e-trial-btn:hover {
2009+
background: #F1E50B;
2010+
text-decoration: none;
2011+
color: #0F172A;
2012+
}
2013+
2014+
.e-trial-btn:focus {
2015+
background: #F1E50B;
2016+
text-decoration: none;
2017+
color: #0F172A;
2018+
}
2019+
/* Responsive handling for footer */
2020+
@media screen and (max-width: 1140px), screen and (max-device-width: 1140px) {
2021+
.title {
2022+
display: flex;
2023+
flex-direction: column;
2024+
}
2025+
2026+
.footer-content .title span, .footer-content .title span .main-title {
2027+
font-size: 14px;
2028+
}
2029+
}
2030+
/* Hide extra footer text on smaller screens */
2031+
@media screen and (max-width: 900px), screen and (max-device-width: 900px) {
2032+
.e-ribbon .help-pane-content,
2033+
.title span:last-child {
2034+
display: none;
2035+
}
2036+
}
2037+
2038+
@media screen and (max-width: 730px) {
2039+
.buttons .e-demo-btn {
2040+
display: none;
2041+
}
2042+
2043+
.buttons .e-trial-btn::before {
2044+
content: 'Free Trial';
2045+
}
2046+
2047+
.buttons .e-trial-btn::after {
2048+
display: none;
2049+
}
2050+
}
2051+
/* Hide Request Demo button on small screens + increase footer size */
2052+
@media screen and (max-device-width: 730px) {
2053+
.footer {
2054+
height: 90px; /* Increased footer height */
2055+
}
2056+
2057+
.buttons .e-demo-btn {
2058+
display: none;
2059+
}
2060+
2061+
.buttons .e-trial-btn::before {
2062+
content: 'Free Trial';
2063+
}
2064+
2065+
.buttons .e-trial-btn::after {
2066+
display: none;
2067+
}
2068+
2069+
.title span,
2070+
.title span .main-title {
2071+
font-size: 26px; /* Bigger font for mobile */
2072+
}
2073+
}
2074+
/* Hide the promotion text */
2075+
@media screen and (max-width: 620px), screen and (max-device-width: 620px) {
2076+
.promotion-text {
2077+
display: none;
2078+
}
2079+
}

0 commit comments

Comments
 (0)