summaryrefslogtreecommitdiffstats
path: root/template/admin
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-09-15 16:29:54 +0200
committerThomas Lange <code@nerdmind.de>2017-09-15 16:29:54 +0200
commit54516e1178c34b0a68b96edab024a6b0184d36cb (patch)
tree0b9d3c2b0c93a99fedef1081733e6fb0fd5fd3d9 /template/admin
parent3bf57273ef02b1e892bf7231b58dcb7cfc45c1e6 (diff)
downloadblog-54516e1178c34b0a68b96edab024a6b0184d36cb.tar.gz
blog-54516e1178c34b0a68b96edab024a6b0184d36cb.tar.xz
blog-54516e1178c34b0a68b96edab024a6b0184d36cb.zip
The IDs of the items in the overview lists of the admin template are now no longer displayed within a <h2> element and have been moved to the underlying <div> element.
Diffstat (limited to 'template/admin')
-rw-r--r--template/admin/html/page/item.php3
-rw-r--r--template/admin/html/post/item.php3
-rw-r--r--template/admin/html/user/item.php3
-rw-r--r--template/admin/rsrc/main.css5
4 files changed, 9 insertions, 5 deletions
diff --git a/template/admin/html/page/item.php b/template/admin/html/page/item.php
index 4fa1375..fa251cb 100644
--- a/template/admin/html/page/item.php
+++ b/template/admin/html/page/item.php
@@ -1,7 +1,8 @@
<article class="item">
<header>
- <h2><i class="fa fa-file-text-o"></i><?=escapeHTML($PAGE['ATTR']['NAME'])?><span>#<?=$PAGE['ATTR']['ID']?></span></h2>
+ <h2><i class="fa fa-file-text-o"></i><?=escapeHTML($PAGE['ATTR']['NAME'])?></h2>
<div>
+ <span class="brackets item-id">#<?=$PAGE['ATTR']['ID']?></span>
<a class="brackets" href="<?=Application::getAdminURL("user/update.php?id={$USER['ATTR']['ID']}")?>"><?=escapeHTML($USER['ATTR']['FULLNAME'])?></a>
<time class="brackets" datetime="<?=$PAGE['ATTR']['TIME_INSERT']?>"><?=parseDatetime($PAGE['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
</div>
diff --git a/template/admin/html/post/item.php b/template/admin/html/post/item.php
index 03657b5..83a1d35 100644
--- a/template/admin/html/post/item.php
+++ b/template/admin/html/post/item.php
@@ -1,7 +1,8 @@
<article class="item">
<header>
- <h2><i class="fa fa-newspaper-o"></i><?=escapeHTML($POST['ATTR']['NAME'])?><span>#<?=$POST['ATTR']['ID']?></span></h2>
+ <h2><i class="fa fa-newspaper-o"></i><?=escapeHTML($POST['ATTR']['NAME'])?></h2>
<div>
+ <span class="brackets item-id">#<?=$POST['ATTR']['ID']?></span>
<a class="brackets" href="<?=Application::getAdminURL("user/update.php?id={$USER['ATTR']['ID']}")?>"><?=escapeHTML($USER['ATTR']['FULLNAME'])?></a>
<time class="brackets" datetime="<?=$POST['ATTR']['TIME_INSERT']?>"><?=parseDatetime($POST['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
</div>
diff --git a/template/admin/html/user/item.php b/template/admin/html/user/item.php
index f341359..62e2c60 100644
--- a/template/admin/html/user/item.php
+++ b/template/admin/html/user/item.php
@@ -1,7 +1,8 @@
<article class="item">
<header>
- <h2><i class="fa fa-user"></i><?=escapeHTML($USER['ATTR']['FULLNAME'])?><span>#<?=$USER['ATTR']['ID']?></span></h2>
+ <h2><i class="fa fa-user"></i><?=escapeHTML($USER['ATTR']['FULLNAME'])?></h2>
<div>
+ <span class="brackets item-id">#<?=$USER['ATTR']['ID']?></span>
<time class="brackets" datetime="<?=$USER['ATTR']['TIME_INSERT']?>"><?=parseDatetime($USER['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
</div>
</header>
diff --git a/template/admin/rsrc/main.css b/template/admin/rsrc/main.css
index 95a68a2..c115605 100644
--- a/template/admin/rsrc/main.css
+++ b/template/admin/rsrc/main.css
@@ -120,9 +120,9 @@ table,td{padding:0.5rem;border:0.05rem solid #AAA;}
/* Brackets
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.brackets a,a.brackets{text-decoration:none;}
+.brackets:before,.brackets:after{color:#222;}
.brackets:after{content:"]";}
.brackets:before{content:"[";}
-a.brackets:before,a.brackets:after{color:#222;}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* Item Element
@@ -139,7 +139,8 @@ a.brackets:before,a.brackets:after{color:#222;}
.item > footer > ul > li > a{color:inherit;display:inline-block;padding:0.25rem 2rem;}
.item > footer > ul > li > a:hover,
.item > footer > ul > li > a:active{background:#DDD;}
-.item h2 > span{float:right;}
+
+.item-id{float:right;color:#666;}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* Argument list