mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-24 18:21:22 +00:00
Updated all links to use https
This commit is contained in:
parent
bb5bd6c824
commit
925001b73d
15 changed files with 22 additions and 22 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
# ENSL Website
|
# ENSL Website
|
||||||
|
|
||||||
This is the source code of ENSL website. Currently deployed on [ensl.org](http://www.ensl.org).
|
This is the source code of ENSL website. Currently deployed on [ensl.org](https://www.ensl.org).
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
Typography
|
Typography
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import url(http://fonts.googleapis.com/css?family=Russo+One);
|
@import url(https://fonts.googleapis.com/css?family=Russo+One);
|
||||||
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
|
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
|
||||||
|
|
||||||
body {
|
body {
|
||||||
color: $base-font-color;
|
color: $base-font-color;
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
Typography
|
Typography
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);
|
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
|
||||||
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700);
|
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700);
|
||||||
|
|
||||||
body {
|
body {
|
||||||
color: $base-font-color;
|
color: $base-font-color;
|
||||||
|
|
|
@ -195,7 +195,7 @@ module ApplicationHelper
|
||||||
if Rails.env.production?
|
if Rails.env.production?
|
||||||
"https://gathers.ensl.org"
|
"https://gathers.ensl.org"
|
||||||
else
|
else
|
||||||
"http://gathers.staging.ensl.org"
|
"https://gathers.staging.ensl.org"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
$("#jplayer").jPlayer({
|
$("#jplayer").jPlayer({
|
||||||
ready: function() {
|
ready: function() {
|
||||||
$(this).jPlayer("setMedia", {
|
$(this).jPlayer("setMedia", {
|
||||||
mp3: "http://www.ensl.org/sounds/gather-1.mp3"
|
mp3: "https://www.ensl.org/sounds/gather-1.mp3"
|
||||||
}).jPlayer("play");
|
}).jPlayer("play");
|
||||||
|
|
||||||
var click = document.ontouchstart === undefined ? 'click' : 'touchstart';
|
var click = document.ontouchstart === undefined ? 'click' : 'touchstart';
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<p>Hello <%= h @user.username %>,</p>
|
<p>Hello <%= h @user.username %>,</p>
|
||||||
<p><%= yield %></p>
|
<p><%= yield %></p>
|
||||||
<p>- <a href="http://www.ensl.org">ENSL Website</a></p>
|
<p>- <a href="https://www.ensl.org">ENSL Website</a></p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
(To disable these: <a href="http://www.ensl.org">Log In</a>
|
(To disable these: <a href="https://www.ensl.org">Log In</a>
|
||||||
-> <a href="http://www.ensl.org/users/edit/<%= @user.id %>">Profile</a>
|
-> <a href="https://www.ensl.org/users/edit/<%= @user.id %>">Profile</a>
|
||||||
-> Notifications)
|
-> Notifications)
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<embed type="application/x-vlc-plugin"
|
<embed type="application/x-vlc-plugin"
|
||||||
name="video1"
|
name="video1"
|
||||||
autoplay="yes" loop="yes" width="640" height="480"
|
autoplay="yes" loop="yes" width="640" height="480"
|
||||||
target=http://ensl.org:29100" />
|
target=https://ensl.org:29100" />
|
||||||
<br />
|
<br />
|
||||||
If you cannot see the video, please install the
|
If you cannot see the video, please install the
|
||||||
<%= link_to "newest VLC", DataFile.find(855) %>,
|
<%= link_to "newest VLC", DataFile.find(855) %>,
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
There are is a new article on ENSL. Click <%= link_to "here", "http://www.ensl.org/articles/#{@article.id}" %> to read it.
|
There are is a new article on ENSL. Click <%= link_to "here", "https://www.ensl.org/articles/#{@article.id}" %> to read it.
|
|
@ -1,2 +1,2 @@
|
||||||
There are <%= Gather::NOTIFY %> persons in the gather.<br />
|
There are <%= Gather::NOTIFY %> persons in the gather.<br />
|
||||||
Click <%= link_to "here", "http://www.ensl.org/gathers/#{@gather.id}" %> to join it.
|
Click <%= link_to "here", "https://www.ensl.org/gathers/#{@gather.id}" %> to join it.
|
|
@ -1,9 +1,9 @@
|
||||||
There are is a new <%= link_to "match", "http://www.ensl.org/matches/#{@match.id}" %> on ENSL.<br />
|
There are is a new <%= link_to "match", "https://www.ensl.org/matches/#{@match.id}" %> on ENSL.<br />
|
||||||
<br />
|
<br />
|
||||||
<b>Contest:<b/> <%= link_to (h @match.contest), "http://www.ensl.org/contests/#{@match.contest.id}" %><br />
|
<b>Contest:</b> <%= link_to (h @match.contest), "https://www.ensl.org/contests/#{@match.contest.id}" %><br />
|
||||||
<b>Teams</b> <%= h @match.to_s %><br />
|
<b>Teams</b> <%= h @match.to_s %><br />
|
||||||
<b>Date:</b> <%= @match.match_time.strftime("%d %B %y %H:%M") %><br />
|
<b>Date:</b> <%= @match.match_time.strftime("%d %B %y %H:%M") %><br />
|
||||||
<br />
|
<br />
|
||||||
<% if @match.hltv %>
|
<% if @match.hltv %>
|
||||||
<b>HLTV: </b> <%= h @match.hltv.addr %> (<%= link_to (h @match.hltv), "http://www.ensl.org/servers/#{@match.hltv.id}" %>)
|
<b>HLTV: </b> <%= h @match.hltv.addr %> (<%= link_to (h @match.hltv), "https://www.ensl.org/servers/#{@match.hltv.id}" %>)
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
There are is a new article on ENSL: <%= link_to (h @news.title), "http://www.ensl.org/articles/#{@news.id}" %><br />
|
There are is a new article on ENSL: <%= link_to (h @news.title), "https://www.ensl.org/articles/#{@news.id}" %><br />
|
|
@ -1,2 +1,2 @@
|
||||||
You have received a new private message from: <%= h @pm.sender.to_s %><br />
|
You have received a new private message from: <%= h @pm.sender.to_s %><br />
|
||||||
Click <%= link_to "here", "http://www.ensl.org/messages/#{@pm.id}" %> to read it.
|
Click <%= link_to "here", "https://www.ensl.org/messages/#{@pm.id}" %> to read it.
|
|
@ -1,6 +1,6 @@
|
||||||
<h1>Password Recovery</h1>
|
<h1>Password Recovery</h1>
|
||||||
|
|
||||||
<p>If you do not receive your new password by email, please see the guide <a href="http://www.ensl.org/articles/713">here</a>.</p>
|
<p>If you do not receive your new password by email, please see the guide <a href="https://www.ensl.org/articles/713">here</a>.</p>
|
||||||
|
|
||||||
|
|
||||||
<%= form_tag({ controller: 'users', action: 'forgot' }, { class: 'square' }) do %>
|
<%= form_tag({ controller: 'users', action: 'forgot' }, { class: 'square' }) do %>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# wget -O /dev/null http://www.ensl.org/servers/refresh/1
|
# wget -O /dev/null https://www.ensl.org/servers/refresh/1
|
||||||
wget -O /dev/null http://www.ensl.org/tweets/refresh/1
|
wget -O /dev/null https://www.ensl.org/tweets/refresh/1
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
wget -O /dev/null http://www.ensl.org/directories/refresh/1
|
wget -O /dev/null https://www.ensl.org/directories/refresh/1
|
||||||
|
|
Loading…
Reference in a new issue