-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #506 from hotowy/feature/about-toolbar-extension
#475 About tab inside top toolbar.
- Loading branch information
Showing
10 changed files
with
104 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,6 +106,10 @@ | |
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
.slim-padding { | ||
padding: 6px; | ||
} | ||
} | ||
|
||
&-generate-raport { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,6 +75,34 @@ <h4 class="modal-title">Handful keyboard shortcuts</h4> | |
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
<!-- | ||
About modal | ||
--> | ||
<div class="modal fade" id="aboutModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> | ||
<div class="modal-dialog" role="document"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span | ||
aria-hidden="true"><i class="fas fa-times"></i></span></button> | ||
<h4 class="modal-title">About...</h4> | ||
</div> | ||
<div class="modal-body"> | ||
<p>Generated with | ||
<a href="https://github.com/Cognifide/aet" target="_blank">AET</a> version: {{ applicationVersion }} | ||
</p> | ||
<p>If you have any questions or require technical support please contact us at | ||
<a href="mailto:[email protected]">[email protected]</a>. | ||
<a href="https://gitter.im/aet-tool/Lobby" target="_blank">Gitter Chat</a> is a way for users | ||
to chat with the AET community. Feel free to leave a message, even if we’re not around, | ||
we will definitely respond to you when available.</p> | ||
<a href="https://www.cognifide.com/" target="_blank"><img class="logo cognifide-logo" src="assets/img/cognifide.png"></a> | ||
<p class="copyright">Copyright © 2013 Cognifide Limited</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
<script src='assets/libs/requirejs/require.js' data-main="app/app.config.js"></script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
rest-endpoint/src/main/java/com/cognifide/aet/rest/helpers/BundleVersionProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/** | ||
* AET | ||
* | ||
* Copyright (C) 2013 Cognifide Limited | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | ||
* in compliance with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software distributed under the License | ||
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | ||
* or implied. See the License for the specific language governing permissions and limitations under | ||
* the License. | ||
*/ | ||
package com.cognifide.aet.rest.helpers; | ||
|
||
import org.osgi.framework.BundleContext; | ||
import org.osgi.service.component.annotations.Activate; | ||
import org.osgi.service.component.annotations.Component; | ||
|
||
@Component(service = BundleVersionProvider.class, immediate = true) | ||
public class BundleVersionProvider { | ||
|
||
private String bundleVersion; | ||
|
||
@Activate | ||
public void activate(BundleContext context) { | ||
bundleVersion = context.getBundle().getVersion().toString(); | ||
} | ||
|
||
public String getBundleVersion() { | ||
return bundleVersion; | ||
} | ||
} |