Updated small details

This commit is contained in:
Sebastian Lay 2023-06-19 00:23:31 +02:00
parent c022861156
commit 1a76cd90d2
No known key found for this signature in database
GPG Key ID: A699D9B80D6068AA
15 changed files with 24 additions and 24 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
*.exe *.exe
*.psd *.psd

View File

@ -111,6 +111,6 @@
</main> </main>
</div> </div>
<script src="js/vue.global.prod.js"></script> <script src="js/vue.global.prod.js"></script>
<script src="js/script-faq.js?d=20230608"></script> <script src="js/script-faq.js?d=20230619"></script>
</body> </body>
</html> </html>

View File

@ -72,9 +72,9 @@
</ul> </ul>
</main> </main>
</div> </div>
<script src="js/current-films.js?d=20230608"></script> <script src="js/current-films.js?d=20230619"></script>
<script src="js/guide.js"></script> <script src="js/guide.js"></script>
<script src="js/vue.global.prod.js"></script> <script src="js/vue.global.prod.js"></script>
<script src="js/script-guide.js?d=20230608"></script> <script src="js/script-guide.js?d=20230619"></script>
</body> </body>
</html> </html>

View File

@ -85,8 +85,8 @@
<h2 v-if="films.length === 0">nothing here :(</h2> <h2 v-if="films.length === 0">nothing here :(</h2>
</main> </main>
</div> </div>
<script src="js/current-films.js?d=20230608"></script> <script src="js/current-films.js?d=20230619"></script>
<script src="js/vue.global.prod.js"></script> <script src="js/vue.global.prod.js"></script>
<script src="js/script-index.js?d=20230608"></script> <script src="js/script-index.js?d=20230619"></script>
</body> </body>
</html> </html>

View File

@ -233,7 +233,7 @@ var currentfilms = [
"description": "panchromatic film, could be Orwo N74+", "description": "panchromatic film, could be Orwo N74+",
"launched": 2022, "launched": 2022,
"datasheet": "", "datasheet": "",
"lomography": "", "lomography": "https://www.lomography.com/films/871974092-kiki-pan-320/photos",
"flickr": "https://www.flickr.com/search/?media=photos&text=%22Kiki%20Pan%20320%22", "flickr": "https://www.flickr.com/search/?media=photos&text=%22Kiki%20Pan%20320%22",
"image": "cfp-kiki-pan-320-135.png" "image": "cfp-kiki-pan-320-135.png"
}, },
@ -3892,4 +3892,4 @@ var currentfilms = [
"flickr": "https://www.flickr.com/search/?media=photos&text=%22Yodica%20Vega%22", "flickr": "https://www.flickr.com/search/?media=photos&text=%22Yodica%20Vega%22",
"image": "yodica-vega-135.png" "image": "yodica-vega-135.png"
} }
] ]

View File

@ -305,4 +305,4 @@ var discontinuedfilms = [
"flickr": "https://www.flickr.com/search/?media=photos&text=%22Street%20Candy%20ATM%20400%22", "flickr": "https://www.flickr.com/search/?media=photos&text=%22Street%20Candy%20ATM%20400%22",
"image": "street-candy-atm-400-135.png" "image": "street-candy-atm-400-135.png"
} }
] ]

View File

@ -813,4 +813,4 @@ var guide = [
} }
] ]
} }
] ]

View File

@ -15,4 +15,4 @@ Vue.createApp({
document.querySelector('body').classList.remove('dark'); document.querySelector('body').classList.remove('dark');
} }
} }
}).mount('#faq'); }).mount('#faq');

View File

@ -72,4 +72,4 @@ Vue.createApp({
document.querySelector('body').classList.remove('dark'); document.querySelector('body').classList.remove('dark');
} }
} }
}).mount('#guide'); }).mount('#guide');

View File

@ -16,7 +16,8 @@ Vue.createApp({
return this.currentfilms.filter(function (film) { return this.currentfilms.filter(function (film) {
const name = film.name.toLowerCase(); const name = film.name.toLowerCase();
const description = film.description.toLowerCase(); const description = film.description.toLowerCase();
const matches = (searchTerm) => name.includes(searchTerm) || description.includes(searchTerm); const company = film.company.toLowerCase();
const matches = (searchTerm) => name.includes(searchTerm) || description.includes(searchTerm) || company.includes(searchTerm);
return searchTerms.every(matches); return searchTerms.every(matches);
}); });
} else { } else {
@ -97,4 +98,4 @@ Vue.createApp({
document.querySelector('body').classList.remove('dark'); document.querySelector('body').classList.remove('dark');
} }
} }
}).mount('#app'); }).mount('#app');

View File

@ -40,4 +40,4 @@ Vue.createApp({
document.querySelector('body').classList.remove('dark'); document.querySelector('body').classList.remove('dark');
} }
} }
}).mount('#random'); }).mount('#random');

View File

@ -17,4 +17,4 @@
"type": "image/png" "type": "image/png"
} }
] ]
} }

View File

@ -71,8 +71,8 @@
</ul> </ul>
</main> </main>
</div> </div>
<script src="js/current-films.js?d=20230608"></script> <script src="js/current-films.js?d=20230619"></script>
<script src="js/vue.global.prod.js"></script> <script src="js/vue.global.prod.js"></script>
<script src="js/script-random.js?d=20230608"></script> <script src="js/script-random.js?d=20230619"></script>
</body> </body>
</html> </html>

View File

@ -6,4 +6,4 @@ A database of currently available 35mm, 110 and medium format film stocks.
This repository contains all the source code for the website to allow for easier collaboration. This repository contains all the source code for the website to allow for easier collaboration.
The website can be found at [https://analogfilm.space](https://analogfilm.space) The website can be found at [https://analogfilm.space](https://analogfilm.space)

View File

@ -15,4 +15,3 @@ for film in films:
print(film['name'] + '') print(film['name'] + '')
except: except:
print(film['name'] + ' ✗ - ' + film['lomography']) print(film['name'] + ' ✗ - ' + film['lomography'])