Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
ma-impl
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eccochu
ma-impl
Commits
e87379cb
Commit
e87379cb
authored
8 years ago
by
Eike Cochu
Browse files
Options
Downloads
Patches
Plain Diff
fixed pie display issue, cors issue
parent
cfc59653
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docker/elasticsearch.yml
+4
-1
4 additions, 1 deletion
docker/elasticsearch.yml
vipra-ui/app/html/articles/show.html
+2
-8
2 additions, 8 deletions
vipra-ui/app/html/articles/show.html
vipra-ui/app/less/app.less
+10
-9
10 additions, 9 deletions
vipra-ui/app/less/app.less
with
16 additions
and
18 deletions
docker/elasticsearch.yml
+
4
−
1
View file @
e87379cb
...
@@ -94,4 +94,7 @@
...
@@ -94,4 +94,7 @@
# action.destructive_requires_name: true
# action.destructive_requires_name: true
network.host
:
0.0.0.0
network.host
:
0.0.0.0
http.cors.enabled
:
true
http.cors.enabled
:
true
\ No newline at end of file
http.cors.allow-origin
:
"
*"
http.cors.allow-headers
:
"
X-Requested-With,
Content-Type,
Content-Length,
X-User"
http.cors.allow-methods
:
OPTIONS, HEAD, GET, POST, PUT, DELETE
\ No newline at end of file
This diff is collapsed.
Click to expand it.
vipra-ui/app/html/articles/show.html
+
2
−
8
View file @
e87379cb
...
@@ -98,14 +98,8 @@
...
@@ -98,14 +98,8 @@
</tbody>
</tbody>
</table>
</table>
<p
class=
"text-muted"
ng-hide=
"article.similarArticles.length"
>
No similar articles
</p>
<p
class=
"text-muted"
ng-hide=
"article.similarArticles.length"
>
No similar articles
</p>
<hr>
<h3>
Text
</h3>
<div
class=
"pull-right hide-links-button"
ng-click=
"articlesShowModels.hideLinks=!articlesShowModels.hideLinks"
>
<div
class=
"text-justify article-text"
ng-bind-html=
"::article.text"
ng-class=
"{'hide-links':articlesShowModels.hideLinks}"
></div>
<span
class=
"fa-stack"
>
<i
class=
"fa fa-link fa-stack-1x"
></i>
<i
class=
"fa fa-ban fa-stack-2x text-danger"
ng-show=
"!articlesShowModels.hideLinks"
></i>
</span>
</div>
<div
class=
"text-justify"
ng-bind-html=
"::article.text"
ng-class=
"{'hide-links':articlesShowModels.hideLinks}"
></div>
</div>
</div>
</div>
</div>
<div
class=
"loading"
ng-hide=
"article"
>
Loading...
</div>
<div
class=
"loading"
ng-hide=
"article"
>
Loading...
</div>
...
...
This diff is collapsed.
Click to expand it.
vipra-ui/app/less/app.less
+
10
−
9
View file @
e87379cb
...
@@ -664,6 +664,12 @@ entity-menu {
...
@@ -664,6 +664,12 @@ entity-menu {
.pie-chart {
.pie-chart {
height: 220px;
height: 220px;
width: 100% !important;
svg {
display: block;
margin: 0 auto;
}
&.pie-small {
&.pie-small {
height: 180px;
height: 180px;
...
@@ -1076,21 +1082,16 @@ entity-menu {
...
@@ -1076,21 +1082,16 @@ entity-menu {
}
}
}
}
.hide-links-button {
cursor: pointer;
margin-top: -34px;
border: 1px solid #eee;
border-radius: 5px;
background: #fff;
padding: 0 5px;
}
.popover-table {
.popover-table {
th + td {
th + td {
padding-left: 5px;
padding-left: 5px;
}
}
}
}
.article-text {
padding-bottom: 40px;
}
[ng\:cloak], [ng-cloak], .ng-cloak {
[ng\:cloak], [ng-cloak], .ng-cloak {
display: none !important;
display: none !important;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment