Submission of benchmark data to mydata.blender.org
This commit is contained in:
80
submission/html.py
Normal file
80
submission/html.py
Normal file
@@ -0,0 +1,80 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""HTML code."""
|
||||
|
||||
auth_okay_html = """<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Blender Benchmark Client</title>
|
||||
|
||||
<style type='text/css'>
|
||||
html, body {
|
||||
font-family: Ubuntu, Verdana, sans-serif;
|
||||
font-size: 12pt;
|
||||
background-color: white;
|
||||
color: black;
|
||||
}
|
||||
|
||||
section {
|
||||
width: 500px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
border-radius: 10px;
|
||||
box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
article, h1 {
|
||||
border: 3px solid #1750d2;
|
||||
}
|
||||
|
||||
article {
|
||||
border-radius: 0 0 10px 10px;
|
||||
background-color: #fefefe;
|
||||
}
|
||||
|
||||
h1 {
|
||||
border-radius: 10px 10px 0 0;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 0;
|
||||
|
||||
text-align: center;
|
||||
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
|
||||
font-size: 200%;
|
||||
|
||||
background-color: #1750d2;
|
||||
color: white;
|
||||
}
|
||||
|
||||
p {
|
||||
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
|
||||
margin: 30px 30px 10px 30px;
|
||||
}
|
||||
|
||||
p.note {
|
||||
font-size: 70%;
|
||||
color: #888;
|
||||
}
|
||||
|
||||
p.note a:visited, p.note a:link {
|
||||
color: #888;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<section>
|
||||
<h1>Blender Benchmark Client</h1>
|
||||
|
||||
<article>
|
||||
<p>Your Blender Benchmark Client is now associated with your Blender ID account.</p>
|
||||
<p>You can now <strong>close this browser window</strong>, and return to the Blender Benchmark Client.</p>
|
||||
</article>
|
||||
</section>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
""" # noqa: W293
|
||||
|
||||
auth_okay_html = auth_okay_html.encode('utf-8')
|
Reference in New Issue
Block a user