1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-11-09 16:45:51 +01:00

Updated HTML formatting (#580) (#581)

This commit is contained in:
Nico Coetzee 2024-06-21 08:06:45 +02:00 committed by GitHub
parent acff1bbab8
commit a70b77d608
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -256,10 +256,11 @@ def handle_rpc():
@auth("list")
def simpleindex():
links = sorted(config.backend.get_projects())
tmpl = """\
<!DOCTYPE html>
<html>
tmpl = """<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Simple Index</title>
</head>
<body>
@ -300,10 +301,11 @@ def simple(project):
for pkg in packages
)
tmpl = """\
<!DOCTYPE html>
<html>
tmpl = """<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Links for {{project}}</title>
</head>
<body>
@ -330,10 +332,11 @@ def list_packages():
(pkg.relfn_unix, urljoin(fp, pkg.fname_and_hash)) for pkg in packages
)
tmpl = """\
<!DOCTYPE html>
<html>
tmpl = """<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Index of packages</title>
</head>
<body>