This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.panel-default > .panel-heading { | |
border-color: #333 | |
} | |
.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary { | |
background-color: #333; | |
border-color: #222; | |
} | |
.btn-default, .btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<embed src="http://www.neave.com/games/get_game.php?swf=snake" name="neaveSnake" width="100%" quality="high" pluginspage="http://get.adobe.com/flashplayer/" type="application/x-shockwave-flash" allowscriptaccess="always"></embed> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table id="feed" class="table table-striped"></table> | |
<script type="text/javascript"> | |
var feed_url = 'http://blog.nodebb.org/rss'; | |
jQuery.ajax({ | |
type: "GET", | |
url: document.location.protocol + '//ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=1000&callback=?&q=' + encodeURIComponent(feed_url), | |
dataType: 'json', | |
success: function(data){ | |
values = data.responseData.feed.entries; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iframe src="https://kiwiirc.com/client/card.freenode.net/?nick=anonymous|?&theme=basic#nodebb" style="border:0; width:100%; height:450px;"></iframe> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<object data="http://www.twitch.tv/widgets/live_embed_player.swf?channel=twitchplayspokemon" height="250" id="live_embed_player_flash" type="application/x-shockwave-flash" width="100%"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="movie" value="http://www.twitch.tv/widgets/live_embed_player.swf" /><param name="flashvars" value="hostname=www.twitch.tv&channel=twitchplayspokemon&auto_play=true&start_volume=0" /></object> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="text-align: center"><p><strong>Do you like NodeBB? Please Donate :)</strong></p><br /> | |
<!-- START: Replace with your paypal donation code --> | |
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"> | |
<input type="hidden" name="cmd" value="_s-xclick"> | |
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHJwYJKoZIhvcNAQcEoIIHGDCCBxQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBFi12ZAJHfeEyLrxaSfrwrOZgGpd8BP9MCZKb8+wTha6cOSsL7O8W9R2NiiVasFnLWz/njFNk9aDV5x1gvkm58evKD5E52OTs5pULFNQkBYf2ZOCGdiL42Hqfug9UlzO2/eT/lX6oqO8wD+aivyxZXscHJFZW8g3GZ8i+t3Nta7jELMAkGBSsOAwIaBQAwgaQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIF7YF1/9fHT+AgYC8XAFuZaTGDbX0ddXtGIppC7elXJ1Z/qXmZUQX7Mfs5OP6BacTDMPdqxhGm3wlXCs0vji4i3zoE3TH8EahY2LmsGCGKOo10N7FWsA8SNuoE7pRjkSdHnDUabzDnqmu0xgwU5Csg/4MZvPHO8loQx3/IUPlcm6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Main */ | |
app.get('/', app.buildHeader, controllers.home); | |
app.get('/api/home', app.prepareAPI, controllers.home); | |
app.get('/login', app.buildHeader, controllers.login); | |
app.get('/api/login', app.prepareAPI, controllers.login); | |
app.get('/register', app.buildHeader, controllers.register); | |
app.get('/api/register', app.prepareAPI, controllers.register); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async.series({ | |
currentThemeData: function(next) { | |
db.getObjectFields('config', ['theme:type', 'theme:id', 'theme:staticDir', 'theme:templates'], function(err, themeData) { | |
next(err, themeData); | |
}); | |
}, | |
themesData: function(next) { | |
meta.themes.get(function(err, themes) { | |
next(err, themes); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var templates = require('./../../public/src/templates'), | |
translator = require('./../../public/src/translator'), | |
middleware = require('./middleware'), | |
meta = require('./../meta'), | |
db = require('./../database'), | |
auth = require('./../routes/authentication'), | |
async = require('async'), | |
path = require('path'), | |
fs = require('fs'), | |
nconf = require('nconf'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="category-selector" style="position: relative"> | |
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button">Categories <span class="caret"></span></button> | |
<ul class="dropdown-menu" aria-labelledby="category-selector"> | |
</ul> | |
</div> | |
<br /> | |
<script> | |
// If you're using the custom homepage mod, switch the api call to /api/forum | |
$.get(RELATIVE_PATH + '/api/home', {}, function(data) { |
OlderNewer