mirror of https://github.com/zulip/zulip.git
94 lines
4.0 KiB
HTML
94 lines
4.0 KiB
HTML
{% extends "zephyr/base.html" %}
|
|
|
|
<title>Humbug, from Humbug Inc.</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
<!--[if lt IE 9]>
|
|
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
<![endif]-->
|
|
{% load jstemplate %}
|
|
|
|
|
|
{% block customhead %}
|
|
|
|
{% icanhazjs "zephyr" %}
|
|
{% autoescape off %}
|
|
<link href="/static/styles/pygments.css" rel="stylesheet">
|
|
<script type="text/javascript" src="/static/third/jquery/jquery.form.js"></script>
|
|
<script type="text/javascript" src="/static/third/ich/ICanHaz.min.js"></script>
|
|
<script type="text/javascript" src="/static/js/zephyr.js"></script>
|
|
<script type="text/javascript" src="/static/js/hotkey.js"></script>
|
|
|
|
{% if debug %}
|
|
<script type="text/javascript" src="/static/js/debug.js"></script>
|
|
{% endif %}
|
|
|
|
<script type="text/javascript">
|
|
var zephyr_array = {{ zephyr_array }};
|
|
var initial_pointer = {{ user_profile.pointer }};
|
|
var email = "{{ user_profile.user.email }}";
|
|
var class_list = {{ classes }};
|
|
var instance_list = {{ instances }};
|
|
var people_list = {{ people }};
|
|
</script>
|
|
{% endautoescape %}
|
|
{% endblock %}
|
|
{% block content %}
|
|
<div class="container-fluid">
|
|
<div class="row-fluid">
|
|
<div class="span3">
|
|
<div class="zephyr_well well sidebar-nav">
|
|
<ul class="nav nav-pills nav-stacked nav-zephyr" id="sidebar">
|
|
<span class="my_fullname">{{ user_profile.full_name }}</span><br/>
|
|
<span class="my_email">{{ user_profile.user.email }}</span>
|
|
<span class="logout">(<a href="/accounts/logout?next=/">not you?</a>)</span>
|
|
<li class="active"><a href="#home" data-toggle="pill"><i class="icon-home"></i> Home</a></li>
|
|
<li><a href="#subscriptions" data-toggle="pill"><i class="icon-globe"></i> Subscriptions</a></li>
|
|
<li class="disabled"><a href="#"><i class="icon-star"></i> Starred</a></li>
|
|
<li><a href="#search" data-toggle="pill"><i class="icon-search"></i> Search</a></li>
|
|
<li><a href="#settings" data-toggle="pill"><i class="icon-edit"></i> Settings</a></li>
|
|
<li class="disabled"><a href="#"><i class="icon-envelope"></i> Invite a friend</a></li>
|
|
<br>
|
|
<a href="#" class="btn btn-large btn-block" id="new_message_button" onclick="compose_button()">New Message</a>
|
|
</ul>
|
|
</div><!--/.well -->
|
|
</div><!--/span-->
|
|
<div class="tab-content">
|
|
<div class="tab-pane active" id="home">
|
|
{% include "zephyr/home.html" %}
|
|
</div>
|
|
<div class="tab-pane scrolling_tab" id="subscriptions">
|
|
{% include "zephyr/subscriptions.html" %}
|
|
</div>
|
|
<div class="tab-pane scrolling_tab" id="search">
|
|
{% include "zephyr/search.html" %}
|
|
</div>
|
|
<div class="tab-pane scrolling_tab" id="settings">
|
|
{% include "zephyr/settings.html" %}
|
|
</div>
|
|
</div><!--/tab-content-->
|
|
</div><!--/row-->
|
|
|
|
|
|
<div class="row-fluid" id="connection-error">
|
|
<div class="span12">
|
|
<div class="alert alert-error">
|
|
<strong>Can't receive messages</strong> — try reloading the page.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="alert" id="class-dne">
|
|
<p>The class <span class="classname" id="class-dne-name"></span> does not exist.</p>
|
|
<a id="create-it" class="btn btn-primary" href="#">Create and send</a>
|
|
<a class="btn" onClick="$('#class-dne').stop(true).fadeOut(500);">Cancel message</a>
|
|
</div>
|
|
<div class="alert" id="class-nosub">
|
|
<p>You're not subscribed to the class <span class="classname" id="class-nosub-name"></span>.</p>
|
|
<a id="sub-it" class="btn btn-primary" href="#">Subscribe and send</a>
|
|
<a class="btn" onClick="$('#class-nosub').stop(true).fadeOut(500);">Cancel message</a>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|