Skip to content

Commit

Permalink
2.0.1 (re)Release:
Browse files Browse the repository at this point in the history
(Tweaked about page to include Atmos version)
- Directory selection page (in Move dialog) now scrolls
- About page now shows available features (from service info)
- File list now supports shift-click!
- Fixed bug in ACL removal
  • Loading branch information
twincitiesguy committed Apr 23, 2013
1 parent c8b9d32 commit 2a40d4a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 17 deletions.
8 changes: 7 additions & 1 deletion AtmosJSBrowser/WebContent/css/atmos-browser.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ input.longField {
z-index: 10000;
padding: 8px;
text-align: center;
font: 13px Arial, sans-serif;
}

#atmosAboutPage .atmosAboutTitle {
font-size: 14px;
font-weight: bold;
}

#atmosAboutPage .featureList {
Expand All @@ -89,7 +95,7 @@ input.longField {
background-color: #fff;
padding: 4px;
text-align: center;
font-size: 10pt;
font-size: 12px;
}

#atmosAboutPage li {
Expand Down
18 changes: 10 additions & 8 deletions AtmosJSBrowser/WebContent/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@
$( window ).resize( function() {
sizeToolBar();
} );

// populate release version in about page
$( '.atmosAboutVersion' ).text( 'version ' + AtmosBrowser.version );
} );

function sizeToolBar() {
Expand All @@ -127,8 +124,15 @@
}

function showAboutPage() {
// populate features in about page
var $about = $( '#atmosAboutPage' );

// populate browser release version
$about.find( '.atmosAboutVersion' ).text( AtmosBrowser.version );

// populate Atmos service version
$about.find( '.atmos-version' ).text( browser.atmosInfo.version );

// populate Atmos service features
for ( var feature in browser.atmosInfo ) {
if ( !browser.atmosInfo[feature] ) continue;
$about.find( '.feature-' + feature ).removeClass( 'disabledFeature' );
Expand Down Expand Up @@ -599,11 +603,9 @@
</div>

<div id="atmosAboutPage" onclick="$(this).hide()">
Atmos HTML5 Browser<br/>
<br/>
<span class="atmosAboutVersion"></span><br/>
<span class="atmosAboutTitle">Atmos HTML5 Browser v<span class="atmosAboutVersion"></span></span><br/>
<br/>
Available Features:
Connected to Atmos v<span class="atmos-version"></span> with the following features:
<br/>
<ul class="featureList">
<li class="feature-object disabledFeature">Object API</li>
Expand Down
18 changes: 10 additions & 8 deletions AtmosJSBrowser/test/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@
$( window ).resize( function() {
sizeToolBar();
} );

// populate release version in about page
$( '.atmosAboutVersion' ).text( 'version ' + AtmosBrowser.version );
} );

function sizeToolBar() {
Expand All @@ -142,8 +139,15 @@
}

function showAboutPage() {
// populate features in about page
var $about = $( '#atmosAboutPage' );

// populate browser release version
$about.find( '.atmosAboutVersion' ).text( AtmosBrowser.version );

// populate Atmos service version
$about.find( '.atmos-version' ).text( browser.atmosInfo.version );

// populate Atmos service features
for ( var feature in browser.atmosInfo ) {
if ( !browser.atmosInfo[feature] ) continue;
$about.find( '.feature-' + feature ).removeClass( 'disabledFeature' );
Expand Down Expand Up @@ -614,11 +618,9 @@
</div>

<div id="atmosAboutPage" onclick="$(this).hide()">
Atmos HTML5 Browser<br/>
<br/>
<span class="atmosAboutVersion"></span><br/>
<span class="atmosAboutTitle">Atmos HTML5 Browser v<span class="atmosAboutVersion"></span></span><br/>
<br/>
Available Features:
Connected to Atmos v<span class="atmos-version"></span> with the following features:
<br/>
<ul class="featureList">
<li class="feature-object disabledFeature">Object API</li>
Expand Down

0 comments on commit 2a40d4a

Please sign in to comment.