Fixed index page for firefox

This commit is contained in:
Raynaldo Rivera 2014-10-12 15:24:10 -07:00
parent d078690015
commit 392c752eb8
2 changed files with 8 additions and 6 deletions

View File

@ -19,7 +19,7 @@ class ForumManager:
SQL_GET_GROUP_ID = r"SELECT group_id from phpbb_groups WHERE group_name = %s"
SQL_ADD_GROUP = r"INSERT INTO phpbb_groups (group_name,group_desc) VALUES (%s,%s)"
SQL_ADD_GROUP = r"INSERT INTO phpbb_groups (group_name,group_desc,group_legend) VALUES (%s,%s,0)"
SQL_UPDATE_USER_PASSWORD = r"UPDATE phpbb_users SET user_password = %s WHERE username = %s"

View File

@ -1,21 +1,23 @@
{% load staticfiles %}
<style>
body {
background: url('{% static 'img/index_images/index_bg.jpg' %}') no-repeat scroll;
background-size: 100% 100%;
html {
background: url("{% static 'img/index_images/index_bg.jpg' %}") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
div {
height: 200px;
width: 400px;
position: fixed;
top: 60%;
left: 50%;
margin-top: -100px;
margin-left: -200px;
}
</style>
<html>