Fix a bunch of code style problems

(imported from commit 473ae8fdd64783f7a0989b17cae39826de42d30d)
This commit is contained in:
Keegan McAllister 2012-09-11 14:13:53 -04:00
parent c5238e4af5
commit 75c34a7f1b
3 changed files with 53 additions and 55 deletions

View File

@ -28,14 +28,14 @@
{% icanhazjs "zephyr" %}
{% autoescape off %}
<link href="/static/third/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/third/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<link href="/static/third/jquery/jquery-ui-1.8.23.custom.css" rel="stylesheet">
{# We need to import jQuery before Bootstrap #}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>
<script src="/static/third/bootstrap/js/bootstrap.min.js"></script>
<script src="/static/js/common.js"></script>
<link href="/static/third/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/third/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<link href="/static/third/jquery/jquery-ui-1.8.23.custom.css" rel="stylesheet">
{# We need to import jQuery before Bootstrap #}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>
<script src="/static/third/bootstrap/js/bootstrap.min.js"></script>
<script src="/static/js/common.js"></script>
<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>
@ -87,7 +87,7 @@ var people_list = {{ people }};
<div class="tab-pane active" id="class-message">
<div class="zephyr_comp">
<br/>
<table >
<table>
<tbody>
<tr>
<td class="pointer"><p></p></td>

View File

@ -540,10 +540,8 @@ function get_updates_longpoll() {
$(function () {
update_autocomplete();
});
$(document).ready(function(){
$(".button-slide").click(function(){
$(".zephyr_compose").slideToggle("fast");
$(".button-slide").hide();
$('.button-slide').click(function () {
$('.zephyr_compose').slideToggle('fast');
$('.button-slide').hide();
});
});

View File

@ -33,6 +33,7 @@ div.zephyr_list {
bottom: 0;
width: 640px;
}
div.zephyr_comp {
background-color: #EEE;
@ -190,4 +191,3 @@ div.narrow {
border: 1px solid gray;
top: 0px;
}