GithubHelp home page GithubHelp logo

sterlp / admin-template Goto Github PK

View Code? Open in Web Editor NEW
18.0 3.0 7.0 16.05 MB

Simple Angular 12 Material Bootstrap Admin Template

License: MIT License

JavaScript 4.91% TypeScript 62.09% HTML 26.11% SCSS 6.65% Dockerfile 0.24%
angular bootstrap4 material admin-dashboard admin-ui typescript coreui bootstrap template

admin-template's Introduction

GitHub Actions status

Goal

Simple admin UI based on bootstrap but be able to use material design too.

Launch Live Preview

  • run as docker docker run -p 8080:80 sterlp/admin-template:latest

Included

Optional

Links

Setup this Admin Template on your own

New Project

  • new project ng new admin-template

use scss for styles

Add Angular Material

  • ng add @angular/material
    • select Y to add angular animations
  • npm install material-icons --save

Add Core UI

  • add coreui npm install @coreui/coreui --save
  • add some icons npm install @coreui/icons simple-line-icons font-awesome --save

styles angular.json

add to styles:

            "styles": [
              "node_modules/@coreui/icons/css/free.css",
              "node_modules/font-awesome/css/font-awesome.css",
              "node_modules/simple-line-icons/css/simple-line-icons.css",
              "src/assets/styles.scss",
              ...
            ],

local usesage of material icons

npm install --save material-icons

add in styles.scss https://www.npmjs.com/package/material-icons

$material-icons-font-path: '~material-icons/iconfont/';
@import '~material-icons/iconfont/material-icons.scss';

remove from index.html

<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

local usesage of robo fonts

npm install --save roboto-fontface

add in styles.scss https://www.npmjs.com/package/material-icons

$roboto-font-path: "~roboto-fontface/fonts" !default;
@import "~roboto-fontface/css/roboto/sass/roboto-fontface";

remove from index.html

<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet">

add css class to body or main `div``

class="mat-typography"

Links

Icons Links

Used schematics

Docker

  • npm run build:docker
  • docker push sterlp/admin-template

Copyright

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.