Ynex - Flask Bootstrap Admin & Dashboard Template

Dashboard
Welcome to Ynex - Flask Bootstrap Admin & Dashboard Template
  • Created Date : 21/11/2023
  • Author : Spruko
  • Company : Spruko Technologies Private Limited

Thank you for showing interest towards our admin template. Feel free to contact us any time. We have a dedicated team to provide you the best support. If you want any queries open support ticket https://support.spruko.com.

Introduction
Welcome to Ynex – Flask Bootstrap Admin & Dashboard Template

Ynex - Flask Bootstrap Admin & Dashboard Template, With these template formats, it's very easy to create a presence and grab someone's attention around the web page Because the template is built using HTML5, CSS3, Bootstrap framework and with Sass. So please before you start working with the template take a quick look on the documentation so that you can easily built your website.

If You Love Our Template Design Please don't forgot to rate it. Thank you so much! 😊

Template Description

Ynex is a Flask Bootstrap Admin & Dashboard using modern and minimal design. It is fully flexible user-friendly and responsive. Ynex Modern template is powered with HTML 5, SASS, & Bootstrap 5 which looks great on Desktops, Tablets, and Mobile Devices. This Template Includes 170+ HTML Pages . No Need to do hard work for this template customization. We already designed it and you can easily design your website just how you like it. This template using Bootstrap framework. After Purchased this template you will get All HTML Files, CSS, SCSS and JS Files.

It has super clean flat user interface admin design, easy customizable components and widgets.The Template comes with a awesome unique design also we ensure you can easily design template.

It is a fully responsive layout for all type of devices. Works on all major web browsers, Desktop, iPhone, iPad, Tablet and all other smart phone devices

Once you Purchase Ynex Flask Bootstrap Admin & Dashboard, you will be able to get free download of all future updates.

Template Features
No Jquery Dark Layout RTL Ready
12 Different Dashboards Authentication Pages Error Pages
170+ HTML Pages Easy to Customize Bootstrap Responsive Framework
Form Elements Draggable Cards Ratings
Grid JS Tables Data Tables Gallery
Apex Charts Chartjs Charts Echarts
Full Calendar Sweet Alerts Swiper JS
Blog Pages Mail App Chat
File Manager Invoice Landing
Pricing Profile Notifications
24 * 7 Professional Company Support Ecommerce Pages Under Construction Page
Color Theme Support (Primary and Background) Neat, clean and simple design W3C Validated
Switcher Features :
Theme Styles
  • Light & Dark Themes
  • LTR & RTL
  • Vertical & Horizontal Navigation Styles
  • Menu Click & Hover Styles
  • Icon Click & Hover Styles
  • Page Regular & Classic & Modern Styles
  • Layout Full Width & Boxed
  • Menu Fixed & Scrollable
  • Header Fixed & Scrollable
  • Sidemenu Closed
  • Icon Text Menu
  • Icon Overlay
  • Detached
  • Double Menu
Theme Colors
  • Menu Light
  • Menu Dark
  • Menu Color
  • Menu Gradient
  • Menu Transparent
  • Header Light
  • Header Dark
  • Header Color
  • Header Gradient
  • Header Transparent
  • Theme Primary
  • Theme Background
  • Menu With Background Images
Minimum Requirements

  • blinker==1.6.3
  • click==8.1.7
  • colorama==0.4.6
  • Flask==3.0.0
  • itsdangerous==2.1.2
  • Jinja2==3.1.2
  • MarkupSafe==2.1.3
  • Werkzeug==3.0.1
Installation Process of Python
In order to run Flask you need to install Python by the following steps
This steps are based on Windows OS

Step1: Please visite the Official Web Site of the Python python.org

Step2: Click on the Download Python button

Step3: Now your Python setup file has downloaded

Step4: Now Right click on the Python setup file and select Run as administrator click on Yes

Step5: Please click on the Check Box Add Python to PATH. And select Customize installation option

Step6: Click on Install for all users. And click on the Install button to install python on your system

Step7: To check whether Python is installed or not type python --version in your terminal or console

Step8: The pip package is automatically installed with your python installation

Step9: To check whether pip package is installed or not type pip --version in your terminal or console

NOTE: Please follow the official web site python.org to install on Linux/UNIX OS.

How to Run Flask Project
Step:1 Quick view of Installations
  • Download and Install the python from official site https://python.org/
  • Step:2 Run project
    1. Unzip the Project Folder:
    • Begin by unzipping the project folder you received from us.
    2. Open Project File in Your Editor:
    • Navigate to the root project location path and open the project file in your preferred editor.
    3. Set Path in Terminal:
    • Now set the project root path in your terminal or console
    4. Create Virtual Environment:
    • In your terminal or console, type the following command to create a Virtualenv:
    • python -m venv .venv
    5. Activate Virtual Environment:
    • Activate your Virtualenv by typing the following command:
    • .venv\scripts\activate
    6. Install Required Packages:
    • With your Virtualenv activated, install the required packages by typing:
    • pip install -r requirements.txt
    7. Run Commands for Project Output:
    • Run the following commands in the terminal to generate the project output:
    • * Install node_modules:

      npm install

      * Build project assets:

      npm run build

      * Run the Flask development server:

      python app.py

    8. Access the Project:
    • After running the commands, the Flask development server will start at Example: http://127.0.0.1:5000
    • Open your web browser and enter the provided URL to access the project.

    NOTE: Activating the virtual environment is critical to run the project

    NOTE: If you have any further queries in installation please refer to the official website HERE

    The Basic Structure Of Flask Project
        
    		
    				├── .venv/
    				├── static/
    				|   └── assets/
    				├── templates/
    				|   ├── components/
    				|   ├── includes/
    				|   └── layouts/
    				├── app.py
    				├── esbuild.config.js
    				├── package-lock.json
    				├── package.json
    				├── requirements.txt
    					
    				
    • First, unzip the project folder that you received from us.
    • Navigate as shown Example: F:\project folder\templates\ Open components folder will have 170+ html pages
    • Navigate as shown Example: F:\project folder\templates\ Open includes folder there you will find footer, header, sidebar, switcher, scripts, styles and etc files
    • Navigate as shown Example: F:\project folder\templates\ Open layouts folder there you will find base.html file
    • The base.html file is used for html pages; Do not use base file for error, authentication, landing and landing-jobs html pages.
    • NOTE : By default switcher is enabled in your template, so the switcher-styles will work i.e., RTL, horizontal, hover and etc..,. So if you want to enable those styles, first you need to remove or disable switcher in your template as shown in switcher section in documentation.
    • Please refer FAQ'S to activate other versions and styles like RTL, horizontal, horizontal-hover, Dark-mode, Boxed-Layout, Icon Overlay, etc..,
    Over All Folder Structure
       
    		
    			├── .venv/
    			├── static/
    			|   └── assets/
    			├── templates/
    			|   ├── components/
    			|   |   └── 170+ html pages
    			|   ├── includes/
    			|   |   |   ├── landing/
    			|   |   |   |   ├── footer.html
    			|   |   |   |   ├── header.html
    			|   |   |   |   ├── header1.html
    			|   |   |   |   ├── jobs-footer.html
    			|   |   |   |   ├── jobs-header.html
    			|   |   |   |   ├── jobs-header1.html
    			|   |   |   |   ├── jobs-sidebar.html
    			|   |   |   |   ├── jobs-sidebar1.html
    			|   |   |   |   ├── scripts.html
    			|   |   |   |   ├── sidebar.html
    			|   |   |   |   ├── sidebar1.html
    			|   |   |   |   ├── styles.html
    			|   |   |   |   └── switcher.html
    			|   |   |   ├── footer.html		
    			|   |   |   ├── header.html		
    			|   |   |   ├── header1.html		
    			|   |   |   ├── scripts.html	
    			|   |   |   ├── searchmodal.html	
    			|   |   |   ├── sidebar.html	
    			|   |   |   ├── styles.html	
    			|   |   |   └── switcher.html
    			|   ├── layouts/
    			|   |   └── base.html
    			├── app.py
    			├── esbuild.config.js
    			├── package-lock.json
    			├── package.json
    			└── requirements.txt
    
    		
    Purpose of a Starter Kit
    Introduction to the Flask Template Starter Kit:

    The Flask template starterkit is a resource that helps developers kickstart their Flask web development projects by providing a preconfigured and ready-to-use template. It aims to simplify the initial setup and provide a foundation for building Flask Framework based websites or applications.

    Purpose of the Flask Template Starter Kit:

    The purpose of the Flask starter kit is to save developers time and effort by offering a set of prebuilt files and configurations commonly used in Flask projects. Instead of starting from scratch, developers can leverage the starter kit to quickly set up a project structure that adheres to best practices and industry standards.

    Benefits of Using the Flask Template Starter Kit:

    The starter kit eliminates the need to set up the basic project structure manually. It provides a well-organized file and folder structure, including commonly used directories for separating code, templates, assets, and configuration files. This allows developers to focus more on implementing business logic rather than spending time on initial setup.

    Before using the Flask template starter kit, developers should have a basic understanding of Flask and web development concepts. Additionally, they should have a web server environment Flask installed on their local machines or a hosting server. Familiarity with HTML, CSS, and JavaScript is also beneficial for frontend development aspects.

    Starterkit Overview

    You can use the Starterkit if you are creating a new project. It will be time-consuming to use the full admin version for a new project as Ynex have more than 170 pages.

    We have provided all the pre-build layouts like Sidemenu, Header, footer and blank pages etc in the Starterkit.

    For further information or support regarding the template, please contact us using the provided link.

    https://support.spruko.com/
    Starterkit Folder Structures
       
    		
    			├── .venv/
    			├── static/
    			|   └── assets/
    			├── templates/
    			|   ├── components/
    			|   |   └── html pages
    			|   ├── includes/
    			|   |   |   ├── footer.html		
    			|   |   |   ├── header.html		
    			|   |   |   ├── header1.html		
    			|   |   |   ├── scripts.html	
    			|   |   |   ├── searchmodal.html	
    			|   |   |   ├── sidebar.html	
    			|   |   |   ├── styles.html	
    			|   |   |   └── switcher.html
    			|   ├── layouts/
    			|   |   └── base.html
    			├── app.py
    			├── esbuild.config.js
    			├── package-lock.json
    			├── package.json
    			└── requirements.txt
    
    		
    • Take a quick look at the folder structure of the "Starterkit."
    • Integration of your customized HTML pages becomes easy when using the "Starterkit."
    • The "Starterkit" provides all the layout components, related assets, and plugins.
    • To explore the contents of the "Starterkit," unzip the project folder received after purchase.
    • Navigate to the following paths:
    • Example: C:/projectname/templates/components/- This folder contains files such as index.html, files and etc..,
    • Example: C:/projectname/templates/includes/- This folder contains files such as header.html, sidebar.html and footer.html, and switcher.html etc.. html Files.
    • Example: C:/projectname/templates/layouts- This folder contains file such as base.html file.
    SCSS & CSS

    Ynex comes with power of SCSS. The css files can be generated from scss by simply following below steps:

    • esbuild

      Esbuild is a cutting-edge JavaScript task runner that automates common development tasks, such as compiling Sass to CSS, minifying JavaScript and CSS files, optimizing images, and more. Esbuild allows developers to define tasks that process files in a project, and then run those tasks automatically when files are changed or when specific commands are issued.for more information about Esbuild Check here.

    Prerequisites

    Please follow below steps to install and setup all prerequisites:

    • Nodejs

      Make sure to have the Node.js installed & running in your computer. If you have already installed nodejs on your computer, you can skip this step, otherwise install nodejs on your computer,

      Note : If you are using the latest version of Node JS or want to install and use the latest version, click here and install all the dependencies manually that are given below in command prompt.

    • esbuild

      Make sure to have the Esbuild installed & running in your computer. If you have already installed Esbuild on your computer, you can skip this step. In order to install, just run command npm install from your terminal.

    Installation

    To setup, follow below mentioned steps:

    • Install Prerequisites

      Make sure to have all above prerequisites installed & running in your computer

    • Install Dependencies

      Open your terminal, go to your folder and enter the command npm install. This would install all required dependencies in node_modules folder.

    After you finished with above steps, you can run the command to compile scss into css: npm run build

    Note:- please ensure that you have installed all nodemodules requried to run esbuild tasks .

    SCSS & CSS

    Here we provided package.json and esbuild.config.js files in your project, you just need to run npm install in your terminal in your project root path.

    After compilation of download, you can compile your SCSS files into CSS files by following below procedure.

    Command Description
    npm run build In Ynex template npm run build command is used for, whatever the changes made in scss files, will watch and compiled into css files.
    Compiling Styles

    1. In the assets folder you will see css, icon-fonts, images, js, libs, scss, video

    Folder Structure

          
    
    		├── static/
    		|   ├── assets/
    		|   |   ├── css
    		|   |   ├── icon-fonts
    		|   |   ├── images
    		|   |   ├── js
    		|   |   ├── libs
    		|   |   ├── scss
    		|   |   ├── video
    			
    										
    										
    									

    2. Now you can compile or customize your styles in scss files that are present in the assets folder.

    3. Once the changes made in the files in order to apply those changes to your template you need to run the esbuild commands in the same terminal or command prompt that you have set your project root path.

    4. After Compilation, all your .scss files are converted into .css.

    Version
    • python : 3.11.4
    • flask : 3.0.0
    • pip : 23.1.2
    • esbuild:- 0.19.4
    • node:- 18.18.0
    • npm :- 9.8.1
    Switcher?

    If you want to remove switcher to your template follow the below process.

    FAQ'S

    1) How to Change Font Style ?

    Step 1:

    Go To _fonts.scss (static/assets/scss/style.scss )

    if you want to change another font-family Go to the site Google Fonts And Select One font Family and import In to style.css file

    How to Select font Family

    Example:

    Step 2:

    And paste Your Selected font-family in _style.scss

    Example:

    Step 3:

    And add the Your Selected font-family in _variables.scss(static/assets/scss/_variables.scss)

    Example:
    
    
    		--default-font-family:    							'Inter', sans-serif;
    
    
    	

    Note : After Changing font you must run esbuild command i.e, npm run build . Refer esbuild page for more esbuild commands click here.

    2) How to Change Logo ?

    Go To "static/assets/images/brand-logos" folder and replace your logo with Previous Logos within in image size. note: Please don't increase logo sizes. Replace your logo within given image size. otherwise the logo will not fit in particular place it disturbs the template design.

    3) How to change Menu icons ?

    By default menu icons are Box Icons if you want to change icons please follow below steps
    Step 1 :

    To change Menu icons, templates/includes/sidebar.html page open and go through sidebar section, in that section you will find Box Icons of menu in i tag, there you can replace previous icon with your icon. Example as shown in below

    			
    				
    				
    			
    Switcher Styles

    Theme Styles

        
    
    													
    Attribute Description
    data-theme-mode="light" data-header-styles="light" data-menu-styles="light" To set the light theme
    data-theme-mode="dark" data-header-styles="dark" data-menu-styles="dark" To set the Dark theme
    dir="ltr" To set LTR version default
    dir="rtl" To set LTR version to RTL version
    data-nav-layout="vertical" To set menu layout to vertical
    data-nav-layout="horizontal" data-nav-style="menu-click" To set menu layout to horizontal
    data-nav-style="menu-click" To set navigation style to menu click - *Works same for both vertical and horizontal
    data-nav-style="menu-hover" To set navigation style to menu hover - *Works same for both vertical and horizontal
    data-nav-style="icon-click" To set navigation style to icon click - *Works same for both vertical and horizontal
    data-nav-style="icon-hover" To set navigation style to icon hover - *Works same for both vertical and horizontal
    data-page-style="regular" To set page style to Default
    data-page-style="classic" To set page style to Classic
    data-page-style="modern" To set page style to modern
    data-width="fullwidth" To set page width to Full Width
    data-width="boxed" To set page width to Boxed
    data-menu-position="fixed" To set menu position Fixed
    data-menu-position="scrollable" To set menu position Scrollable
    data-header-position="fixed" To set header position Fixed
    data-header-position="scrollable" To set header position Scrollable
    data-header-position="scrollable" To set header position Scrollable
    data-vertical-style="closed" To set sidemenu layout style Closed - *Does not work for horizontal
    data-vertical-style="icontext" To set sidemenu layout style Icon Text - *Does not work for horizontal
    data-vertical-style="overlay" To set sidemenu layout style Icon Overlay - *Does not work for horizontal
    data-vertical-style="detached" To set sidemenu layout style Detached - *Does not work for horizontal
    data-vertical-style="doublemenu" To set sidemenu layout style Double Menu - *Does not work for horizontal
    loader="enable" To enable loader by default

    Theme Colors

        
    
    
    Attribute Description
    data-menu-styles="light" To set the menu style to light
    data-menu-styles="dark" To set the menu style to dark
    data-menu-styles="color" To set the menu style to color
    data-menu-styles="gradient" To set the menu style to gradient
    data-menu-styles="transparent" To set the menu style to transparent
    data-header-styles="light" To set the header style to light
    data-header-styles="dark" To set the header style to dark
    data-header-styles="color" To set the header style to color
    data-header-styles="gradient" To set the header style to gradient
    data-header-styles="transparent" To set the header style to transparent
    data-bg-img="bgimg1" To set menu background image1
    data-bg-img="bgimg2" To set menu background image2
    data-bg-img="bgimg3" To set menu background image3
    data-bg-img="bgimg4" To set menu background image4
    data-bg-img="bgimg5" To set menu background image5
    Local Storage

    How to clear LocalStorage (cookie)?

    Step1:

    Open custom-switcher.js file static/assets/js/custom-switcher.js

    To clear LocalStorage loading functions you need to remove localStorageBackup()2 function in custom-switcher.js as shown below

    
    
    	function localStorageBackup2(){}
    	
    
    Primary Color

    How to Change Primary Color?

    Please follow the below steps to change Primary Color
    Step 1 :

    To change Primary Color you have to open _variables.scss file and replace what color you want as shown in below

    Rootpath : _variables.scss (static/assets/scss/_variables.scss )

    --primary-rgb:	132, 90, 223;

    Note : After Changing font you must run esbuild command i.e, npm run build . Refer esbuild page for more esbuild commands click here.

    Dark Theme Style

    If you want to change Dark Theme color you need to follow the below process.

    How to Change Dark body Color?

    Please follow the below steps to change Dark body Color
    Step 1 :

    Make sure the theme is set completely to dark mode by adding the following attributes to the html tag data-theme-mode="dark" data-header-styles="dark" data-menu-styles="dark"

    Step 2 :

    To change Dark body Color you have to open _variables.scss file and replace what color you want as shown in below

    Rootpath : _variables.scss (static/assets/scss/_variables.scss )

    [data-theme-mode=dark] { --body-bg-rgb:	26, 28, 30; }
    Step 3 :

    Also Change the following variable colors to the desired theme background accordingly in [data-theme-mode="dark"]

    --light-rgb :
    --form-control-bg :
    --input-border :

    Note : After Changing font you must run esbuild command i.e, npm run build . Refer esbuild page for more esbuild commands click here.

    Sources

    All plugins runs through npm.

    If you want new plugins : Install new plugin from npm then run npm run build command.

    THANK YOU!