File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
django_school/classroom/templates/classroom/students Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 22
33{% load crispy_forms_tags %}
44
5+ {% block css %}
6+ < style type ="text/css ">
7+ /* https://jsbin.com/zequb/7/edit */
8+ input [type = radio ]{
9+ /* hide original inputs */
10+ visibility : hidden;
11+ position : absolute;
12+ }
13+ input [type = radio ] + label {
14+ cursor : pointer;
15+ }
16+ input [type = radio ] + label : before {
17+ width : 16px ;
18+ height : 16px ;
19+ content : " " ;
20+ display : inline-block;
21+ border : 1px solid # ccc ;
22+ border-radius : 50% ;
23+ box-shadow : inset 0 -3px 6px # e4e4e4 ;
24+ transition : 0.3s ;
25+ }
26+
27+ /* CHECKED */
28+ input [type = radio ]: checked + label : before {
29+ box-shadow : inset 0 0 0 5px # 2196F3 ;
30+ }
31+ </ style >
32+ {% endblock %}
33+
534{% block content %}
635 < div class ="progress mb-3 ">
736 < div class ="progress-bar " role ="progressbar " aria-valuenow ="{{ progress }} " aria-valuemin ="0 " aria-valuemax ="100 " style ="width: {{ progress }}% "> </ div >
You can’t perform that action at this time.
0 commit comments