Akron | ca9bd98 | 2016-12-06 16:59:57 +0100 | [diff] [blame^] | 1 | <!DOCTYPE html> |
| 2 | <meta charset="utf-8"/> |
| 3 | <head> |
| 4 | <script src="http://code.jquery.com/jquery-latest.min.js" |
| 5 | type="text/javascript"></script> |
| 6 | <!-- to be able to handle show/hide links in all subclasses --> |
| 7 | <script> |
| 8 | |
| 9 | $(function() { |
| 10 | $("a#show").bind("click", function() { |
| 11 | $("#message").toggle(); |
| 12 | }); |
| 13 | }); |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | </script> |
| 24 | <script> |
| 25 | $(document).ready(function() { |
| 26 | $("#menu-toggle").click(function(e) { |
| 27 | e.preventDefault(); |
| 28 | $("#wrapper").toggleClass("toggled"); |
| 29 | }); |
| 30 | }); |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | </script> |
| 39 | <!-- bootstrap --> |
| 40 | <script src="{{ url_for('static', filename='bootstrap/js/bootstrap.min.js') }}"></script> |
| 41 | <link href="{{ url_for('static', filename='bootstrap/css/bootstrap.min.css') }}" rel="stylesheet"> |
| 42 | <link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}" media="all"/> |
| 43 | |
| 44 | <div id="heading"> |
| 45 | <span id="loginSpan"> |
| 46 | {% if current_user.is_authenticated() %} |
| 47 | <label>{{ _('logged in as') }} {{current_user.username }}</label> (<a href="{{ url_for ('logout') }}">logout</a>) |
| 48 | {% else %} |
| 49 | <a href="{{ url_for ('login') }}">{{ _('login') }}</a> / <a href="{{ url_for ('signup') }}">{{ _('sign |
| 50 | up') }}</a> |
| 51 | {% endif %} |
| 52 | </span> |
| 53 | <a href="#menu-toggle" id="menu-toggle"> |
| 54 | <img id="logo" src="{{ url_for('static', filename='korap-logo.svg') }}" alt="IDS Mannheim Logo" |
| 55 | class="img-rounded"> |
| 56 | </a> |
| 57 | <h2>{{ _("korap.title") }}</h2> |
| 58 | </div> |
| 59 | {% block head %} |
| 60 | {% endblock %} |
| 61 | </head> |
| 62 | <body> |
| 63 | <div id="wrapper" class="toggled"> |
| 64 | <!-- sidebar --> |
| 65 | {% block sidebar %} |
| 66 | <div id="sidebar-wrapper"> |
| 67 | <ul class="sidebar-nav nav"> |
| 68 | <li class="sidebar-brand"></li> |
| 69 | <li class="active"><a href="/">Home</a></li> |
| 70 | <li><a href="{{ url_for('profile')}}">User Management</a></li> |
| 71 | <li><a href="{{ url_for('index')}}">Resource Management</a></li> |
| 72 | <li><a href="{{ url_for('index')}}">OAuth-Token Management</a></li> |
| 73 | <li><a href="{{ url_for('search')}}">Query Analysis</a></li> |
| 74 | <li><a href="{{ url_for('index')}}">Query Serialization</a></li> |
| 75 | </ul> |
| 76 | </div> |
| 77 | {% endblock %} |
| 78 | <div id="page-content-wrapper"> |
| 79 | <div class="container-fluid"> |
| 80 | <div class="row"> |
| 81 | <div class="col-md-11 content"> |
| 82 | {% if error %} |
| 83 | <p class="warning">{{ error }}</p> |
| 84 | {% else %} |
| 85 | {% block content %}{% endblock %} |
| 86 | {% endif %} |
| 87 | </div> |
| 88 | </div> |
| 89 | </div> |
| 90 | </div> |
| 91 | </div> |
| 92 | |
| 93 | |
| 94 | </body> |
| 95 | <footer> |
| 96 | <!-- /.col-xs-12 main --> |
| 97 | <a class="footer" href="#">Impressum</a> |
| 98 | <a class="footer" href="#">About</a> |
| 99 | <a class="footer" href="#">Contact</a> |
| 100 | |
| 101 | </footer> |
| 102 | </body> |
| 103 | </html> |