mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
parent
acff1bbab8
commit
a70b77d608
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user