Projects/nettsiden-old
Projects
/
nettsiden-old
Archived
8
0
Fork 0

Perfectionism.

This commit is contained in:
Yorin Anne De Jong 2016-08-26 23:17:59 +02:00
parent b1266aa448
commit ee000d2d67
6 changed files with 36 additions and 36 deletions

View File

@ -32,7 +32,7 @@ abstract class Event {
if (Agenda::isThisMonth($this->getStart())) {
return 'denne måneden';
}
return strftime('%e. %b', $this->getStart()->getTimestamp());
return trim(strftime('%e. %B', $this->getStart()->getTimestamp()));
}
public abstract function getStop(); /* : DateTimeImmutable */

View File

@ -1,7 +1,7 @@
<?php
namespace pvv\side;
Class SimpleEvent extends Event {
class SimpleEvent extends Event {
private $name, $start, $end, $org, $loc;

View File

@ -34,18 +34,18 @@ $nextEvent = $activity->getNextEventFrom(new DateTimeImmutable);
<article>
<h2><img src="../sosiale/animekveld.jpg"><em><?= $nextEvent->getRelativeDate()?></em> Animekveld</h2>
<ul class="subtext">
<li>Tid:
<strong>
<?= Agenda::getFormattedDate($nextEvent->getStart());?>
</strong>
<li>Tid:
<strong>
<?= Agenda::getFormattedDate($nextEvent->getStart());?>
</strong>
<li>Sted:
<strong>
<?= $nextEvent->getLocation();?>
</strong>
<strong>
<?= $nextEvent->getLocation();?>
</strong>
<li>Arrangør:
<strong>
<?= $nextEvent->getOrganiser();?>
</strong>
<strong>
<?= $nextEvent->getOrganiser();?>
</strong>
</ul>
<p>Er du glad i japansk tegnefilm eller er du bare nysgjerrige hva animeer er? Bli med oss. Hver fredag finner vi de nyeste episodene og ser dem mens vi nyter noe godt. Vi viser denne senongens nye animeer.

View File

@ -35,24 +35,24 @@ $nextEvent = $activity->getNextEventFrom(new DateTimeImmutable);
<h2><em><?= $nextEvent->getRelativeDate()?></em> Brettspillkveld</h2>
<ul class="subtext">
<li>Tid:
<strong>
<?= Agenda::getFormattedDate($nextEvent->getStart());?>
</strong>
<li>Tid:
<strong>
<?= Agenda::getFormattedDate($nextEvent->getStart());?>
</strong>
<li>Sted:
<strong>
<?= $nextEvent->getLocation();?>
</strong>
<strong>
<?= $nextEvent->getLocation();?>
</strong>
<li>Arrangør:
<strong>
<?= $nextEvent->getOrganiser();?>
</strong>
<strong>
<?= $nextEvent->getOrganiser();?>
</strong>
</ul>
<p>Er du en hardcore brettspillentusiast eller en nybegynner som har bare spilt ludo? Da er vårt brettspillkveld noe for deg. Vi tar ut et par spill fra vår samling og spiller mye vi orker. Kom innom!
<p><a class="btn" href="#b_spill">Vår samling</a>
<div id="b_spill" class="collapsable">
<div id="b_spill" class="collapsable">
<ul>
<li>Dominion*
<li>Three cheers for master
@ -69,7 +69,7 @@ $nextEvent = $activity->getNextEventFrom(new DateTimeImmutable);
</ul>
<p>* Vi har flere ekspansjon til spillet
<P>** Vi har flere varianter av spillet
</div>
</div>
<p><a class="btn" href="#">Påminn meg</a>
</article>

View File

@ -30,7 +30,7 @@ article:first-child h2 img {
margin: -1.5em 0 1em 0;
padding: 0;
list-style: none;
clear: left;
clear: left;
}
.subtext li {
display: inline;
@ -41,7 +41,7 @@ article:first-child h2 img {
.subtext li a, .subtext li strong {
color: black;
font-size: 1.2em;
font-weight: normal;
font-weight: normal;
}
@media screen and (max-width: 50rem) {

View File

@ -36,18 +36,18 @@ $nextEvent = $activity->getNextEventFrom(new DateTimeImmutable);
<h2><img src="../sosiale/nerdepitsa.jpg"><em><?= $nextEvent->getRelativeDate()?></em> Nerdepitsa</h2>
<ul class="subtext">
<li>Tid:
<strong>
<?= Agenda::getFormattedDate($nextEvent->getStart());?>
</strong>
<li>Tid:
<strong>
<?= Agenda::getFormattedDate($nextEvent->getStart());?>
</strong>
<li>Sted:
<strong>
<?= $nextEvent->getLocation();?>
</strong>
<strong>
<?= $nextEvent->getLocation();?>
</strong>
<li>Arrangør:
<strong>
<?= $nextEvent->getOrganiser();?>
</strong>
<strong>
<?= $nextEvent->getOrganiser();?>
</strong>
</ul>
<p>Hei, har du lyst til å bli med pizzaspising Peppes i Kjøpmannsgata annenhver fredag klokken 19.00?