You are here: DENX Home »  Sandbox » SandBoxViewTemplate
%{
}%
%TMPL:INCLUDE{"view"}%
%{
}% %{
}%
%TMPL:DEF{"banner"}%%TMPL:P{
  "banner::content::slides"
}%%TMPL:P{"banner::javascript"}%%TMPL:END%
%{
}% %{
}%
%TMPL:DEF{"banner::content::slides"}%<div class="natBannerContents">%TMPL:P{context="isadmin" then="topicactions"}%
%INCLUDE{"Sandbox.SandBoxHeaderSlideshow"}%
%ADDTOZONE{"head"
   text="<style>
   div#news {
      margin-top:10em;
      margin-bottom:10em;
      width:920px;
      margin-left:auto;
      margin-right:auto;
      border:2px %HEADER_FONT_COLOR% solid;
      padding:0 20px 20px 20px;
      border-radius: 25px;
   }
   div#news h4 {
      font-size:1.8em;
      color:%HEADER_FONT_COLOR%;
      text-align:center;
   }
   div#news ul li span.fa-li {
      top:-1px;
   }
   div#news ul li i.fa {
      color:%HEADER_FONT_COLOR%;
      vertical-align:top;
   }
   @media screen and (max-width:900px) {
      .slide-content {
         background-image:none !important;
      }
      div#news {
         width:95%
      }
   }
</style>"
}%
<div id='news'>
%SEARCH{"TopicType ~ 'BlogEntry*'"
   type="query"
   nonoise="on"
   web="Blog"
   excludetopic="*Template"
   header="<h4 > Recent News </h4>$n<ul class='fa-ul'>"
   format="  <li><span class='fa-li'><i class='fa fa-angle-double-right'></i></span> *$formfield(TopicTitle)* - $formfield(Summary) [[$web.$topic][more...]]</li>"
   footer="  <li><span class='fa-li'><i class='fa fa-angle-double-right'></i></span> *[[Blog.WebHome][%MAKETEXT{"Read more news"}%...]]* </li></ul>"
   separator="$n"
   limit="10"
}%
</div>
</div>
%TMPL:END%
%{
}% %{
}%
%TMPL:DEF{"main"}%%TMPL:END%
%{
}%
Copyright © 2002-2022 by DENX Software Engineering GmbH Imprint Terms & Conditions Privacy Feedback
This website is using cookies. More info. That's Fine