summaryrefslogtreecommitdiff
path: root/src/web/_views/template
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/_views/template')
-rw-r--r--src/web/_views/template/comment.php2
-rw-r--r--src/web/_views/template/modal.php4
-rw-r--r--src/web/_views/template/post.php14
-rw-r--r--src/web/_views/template/posts.php2
4 files changed, 11 insertions, 11 deletions
diff --git a/src/web/_views/template/comment.php b/src/web/_views/template/comment.php
index 72bcedf..ceac588 100644
--- a/src/web/_views/template/comment.php
+++ b/src/web/_views/template/comment.php
@@ -8,7 +8,7 @@
<div class="ml col sub-card">
<div class="row">
<strong><?=$format_model->name($user)?></strong>
- <span class="dim ml"><?=$this->main->date($comment['created'])?></span>
+ <span class="subtext ml"><?=$this->main->date($comment['created'])?></span>
</div>
<?=$comment['content']?>
</div>
diff --git a/src/web/_views/template/modal.php b/src/web/_views/template/modal.php
index e3ce6fe..2a041a7 100644
--- a/src/web/_views/template/modal.php
+++ b/src/web/_views/template/modal.php
@@ -3,10 +3,10 @@
<div class="modal-container">
<div class="modal">
<div class="modal-header row">
- <?=$title?>
+ <span class="modal-title"><?=$title?></span>
<?=ilang(
'action_modal_close',
- class: 'float-right btn btn-action modal-close',
+ class: 'btn btn-action modal-close',
)?>
</div>
<?php $this->view('modal/' . $content) ?>
diff --git a/src/web/_views/template/post.php b/src/web/_views/template/post.php
index b8ea69a..48f8bb6 100644
--- a/src/web/_views/template/post.php
+++ b/src/web/_views/template/post.php
@@ -5,7 +5,7 @@
<?=pfp($user)?>
<div class="col ml">
<strong><?=$user['first_name'] . ' ' . $user['last_name']?></strong>
- <span class="dim"><?=$this->main->date($post['created'])?></span>
+ <span class="subtext"><?=$this->main->date($post['created'])?></span>
</div>
</div>
<p>
@@ -13,7 +13,7 @@
</p>
<?php
$self = $this->main->user();
- $liked = $post['like_id'] ? 'btn-blue' : '';
+ $liked = $post['like_id'] ? 'btn-primary' : '';
$post_attrs = array(
'postId' => $post['id']
);
@@ -21,15 +21,15 @@
$post_attrs['likeId'] = $post['like_id'];
}
?>
- <span class="likes dim"><span class="count"><?=$post['like_count']?></span><?=' ' . ucfirst(lang('likes'))?></span>
+ <span class="likes subtext"><span class="count"><?=$post['like_count']?></span><?=' ' . ucfirst(lang('likes'))?></span>
<?php if ($self): ?>
<hr>
<div class="row">
<?=ilang('action_like',
- class: 'btn btn-wide action-like ' . $liked,
+ class: 'btn grow action-like ' . $liked,
attrs: $post_attrs
)?>
- <?=ilang('action_comment', class: 'btn btn-wide action-comment',
+ <?=ilang('action_comment', class: 'btn grow action-comment',
click: '$(\'#action-new-comment-' . $post['id'] . '\').focus()'
)?>
</div>
@@ -47,7 +47,7 @@
if ($loaded >= $page_size && $page_size < $total) {
ilang('action_load_comments',
- class: 'action-load-comments btn btn-line mt',
+ class: 'action-load-comments btn btn-blend mt',
attrs: array(
'postId' => $post['id'],
'loaded' => $loaded,
@@ -71,7 +71,7 @@
>
<input
id="action-new-comment-<?=$post['id']?>"
- class="action-new-comment btn btn-wide btn-alt"
+ class="action-new-comment btn grow btn-alt"
postId="<?=$post['id']?>"
autocomplete="off"
type="text"
diff --git a/src/web/_views/template/posts.php b/src/web/_views/template/posts.php
index 137c0dd..ed79688 100644
--- a/src/web/_views/template/posts.php
+++ b/src/web/_views/template/posts.php
@@ -11,7 +11,7 @@
if ($loaded >= $page_size && $page_size < $total) {
ilang('action_load_posts',
id: 'action-load-posts',
- class: 'btn btn-line btn-wide mb mt',
+ class: 'btn btn-blend grow mb mt',
attrs: array(
'loaded' => $loaded,
'pageSize' => $page_size,