{"id":2277,"date":"2022-01-25T18:34:06","date_gmt":"2022-01-25T18:34:06","guid":{"rendered":"https:\/\/lvboard.infostore.in.ua\/?p=2277"},"modified":"2022-01-25T18:34:06","modified_gmt":"2022-01-25T18:34:06","slug":"one-page-crm-admin-dashboard-using-html5-css3-and-javascript","status":"publish","type":"post","link":"https:\/\/lvboard.infostore.in.ua\/?p=2277","title":{"rendered":"One-page CRM Admin Dashboard using HTML5, CSS3 and JavaScript"},"content":{"rendered":"\n<h2>Introduction and Motivation<\/h2>\n\n\n\n<p>It&#8217;s been a while I posted here. I was busy wrapping up my Bachelor&#8217;s degree and thankfully,\u00a0<a href=\"https:\/\/www.linkedin.com\/feed\/update\/urn:li:activity:6870117263584849920\/\">I graduated with first class honours<\/a>\u00a0on the 26th of November, 2021. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>While away, I decided to play around with pure CSS3 and vanilla JavaScript. Been using frameworks almost every time I work on projects. Since I learn best by doing, I decided to build a one-page Customer Relationship Management (CRM) platform with some subtle animations using pure CSS3.<\/p>\n\n\n\n<h2><a href=\"https:\/\/dev.to\/sirneij\/one-page-admin-dashboard-using-html5-css3-and-javascript-13fk#features\"><\/a>Features<\/h2>\n\n\n\n<p>The admin dashboard has, among others, the following features:<\/p>\n\n\n\n<ul><li>Clean and responsive design<\/li><li>Subtle animations with pure CSS3<\/li><\/ul>\n\n\n\n<h2><a href=\"https:\/\/dev.to\/sirneij\/one-page-admin-dashboard-using-html5-css3-and-javascript-13fk#source\"><\/a>Source<\/h2>\n\n\n\n<p>The project&#8217;s complete code is online and it is entirely free both for private and commercial uses.<\/p>\n\n\n\n<h2><img src=\"https:\/\/res.cloudinary.com\/practicaldev\/image\/fetch\/s--566lAguM--\/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880\/https:\/\/dev.to\/assets\/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg\" alt=\"GitHub logo\">&nbsp;<a href=\"https:\/\/github.com\/Sirneij\">Sirneij&nbsp;<\/a>\/&nbsp;<a href=\"https:\/\/github.com\/Sirneij\/carrotsuite-admin-ui\">carrotsuite-admin-ui<\/a><\/h2>\n\n\n\n<h3>Implementation of Carrotsuite&#8217;s UI in pure HTML5, CSS3 and JavaScript<\/h3>\n\n\n\n<h1>carrotsuite-admin-ui<\/h1>\n\n\n\n<p>A feature-rich admin dashboard built with pure HTML5, CSS3 and JavaScript.<\/p>\n\n\n\n<p>It can be accessed via&nbsp;<a href=\"https:\/\/sirneij.github.io\/carrotsuite-admin-ui\/\">this link<\/a>.<br><a href=\"https:\/\/github.com\/Sirneij\/carrotsuite-admin-ui\">View on GitHub<\/a><\/p>\n\n\n\n<p>It was also hosted on&nbsp;<a href=\"https:\/\/sirneij.github.io\/carrotsuite-admin-ui\/\">github pages<\/a>.<\/p>\n\n\n\n<h2><a href=\"https:\/\/dev.to\/sirneij\/one-page-admin-dashboard-using-html5-css3-and-javascript-13fk#some-implementation-details\"><\/a>Some implementation details<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/res.cloudinary.com\/practicaldev\/image\/fetch\/s--U_R94nCa--\/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880\/https:\/\/dev-to-uploads.s3.amazonaws.com\/uploads\/articles\/fffmam9c43ot8n4i9bjc.png\"><img src=\"https:\/\/res.cloudinary.com\/practicaldev\/image\/fetch\/s--U_R94nCa--\/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880\/https:\/\/dev-to-uploads.s3.amazonaws.com\/uploads\/articles\/fffmam9c43ot8n4i9bjc.png\" alt=\"CRM Admin Dashboard full view\"\/><\/a><\/figure>\n\n\n\n<p>CSS3 flex boxes and grid system were heavily used with the former being more rampant.<\/p>\n\n\n\n<h3><a href=\"https:\/\/dev.to\/sirneij\/one-page-admin-dashboard-using-html5-css3-and-javascript-13fk#header\"><\/a>header<\/h3>\n\n\n\n<p><a href=\"https:\/\/github.com\/Sirneij\/carrotsuite-admin-ui\/blob\/88d8c3d9daa43a980671545f66739b972142deb3\/css\/style.css#L69\"><code>.carrotsuite-nav<\/code><\/a>&nbsp;is a flex container which is the baseline of the header. Header elements composed of mainly&nbsp;<a href=\"https:\/\/fontawesome.com\/\">fontawesome<\/a>&nbsp;icons. The site&#8217;s logo wrapper was&nbsp;<a href=\"https:\/\/github.com\/Sirneij\/carrotsuite-admin-ui\/blob\/88d8c3d9daa43a980671545f66739b972142deb3\/css\/style.css#L79\">absolutely positioned<\/a>&nbsp;to aid easy positioning.<\/p>\n\n\n\n<h3><a href=\"https:\/\/dev.to\/sirneij\/one-page-admin-dashboard-using-html5-css3-and-javascript-13fk#main\"><\/a>main<\/h3>\n\n\n\n<p><a href=\"https:\/\/github.com\/Sirneij\/carrotsuite-admin-ui\/blob\/88d8c3d9daa43a980671545f66739b972142deb3\/css\/style.css#L178\"><code>.main<\/code><\/a>&nbsp;was made a grid container with its columns made&nbsp;<code>28rem 2fr<\/code>.<\/p>\n\n\n\n<p>The first column houses the fixed&nbsp;<a href=\"https:\/\/github.com\/Sirneij\/carrotsuite-admin-ui\/blob\/88d8c3d9daa43a980671545f66739b972142deb3\/css\/style.css#L186\"><code>.sidebar<\/code><\/a>&nbsp;whose&nbsp;<a href=\"https:\/\/github.com\/Sirneij\/carrotsuite-admin-ui\/blob\/88d8c3d9daa43a980671545f66739b972142deb3\/css\/style.css#L200\"><code>.menu<\/code><\/a>&nbsp;was made a flex container to ensure that the icons and their corresponding texts are horizontally aligned. A subtle animation was chipped in which puts up only the icons, with the texts used as their title&nbsp;<a href=\"https:\/\/github.com\/Sirneij\/carrotsuite-admin-ui\/blob\/88d8c3d9daa43a980671545f66739b972142deb3\/index.html#L319\">using the only few lines of JavaScript<\/a>&nbsp;that the code base has, when the viewport collapses to some breakpoint.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/res.cloudinary.com\/practicaldev\/image\/fetch\/s--tJs_VeX6--\/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880\/https:\/\/dev-to-uploads.s3.amazonaws.com\/uploads\/articles\/w1uphc9i8gikhtbw0rcg.png\"><img src=\"https:\/\/res.cloudinary.com\/practicaldev\/image\/fetch\/s--tJs_VeX6--\/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880\/https:\/\/dev-to-uploads.s3.amazonaws.com\/uploads\/articles\/w1uphc9i8gikhtbw0rcg.png\" alt=\"Smaller screen page\"\/><\/a><\/figure>\n\n\n\n<p><a href=\"https:\/\/github.com\/Sirneij\/carrotsuite-admin-ui\/blob\/88d8c3d9daa43a980671545f66739b972142deb3\/css\/style.css#L256\"><code>.page-content<\/code><\/a>&nbsp;occupies the remaining grid column followed by other convectional styles. The only thing worth noting is the animated&nbsp;<a href=\"https:\/\/github.com\/Sirneij\/carrotsuite-admin-ui\/blob\/88d8c3d9daa43a980671545f66739b972142deb3\/css\/style.css#L291\"><code>.dropbtn<\/code><\/a>&nbsp;which rotates&nbsp;<a href=\"https:\/\/fontawesome.com\/\">fontawesome&#8217;s<\/a>&nbsp;<code>arrow-up<\/code>&nbsp;icon&nbsp;<a href=\"https:\/\/github.com\/Sirneij\/carrotsuite-admin-ui\/blob\/88d8c3d9daa43a980671545f66739b972142deb3\/css\/style.css#L345\"><code>-180deg<\/code><\/a>&nbsp;on hover.<\/p>\n\n\n\n<h2><a href=\"https:\/\/dev.to\/sirneij\/one-page-admin-dashboard-using-html5-css3-and-javascript-13fk#conclusion\"><\/a>Conclusion<\/h2>\n\n\n\n<p>The project wasn&#8217;t that fancy but it does help me brush up the fundamentals that were escaping.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction and Motivation It&#8217;s been a while I posted here. I was busy wrapping up my Bachelor&#8217;s degree and thankfully,\u00a0I graduated with first class honours\u00a0on the 26th of November, 2021.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[30],"tags":[187,177],"_links":{"self":[{"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/posts\/2277"}],"collection":[{"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2277"}],"version-history":[{"count":1,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/posts\/2277\/revisions"}],"predecessor-version":[{"id":2278,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=\/wp\/v2\/posts\/2277\/revisions\/2278"}],"wp:attachment":[{"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lvboard.infostore.in.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}