nkhang / ptudw.t09 Goto Github PK
View Code? Open in Web Editor NEWThe web development project from Team.09/PTUDW.CQ2016/32.
The web development project from Team.09/PTUDW.CQ2016/32.
Do not merge/pull/attack branch 'khanh-dev'.
It has some features and whole full of bugs. @nchconghung @nkhang
I see new-post.hbs seems like writer-new-post.hbs. Can I delete it? If cant, what do new-post.hbs for??
Using: https://www.w3schools.com/bootstrap4/bootstrap_badges.asp
Affect to: /writer/editor
Context: navigate to /editor/draft
> press ...
> view
Issue: Modals will show up with same content despite effort of changing it in editor-draft/hbs
Conflicts with master
won't be fixed.
File: editor.js, editor-drafts.hbs
I try to pass value of draft
, publish
from here (editor.js)...
router.get("/drafts", function(req, res) {
res.render("editor-drafts", {
title: "Blog Posts",
draft: 9,
publish: 10,
});
});
... to here (editor-drafts.hbs) but it doesn't work.
<li class="nav-item">
<a class="nav-link" href="#">Publish<span class="badge badge-light">{{publish}}</span></a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#">Dafts<span class="badge badge-light">{{draft}}</span></a>
</li>
Am i doing something wrong? Thank you for concerning my issue :D
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.