Repository navigation
initial work on gui - #2
Merged
Merged
Conversation
Closed
MaartendeKruijf
force-pushed
the
feature/1-initial-work-on-gui
branch
from
June 17, 2024 14:48
e0ccc29 to
dcf5ed5
Compare
added 11 commits
June 17, 2024 17:15
MaartendeKruijf
force-pushed
the
feature/1-initial-work-on-gui
branch
from
June 17, 2024 15:16
634cbe8 to
d9002a0
Compare
| @@ -1,24 +1,8 @@ | |||
| **/*.log | |||
Contributor
There was a problem hiding this comment.
Please add those back in
| }) | ||
| } | ||
|
|
||
| func LoginBaseLayout() templ.Component { |
Contributor
There was a problem hiding this comment.
Refactor this function you can split it into the writer and variables, also use string interpolation to fill in the variables
| }) | ||
| } | ||
|
|
||
| func LoginForm() templ.Component { |
| } | ||
| ctx = templ.ClearChildren(ctx) | ||
| for _, err := range errors { | ||
| templ_7745c5c3_Err = components.WarningNofication(err.Error()).Render(ctx, templ_7745c5c3_Buffer) |
Contributor
There was a problem hiding this comment.
err.Error() could expose sensitive information
| templ_7745c5c3_Var1 = templ.NopComponent | ||
| } | ||
| ctx = templ.ClearChildren(ctx) | ||
| _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<header class=\"w-full items-center bg-slate-50 py-2 px-6 hidden sm:flex\"><div class=\"w-1/2\"></div><div x-data=\"{ isOpen: false }\" class=\"relative w-1/2 flex justify-end\"><button @click=\"isOpen = !isOpen\" class=\"realtive z-10 w-12 h-12 rounded-full overflow-hidden border-4 border-gray-400 hover:border-blue-600 focus:border-blue-600 focus:outline-none\"><img src=\"https://source.unsplash.com/uJ8LNVCBjFQ/400x400\"></button> <button x-show=\"isOpen\" @click=\"isOpen = false\" class=\"h-full w-full fixed inset-0 cursor-default\"></button><div x-show=\"isOpen\" class=\"absolute w-32 bg-white rounded-lg shadow-lg py-2 mt-16 z-50\"><a href=\"#\" class=\"block px-4 py-2 account-link hover:text-blue-600\">Account</a> <a href=\"#\" class=\"block px-4 py-2 account-link hover:text-blue-600\">Settings</a> <a href=\"#\" class=\"block px-4 py-2 account-link hover:text-blue-600\">Sign Out</a></div></div></header>") |
| templ_7745c5c3_Var4 = templ.NopComponent | ||
| } | ||
| ctx = templ.ClearChildren(ctx) | ||
| _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<aside class=\"relative bg-blue-600 dark:bg-blue-950 h-screen w-64 hidden sm:block shadow-xl\"><div class=\"p-6\"><a href=\"index.html\" class=\"text-white text-3xl font-semibold uppercase hover:text-gray-300\"><img src=\"https://github.com/COSSAS/SOARCA/raw/development/img/soarca-logo.svg\" class=\"w-30 py-3 md:py-0 g-image\"></a> <button class=\"w-full bg-white text-blue-800 font-semibold py-2 mt-5 rounded-br-lg rounded-bl-lg rounded-tr-lg shadow-lg hover:shadow-xl hover:bg-gray-300 flex items-center justify-center\"><i class=\"fas fa-plus mr-3\"></i> New Report</button></div><nav class=\"text-white text-base font-semibold pt-3\">") |
MaartendeKruijf
approved these changes
Jun 18, 2024
MaartendeKruijf
left a comment
Contributor
There was a problem hiding this comment.
With pain in my heart I will this due to having no tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.