License Denied.

This commit is contained in:
Ray 2014-12-30 20:40:45 +08:00
parent 6e27bbd483
commit 380e2cd4f9
4 changed files with 37 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -122,6 +122,20 @@ legend {
text-align: center;
list-style: none;
}
#sidebar .sidebar-nav .license-denied {
cursor: not-allowed;
}
#sidebar .sidebar-nav .license-denied > span {
position: relative;
width: 60px;
}
#sidebar .sidebar-nav .license-denied > span:before {
position: absolute;
top: 10px;
left: 12px;
font-size: 3.1em;
color: rgba(205, 10, 10, 0.46);
}
#sidebar > h2.position {
margin: 0;
width: 61px;
@ -188,6 +202,7 @@ legend {
}
#sidebar .sidebar-nav > li a {
display: block;
text-decoration: none;
}
#sidebar .sidebar-nav > li i {
font-size: 1.6em;

View File

@ -1,2 +1,19 @@
<h3>License Denied.</h3>
<p>Please contact <a href="http://www.rulingdigital.com">www.rulingdigital.com</a>.</p>
<style>
#main-wrap {
height: 100vh;
background-image: url(/assets/license-denied.png);
background-repeat: no-repeat;
background-position: 50% 25%;
}
.license-denied-wrap {
width: 100%;
margin-top: 200px;
text-align: center;
}
.license-denied-wrap .license-denied {
}
</style>
<div class="license-denied-wrap">
<h3 class="license-denied">License Denied.</h3>
<p class="">Please contact <a href="http://www.rulingdigital.com">www.rulingdigital.com</a>.</p>
</div>

View File

@ -42,9 +42,9 @@ module SideBarRenderer
end
end
else
link_to "/admin/license_denied" do
content_tag :span do
content_tag(:i, nil, class: @icon_class + " text-error")
link_to "/admin/license_denied", class: "license-denied" do
content_tag :span, class: "icons-blocked" do
content_tag(:i, nil, class: @icon_class)
end
end
end