File tree Expand file tree Collapse file tree 4 files changed +43
-1
lines changed Expand file tree Collapse file tree 4 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 3
3
<head >
4
4
<meta charset =" utf-8" />
5
5
<meta name =" viewport" content =" width=device-width, initial-scale=1" />
6
+ <link rel =" icon" href =" {{url_for('static', path='/favicon.png')}}" />
6
7
<link rel =" stylesheet" href =" {{url_for('static', path='/bootstrap-5.2.1.min.css')}}" />
7
8
<link rel =" stylesheet" href =" {{url_for('static', path='/site.css')}}" />
8
9
<title >{% block title %}{% endblock %} </title >
30
31
{% block content %}{% endblock %}
31
32
</div >
32
33
34
+ <div class =" container mt-5 mb-3" >
35
+ <footer class =" border-top py-3 px-3" >
36
+ <p class =" text-muted small" >
37
+ PyPI Browser is an open source project.
38
+ <br />
39
+ <a href =" {{url_for('package', package='pypibrowser')}}" >View its files with PyPI Browser</a >
40
+ <br />
41
+ <a href =" https://github.com/chriskuehl/pypi-browser" >View it on GitHub</a >
42
+ </p >
43
+ </footer >
44
+ </div >
45
+
33
46
<script src =" https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js" ></script >
34
47
<script src =" {{url_for('static', path='/bootstrap-5.2.1.min.js')}}" ></script >
35
48
<script src =" {{url_for('static', path='/site.js')}}" ></script >
Original file line number Diff line number Diff line change 3
3
4
4
{% block title %} PyPI Browser{% endblock %}
5
5
6
+ {% block content %}
7
+ <div class =" px-4 py-4 my-4 mx-5" >
8
+ <div class =" card" >
9
+ <div class =" card-body text-center py-5 px-5" >
10
+ <h4 class =" mb-4" >Enter a Python project name to browse its files:</h4 >
11
+ <form method =" GET" action =" {{url_for('search')}}" >
12
+ <div class =" row px-5 mb-4" >
13
+ <div class =" col" >
14
+ <input type =" text" name =" package" class =" form-control form-control-lg" />
15
+ </div >
16
+ <div class =" col-auto" >
17
+ <button type =" submit" class =" btn btn-lg btn-primary" >Browse Package</button >
18
+ </div >
19
+ </div >
20
+ </form >
21
+
22
+ <h6 >Or try it out with one of these popular packages:</h6 >
23
+ <p class =" mb-0" >
24
+ <a href =" {{url_for('package', package='django')}}" >django</a >
25
+ &bull ;
26
+ <a href =" {{url_for('package', package='numpy')}}" >numpy</a >
27
+ &bull ;
28
+ <a href =" {{url_for('package', package='requests')}}" >requests</a >
29
+ </p >
30
+ </div >
31
+ </div >
32
+ </div >
33
+ {% endblock %}
34
+
6
35
{# vim: ft=jinja
7
36
#}
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
- name = " pypi-browser "
2
+ name = " pypibrowser "
3
3
version = " 0.0.0"
4
4
description = " PyPI package browsing web application"
5
5
authors = [
" Chris Kuehl <[email protected] >" ]
You can’t perform that action at this time.
0 commit comments