Skip to content

Commit

Permalink
[#530] Fix broken nav links and styling.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkcoding7 authored and prmr committed Aug 13, 2024
1 parent c3ab04c commit a627eff
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
6 changes: 3 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ <h2 id="project_tagline">{{ site.description | default: site.github.project_tagl
</div>

<div class="mainnav inner">
<a href="/jekyll">Home</a>
<a href="/jekyll/docs/download.html">Download</a>
<a href="/jekyll/docs/documentation.html">Documentation</a>
<a href="https://www.jetuml.org">Home</a>
<a href="https://www.jetuml.org/docs/download.html">Download</a>
<a href="https://www.jetuml.org/docs/documentation.html">Documentation</a>
</div>

<!-- MAIN CONTENT -->
Expand Down
6 changes: 3 additions & 3 deletions _layouts/user-guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ <h1>User Guide</h1>
<div class="userguidenav">
<li class="nav-title">View: </li>
<ul>
<li><a href="user-guide">By Topic</a></li>
<li><a href="user-guide-levels">By Level</a></li>
<li><a href="user-guide-diagrams">By Diagram</a></li>
<li><a href="https://www.jetuml.org/docs/user-guide-topics.html">By Topic</a></li>
<li><a href="https://www.jetuml.org/docs/user-guide-levels.html">By Level</a></li>
<li><a href="https://www.jetuml.org/docs/user-guide-diagrams.html">By Diagram</a></li>
</ul>
</div>

Expand Down
4 changes: 2 additions & 2 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
{
padding: 0px 10px;
overflow: hidden;
background-color: #f1f1f1;
background-color: #f2f2f2;
max-height: 0;
transition: max-height 0.2s ease-out;
}
Expand All @@ -66,7 +66,7 @@ button.collapsible

button.collapsible:hover
{
background-color: #8e8e8e;
background-color: #d9d9d9;
}

button.collapsible:before
Expand Down
4 changes: 4 additions & 0 deletions src/org/jetuml/gui/tips/TipLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ private static Media discoverMediaUsed(JsonObject pTipContent)
return null;
}

/*
* A tip view contains one property whose name is any View value
* in lower case: discover which one it is.
*/
private static View discoverViewUsed(JsonObject pTipContent)
{
for(View view : View.values())
Expand Down
2 changes: 1 addition & 1 deletion src/org/jetuml/gui/tips/UserGuideGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ private static void generateDiagramsAsMd() throws IOException

/*
* Creates an html representation of all available tips,
* grouped by view, and their respective categories in each view.
* grouped by Views, and their respective categories in each View.
*/
private static void tipsAsHtml()
{
Expand Down

0 comments on commit a627eff

Please sign in to comment.