Advertisement
Guest User

categoryHeader

a guest
Jun 30th, 2015
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.02 KB | None | 0 0
  1. <style>
  2.   .c4StatusTable {
  3.   max-width: 800px;
  4.   margin: 0 auto;
  5. }
  6.  
  7. .c4StatusRow {
  8.   display: block;
  9. }
  10.  
  11. .c4StatusRow:not( .ipsModerated ):hover {
  12.   background: #f5f5f5;
  13. }
  14.  
  15. .c4StatusRow .ipsColumn_medium {
  16.   width: 180px;
  17. }
  18.  
  19. .c4StatusBadge {
  20.   line-height: 28px;
  21.   padding: 0 10px;
  22.   border-radius: 4px;
  23.   font-size: 13px;
  24.   font-weight: 500;
  25.   display: block;
  26.   color: #fff;
  27.  text-align: center;
  28. }
  29.  
  30. .c4StatusBadge_upNext {
  31.   background: #2980b9;
  32. }
  33.  
  34. .c4StatusBadge_comingSoon {
  35.   background: #d35400;
  36. }
  37.  
  38. .c4StatusBadge_future {
  39.  background: #2c3e50;
  40. }
  41.  
  42. .c4StatusBadge_done {
  43.   background: #27ae60;
  44. }
  45. </style>
  46. <div class='ipsType_center ipsSpacer_bottom ipsSpacer_top'>
  47.     <h1 class="ipsType_veryLarge ipsType_reset">AsylumNetwork Feature Plan</h1>
  48.     <div class='ipsType_richText ipsType_large ipsType_light ipsSpacer_bottom'>
  49.         Keep up to date with what we have planned for the Network.
  50.     </div>
  51.     <div class='ipsResponsive_noFloat ipsResponsive_hidePhone'>
  52.         {template="follow" app="core" group="global" params="'cms','categories' . $category->database_id, $category->_id, \IPS\cms\Records::containerFollowerCount( $category )"}
  53.     </div>
  54. </div>
  55.  
  56. {{if ! \IPS\Request::i()->isAjax() AND ! isset( \IPS\Request::i()->advancedSearchForm ) AND $category->show_records}}
  57.     <ul class="ipsToolList ipsToolList_horizontal ipsClearfix ipsSpacer_both ipsResponsive_hidePhone">
  58.         {{if $category->can('add')}}
  59.             <li class='ipsToolList_primaryAction'>
  60.                 <a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" href="{$category->url()->setQueryString( array( 'do' => 'form', 'd' => \IPS\cms\Databases\Dispatcher::i()->databaseId ) )}">{lang="cms_add_new_record_button" sprintf="\IPS\cms\Databases::load( $category->database_id )->recordWord( 1 )"}</a>
  61.             </li>
  62.         {{endif}}
  63.     </ul>
  64. {{endif}}
  65.  
  66. {{if count( $activeFilters )  AND ! isset( \IPS\Request::i()->advancedSearchForm )}}
  67.     {template="filterMessage" app="cms" location="database" group="status" params="$activeFilters, $category"}
  68. {{endif}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement