diff --git a/ordr3/static/script.js b/ordr3/static/script.js index 222d8d7..7fa48c6 100644 --- a/ordr3/static/script.js +++ b/ordr3/static/script.js @@ -36,4 +36,15 @@ $(function() { $(".o3-reg-username").val(user_name); }); + + $(".o3-copy").on("click", function(event) { + var target = $(event.delegateTarget) + var $temp = $(""); + $("body").append($temp); + $temp.val($(target).html()).select(); + document.execCommand("copy"); + $temp.remove(); + $(target).fadeOut( 100 ).delay( 100 ).fadeIn( 100 ); + }); + }); diff --git a/ordr3/static/style.css b/ordr3/static/style.css index 46a2ef6..4a4de1a 100644 --- a/ordr3/static/style.css +++ b/ordr3/static/style.css @@ -38,3 +38,90 @@ .form-group.deform-form-buttons { margin-top:2em; } + +.o3-details.o3-show-details .bi-eye-slash, +.o3-details.o3-hide-details .bi-eye { + display:none; + } + +.o3-details.o3-hide-details .bi-eye-slash, +.o3-details.o3-show-details .bi-eye { + display:inline; + } + +.o3-users-link:hover .badge.badge-light{ + color: #fff; + background-color: #343a40; + } + +.dropdown-toggle::after { + display:none; + } + +.o3-head-space { + margin-top: 3.5rem; + } + +.o3-head-space .col-2, .o3-head-space .col-5, .o3-head-space .col-10 { + padding-top:1rem; + } + +.o3-sidebar { + position: sticky; + z-index: 1000; + min-height: calc(100vh - 3.5rem); + box-shadow: 0 0rem 1rem rgba(0,0,0,.15) inset!important; + } + +.o3-sidebar nav a { + padding:0px 1rem; + margin-bottom:0.2rem; + color: #6c757d!important; + text-transform: capitalize!important; + } + +.o3-sidebar nav a.active { + background-color: #dae0e5!important; + color: #343a40!important + } + +.o3-sidebar nav a:hover { + background-color: #f8f9fa!important; + color:#121416!important; + } + +.o3-sidebar nav .disabled { + color: #6c757d!important; + font-weight: lighter!important; + border-bottom: 1px solid #dee2e6!important; + margin-bottom: 0.5rem; + padding-bottom: 0.1rem; + border-radius: 0px; + } + + +.o3-content { + font-size:90%; + } + +.o3-content .table-hover tbody tr:hover { + background-color: #f8f9fa!important; + } + +.o3-content .table td { + padding:.5rem; + } + +td.actions a { + color: #6c757d!important; + margin-right:0.5rem; + font-size:1rem; + } + +td.actions a:hover { + color: #343a40!important; + } + +.o3-copy { + cursor:pointer; + } diff --git a/ordr3/templates/layout_full.jinja2 b/ordr3/templates/layout_full.jinja2 index ad8e4e3..0a54d84 100644 --- a/ordr3/templates/layout_full.jinja2 +++ b/ordr3/templates/layout_full.jinja2 @@ -1,20 +1,84 @@ +{% import 'ordr3:templates/macros.jinja2' as macros with context %}
-