Skip to content

Commit d366529

Browse files
committed
[Fixes DjangoGirls#170] Remove bootstrap JS
1 parent f42b0ac commit d366529

File tree

9 files changed

+4
-15
lines changed

9 files changed

+4
-15
lines changed

en/css/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To install Bootstrap, you need to add this to your `<head>` in your `.html` file
2020

2121
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
2222
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
23-
<script src="proxy.php?url=https%3A%2F%2Fmaxcdn.bootstrapcdn.com%2Fbootstrap%2F3.2.0%2Fjs%2Fbootstrap.min.js"></script>
23+
2424

2525
This doesn't add any files to your project. It just points to files that exist on the internet.
2626
Just go ahead, open your website and refresh the page. Here it is!
@@ -97,7 +97,6 @@ Your file should now look like this:
9797
<title>Django Girls blog</title>
9898
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
9999
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
100-
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
101100
<link rel="stylesheet" href="{% static 'css/blog.css' %}">
102101
</head>
103102
<body>

en/django_forms/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ After adding the line, your html file should now look like this:
5353
<title>Django Girls blog</title>
5454
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
5555
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
56-
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
5756
<link href='//fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
5857
<link rel="stylesheet" href="{% static 'css/blog.css' %}">
5958
</head>

en/template_extending/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ Then open it up and copy everything from `post_list.html` to `base.html` file, l
2424
<title>Django Girls blog</title>
2525
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
2626
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
27-
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
2827
<link href='//fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
2928
<link rel="stylesheet" href="{% static 'css/blog.css' %}">
3029
</head>

pl/css/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Aby zainstalować Bootstrap musisz dodać poniższe linijki do znacznika `<head>
2020

2121
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
2222
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
23-
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
2423

2524

2625
Te linijki nie dodają żadnych plików do Twojego projektu. Wskazują one po prostu na pliki, które znajdują się w internecie. Otwórz teraz swoją przeglądarkę i odśwież stronę, a ujrzysz zmianę!
@@ -110,7 +109,6 @@ Twój plik powinien teraz wyglądać tak:
110109
<title>Django Girls blog</title>
111110
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
112111
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
113-
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
114112
<link rel="stylesheet" href="{% static 'css/blog.css' %}">
115113
</head>
116114
<body>

pl/django_forms/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ Po dodaniu powyższej linii Twój plik HTML powinien wyglądać następująco:
5656
<title>Django Girls blog</title>
5757
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
5858
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
59-
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
6059
<link href='//fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
6160
<link rel="stylesheet" href="{% static 'css/blog.css' %}">
6261
</head>

pl/template_extending/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ Następnie otwórz go i skopiuj całą zawartość pliku `post_list.html` do pli
2525
<title>Django Girls blog</title>
2626
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
2727
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
28-
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
2928
<link href='//fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
3029
<link rel="stylesheet" href="{% static 'css/blog.css' %}">
3130
</head>
@@ -115,4 +114,4 @@ To znaczy, że teraz rozszerzamy szablon `base.html` w pliku `post_list.html`. Z
115114

116115
I już! Sprawdź, czy twoja strona nadal działa poprawnie. :)
117116

118-
> Jeżeli dostajesz błąd `TemplateDoesNotExists` mówiący, że brakuje pliku `blog/base.html` i masz uruchomiony `runserver` w konsoli, spróbuj go zatrzymać (wciśnij Ctrl+C - klawisze Control i C jednocześnie) i uruchomić ponownie za pomocą polecenia `python manage.py runserver`.
117+
> Jeżeli dostajesz błąd `TemplateDoesNotExists` mówiący, że brakuje pliku `blog/base.html` i masz uruchomiony `runserver` w konsoli, spróbuj go zatrzymać (wciśnij Ctrl+C - klawisze Control i C jednocześnie) i uruchomić ponownie za pomocą polecenia `python manage.py runserver`.

uk/css/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ Bootstrap - один з найбільш популярних HTML і CSS фре
2020

2121
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
2222
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
23-
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
24-
23+
2524

2625
Це не додасть жодного файлу до вашого проекту. Натомість ці рядки просто вказують на файли опубліковані в інтернеті. Просто рухайтесь вперед, відкрийте ваш веб-сайт і оновіть сторінку. Ось так!
2726

@@ -110,7 +109,6 @@ CSS -- статичний файл, отже для того щоб налашт
110109
<title>Django Girls blog</title>
111110
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
112111
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
113-
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
114112
<link rel="stylesheet" href="{% static 'css/blog.css' %}">
115113
</head>
116114
<body>

uk/django_forms/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ Ok, відкриймо цей файл і наберемо наступний к
5656
<title>Django Girls blog</title>
5757
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
5858
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
59-
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
6059
<link href='//fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
6160
<link rel="stylesheet" href="{% static 'css/blog.css' %}">
6261
</head>

uk/template_extending/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
<title>Django Girls blog</title>
2626
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
2727
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
28-
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
2928
<link href='//fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
3029
<link rel="stylesheet" href="{% static 'css/blog.css' %}">
3130
</head>
@@ -115,4 +114,4 @@
115114

116115
Ось і все! Перевірте чи ваш сайт все ще працює коректно :)
117116

118-
> Якщо з'явилася помилка `TemplateDoesNotExists`, то це говорить про те, що файлу `blog/base.html` не існує і ви маєте в консолі активований `runserver`, спробуйте зупинити його (натиснувши Ctrl+C - кнопки Control і C buttons разом) і перезавантажити запустивши команду `python manage.py runserver`.
117+
> Якщо з'явилася помилка `TemplateDoesNotExists`, то це говорить про те, що файлу `blog/base.html` не існує і ви маєте в консолі активований `runserver`, спробуйте зупинити його (натиснувши Ctrl+C - кнопки Control і C buttons разом) і перезавантажити запустивши команду `python manage.py runserver`.

0 commit comments

Comments
 (0)