diff --git a/web/app/app.html b/web/app/app.html index 6db82947..c828a553 100644 --- a/web/app/app.html +++ b/web/app/app.html @@ -1,450 +1,14 @@ + + + + + + + + - -
-
-
- -
-

"Errar é Humano."

-

General Bots

-
-
- -
-
-

Sign in to your account

-

Choose your preferred login method

-
- -
{error}
- -
- - - - - - - -
- -
- OR -
- -
-
- - this.email = e.target.value} - placeholder="your@email.com" required /> -
- -
- - this.password = e.target.value} - placeholder="••••••••" required /> -
- -
-
- - -
- Forgot password? -
- - -
- - - -

- By continuing, you agree to our Terms of Service and Privacy Policy. -

-
-
- - -
\ No newline at end of file diff --git a/web/app/chat/chat.page.html b/web/app/chat/chat.page.html index aeac0036..401c9912 100644 --- a/web/app/chat/chat.page.html +++ b/web/app/chat/chat.page.html @@ -163,7 +163,7 @@ - + handleLogout() { + this.isLoggedIn = false; + this.showLoginMenu = false; + this.update(); + }, - + checkScrollNeeded() { + if (this.scrollContainer) { + const container = this.scrollContainer; + const isScrollable = container.scrollWidth > container.clientWidth; + this.showScrollButtons = isScrollable; + this.update(); + } + }, - -
-
-
-
- - RETRO NAVIGATOR v4.0 + handleClickOutside(event) { + if (this.loginMenu && !this.loginMenu.contains(event.target)) { + this.showLoginMenu = false; + } + if (this.themeMenu && !this.themeMenu.contains(event.target)) { + this.showThemeMenu = false; + } + this.update(); + }, + + scrollLeft() { + if (this.scrollContainer) { + this.scrollContainer.scrollBy({ left: -150, behavior: 'smooth' }); + } + }, + + scrollRight() { + if (this.scrollContainer) { + this.scrollContainer.scrollBy({ left: 150, behavior: 'smooth' }); + } + }, + + getThemeIcon() { + const found = this.themes.find(t => t.name === this.theme.name); + return found ? found.icon : '🎨'; + }, + + setTheme(name) { + const found = this.themes.find(t => t.name === name); + if (found) { + this.theme = found; + this.showThemeMenu = false; + this.update(); + } + }, + + navigate(href) { + window.location.href = href; + }, + }; + + + + + +
+
+
+
+ + RETRO NAVIGATOR v4.0 +
+
+
+ READY +
+
+ THEME: + {theme.label} +
-
-
- READY -
-
- THEME: - {theme.label} -
-
-
- {formatDate(currentTime)} - {formatTime(currentTime)} -
- - SYS +
+ {formatDate(currentTime)} + {formatTime(currentTime)} +
+ + SYS +
-
- + \ No newline at end of file diff --git a/web/app/dashboard/dashboard.page.html b/web/app/dashboard/dashboard.page.html index 6c8e61e2..7af293f6 100644 --- a/web/app/dashboard/dashboard.page.html +++ b/web/app/dashboard/dashboard.page.html @@ -35,7 +35,7 @@
- - + + + - \ No newline at end of file + diff --git a/web/app/news/news.page.html b/web/app/news/news.page.html index 8f003263..301a2d9b 100644 --- a/web/app/news/news.page.html +++ b/web/app/news/news.page.html @@ -5,7 +5,7 @@
- + +
+
+
+ +
+

"Errar é Humano."

+

General Bots

+
+
+ +
+
+

Sign in to your account

+

Choose your preferred login method

+
+ +
{error}
+ +
+ + + + + + + +
+ +
+ OR +
+ +
+
+ + this.email = e.target.value} + placeholder="your@email.com" required /> +
+ +
+ + this.password = e.target.value} + placeholder="••••••••" required /> +
+ +
+
+ + +
+ Forgot password? +
+ + +
+ + + +

+ By continuing, you agree to our Terms of Service and Privacy Policy. +

+
+
+ + +
+ \ No newline at end of file