skip to Main Content

Html – Banner is not displaying at the top and css is not working

I have html like following, in my Django project <!DOCTYPE html> {% load static %} <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Index Page</title> <link rel="icon" type="image/png" sizes="16x16" href="{% static 'favicon.png' %}"> <link rel="stylesheet" href="{% static 'style.css' %}">…

VIEW QUESTION

Html – How to add a template using {% include %} tag, by comparing which user is logged in, on django?

My asset_list html is like this <div class="right"> <div class="search-container"> <input type="text" id="searchInput" placeholder="Search by AssetName..." aria-label="Search"> <button class="add-button" aria-label="Add Asset" id="addUserButton"><i class="fas fa-plus"></i> Add</button> </div> login database is like this , with roles admin and user class UserDetails(models.Model): username…

VIEW QUESTION
Back To Top
Search