2015-03-15 04:02:07 +02:00
|
|
|
---
|
|
|
|
|
title: Slack Themes
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
<% data.themes.each do |theme| %>
|
2015-03-16 14:40:47 +02:00
|
|
|
<% theme_slug = theme[:name].parameterize.underscore %>
|
2015-03-16 14:55:18 +02:00
|
|
|
<% digest = Digest::MD5.new.hexdigest(theme[:colors]) %>
|
2015-03-16 14:40:47 +02:00
|
|
|
<label class="radio theme_label theme_<%= theme[:name].parameterize.underscore %>">
|
2015-03-16 14:55:18 +02:00
|
|
|
<img src="/images/theme/<%= theme_slug %>-<%= digest %>.png" class="theme_thumb"><br>
|
2015-03-15 04:02:07 +02:00
|
|
|
<input name="sidebar_theme_rd" type="radio" value="<%= theme[:colors] %>" ng-model="theme" ng-change="setTheme()"> <%= theme[:name] %>
|
|
|
|
|
</label>
|
|
|
|
|
<% end %>
|