[guadec-web] add rooms to schedule, add post to template
- From: Fabiana Pedreira Simões <fabianaps src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] add rooms to schedule, add post to template
- Date: Tue, 2 Jul 2013 19:47:31 +0000 (UTC)
commit 4cf1071d3d3fc22c0851c3205af08fb82b3583f5
Author: Fabiana Simões <fabianapsimoes gmail com>
Date: Tue Jul 2 21:47:23 2013 +0200
add rooms to schedule, add post to template
wordcamp-base/page-schedule.php | 20 +++++++++++++++-----
wordcamp-base/style.css | 8 ++++++--
2 files changed, 21 insertions(+), 7 deletions(-)
---
diff --git a/wordcamp-base/page-schedule.php b/wordcamp-base/page-schedule.php
index d38c7c2..60587fc 100644
--- a/wordcamp-base/page-schedule.php
+++ b/wordcamp-base/page-schedule.php
@@ -7,7 +7,11 @@ get_header(); ?>
<div id="container">
<div id="content" role="main">
- <div class="schedule-nav">
+ <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+ <?php the_content(); ?>
+ <?php endwhile; endif; ?>
+
+ <div class="schedule-nav">
<a href="#day1">Day 1</a> | <a href="#day2">Day 2</a> | <a href="#day3">Day 3</a> | <a
href="#day4">Day 4</a>
</div>
@@ -15,8 +19,14 @@ get_header(); ?>
<table class="schedule">
<tr>
+ <td></td>
+ <td class="room-name">Room 1</td>
+ <td class="room-name">Room 2</td>
+ </tr>
+
+ <tr>
<td>09:00 - 10:00</td>
- <td class="keynote" colspan="2">Keynote</td>
+ <td class="keynote" colspan="2">Keynote @ Room 3</td>
</tr>
<tr>
<td>10:00 - 10:40</td>
@@ -66,7 +76,7 @@ get_header(); ?>
<table class="schedule">
<tr>
<td>09:00 - 10:00</td>
- <td class="keynote" colspan="2">Keynote</td>
+ <td class="keynote" colspan="2">Keynote @ Room 3</td>
</tr>
<tr>
<td>10:00 - 10:40</td>
@@ -110,7 +120,7 @@ get_header(); ?>
<table class="schedule">
<tr>
<td>09:00 - 10:00</td>
- <td class="keynote" colspan="2">Keynote</td>
+ <td class="keynote" colspan="2">Keynote @ Room 3</td>
</tr>
<tr>
<td>10:00 - 10:40</td>
@@ -159,7 +169,7 @@ get_header(); ?>
<table class="schedule">
<tr>
<td>09:00 - 10:00</td>
- <td class="keynote" colspan="2">Keynote</td>
+ <td class="keynote" colspan="2">Keynote @ Room 3</td>
</tr>
<tr>
<td>10:00 - 10:40</td>
diff --git a/wordcamp-base/style.css b/wordcamp-base/style.css
index 1c8ccf8..44a984d 100644
--- a/wordcamp-base/style.css
+++ b/wordcamp-base/style.css
@@ -1663,12 +1663,16 @@ h1, h2, h3, h4, h5, h6, #site-title, #site-description, #access .menu, #access d
border: 1px solid #f5f5f4 !important;
}
-.schedule tr td:first-child {
+.schedule tr td:first-child, .room-name {
font-weight: bold;
width: 20%;
text-align: center;
}
+.room-name {
+ border-bottom: 3px solid white !important;
+}
+
.schedule tr td:nth-child(2), .schedule tr td:last-child {
width: 40%;
}
@@ -1682,7 +1686,7 @@ h1, h2, h3, h4, h5, h6, #site-title, #site-description, #access .menu, #access d
}
.schedule-nav {
- padding: 40px 0;
+ padding: 0 0 20px 0;
text-align: center;
color: #ccc;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]