fixed issue #25

This commit is contained in:
Ken Johnson
2013-06-10 15:27:21 -04:00
parent 5ea8006fc1
commit 56381fe318
4 changed files with 18 additions and 11 deletions
+2
View File
@@ -30,6 +30,8 @@
function rubyCodeFormat() { function rubyCodeFormat() {
$("pre.ruby").snippet("ruby",{style:"rand01",transparent:true,showNum:true}); $("pre.ruby").snippet("ruby",{style:"rand01",transparent:true,showNum:true});
// Finds <pre> elements with the class "js" // Finds <pre> elements with the class "js"
// and snippet highlights the JAVASCRIPT code within // and snippet highlights the JAVASCRIPT code within
+4 -2
View File
@@ -2,17 +2,19 @@
<div class="main-container"> <div class="main-container">
<div class="row-fluid"> <div class="row-fluid">
<div class="span12"> <!--begin span12 --> <div class="span12"> <!--begin span12 -->
<% if @user.paid_time_off %> <% if @user.paid_time_off %>
<%= render :partial => "layouts/dashboard/dashboard_stats"%> <%= render :partial => "layouts/dashboard/dashboard_stats"%>
<% end %> <% end %>
</div> <!-- end span12 --> </div> <!-- end span12 -->
</div> </div>
</div>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
function makeActive(){ function makeActive(){
$('li[id="home"]').addClass('active'); $('li[id="home"]').addClass('active');
}; };
+6
View File
@@ -32,5 +32,11 @@
</div> </div>
<%= render "layouts/shared/footer" %> <%= render "layouts/shared/footer" %>
<script type="text/javascript">
//Dropdown
$('.dropdown-toggle').dropdown();
</script>
</body> </body>
</html> </html>
-3
View File
@@ -127,9 +127,6 @@ $('#calendar').fullCalendar({
}) })
//Dropdown
$('.dropdown-toggle').dropdown();
//Date picker //Date picker
$('.date_picker').daterangepicker({ $('.date_picker').daterangepicker({
opens: 'right' opens: 'right'