diff options
author | r <r@freesoftwareextremist.com> | 2019-12-22 19:43:03 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2019-12-22 19:44:09 +0000 |
commit | 16300c93c1cfc65c95d0e95ec1249fae182283bd (patch) | |
tree | 44ec39d33d3ea7b7f536cbcf2a09f8f6bd8d1f5e /templates | |
parent | 08cc2a6adeb591c687d68c22bac9bc5b5f9f62b6 (diff) | |
download | bloat-16300c93c1cfc65c95d0e95ec1249fae182283bd.tar.gz bloat-16300c93c1cfc65c95d0e95ec1249fae182283bd.zip |
Switch to fork-awesome font
Diffstat (limited to 'templates')
-rw-r--r-- | templates/header.tmpl | 2 | ||||
-rw-r--r-- | templates/notification.tmpl | 6 | ||||
-rw-r--r-- | templates/postform.tmpl | 5 | ||||
-rw-r--r-- | templates/status.tmpl | 26 | ||||
-rw-r--r-- | templates/user.tmpl | 2 |
5 files changed, 23 insertions, 18 deletions
diff --git a/templates/header.tmpl b/templates/header.tmpl index 970aca4..9334e81 100644 --- a/templates/header.tmpl +++ b/templates/header.tmpl @@ -5,6 +5,6 @@ <meta content='width=device-width, initial-scale=1' name='viewport'> <title> Web </title> <link rel="stylesheet" href="/static/main.css" /> - <link rel="stylesheet" href="/static/fonts/fonts.css"> + <link rel="stylesheet" href="/static/fonts/fork-awesome.css"> </head> <body> diff --git a/templates/notification.tmpl b/templates/notification.tmpl index e46ce8a..259328a 100644 --- a/templates/notification.tmpl +++ b/templates/notification.tmpl @@ -14,7 +14,7 @@ <div> <div> <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> - <span class="icon dripicons-user-group"></span> + <i class="fa fa-user-plus"></i> followed you </div> <div class="notification-follow-uname"> @@ -36,7 +36,7 @@ <div> <div> <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> - <span class="icon dripicons-retweet retweeted"></span> + <i class="fa fa-retweet retweeted"></i> retweeted your post </div> {{template "status" .Status}} @@ -53,7 +53,7 @@ <div> <div> <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> - <span class="icon dripicons-star liked"></span> + <i class="fa fa-star liked"></i> liked your post </div> {{template "status" .Status}} diff --git a/templates/postform.tmpl b/templates/postform.tmpl index ea93efa..54024f0 100644 --- a/templates/postform.tmpl +++ b/templates/postform.tmpl @@ -5,6 +5,9 @@ {{else}} <label for="post-content"> New post </label> {{end}} + <a class="post-form-emoji-link" href="/emojis" target="_blank"> + <i class="fa fa-smile-o" title="emoji reference"></i> + </a> <div class="post-form-content-container"> <textarea id="post-content" name="content" class="post-content" cols="50" rows="5">{{if .ReplyContext}}{{.ReplyContext.ReplyContent}}{{end}}</textarea> </div> @@ -22,6 +25,8 @@ <input type="checkbox" id="nsfw-checkbox" name="is_nsfw" value="on"> <label for="nsfw-checkbox"> Is NSFW </label> </span> + <span class="post-form-field"> + </span> </div> <div> <span class="post-form-field"> diff --git a/templates/status.tmpl b/templates/status.tmpl index c27a674..26912b7 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -5,7 +5,7 @@ <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="avatar" /> </a> <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> - <span class="icon dripicons-retweet retweeted"></span> + <i class="fa fa-retweet retweeted"></i> retweeted </div> {{template "status" .Reblog}} @@ -28,23 +28,23 @@ </a> <a class="status-visibility"> {{if eq .Visibility "public"}} - <span class="icon dripicons-web" title="Public"></span> + <i class="fa fa-globe" title="Public"></i> {{else if eq .Visibility "unlisted"}} - <span class="icon dripicons-lock-open" title="Unlisted"></span> + <i class="fa fa-unlock-alt" title="Unlisted"></i> {{else if eq .Visibility "private"}} - <span class="icon dripicons-lock" title="Private"></span> + <i class="fa fa-lock" title="Private"></i> {{else if eq .Visibility "direct"}} - <span class="icon dripicons-mail" title="Direct"></span> + <i class="fa fa-envelop" title="Direct"></i> {{end}} </a> <a class="remote-link" href="{{.URL}}" target="_blank" title="source"> - <span class="icon dripicons-link"></span> + <i class="fa fa-link"></i> </a> </div> {{end}} <div class="status-reply-container"> {{if .InReplyToID}} - <span class="icon dripicons-forward"></span> + <i class="fa fa-mail-forward"></i> <a class="status-reply-to" href="{{if not .ShowReplies}}/thread/{{.InReplyToID}}{{end}}#status-{{.InReplyToID}}"> reply to {{.Pleroma.InReplyToAccountAcct}} </a> {{if index .ReplyMap .ID}} <span class="status-reply-info-divider"> - </span> {{end}} {{end}} @@ -87,35 +87,35 @@ </div> <div class="status-action"> <a class="status-you" href="/thread/{{.ID}}?reply=true#status-{{.ID}}" title="reply"> - <span class="icon dripicons-reply"></span> + <i class="fa fa-reply"></i> <span> {{DisplayInteractionCount .RepliesCount}} </span> </a> {{if or (eq .Visibility "private") (eq .Visibility "direct")}} <a class="status-retweet" title="this status cannot be retweeted"> - <span class="icon dripicons-retweet"></span> + <i class="fa fa-retweet"></i> <span> {{DisplayInteractionCount .ReblogsCount}} </span> </a> {{else}} {{if .Reblogged}} <a class="status-retweet" href="/unretweet/{{.ID}}" title="undo retweet"> - <span class="icon dripicons-retweet retweeted"></span> + <i class="fa fa-retweet retweeted"></i> <span> {{DisplayInteractionCount .ReblogsCount}} </span> </a> {{else}} <a class="status-retweet" href="/retweet/{{.ID}}" title="retweet"> - <span class="icon dripicons-retweet"></span> + <i class="fa fa-retweet"></i> <span> {{DisplayInteractionCount .ReblogsCount}} </span> </a> {{end}} {{end}} {{if .Favourited}} <a class="status-like" href="/unlike/{{.ID}}" title="unlike"> - <span class="icon dripicons-star liked"></span> + <i class="fa fa-star liked"></i> <span> {{DisplayInteractionCount .FavouritesCount}} </span> </a> {{else}} <a class="status-like" href="/like/{{.ID}}" title="like"> - <span class="icon dripicons-star"></span> + <i class="fa fa-star-o"></i> <span> {{DisplayInteractionCount .FavouritesCount}} </span> </a> {{end}} diff --git a/templates/user.tmpl b/templates/user.tmpl index ccb0e4a..c7aa1e8 100644 --- a/templates/user.tmpl +++ b/templates/user.tmpl @@ -14,7 +14,7 @@ <span class="status-dname"> {{EmojiFilter .User.DisplayName .User.Emojis}} </span> <span class="status-uname"> {{.User.Acct}} </span> <a class="remote-link" href="{{.User.URL}}" target="_blank" title="remote profile"> - <span class="icon dripicons-link"></span> + <i class="fa fa-link"></i> </a> </div> <div> |