-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update all the cdn domains to use Cloudflare
- Loading branch information
1 parent
9c09804
commit 6009dfd
Showing
28 changed files
with
1,890 additions
and
1,890 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<%- include('partials/head', { title: lang.all_communities.text }); %> | ||
<body> | ||
<div id="body"> | ||
<header id="header"> | ||
<h1 id="page-title" class=""><%= lang.all_communities.text %></h1> | ||
</header> | ||
<div class="body-content"> | ||
<div class="communities-list"> | ||
<ul class="list-content-with-icon-column" id="community-new-content"> | ||
<% for(var i = 0; i < communities.length; i++) {%> | ||
<% var communityID = communities[i].olive_community_id; %> | ||
<li id="<%=communityID%>"> | ||
<a href="/titles/<%=communityID%>/new" data-pjax="#body" class="scroll to-community-button"> | ||
<span class="icon-container"><img src="http://mii.olv.pretendo.cc/icons/<%=communityID%>/64.png" class="icon" alt=""></span> | ||
<div class="body"> | ||
<div class="body-content"> | ||
<span class="community-name title"><%= communities[i].name %></span> | ||
<br> | ||
<span class="text"><%= communities[i].followers %> <%= lang.community.followers %></span> | ||
</div> | ||
</div> | ||
</a> | ||
</li> | ||
<% } %> | ||
</ul> | ||
</div> | ||
</div> | ||
</body> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<%- include('partials/head', { title: lang.all_communities.text }); %> | ||
<body> | ||
<div id="body"> | ||
<header id="header"> | ||
<h1 id="page-title" class=""><%= lang.all_communities.text %></h1> | ||
</header> | ||
<div class="body-content"> | ||
<div class="communities-list"> | ||
<ul class="list-content-with-icon-column" id="community-new-content"> | ||
<% for(var i = 0; i < communities.length; i++) {%> | ||
<% var communityID = communities[i].olive_community_id; %> | ||
<li id="<%=communityID%>"> | ||
<a href="/titles/<%=communityID%>/new" data-pjax="#body" class="scroll to-community-button"> | ||
<span class="icon-container"><img src="https://cdn.pretendo.cc/icons/<%=communityID%>/64.png" class="icon" alt=""></span> | ||
<div class="body"> | ||
<div class="body-content"> | ||
<span class="community-name title"><%= communities[i].name %></span> | ||
<br> | ||
<span class="text"><%= communities[i].followers %> <%= lang.community.followers %></span> | ||
</div> | ||
</div> | ||
</a> | ||
</li> | ||
<% } %> | ||
</ul> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,58 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<%- include('partials/head', { title: lang.global.communities }); %> | ||
<body> | ||
<div id="body"> | ||
<header id="header" class="buttons"> | ||
<h1 id="page-title" class=""><%= lang.global.communities %></h1> | ||
<a id="header-communities-button" class="right" href="/titles/all" data-pjax="#body"><%= lang.all_communities.text %></a> | ||
<!--<a id="header-communities-button" class="left" href="#" data-pjax="#body" onclick="testOffline();">Test Offline Post</a>--> | ||
</header> | ||
<div class="body-content"> | ||
<div class="communities-list"> | ||
<div class="headline"> | ||
<h2><%= lang.all_communities.popular_places %></h2> | ||
</div> | ||
<ul class="list-content-with-icon-column" id="community-new-content"> | ||
<% for(var i = 0; i < popularCommunities.length; i++) {%> | ||
<% var communityID = popularCommunities[i].olive_community_id; %> | ||
<li id="<%=communityID%>"> | ||
<a href="/titles/<%=communityID%>/new" data-pjax="#body" class="scroll to-community-button"> | ||
<span class="icon-container"><img src="http://mii.olv.pretendo.cc/icons/<%=communityID%>/64.png" class="icon" alt=""></span> | ||
<div class="body"> | ||
<div class="body-content"> | ||
<span class="community-name title"><%= popularCommunities[i].name %></span> | ||
<br> | ||
<span class="text"><%= popularCommunities[i].followers %> <%= lang.community.followers %></span> | ||
</div> | ||
</div> | ||
</a> | ||
</li> | ||
<% } %> | ||
</ul> | ||
<div class="headline headline-green"> | ||
<h2><%= lang.all_communities.new_communities %></h2> | ||
</div> | ||
<ul class="list-content-with-icon-column" id="community-top-content"> | ||
<% for(var j = 0; j < newCommunities.length; j++) {%> | ||
<% var communityID = newCommunities[j].olive_community_id; %> | ||
<li id="<%=communityID%>"> | ||
<a href="/titles/<%=communityID%>/new" data-pjax="#body" class="scroll to-community-button"> | ||
<span class="icon-container"><img src="http://mii.olv.pretendo.cc/icons/<%=communityID%>/64.png" class="icon" alt=""></span> | ||
<div class="body"> | ||
<div class="body-content"> | ||
<span class="community-name title"><%= newCommunities[j].name %></span> | ||
<br> | ||
<span class="text"><%= newCommunities[j].followers %> <%= lang.community.followers %></span> | ||
</div> | ||
</div> | ||
</a> | ||
</li> | ||
<% } %> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
<body onload="stopLoading();"> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<%- include('partials/head', { title: lang.global.communities }); %> | ||
<body> | ||
<div id="body"> | ||
<header id="header" class="buttons"> | ||
<h1 id="page-title" class=""><%= lang.global.communities %></h1> | ||
<a id="header-communities-button" class="right" href="/titles/all" data-pjax="#body"><%= lang.all_communities.text %></a> | ||
<!--<a id="header-communities-button" class="left" href="#" data-pjax="#body" onclick="testOffline();">Test Offline Post</a>--> | ||
</header> | ||
<div class="body-content"> | ||
<div class="communities-list"> | ||
<div class="headline"> | ||
<h2><%= lang.all_communities.popular_places %></h2> | ||
</div> | ||
<ul class="list-content-with-icon-column" id="community-new-content"> | ||
<% for(var i = 0; i < popularCommunities.length; i++) {%> | ||
<% var communityID = popularCommunities[i].olive_community_id; %> | ||
<li id="<%=communityID%>"> | ||
<a href="/titles/<%=communityID%>/new" data-pjax="#body" class="scroll to-community-button"> | ||
<span class="icon-container"><img src="https://cdn.pretendo.cc/icons/<%=communityID%>/64.png" class="icon" alt=""></span> | ||
<div class="body"> | ||
<div class="body-content"> | ||
<span class="community-name title"><%= popularCommunities[i].name %></span> | ||
<br> | ||
<span class="text"><%= popularCommunities[i].followers %> <%= lang.community.followers %></span> | ||
</div> | ||
</div> | ||
</a> | ||
</li> | ||
<% } %> | ||
</ul> | ||
<div class="headline headline-green"> | ||
<h2><%= lang.all_communities.new_communities %></h2> | ||
</div> | ||
<ul class="list-content-with-icon-column" id="community-top-content"> | ||
<% for(var j = 0; j < newCommunities.length; j++) {%> | ||
<% var communityID = newCommunities[j].olive_community_id; %> | ||
<li id="<%=communityID%>"> | ||
<a href="/titles/<%=communityID%>/new" data-pjax="#body" class="scroll to-community-button"> | ||
<span class="icon-container"><img src="https://cdn.pretendo.cc/icons/<%=communityID%>/64.png" class="icon" alt=""></span> | ||
<div class="body"> | ||
<div class="body-content"> | ||
<span class="community-name title"><%= newCommunities[j].name %></span> | ||
<br> | ||
<span class="text"><%= newCommunities[j].followers %> <%= lang.community.followers %></span> | ||
</div> | ||
</div> | ||
</a> | ||
</li> | ||
<% } %> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
<body onload="stopLoading();"> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,62 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<%- include('partials/head', { title: community.name }); %> | ||
<body> | ||
<div id="body"> | ||
<header id="header" style="background: url('http://mii.olv.pretendo.cc/headers/<%= community.parent ? community.parent : community.olive_community_id %>/3DS.png')"> | ||
<h1 id="page-title" class="community"> | ||
<span> | ||
<span class="icon-container"> | ||
<img src="http://mii.olv.pretendo.cc/icons/<%= community.parent ? community.parent : community.olive_community_id %>/64.png" class="icon"> | ||
</span> | ||
<span class="community-name"> | ||
<%= community.name %> | ||
</span> | ||
<span class="text"> | ||
<span> | ||
<span class="sprite posts"></span> | ||
<%= bundle.numPosts %> | ||
</span> | ||
<span>| | ||
<span class="sprite followers"></span> | ||
<span id="followers"><%= community.followers %></span> | ||
</span> | ||
</span> | ||
</span> | ||
</span> | ||
</h1> | ||
<% if(( | ||
(community.permissions.open && community.type < 2) || (community.admins && community.admins.indexOf(pid) !==-1) || | ||
(pnid.accessLevel >= community.permissions.minimum_new_post_access_level) | ||
) && userSettings.account_status === 0) {%> | ||
<a id="header-post-button" class="header-button left" href="#" | ||
data-sound="SE_WAVE_SELECT_TAB" data-module-hide="community-post-list" | ||
data-module-show="add-post-page" data-header="false" data-screenshot="true" | ||
data-message="<%= lang.new_post.post_to %> <%= community.name %>">Post + </a> | ||
<%}%> | ||
<%if(children){%> | ||
<a id="header-communities-button" class="right" href="/titles/<%= community.olive_community_id %>/related" data-pjax="#body">Related Communities</a> | ||
<%}%> | ||
<%if(community.permissions.open){%> | ||
<button type="button" class="submit follow yeah-button <%if(children) {%>suggested<%}%> <%if(userContent.followed_communities.indexOf(community.olive_community_id) !== -1){ %>selected<%}%>" onclick="follow(this)" data-sound="SE_WAVE_CHECKBOX_UNCHECK" data-url="/titles/follow" data-community-id="<%= community.olive_community_id %>"> | ||
<span class="sprite yeah"></span> | ||
</button> | ||
<%}%> | ||
</header> | ||
<div class="body-content tab2-content" id="community-post-list"> | ||
<div class="community-info info-content with-header-banner"> | ||
</div> | ||
<menu class="tab-header"> | ||
<li id="tab-header-post" class="tab-button <%if(type === 0){ %>selected<%}%>"> | ||
<a href="/titles/<%= community.olive_community_id %>/new" data-sound="SE_WAVE_SELECT_TAB"><span class="new-post"><%= lang.community.recent %></span></a> | ||
</li> | ||
<li id="tab-header-hot-post" class="tab-button <%if(type === 1){ %>selected<%}%>"><a href="/titles/<%= community.olive_community_id %>/hot" data-sound="SE_WAVE_SELECT_TAB"><span><%= lang.community.popular %></span></a></li> | ||
</menu> | ||
<div class="tab-body post-list"> | ||
<%- include('partials/' + template, { bundle }); %> | ||
</div> | ||
</div> | ||
<%- include('partials/new_post', { pid, lang, id: community.olive_community_id, name: community.name, url: '/posts/new', show: 'community-post-list', message_pid: '' }); %> | ||
</div> | ||
</body> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<%- include('partials/head', { title: community.name }); %> | ||
<body> | ||
<div id="body"> | ||
<header id="header" style="background: url('https://cdn.pretendo.cc/headers/<%= community.parent ? community.parent : community.olive_community_id %>/3DS.png')"> | ||
<h1 id="page-title" class="community"> | ||
<span> | ||
<span class="icon-container"> | ||
<img src="https://cdn.pretendo.cc/icons/<%= community.parent ? community.parent : community.olive_community_id %>/64.png" class="icon"> | ||
</span> | ||
<span class="community-name"> | ||
<%= community.name %> | ||
</span> | ||
<span class="text"> | ||
<span> | ||
<span class="sprite posts"></span> | ||
<%= bundle.numPosts %> | ||
</span> | ||
<span>| | ||
<span class="sprite followers"></span> | ||
<span id="followers"><%= community.followers %></span> | ||
</span> | ||
</span> | ||
</span> | ||
</span> | ||
</h1> | ||
<% if(( | ||
(community.permissions.open && community.type < 2) || (community.admins && community.admins.indexOf(pid) !==-1) || | ||
(pnid.accessLevel >= community.permissions.minimum_new_post_access_level) | ||
) && userSettings.account_status === 0) {%> | ||
<a id="header-post-button" class="header-button left" href="#" | ||
data-sound="SE_WAVE_SELECT_TAB" data-module-hide="community-post-list" | ||
data-module-show="add-post-page" data-header="false" data-screenshot="true" | ||
data-message="<%= lang.new_post.post_to %> <%= community.name %>">Post + </a> | ||
<%}%> | ||
<%if(children){%> | ||
<a id="header-communities-button" class="right" href="/titles/<%= community.olive_community_id %>/related" data-pjax="#body">Related Communities</a> | ||
<%}%> | ||
<%if(community.permissions.open){%> | ||
<button type="button" class="submit follow yeah-button <%if(children) {%>suggested<%}%> <%if(userContent.followed_communities.indexOf(community.olive_community_id) !== -1){ %>selected<%}%>" onclick="follow(this)" data-sound="SE_WAVE_CHECKBOX_UNCHECK" data-url="/titles/follow" data-community-id="<%= community.olive_community_id %>"> | ||
<span class="sprite yeah"></span> | ||
</button> | ||
<%}%> | ||
</header> | ||
<div class="body-content tab2-content" id="community-post-list"> | ||
<div class="community-info info-content with-header-banner"> | ||
</div> | ||
<menu class="tab-header"> | ||
<li id="tab-header-post" class="tab-button <%if(type === 0){ %>selected<%}%>"> | ||
<a href="/titles/<%= community.olive_community_id %>/new" data-sound="SE_WAVE_SELECT_TAB"><span class="new-post"><%= lang.community.recent %></span></a> | ||
</li> | ||
<li id="tab-header-hot-post" class="tab-button <%if(type === 1){ %>selected<%}%>"><a href="/titles/<%= community.olive_community_id %>/hot" data-sound="SE_WAVE_SELECT_TAB"><span><%= lang.community.popular %></span></a></li> | ||
</menu> | ||
<div class="tab-body post-list"> | ||
<%- include('partials/' + template, { bundle }); %> | ||
</div> | ||
</div> | ||
<%- include('partials/new_post', { pid, lang, id: community.olive_community_id, name: community.name, url: '/posts/new', show: 'community-post-list', message_pid: '' }); %> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.