diff --git a/db_conn.py b/db_conn.py index 1ce3002..deb43e9 100755 --- a/db_conn.py +++ b/db_conn.py @@ -7,6 +7,7 @@ uri_string = "" + ######################################################### client = pymongo.MongoClient(uri_string) diff --git a/requirements.txt b/requirements.txt index 9e92f6a..cc8653a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,4 +15,4 @@ six==1.10.0 ssh-import-id==5.5 ufw==0.35 urllib3==1.13.1 -Werkzeug==0.14.1 +Werkzeug==0.14.1 \ No newline at end of file diff --git a/static/css/popup.css b/static/css/popup.css new file mode 100644 index 0000000..2fb4f15 --- /dev/null +++ b/static/css/popup.css @@ -0,0 +1,68 @@ + .modal-confirm { + color: #636363; + width: 400px; + } + .modal-confirm .modal-content { + padding: 20px; + border-radius: 5px; + border: none; + text-align: center; + font-size: 14px; + } + .modal-confirm .modal-header { + border-bottom: none; + position: relative; + } + .modal-confirm h4 { + text-align: center; + font-size: 26px; + margin: 30px 0 -10px; + } + .modal-confirm .close { + position: absolute; + top: -5px; + right: -2px; + } + .modal-confirm .modal-body { + color: #999; + } + .modal-confirm .modal-footer { + border: none; + text-align: center; + border-radius: 5px; + font-size: 13px; + padding: 10px 15px 25px; + } + .modal-confirm .modal-footer a { + color: #999; + } + .modal-confirm .btn { + color: #fff; + border-radius: 4px; + background: #60c7c1; + text-decoration: none; + transition: all 0.4s; + line-height: normal; + min-width: 120px; + border: none; + min-height: 40px; + border-radius: 3px; + margin: 0 5px; + outline: none !important; + } + .modal-confirm .btn-info { + background: #c1c1c1; + } + .modal-confirm .btn-info:hover, .modal-confirm .btn-info:focus { + background: #a8a8a8; + } + .modal-confirm .btn-danger { + background: #f15e5e; + } + .modal-confirm .btn-danger:hover, .modal-confirm .btn-danger:focus { + background: #ee3535; + } + .trigger-btn { + display: inline-block; + margin: 100px auto; + } \ No newline at end of file diff --git a/templates/base-login.html b/templates/base-login.html index ffed24c..35a7131 100755 --- a/templates/base-login.html +++ b/templates/base-login.html @@ -16,6 +16,7 @@ + @@ -41,7 +42,7 @@ Current Leaderboard {% else %} @@ -61,9 +62,21 @@ - +
- {% block header %}{% endblock %}