parent
c32498d543
commit
afd00465d5
|
@ -1,16 +1,16 @@
|
|||
{{/** TODO: Temporary hack until we find a more granular way of doing this. Perhaps, a custom include function? **/}}
|
||||
{{if .Header.Theme.BgAvatars}}
|
||||
{{range .Posts}}
|
||||
<div id="post-{{.ID}}" class="rowitem passive deletable_block editable_parent simple {{.ClassName}}" style="background-image:url({{.User.Avatar}}),url(/s/post-avatar-bg.jpg);background-position:0px {{if le .ContentLines 5}}-1{{end}}0px;">
|
||||
<div id="post-{{.ID}}"class="rowitem passive deletable_block editable_parent simple {{.ClassName}}"style="background-image:url({{.User.Avatar}}),url(/s/post-avatar-bg.jpg);background-position:0px {{if le .ContentLines 5}}-1{{end}}0px;">
|
||||
<span class="editable_block user_content simple">{{.Body}}</span>
|
||||
<span class="controls">
|
||||
<a href="{{.User.Link}}"class="real_username username">{{.User.Name}}</a>
|
||||
|
||||
{{if .CanModify}}<a href="/user/convo/edit/submit/{{.ID}}?s={{$.CurrentUser.Session}}" class="mod_button" title="{{lang "profile.comments_edit_tooltip"}}" aria-label="{{lang "profile.comments_edit_aria"}}"><button class="username edit_item edit_label"></button></a>
|
||||
{{if .CanModify}}<a href="/user/convo/edit/submit/{{.ID}}?s={{$.CurrentUser.Session}}"class="mod_button"title="{{lang "profile.comments_edit_tooltip"}}"aria-label="{{lang "profile.comments_edit_aria"}}"><button class="username edit_item edit_label"></button></a>
|
||||
|
||||
<a href="/user/convo/delete/submit/{{.ID}}?s={{$.CurrentUser.Session}}" class="mod_button" title="{{lang "profile.comments_delete_tooltip"}}" aria-label="{{lang "profile.comments_delete_aria"}}"><button class="username delete_item delete_label"></button></a>{{end}}
|
||||
<a href="/user/convo/delete/submit/{{.ID}}?s={{$.CurrentUser.Session}}"class="mod_button"title="{{lang "profile.comments_delete_tooltip"}}"aria-label="{{lang "profile.comments_delete_aria"}}"><button class="username delete_item delete_label"></button></a>{{end}}
|
||||
|
||||
<a class="mod_button" href="/report/submit/{{.ID}}?s={{$.CurrentUser.Session}}&type=convo-reply"><button class="username report_item flag_label" title="{{lang "profile.comments_report_tooltip"}}" aria-label="{{lang "profile.comments_report_aria"}}"></button></a>
|
||||
<a class="mod_button"href="/report/submit/{{.ID}}?s={{$.CurrentUser.Session}}&type=convo-reply"><button class="username report_item flag_label"title="{{lang "profile.comments_report_tooltip"}}"aria-label="{{lang "profile.comments_report_aria"}}"></button></a>
|
||||
|
||||
{{if .User.Tag}}<a class="username hide_on_mobile user_tag"style="float:right;">{{.User.Tag}}</a>{{end}}
|
||||
</span>
|
||||
|
|
|
@ -10,12 +10,12 @@
|
|||
</div>
|
||||
<span class="controls">
|
||||
{{if .CanModify}}
|
||||
<a href="/user/convo/edit/submit/{{.ID}}?s={{$.CurrentUser.Session}}"class="mod_button"title="{{lang "profile.comments_edit_tooltip"}}" aria-label="{{lang "profile.comments_edit_aria"}}"><button class="username edit_item edit_label"></button></a>
|
||||
<a href="/user/convo/edit/submit/{{.ID}}?s={{$.CurrentUser.Session}}"class="mod_button"title="{{lang "profile.comments_edit_tooltip"}}"aria-label="{{lang "profile.comments_edit_aria"}}"><button class="username edit_item edit_label"></button></a>
|
||||
|
||||
<a href="/user/convo/delete/submit/{{.ID}}?s={{$.CurrentUser.Session}}"class="mod_button"title="{{lang "profile.comments_delete_tooltip"}}" aria-label="{{lang "profile.comments_delete_aria"}}"><button class="username delete_item delete_label"></button></a>
|
||||
<a href="/user/convo/delete/submit/{{.ID}}?s={{$.CurrentUser.Session}}"class="mod_button"title="{{lang "profile.comments_delete_tooltip"}}"aria-label="{{lang "profile.comments_delete_aria"}}"><button class="username delete_item delete_label"></button></a>
|
||||
{{end}}
|
||||
|
||||
<a class="mod_button"href="/report/submit/{{.ID}}?s={{$.CurrentUser.Session}}&type=convo-reply"><button class="username report_item flag_label"title="{{lang "profile.comments_report_tooltip"}}" aria-label="{{lang "profile.comments_report_aria"}}"></button></a>
|
||||
<a class="mod_button"href="/report/submit/{{.ID}}?s={{$.CurrentUser.Session}}&type=convo-reply"><button class="username report_item flag_label"title="{{lang "profile.comments_report_tooltip"}}"aria-label="{{lang "profile.comments_report_aria"}}"></button></a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="content_column">
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{{if gt .LastPage 1}}
|
||||
<div class="pageset">
|
||||
{{if gt .Page 1}}<div class="pageitem pagefirst"><a href="?page=1" aria-label="{{lang "paginator.first_page_aria"}}">{{lang "paginator.first_page"}}</a></div>
|
||||
<div class="pageitem pageprev"><a href="?page={{subtract .Page 1}}" rel="prev" aria-label="{{lang "paginator.prev_page_aria"}}">{{lang "paginator.prev_page"}}</a></div>
|
||||
<link rel="prev" href="?page={{subtract .Page 1}}"/>{{end}}
|
||||
{{if gt .Page 1}}<div class="pageitem pagefirst"><a href="?page=1"aria-label="{{lang "paginator.first_page_aria"}}">{{lang "paginator.first_page"}}</a></div>
|
||||
<div class="pageitem pageprev"><a href="?page={{subtract .Page 1}}"rel="prev"aria-label="{{lang "paginator.prev_page_aria"}}">{{lang "paginator.prev_page"}}</a></div>
|
||||
<link rel="prev"href="?page={{subtract .Page 1}}">{{end}}
|
||||
{{range .PageList}}
|
||||
<div class="pageitem{{if eq . $.Page}} pagecurrent{{end}}"><a href="?page={{.}}">{{.}}</a></div>
|
||||
{{end}}
|
||||
{{if ne .LastPage .Page}}
|
||||
<link rel="next" href="?page={{add .Page 1}}"/>
|
||||
<div class="pageitem pagenext"><a href="?page={{add .Page 1}}" rel="next" aria-label="{{lang "paginator.next_page_aria"}}">{{lang "paginator.next_page"}}</a></div>
|
||||
<div class="pageitem pagelast"><a href="?page={{.LastPage}}" aria-label="{{lang "paginator.last_page_aria"}}">{{lang "paginator.last_page"}}</a></div>{{end}}
|
||||
<link rel="next"href="?page={{add .Page 1}}">
|
||||
<div class="pageitem pagenext"><a href="?page={{add .Page 1}}"rel="next"aria-label="{{lang "paginator.next_page_aria"}}">{{lang "paginator.next_page"}}</a></div>
|
||||
<div class="pageitem pagelast"><a href="?page={{.LastPage}}"aria-label="{{lang "paginator.last_page_aria"}}">{{lang "paginator.last_page"}}</a></div>{{end}}
|
||||
</div>
|
||||
{{end}}
|
|
@ -6,7 +6,7 @@
|
|||
</div>
|
||||
<div id="panel_forums" class="colstack_item rowlist">
|
||||
{{range .ItemList}}
|
||||
<div data-fid="{{.ID}}" class="rowitem editable_parent panel_forum_item{{if not .Desc}} forum_no_desc{{end}}">
|
||||
<div data-fid="{{.ID}}"class="rowitem editable_parent panel_forum_item{{if not .Desc}} forum_no_desc{{end}}">
|
||||
<span class="grip"></span>
|
||||
<span id="panel_forums_left_box">
|
||||
{{/** TODO: Make sure the forum_active_name class is set and unset when the activity status of this forum is changed **/}}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<input form="quick_post_form"id="has_poll_input"name="has_poll"type="hidden"value=0>
|
||||
<div class="formrow real_first_child">
|
||||
<div class="formitem">
|
||||
<textarea id="input_content"form="quick_post_form"name="content"placeholder="{{lang "topic.reply_content_alt"}}" required></textarea>
|
||||
<textarea id="input_content"form="quick_post_form"name="content"placeholder="{{lang "topic.reply_content_alt"}}"required></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="formrow poll_content_row auto_hide">
|
||||
|
@ -33,7 +33,7 @@
|
|||
<button form="quick_post_form"name="reply-button"class="formbutton">{{lang "topic.reply_button"}}</button>
|
||||
<button form="quick_post_form"class="formbutton"id="add_poll_button">{{lang "topic.reply_add_poll_button"}}</button>
|
||||
{{if .CurrentUser.Perms.UploadFiles}}
|
||||
<input name="upload_files"form="quick_post_form"id="upload_files"multiple type="file" class="auto_hide">
|
||||
<input name="upload_files"form="quick_post_form"id="upload_files"multiple type="file"class="auto_hide">
|
||||
<label for="upload_files"class="formbutton add_file_button">{{lang "topic.reply_add_file_button"}}</label>
|
||||
<div id="upload_file_dock"></div>{{end}}
|
||||
</div>
|
||||
|
|
|
@ -798,6 +798,9 @@ sp.topic_item .submit_edit {
|
|||
width: 100%;
|
||||
max-width: 320px;
|
||||
}
|
||||
video {
|
||||
width: 100%;
|
||||
}
|
||||
blockquote {
|
||||
background-color: #555555;
|
||||
border-radius: 3px;
|
||||
|
|
|
@ -949,6 +949,9 @@ input[type=checkbox]:checked + label.poll_option_label .sel {
|
|||
background-color: rgb(71,71,71);
|
||||
padding: 10px;
|
||||
}
|
||||
video {
|
||||
width: 100%;
|
||||
}
|
||||
blockquote {
|
||||
background-color: rgb(71,71,71);
|
||||
margin: 0px;
|
||||
|
|
|
@ -560,6 +560,9 @@ input, select {
|
|||
background-color: white;
|
||||
padding: 10px;
|
||||
}
|
||||
video {
|
||||
width: 100%;
|
||||
}
|
||||
/*blockquote {
|
||||
background-color: #EEEEEE;
|
||||
padding: 12px;
|
||||
|
|
Loading…
Reference in New Issue