Skip to content

Commit 103165f

Browse files
committed
CSS fixes
Refactored object rendering using promises
1 parent 8dc7149 commit 103165f

File tree

5 files changed

+196
-163
lines changed

5 files changed

+196
-163
lines changed

src/main/webapp/static/com/atomgraph/linkeddatahub/css/bootstrap.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ li button.btn-edit-constructors, li button.btn-add-data, li button.btn-add-ontol
9393
#content-body > [about].row-fluid { overflow-x: auto; margin-bottom: 20px; }
9494
#content-body > [about].row-fluid, .constructor-triple.row-fluid { border-bottom: 2px solid rgb(223, 223, 223); }
9595
#content-body > [about].row-fluid.drag-over { border-bottom: 4px dotted #0f82f5; }
96+
.row-fluid.block { max-height: 80em; }
9697
.list-mode.active { background-image: url('../icons/ic_navigate_before_black_24px.svg'); }
9798
legend.create-action { background-image: url('../icons/ic_note_add_black_24px.svg'); background-position: 12px center; background-repeat: no-repeat; padding-left: 40px; }
9899
alert.violation { background-image: url('../icons/ic_error_white_24px.svg '); background-position: 12px center; background-repeat: no-repeat; padding-left: 40px; }
@@ -145,6 +146,7 @@ button.add-typeahead { width: 219px; }
145146
.control-group.required .control-label { font-weight: bold; }
146147
.description { display: none; }
147148
.content .dl-horizontal { max-height: 35em; overflow: auto; }
149+
div[typeof="https://w3id.org/atomgraph/linkeddatahub#XHTML"] .main { font-size: larger; line-height: 25px; }
148150
div[typeof="https://w3id.org/atomgraph/linkeddatahub#XHTML"] .form-horizontal .control-label { display: none; }
149151
div[typeof="https://w3id.org/atomgraph/linkeddatahub#XHTML"] .form-horizontal .controls { margin-left: 0; }
150152
.span12.progress > div:first-child { background-color: #e9ecef; }

src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/block.xsl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,18 @@ exclude-result-prefixes="#all"
118118
<!-- render row -->
119119

120120
<!-- match resources that are not LDH system resources -->
121-
<xsl:template match="*[@typeof[not(. = ('&ldh;Object', '&ldh;View', '&ldh;GraphChart', '&ldh;ResultSetChart'))]]" mode="ldh:RenderRow" priority="1">
121+
<!-- <xsl:template match="*[@typeof[not(. = ('&ldh;Object', '&ldh;View', '&ldh;GraphChart', '&ldh;ResultSetChart'))]]" mode="ldh:RenderRow" priority="1">
122122
<xsl:apply-templates mode="#current"/>
123123
124-
<!-- hide the progress bar -->
124+
<xsl:message>HELLO? @about: <xsl:value-of select="@about"/></xsl:message>
125+
126+
hide the progress bar
125127
<xsl:for-each select="ancestor::div[contains-token(@class, 'span12')][contains-token(@class, 'progress')][contains-token(@class, 'active')]">
126128
<xsl:sequence select="ixsl:call(ixsl:get(., 'classList'), 'toggle', [ 'progress', false() ])[current-date() lt xs:date('2000-01-01')]"/>
127129
<xsl:sequence select="ixsl:call(ixsl:get(., 'classList'), 'toggle', [ 'progress-striped', false() ])[current-date() lt xs:date('2000-01-01')]"/>
128130
<xsl:sequence select="ixsl:call(ixsl:get(., 'classList'), 'toggle', [ 'active', false() ])[current-date() lt xs:date('2000-01-01')]"/>
129131
</xsl:for-each>
130-
</xsl:template>
132+
</xsl:template>-->
131133

132134
<xsl:template match="*" mode="ldh:RenderRow">
133135
<xsl:apply-templates mode="#current"/>

0 commit comments

Comments
 (0)