Prototype website for VPN service, Bitcoin payments via the Blockchain.info API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
3.5 KiB

11 years ago
  1. <html>
  2. <head>
  3. <!-- Stylesheets -->
  4. <link rel="stylesheet" href="{{ url_for('static', filename='lib/uikit/css/uikit.gradient.min.css') }}" />
  5. <link rel="stylesheet" href="{{ url_for('static', filename='css/app.css') }}" />
  6. <!-- Javascript -->
  7. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
  8. <script src="{{ url_for('static', filename='lib/uikit/js/uikit.min.js') }}"></script>
  9. <title>{% block title %}{% endblock %}</title>
  10. </head>
  11. <body>
  12. <div id="container" class="uk-grid">
  13. <div id="big-top-bar" class="uk-width-1-1">
  14. <div id="top-bar" class="">
  15. <div class="uk-float-left"><img src="http://placehold.it/250x65" /></div>
  16. <div class="uk-float-right uk-button-group">
  17. <a class="uk-button" href="{{ url_for('index') }}">Home</a>
  18. <a class="uk-button" href=" {{ url_for('blog') }}">Blog</a>
  19. {% if g.user.is_authenticated() %}
  20. <a class="uk-button uk-button-success" href="{{ url_for_security('logout') }}">Logoff</a>
  21. <a class="uk-button uk-button-primary" href=" {{ url_for('dashboard') }}">Dashboard</a>
  22. {% else %}
  23. <a class="uk-button uk-button-success" href="{{ url_for_security('login') }}">Login</a>
  24. <a class="uk-button uk-button-primary" href="{{ url_for_security('register') }}">Signup</a>
  25. {% endif %}
  26. {% if g.user.has_role('Admin') %}
  27. <a class="uk-button uk-button-danger" href="/admin/">Admin Panel</a>
  28. {% endif %}
  29. </div>
  30. </div>
  31. <a href="http://bitcoin.org"><img id="bitcoin-logo" src="{{ url_for('static', filename='img/bitcoins.png') }}" /></a>
  32. </div>
  33. <div id="flash-wrapper" class="uk-width-1-1">
  34. <div class="uk-panel uk-width-1-2 uk-container-center">
  35. {% with messages = get_flashed_messages() %}
  36. {% if messages %}
  37. {% for message in messages %}
  38. <div class="uk-alert uk-alert-success" data-uk-alert><a href="" class="uk-alert-close uk-close"></a>{{ message }}</div>
  39. {% endfor %}
  40. {% endif %}
  41. {% block flash %}{% endblock %}
  42. {% endwith %}
  43. </div>
  44. </div>
  45. <div id="content" class="uk-width-1-1">
  46. {% block content %}{% endblock %}
  47. </div>
  48. <div id="footer" class="uk-width-1-1">
  49. <hr/>
  50. <div class="uk-float-left">
  51. &copy; 2013 PacketCrypt, Inc. All Rights Reserved. PacketCrypt&trade; is property of PacketCrypt, Inc.<br/> All other marks are the property of their respective owners.
  52. <br />
  53. <a href="">Terms</a> | <a href="">Privacy Policy</a> | <a href="">Contact us</a>
  54. </div>
  55. <div class="uk-float-right" id="footer-social">
  56. <img src="{{ url_for('static', filename='img/reddit.png') }}"/>
  57. <img src="{{ url_for('static', filename='img/twitter.png') }}"/>
  58. <img src="{{ url_for('static', filename='img/facebook.png') }}"/>
  59. </div>
  60. </div>
  61. </div>
  62. {% block postscript %}{% endblock %}
  63. </body>
  64. </html>