Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a template engine for status dashboard #2553

Closed
Andrewnt219 opened this issue Dec 1, 2021 · 6 comments · Fixed by #2570
Closed

Add a template engine for status dashboard #2553

Andrewnt219 opened this issue Dec 1, 2021 · 6 comments · Fixed by #2570
Assignees
Labels
type: enhancement New feature or request

Comments

@Andrewnt219
Copy link
Contributor

What would you like to be added:
A template engine somewhat like this

<!-- side-bar.html -->

<nav>
  Sidebar content
</nav>
<!-- index.html -->

{{> sidebar }}

<main>
  Main content 

  <ul>
  {{#each items}}
    <li>{{this.title}}</li>
  {{/each}}
 </ul>
</main>

At the moment, I'm looking at the good old handlebars from WEB322. It's the closest to HTML and has a simple compiler setup like SCSS.

Why would you like this to be added:
Two main reasons:

@Andrewnt219 Andrewnt219 added the type: enhancement New feature or request label Dec 1, 2021
@humphd
Copy link
Contributor

humphd commented Dec 1, 2021

Sounds like a good idea to me.

@Kevan-Y
Copy link
Contributor

Kevan-Y commented Dec 1, 2021

Maybe we can separate into several issues maybe, one to setup handlebars, other to add components

@DukeManh
Copy link
Contributor

DukeManh commented Dec 1, 2021

Let's eventually use React to write it 😃.

@Kevan-Y
Copy link
Contributor

Kevan-Y commented Dec 1, 2021

Let's eventually use React to write it 😃.

That what I was thinking too using Next.Js.

@humphd
Copy link
Contributor

humphd commented Dec 1, 2021

@DukeManh I'm hoping to use a different set of technologies so students not as interested in React have a place to work as well. We have all the Next.js we can handle already :)

@Kevan-Y
Copy link
Contributor

Kevan-Y commented Dec 1, 2021

I can try and work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants