Skip to content
Permalink
Browse files

Styling of paper pages.

This is a big one. And add a nav in the left for paper pages.
  • Loading branch information...
kohler committed Oct 2, 2019
1 parent 4aff901 commit 3e379586e28d5ec83815391fc4bef6bba6abe011
Showing with 429 additions and 276 deletions.
  1. +7 −8 help.php
  2. +183 −76 scripts/script.js
  3. +4 −4 settings.php
  4. +1 −9 src/conference.php
  5. +14 −13 src/help/h_tags.php
  6. +27 −22 src/papertable.php
  7. +8 −5 src/review.php
  8. +6 −7 src/reviewtable.php
  9. +23 −12 stylesheets/mobile.css
  10. +156 −120 stylesheets/style.css
@@ -82,12 +82,12 @@ function hotlink($html, $page, $options = null, $js = []) {
$js["rel"] = "nofollow";
return $this->conf->hotlink($html, $page, $options, $js);
}
function search_link($html, $q = null) {
function search_link($html, $q = null, $js = []) {
if ($q === null)
$q = $html;
if (is_string($q))
$q = ["q" => $q];
return $this->hotlink($html ? : htmlspecialchars($q["q"]), "search", $q);
return $this->hotlink($html ? : htmlspecialchars($q["q"]), "search", $q, $js);
}
function help_link($html, $topic = null) {
if ($topic === null) {
@@ -213,7 +213,7 @@ function meaningful_round_name(Contact $user) {
}
echo '<div class="leftmenu-menu-container"><h1 class="leftmenu">Help</h1><div class="leftmenu-list">';
echo '<div class="leftmenu-left"><div class="leftmenu-menu"><h1 class="leftmenu">Help</h1><div class="leftmenu-list">';
foreach ($help_topics->groups() as $gj) {
if ($gj->name === $topic)
echo '<div class="leftmenu-item active">', $gj->title, '</div>';
@@ -223,12 +223,11 @@ function meaningful_round_name(Contact $user) {
if ($gj->name === "topics")
echo '<div class="c g"></div>';
}
echo "</div></div>\n",
'<div class="leftmenu-content-container"><div id="helpcontent" class="leftmenu-content">';
echo '<h2 class="leftmenu">', $topicj->title, '</h2>';
echo "</div></div></div>\n",
'<div id="helpcontent" class="leftmenu-content">',
'<h2 class="leftmenu">', $topicj->title, '</h2>';
$hth->render_group($topic);
echo "</div></div>\n";
echo "</div>\n";
$Conf->footer();

0 comments on commit 3e37958

Please sign in to comment.
You can’t perform that action at this time.