All Questions
36
questions
1
vote
1
answer
229
views
How to highlight the current section
When navigating in the menu bar, some of the options are not selected. I have tried to do it with JQuery but my attempts are in vain.
Briefly what I am looking for is that if the user clicks Home Page ...
0
votes
1
answer
274
views
Django + Bootstrap collapsed table front-end issue?
I have been trying to figure out a front-end issue I've been on for a few days. I am using Django + Bootstrap collapsed accordion. What I am trying to do is completely hide a div, and all spacing ...
2
votes
1
answer
346
views
Python Django multiple attributes in search
So I have this search form:
[Doctor][Specialty][City]
This is the form in HTML:
<form data-provide="validation" data-disable="true" class="input-glass mt-7" method='POST' action='...
0
votes
1
answer
477
views
Create a Bootstrap accordian for items in a python for loop
I am trying to create a Bootstrap accordian for a list of items in a Django database. When rendered, currently my code will only collapse and expand on the first item in the for loop. For other items, ...
1
vote
1
answer
64
views
Set if error condition for value attribute
In the following template code, I set value="{{ form.title.value }}" and it displays as I intended,
<div class="form-group">
<label for="title" class="col-sm-1 control-label">Title&...
0
votes
2
answers
47
views
Both `name="button"` and `name="submit" work properly in the form
When working in Django,
Both name="button" and name="submit" work properly when I submit the form
{% buttons %}
<button name="button" class='btn btn-primary'>Save</button>
...
0
votes
2
answers
2k
views
bootstrap collapse span is breaking lines when it shouldn't be
I am having a difficulties with a bootstrap collapse button, I am trying to stop a line from breaking after the collapse button.
I saw this thread at stackoverflow answer which gives the answer that ...
1
vote
1
answer
81
views
My repeated HTML Bootstrap collapse function only works for the first set
So I'm creating a page that is a directory where each issue has a set of articles and authors. I'm implementing a function that cuts a list of articles after its fourth element and collapses the ...
0
votes
1
answer
729
views
Which bootstrap column is the mouse hovering over?
I'm making a `django` website, where I have to change the color of text and make a box appears when hovering over their bootstrap column. The problem I'm having is trying to individually refer to the ...
0
votes
1
answer
69
views
JQuery: div class-specific hover not working with bootstrap css
Context:
Developing a "google-calendar-like" hardware booking tool at work using DJango.
View reservations (their time slot and reserving user).
Click empty space to create another reservation (...
0
votes
1
answer
374
views
Post action not working in form inside bootstrap popover
I am trying to save a url from an input field(form is inside bootstrap popover)but nothing happens when I click save button.
This is my html code:
<div id="popover-content" class="hide">
<...
1
vote
0
answers
228
views
difficulty with bootstrap container - django-bootstrap3
How can I fix this problem without removing the bootstrap template tags?
Context:
I have the following template schema:
layout.html is my base template
And I have another templates which inherit ...
2
votes
0
answers
244
views
Styling an Accordion Table
I made this accordion table using bootstrap accordion. It works well, but it looks terrible. The way I have it set up is a nested accordion. the code can be seen as follows:
<!DOCTYPE html>
&...
0
votes
0
answers
414
views
Bootstrap Form Control - Django Form HTML
I've been having trouble adding HTML for Form Control to my Django form. I know (from other features) that I have Bootstrap properly integrated into the project. No fields are showing when I try to ...
0
votes
1
answer
1k
views
Django base template (using bootstrap3) overwrites index.html completely
I've created a base.html file where I want my bootstrap3 navbar and footer to live. These will be used on every page of my site.
However, the base.html & corresponding css file that goes with it ...