EarthSystemCoG / COG

COG source code
BSD 3-Clause "New" or "Revised" License
8 stars 16 forks source link

Long long_names don't wrap well above teal navigation bar #511

Closed murphysj closed 10 years ago

murphysj commented 11 years ago

WHO: Cecelia Benefits: All users

Long project titles wrap the wrong way at the top of the page, so they end up obscuring the navigation bar

allynt commented 11 years ago

This is actually more complicated than I thought. The project name is positioned "absolutely." This means that the element has been removed from the document flow. A better solution may be to limit the length of a project's long_name to something like 60 characters.

murphysj commented 11 years ago

That solution works for me. Can you implement or is that something Luca should do? We can discuss at next week's call.

On Wed, Sep 25, 2013 at 1:49 PM, allynt notifications@github.com wrote:

This is actually more complicated than I thought. The project name is positioned "absolutely." This means that the element has been removed from the document flow. A better solution may be to limit the length of a project's long_name to something like 60 characters.

— Reply to this email directly or view it on GitHubhttps://github.com/EarthSystemCoG/COG/issues/511#issuecomment-25118916 .


Sylvia Murphy NESII/CIRES/NOAA Earth System Research Laboratory 325 Broadway, Boulder CO 80305 Time Zone: U.S. Mountain Web: http://www.esrl.noaa.gov/nesii/ Email: sylvia.murphy@noaa.gov Phone: 303-497-7753

allynt commented 11 years ago

I can implement this.

murphysj commented 11 years ago

ok,

go ahead and implement and we will demo on monday

On Wed, Sep 25, 2013 at 1:56 PM, allynt notifications@github.com wrote:

I can implement this.

— Reply to this email directly or view it on GitHubhttps://github.com/EarthSystemCoG/COG/issues/511#issuecomment-25119457 .


Sylvia Murphy NESII/CIRES/NOAA Earth System Research Laboratory 325 Broadway, Boulder CO 80305 Time Zone: U.S. Mountain Web: http://www.esrl.noaa.gov/nesii/ Email: sylvia.murphy@noaa.gov Phone: 303-497-7753

allynt commented 11 years ago

As indicated above, it is simpler to restrict the length of a project's long_name than work w/ CSS (or javascript) to get this to display nicely in the browser. This has been done in commit fbab8e4d28df362ad1817f385207725451c590e7

LucaCinquini commented 11 years ago

It's an easy change for me, I need to upgrade the database anyhow... But are we sure that all current long names are under 60 characters ? thanks, L

On Sep 25, 2013, at 12:55 PM, Sylvia Murphy wrote:

That solution works for me. Can you implement or is that something Luca should do? We can discuss at next week's call.

On Wed, Sep 25, 2013 at 1:49 PM, allynt notifications@github.com<mailto:notifications@github.com> wrote:

This is actually more complicated than I thought. The project name is positioned "absolutely." This means that the element has been removed from the document flow. A better solution may be to limit the length of a project's long_name to something like 60 characters.

— Reply to this email directly or view it on GitHubhttps://github.com/EarthSystemCoG/COG/issues/511#issuecomment-25118916 .


Sylvia Murphy NESII/CIRES/NOAA Earth System Research Laboratory 325 Broadway, Boulder CO 80305 Time Zone: U.S. Mountain Web: http://www.esrl.noaa.gov/nesii/ Email: sylvia.murphy@noaa.govmailto:sylvia.murphy@noaa.gov Phone: 303-497-7753

— Reply to this email directly or view it on GitHubhttps://github.com/EarthSystemCoG/COG/issues/511#issuecomment-25119361.

allynt commented 11 years ago

Here is the current set of project long_names:

[29] National Multi-Model Ensemble [18] HIWPP Test Program [32] HIWPP High-Resolution HWRF Nests [28] HIWPP Non-hydrostatic Models [31] HIWPP Global Hydrostatic Models [38] High Impact Weather Prediction Project [42] Earth System Framework Definition Language [16] Coupling Testbed [33] Optimized Infrastructure for ESPC [29] Hydro-Climate Modeling System [22] Model Coupling Toolkit [17] ClimateTranslator [29] Earth System Prediction Suite [33] GFDL Perfect Model Test Framework [21] ESMF Python interface [44] Integrate MOM5 in NEMS using NUOPC framework [80] The NCEP Global Forecast System/NOAA Environmental Modeling System Summer School [36] Earth System Modeling Framework Core [57] Computational Modeling Algorithms and Cyberinfrastructure [20] Downscaling Metadata [15] RegridWeightGen [5] Cupid [20] Earth System Curator [17] ESMF Web Services [50] National Unified Operational Prediction Capability [20] Alaska Summer School [87] The Dynamical Core Model Intercomparison Project (DCMIP) and Summer School, August 2012 [44] Dynamical Core Model Intercomparison Project [32] Earth System Model Documentation [4] ESGF [21] ESMF Python Interface [37] North Central Climate Science Project [19] NCPP Administration [38] Climate Indices for Impacts Assessment [13] La Niña Pilot [38] Quantitative Evaluation of Downscaling [19] ESRL ESGF Data Node [14] OpenClimateGIS [76] 2008 Summer Colloquium on Numerical Techniques for Global Atmospheric Models [31] Earth System Modeling Framework [16] Earth System CoG [53] National Climate Predictions and Projections Platform [77] NOAA Environmental Software Infrastructure and Interoperability Group (NESII)

allynt commented 11 years ago

No longer limiting length of project.long_name. This has been done in commit 6e8b2e17e2746fc0e9f4fc5a0a4f90621278bcd2. Will work on an alternate solution in a future release.

allynt commented 10 years ago

Prior to limiting the length, we (or the relevant project administrators) need to decide upon alternate long_names for the following projects:

GFSmodelingschool: "The NCEP Global Forecast System/NOAA Environmental Modeling System Summer School" DCMIP-2012: "The Dynamical Core Model Intercomparison Project (DCMIP) and Summer School, August 2012" Dycore-2008: "2008 Summer Colloquium on Numerical Techniques for Global Atmospheric Models" NESII: "NOAA Environmental Software Infrastructure and Interoperability Group (NESII)"

allynt commented 10 years ago

Actually, managed to get this working for longer names using CSS. Still have to limit the total length (to120) so that it doesn't wrap to more than 2 lines. This has been done in commit 73363682165b2ff020a5de830aa7640bd54b9e8c. I just have to test in IE prior to closing.

murphysj commented 10 years ago

verified on the 11/13/13 cog call