refactor pool nav html

This commit is contained in:
Albert Yi
2018-11-01 17:20:03 -07:00
parent e334c34836
commit 542641e3e2
11 changed files with 107 additions and 133 deletions

View File

@@ -70,7 +70,12 @@
"url" : "<%= root_url %>"
}
</script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<% if request.domain =~ /donmai\.us/ %>
<!-- this is only usable on danbooru.donmai.us -->
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.4.2/css/all.css" integrity="sha384-zhaLg9HKxTxDljOPXpWHGn91XMDH+sYAWRSgvzHes290/ISyrNicGrd6BInTnx3L" crossorigin="anonymous">
<% else %>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<% end %>
<script>
if (typeof window.Danbooru !== "object") {
window.Danbooru = {};