Guest User

navbar.tpl logo in navbar

a guest
Apr 5th, 2021
10
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="ui vertical inverted sidebar menu left" id="toc">
  2. <div class="item">
  3. <h3>{$SITE_NAME}</h3>
  4. </div>
  5. {foreach from=$NAV_LINKS key=name item=item}
  6. {if isset($item.items)}
  7. <div class="item">
  8. <div class="header">{$item.title} <span class="icon">{$item.icon}</span></div>
  9. <div class="menu">
  10. {foreach from=$item.items item=dropdown}
  11. <a class="item" href="{$dropdown.link}" target="{$dropdown.target}">{$dropdown.icon} {$dropdown.title}</a>
  12. {/foreach}
  13. </div>
  14. </div>
  15. {else}
  16. <a class="item{if isset($item.active)} active{/if}" href="{$item.link}" target="{$item.target}">{$item.icon} {$item.title}</a>
  17. {/if}
  18. {/foreach}
  19. </div>
  20.  
  21. <div class="pusher">
  22. <div id="wrapper">
  23. <div class="ui secondary {$DEFAULT_REVAMP_NAVBAR_EXTRA_CLASSES} small menu" id="navbar">
  24. <div class="ui container">
  25. {foreach from=$NAV_LINKS key=name item=item}
  26. {if isset($item.items)}
  27. <div class="ui pointing dropdown link item">
  28. <span class="text">{$item.icon} {$item.title}</span> <i class="dropdown icon"></i>
  29. <div class="menu">
  30. <div class="header">{$item.title}</div>
  31. {foreach from=$item.items item=dropdown}
  32. {if isset($dropdown.separator)}
  33. <div class="divider"></div>
  34. {else}
  35. <a class="item" href="{$dropdown.link}" target="{$dropdown.target}">{$dropdown.icon} {$dropdown.title}</a>
  36. {/if}
  37. {/foreach}
  38. </div>
  39. </div>
  40. {else}
  41. <a class="item{if isset($item.active)} active{/if}" href="{$item.link}" target="{$item.target}">{$item.icon} {$item.title}</>
  42. {/if}
  43. {/foreach}
  44. <a class="toc item">
  45. <i class="sidebar icon"></i>
  46. </a>
  47. <div class="right menu">
  48. {foreach from=$USER_SECTION key=name item=item}
  49. {if isset($item.items)}
  50. {if ($name == "account")}
  51. <a class="ui medium image label" data-toggle="popup" data-position="bottom right" id="button-{$name}">{$item.icon} {$item.title}</a>
  52. {else}
  53. <a class="ui small default icon button" data-toggle="popup" data-position="bottom right" id="button-{$name}">{$item.icon}</a>
  54. {/if}
  55. <div class="ui wide basic popup">
  56. <h4 class="ui header">{$item.title}</h4>
  57. <div class="ui relaxed link list" id="list-{$name}">
  58. {foreach from=$item.items item=dropdown}
  59. {if isset($dropdown.separator)}
  60. <div class="ui divider"></div>
  61. {else}
  62. <a class="item" href="{$dropdown.link}" target="{$dropdown.target}">{$dropdown.icon} {$dropdown.title}</a>
  63. {/if}
  64. {/foreach}
  65. </div>
  66. {if !empty($item.meta)}
  67. <div class="ui link list">
  68. <div class="ui divider"></div>
  69. <a class="item" href="{$item.link}">{$item.meta}</a>
  70. </div>
  71. {/if}
  72. </div>
  73. {else}
  74. {if ($name == "panel")}
  75. <a class="ui small primary icon button" href="{$item.link}" target="{$item.target}">{$item.icon}</a>
  76. {elseif ($name == "register")}
  77. <a class="ui small primary button" href="{$item.link}" target="{$item.target}">{$item.title}</a>
  78. {else}
  79. <a class="ui small default button" href="{$item.link}" target="{$item.target}">{$item.title}</a>
  80. {/if}
  81. {/if}
  82. {/foreach}
  83. </div>
  84. </div>
  85. </div>
  86.  
  87. <div class="ui masthead"{if isset($BANNER_IMAGE)} style="background-image:url('{$BANNER_IMAGE}')"{/if}>
  88. <div class="ui container">
  89. <div class="ui stackable grid">
  90. <div class="ui middle aligned row">
  91. <div class="eight wide column">
  92. <div {if isset($LOGO_IMAGE)} style="background-image:url('{$LOGO_IMAGE}'); height:100px; background-repeat: no-repeat; background-size: auto 100%;"{/if}></div>
  93. </div>
  94. <div class="eight wide column">
  95. {if isset($MINECRAFT) && isset($SERVER_QUERY)}
  96. <div class="connect-server">
  97. {if isset($SERVER_QUERY.status_value) && ($SERVER_QUERY.status_value == 1)}
  98. {if isset($SERVER_QUERY.status_full)}
  99. <h4 class="ui header">{$SERVER_QUERY.status_full}</h4>
  100. {else}
  101. <h4 class="ui header">{$SERVER_QUERY.x_players_online}</h4>
  102. {/if}
  103. {else}
  104. <h4 class="ui header">{$SERVER_OFFLINE}</h4>
  105. {/if}
  106. {if isset($CLICK_TO_COPY_TOOLTIP)}
  107. <h4 class="ui header">
  108. <span onclick="copy('#ip')" data-tooltip="{$CLICK_TO_COPY_TOOLTIP}" data-variation="mini" data-inverted="" data-position="bottom center">{$CONNECT_WITH}</span>
  109. </h4>
  110. {/if}
  111. </div>
  112. {/if}
  113. </div>
  114. </div>
  115. </div>
  116. </div>
  117. </div>
  118.  
  119. <div class="ui container">
  120.  
  121. {if isset($NEW_UPDATE)}
  122. {if $NEW_UPDATE_URGENT eq true}
  123. <div class="ui negative icon message" id="update-message">
  124. {else}
  125. <div class="ui info icon message" id="update-message">
  126. <i class="close icon"></i>
  127. {/if}
  128. <a href="{$UPDATE_LINK}">
  129. <i class="download icon"></i>
  130. </a>
  131. <div class="content">
  132. <div class="header">{$NEW_UPDATE}</div>
  133. <ul class="list">
  134. <li>{$CURRENT_VERSION}</li>
  135. <li>{$NEW_VERSION}</li>
  136. </ul>
  137. </div>
  138. </div>
  139. {/if}
  140.  
  141. {if !empty($ANNOUNCEMENTS)}
  142. {foreach from=$ANNOUNCEMENTS item=$ANNOUNCEMENT}
  143. <div class="ui icon message announcement" id="announcement-{$ANNOUNCEMENT->id}" style="background-color:{$ANNOUNCEMENT->background_colour}; color:{$ANNOUNCEMENT->text_colour}">
  144. {if $ANNOUNCEMENT->closable}<i class="close icon"></i>{/if}
  145. {if isset($ANNOUNCEMENT->icon)}
  146. <i class="{$ANNOUNCEMENT->icon}"></i>
  147. {/if}
  148. <div class="content">
  149. <div class="header">{$ANNOUNCEMENT->header}</div>
  150. <p>{$ANNOUNCEMENT->message|htmlspecialchars_decode}</p>
  151. </div>
  152. </div>
  153. {/foreach}
  154. {/if}
  155.  
  156. {if isset($MUST_VALIDATE_ACCOUNT)}
  157. <div class="ui message">
  158. {$MUST_VALIDATE_ACCOUNT}
  159. </div>
  160. {/if}
  161.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×