mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 20:32:26 +08:00
zip matching banner
This commit is contained in:
parent
13f84140f4
commit
806b474851
|
@ -736,6 +736,15 @@ CLASS ZCL_ABAPGIT_GUI_VIEW_REPO IMPLEMENTATION.
|
||||||
|
|
||||||
ro_html->add( '<div class="repo_container">' ).
|
ro_html->add( '<div class="repo_container">' ).
|
||||||
|
|
||||||
|
" Offline match banner
|
||||||
|
IF mo_repo->is_offline( ) = abap_true AND mo_repo->has_remote_source( ) = abap_true
|
||||||
|
AND lv_lstate IS INITIAL AND lv_rstate IS INITIAL.
|
||||||
|
ro_html->add(
|
||||||
|
|<div class="repo_banner panel success">|
|
||||||
|
&& |ZIP source is attached and completely <b>matches</b> to the local state|
|
||||||
|
&& |</div>| ).
|
||||||
|
ENDIF.
|
||||||
|
|
||||||
" Repo content table
|
" Repo content table
|
||||||
ro_html->add( '<table class="repo_tab">' ).
|
ro_html->add( '<table class="repo_tab">' ).
|
||||||
|
|
||||||
|
|
|
@ -73,6 +73,16 @@ input:focus, textarea:focus {
|
||||||
.float-right { float: right; }
|
.float-right { float: right; }
|
||||||
.pad-right { padding-right: 6px; }
|
.pad-right { padding-right: 6px; }
|
||||||
|
|
||||||
|
/* PANELS */
|
||||||
|
div.panel {
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
div.panel.success {
|
||||||
|
color: #589a58 !important;
|
||||||
|
background: #c5eac5;
|
||||||
|
}
|
||||||
|
/* TODO: add warning and error colors */
|
||||||
|
|
||||||
/* STRUCTURE DIVS, HEADER & FOOTER */
|
/* STRUCTURE DIVS, HEADER & FOOTER */
|
||||||
div#header {
|
div#header {
|
||||||
padding: 0.5em 0.5em;
|
padding: 0.5em 0.5em;
|
||||||
|
@ -202,6 +212,14 @@ div.repo {
|
||||||
div.repo_container {
|
div.repo_container {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.repo_banner {
|
||||||
|
margin: 0em 1.2em 1em;
|
||||||
|
padding: 0.5em 0.5em;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 85%;
|
||||||
|
}
|
||||||
|
|
||||||
table.repo_tab {
|
table.repo_tab {
|
||||||
border: 1px solid #DDD;
|
border: 1px solid #DDD;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user