Browse Source

formatting

pull/5/head
Aaron Parecki 8 years ago
parent
commit
b64de1e389
2 changed files with 5 additions and 4 deletions
  1. +2
    -3
      compass/resources/views/partials/calendar.blade.php
  2. +3
    -1
      compass/resources/views/settings.blade.php

+ 2
- 3
compass/resources/views/partials/calendar.blade.php View File

@ -1,11 +1,10 @@
<!--
<?php
# Adapted from # Adapted from
# PHP Calendar (version 2.3), written by Keith Devens # PHP Calendar (version 2.3), written by Keith Devens
# http://keithdevens.com/software/php_calendar # http://keithdevens.com/software/php_calendar
# see example at http://keithdevens.com/weblog # see example at http://keithdevens.com/weblog
# License: http://keithdevens.com/software/license # License: http://keithdevens.com/software/license
-->
<?php
$first_of_month = gmmktime(0,0,0,$month,1,$year); $first_of_month = gmmktime(0,0,0,$month,1,$year);
#remember that mktime will automatically correct if invalid dates are entered #remember that mktime will automatically correct if invalid dates are entered
# for instance, mktime(0,0,0,12,32,1997) will be the date for Jan 1, 1998 # for instance, mktime(0,0,0,12,32,1997) will be the date for Jan 1, 1998

+ 3
- 1
compass/resources/views/settings.blade.php View File

@ -6,6 +6,7 @@
<div class="dashboard"> <div class="dashboard">
<br>
<h2>Database: {{ $database->name }}</h2> <h2>Database: {{ $database->name }}</h2>
<form class="ui form"> <form class="ui form">
@ -57,7 +58,7 @@
</div> </div>
<br><br>
<br>
<h2>Realtime Micropub Export</h2> <h2>Realtime Micropub Export</h2>
@ -98,6 +99,7 @@ jQuery(function($){
}); });
$(".show-api-endpoint").click(function(){ $(".show-api-endpoint").click(function(){
$(".api-endpoint").removeClass("hidden"); $(".api-endpoint").removeClass("hidden");
$(".show-api-endpoint").addClass("hidden");
}); });
}); });
</script> </script>

Loading…
Cancel
Save