diff --git a/src/discovery.config.js b/src/discovery.config.js index 38fefb2c6..e14a785b0 100644 --- a/src/discovery.config.js +++ b/src/discovery.config.js @@ -76,6 +76,7 @@ require.config({ UserNavbarWidget: 'js/widgets/user_navbar/widget', AlertsWidget: 'js/widgets/alerts/widget', SearchWidget: 'js/widgets/search_bar/search_bar_widget', + FormAccordionWidget : 'js/widgets/form_accordion/widget', Results: 'js/widgets/results/widget', QueryInfo: 'js/widgets/query_info/query_info_widget', QueryDebugInfo: 'js/widgets/api_query/widget', diff --git a/src/js/page_managers/templates/landing-page-layout.html b/src/js/page_managers/templates/landing-page-layout.html index f0c1583ca..0baba4351 100644 --- a/src/js/page_managers/templates/landing-page-layout.html +++ b/src/js/page_managers/templates/landing-page-layout.html @@ -13,7 +13,7 @@
-
+
@@ -21,12 +21,17 @@

+

The search bar above uses the concise new ADS search syntax. +


-
-
-

This form uses the powerful new ADS search syntax.

+
+ +
+
+
+
diff --git a/src/js/widgets/form_accordion/templates/author_form.html b/src/js/widgets/form_accordion/templates/author_form.html new file mode 100644 index 000000000..aa61d6539 --- /dev/null +++ b/src/js/widgets/form_accordion/templates/author_form.html @@ -0,0 +1,28 @@ +
+ + +
+ Author Name (last, first) + first author? +
+ + +
+ + +
+ + +
+
+ + + + +
\ No newline at end of file diff --git a/src/js/widgets/form_accordion/templates/form_container.html b/src/js/widgets/form_accordion/templates/form_container.html new file mode 100644 index 000000000..c166b06d1 --- /dev/null +++ b/src/js/widgets/form_accordion/templates/form_container.html @@ -0,0 +1,35 @@ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
\ No newline at end of file diff --git a/src/js/widgets/form_accordion/templates/paper_form.html b/src/js/widgets/form_accordion/templates/paper_form.html new file mode 100644 index 000000000..5467804c4 --- /dev/null +++ b/src/js/widgets/form_accordion/templates/paper_form.html @@ -0,0 +1,46 @@ +
+ Paste an AAS-style journal article reference here and we will try to parse it into the form below +
+ + + + +
+
+ +
+
+ + + +
+
+ A bibstem is an abbreviation that the ADS uses to identify a journal. + A full list is available here. + The input field below will autocomplete on the 500 most popular journal names, allowing you to type + "Astrophysical Journal", for instance, to find the bibstem "AJ". +
+
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+ \ No newline at end of file diff --git a/src/js/widgets/form_accordion/templates/topic_form.html b/src/js/widgets/form_accordion/templates/topic_form.html new file mode 100644 index 000000000..927948e63 --- /dev/null +++ b/src/js/widgets/form_accordion/templates/topic_form.html @@ -0,0 +1,8 @@ +
+ + + +
+ +
+
\ No newline at end of file diff --git a/src/js/widgets/form_accordion/topterms.js b/src/js/widgets/form_accordion/topterms.js new file mode 100644 index 000000000..b8903f996 --- /dev/null +++ b/src/js/widgets/form_accordion/topterms.js @@ -0,0 +1,4 @@ +define([], function(){ +return [{"value":"A&A","label":"Astronomy and Astrophysics (A&A)"},{"value":"A&AS","label":"Astronomy and Astrophysics Supplement Series (A&AS)"},{"value":"AAS","label":"American Astronomical Society Meeting Abstracts (AAS)"},{"value":"AcA","label":"Acta Astronomica (AcA)"},{"value":"AcAau","label":"Acta Astronautica (AcAau)"},{"value":"AcCrA","label":"Acta Crystallographica Section A (AcCrA)"},{"value":"AcOpt","label":"Optica Acta (AcOpt)"},{"value":"ACP","label":"Atmospheric Chemistry & Physics (ACP)"},{"value":"ACPD","label":"Atmospheric Chemistry & Physics Discussions (ACPD)"},{"value":"AcPPB","label":"Acta Physica Polonica B (AcPPB)"},{"value":"AcSpA","label":"Spectrochimica Acta Part A: Molecular Spectroscopy (AcSpA)"},{"value":"AcSpe","label":"Spectrochimica Acta (AcSpe)"},{"value":"AdAtS","label":"Advances in Atmospheric Sciences (AdAtS)"},{"value":"AdSpR","label":"Advances in Space Research (AdSpR)"},{"value":"AdWR","label":"Advances in Water Resources (AdWR)"},{"value":"AGAb","label":"Astronomische Gesellschaft Abstract Series (AGAb)"},{"value":"AGUFM","label":"AGU Fall Meeting Abstracts (AGUFM)"},{"value":"AGUSM","label":"AGU Spring Meeting Abstracts (AGUSM)"},{"value":"AIAAJ","label":"AIAA Journal (AIAAJ)"},{"value":"AIPC","label":"American Institute of Physics Conference Series (AIPC)"},{"value":"AJ","label":"The Astronomical Journal (AJ)"},{"value":"AmJPh","label":"American Journal of Physics (AmJPh)"},{"value":"AMM","label":"Applied Mechanics and Materials (AMM)"},{"value":"AN","label":"Astronomische Nachrichten (AN)"},{"value":"Ana","label":"The Analyst (Ana)"},{"value":"AnGeo","label":"Annales Geophysicae (AnGeo)"},{"value":"AnGla","label":"Annals of Glaciology (AnGla)"},{"value":"AnP","label":"Annalen der Physik (AnP)"},{"value":"AnPhy","label":"Annals of Physics (AnPhy)"},{"value":"Ap&SS","label":"Astrophysics and Space Science (Ap&SS)"},{"value":"Ap","label":"Astrophysics (Ap)"},{"value":"APExp","label":"Applied Physics Express (APExp)"},{"value":"APh","label":"Astroparticle Physics (APh)"},{"value":"APhy","label":"Acoustical Physics (APhy)"},{"value":"ApJ","label":"The Astrophysical Journal (ApJ)"},{"value":"ApJS","label":"The Astrophysical Journal Supplement Series (ApJS)"},{"value":"ApOpt","label":"Applied Optics (ApOpt)"},{"value":"ApPhA","label":"Applied Physics A: Materials Science & Processing (ApPhA)"},{"value":"ApPhB","label":"Applied Physics B: Lasers and Optics (ApPhB)"},{"value":"ApPhL","label":"Applied Physics Letters (ApPhL)"},{"value":"APS","label":"APS Meeting Abstracts (APS)"},{"value":"ApSpe","label":"Applied Spectroscopy (ApSpe)"},{"value":"ApSS","label":"Applied Surface Science (ApSS)"},{"value":"AReg","label":"Astronomical register (AReg)"},{"value":"ARep","label":"Astronomy Reports (ARep)"},{"value":"ArRMA","label":"Archive for Rational Mechanics and Analysis (ArRMA)"},{"value":"ASAJ","label":"Acoustical Society of America Journal (ASAJ)"},{"value":"ASIC","label":"NATO Advanced Science Institutes (ASI) Series C (ASIC)"},{"value":"ASPC","label":"Astronomical Society of the Pacific Conference Series (ASPC)"},{"value":"ASSL","label":"Astrophysics and Space Science Library (ASSL)"},{"value":"AstL","label":"Astronomy Letters (AstL)"},{"value":"Astr","label":"The Astronomer (Astr)"},{"value":"ATel","label":"The Astronomer's Telegram (ATel)"},{"value":"AtmEn","label":"Atmospheric Environment (AtmEn)"},{"value":"AtmRe","label":"Atmospheric Research (AtmRe)"},{"value":"ATsir","label":"Astronomicheskij Tsirkulyar (ATsir)"},{"value":"AuJES","label":"Australian Journal of Earth Sciences (AuJES)"},{"value":"AuJPh","label":"Australian Journal of Physics (AuJPh)"},{"value":"AZh","label":"Astronomicheskii Zhurnal (AZh)"},{"value":"BAAA","label":"Boletin de la Asociacion Argentina de Astronomia La Plata Argentina (BAAA)"},{"value":"BAAS","label":"Bulletin of the American Astronomical Society (BAAS)"},{"value":"BAICz","label":"Bulletin of the Astronomical Institutes of Czechoslovakia (BAICz)"},{"value":"BAMS","label":"Bulletin of the American Meteorological Society (BAMS)"},{"value":"BASI","label":"Bulletin of the Astronomical Society of India (BASI)"},{"value":"BGD","label":"Biogeosciences Discussions (BGD)"},{"value":"BGeo","label":"Biogeosciences (BGeo)"},{"value":"BJAP","label":"British Journal of Applied Physics (BJAP)"},{"value":"BoLMe","label":"Boundary-Layer Meteorology (BoLMe)"},{"value":"BpJ","label":"Biophysical Journal (BpJ)"},{"value":"BRASP","label":"Bulletin of the Russian Academy of Science, Phys. (BRASP)"},{"value":"BrJPh","label":"Brazilian Journal of Physics (BrJPh)"},{"value":"BuAsI","label":"Bulletin Astronomique, Serie I (BuAsI)"},{"value":"BuSSA","label":"The Bulletin of the Seismological Society of America (BuSSA)"},{"value":"BVol","label":"Bulletin of Volcanology (BVol)"},{"value":"C&T","label":"Ciel et Terre (C&T)"},{"value":"CaJES","label":"Canadian Journal of Earth Sciences (CaJES)"},{"value":"CaJPh","label":"Canadian Journal of Physics (CaJPh)"},{"value":"CAP","label":"Current Applied Physics (CAP)"},{"value":"CBET","label":"Central Bureau Electronic Telegrams (CBET)"},{"value":"CCM","label":"Clays and Clay Minerals (CCM)"},{"value":"CeMDA","label":"Celestial Mechanics and Dynamical Astronomy (CeMDA)"},{"value":"CeMec","label":"Celestial Mechanics (CeMec)"},{"value":"CG","label":"Computers and Geosciences (CG)"},{"value":"Chaos","label":"Chaos (Chaos)"},{"value":"ChPhB","label":"Chinese Physics B (ChPhB)"},{"value":"ChPhL","label":"Chinese Physics Letters (ChPhL)"},{"value":"ChPhy","label":"Chinese Physics (ChPhy)"},{"value":"CIBu","label":"COSPAR Information Bulletin (CIBu)"},{"value":"ClDy","label":"Climate Dynamics (ClDy)"},{"value":"CMAME","label":"Computer Methods in Applied Mechanics and Engineering (CMAME)"},{"value":"CMaPh","label":"Communications in Mathematical Physics (CMaPh)"},{"value":"CNSNS","label":"Communications in Nonlinear Science and Numerical Simulations (CNSNS)"},{"value":"CoMP","label":"Contributions to Mineralogy and Petrology (CoMP)"},{"value":"CompM","label":"Computational Mechanics (CompM)"},{"value":"ConPh","label":"Contemporary Physics (ConPh)"},{"value":"CoPhC","label":"Computer Physics Communications (CoPhC)"},{"value":"CosRe","label":"Cosmic Research (CosRe)"},{"value":"CoTPh","label":"Communications in Theoretical Physics (CoTPh)"},{"value":"CP","label":"Chemical Physics (CP)"},{"value":"CPL","label":"Chemical Physics Letters (CPL)"},{"value":"CQGra","label":"Classical and Quantum Gravity (CQGra)"},{"value":"CRASM","label":"Academie des Sciences Paris Comptes Rendus Serie Sciences Mathematiques (CRASM)"},{"value":"Cryo","label":"Cryogenics (Cryo)"},{"value":"CryRp","label":"Crystallography Reports (CryRp)"},{"value":"CSF","label":"Chaos Solitons and Fractals (CSF)"},{"value":"CSR","label":"Continental Shelf Research (CSR)"},{"value":"CzJPh","label":"Czechoslovak Journal of Physics (CzJPh)"},{"value":"CzJPS","label":"Czechoslovak Journal of Physics Supplement (CzJPS)"},{"value":"DokES","label":"Doklady Earth Sciences (DokES)"},{"value":"DokPh","label":"Physics - Doklady (DokPh)"},{"value":"DoSSR","label":"Akademiia Nauk SSSR Doklady (DoSSR)"},{"value":"DPS","label":"AAS/Division for Planetary Sciences Meeting Abstracts (DPS)"},{"value":"DRM","label":"Diamond and Related Materials (DRM)"},{"value":"DSRA","label":"Deep Sea Research A (DSRA)"},{"value":"DSRI","label":"Deep Sea Research Part I: Oceanographic Research (DSRI)"},{"value":"DSRII","label":"Deep Sea Research Part II: Topical Studies in Oceanography (DSRII)"},{"value":"DSROA","label":"Deep Sea Research and Oceanographic Abstracts (DSROA)"},{"value":"E&ES","label":"IOP Conference Series: Earth and Environmental Science (E&ES)"},{"value":"E&PSL","label":"Earth and Planetary Science Letters (E&PSL)"},{"value":"EAEJA","label":"EGS - AGU - EUG Joint Assembly (EAEJA)"},{"value":"EAS","label":"EAS Publications Series (EAS)"},{"value":"ECSS","label":"Estuarine Coastal and Shelf Science (ECSS)"},{"value":"EGSGA","label":"EGS General Assembly Conference Abstracts (EGSGA)"},{"value":"EGUGA","label":"EGU General Assembly Conference Abstracts (EGUGA)"},{"value":"EJPh","label":"European Journal of Physics (EJPh)"},{"value":"EL","label":"EPL (Europhysics Letters) (EL)"},{"value":"ElL","label":"Electronics Letters (ElL)"},{"value":"EM&P","label":"Earth Moon and Planets (EM&P)"},{"value":"EnMan","label":"Environmental Management (EnMan)"},{"value":"EnST","label":"Environmental Science Technology (EnST)"},{"value":"EOSTr","label":"EOS Transactions (EOSTr)"},{"value":"EP&S","label":"Earth, Planets, and Space (EP&S)"},{"value":"EPJA","label":"European Physical Journal A (EPJA)"},{"value":"EPJAP","label":"European Physical Journal Applied Physics (EPJAP)"},{"value":"EPJB","label":"European Physical Journal B (EPJB)"},{"value":"EPJC","label":"European Physical Journal C (EPJC)"},{"value":"EPJD","label":"European Physical Journal D (EPJD)"},{"value":"EPJST","label":"European Physical Journal Special Topics (EPJST)"},{"value":"EPJWC","label":"European Physical Journal Web of Conferences (EPJWC)"},{"value":"ER","label":"Environmental Research (ER)"},{"value":"ESASP","label":"ESA Special Publication (ESASP)"},{"value":"ESOC","label":"European Southern Observatory Conference and Workshop Proceedings (ESOC)"},{"value":"ESPL","label":"Earth Surface Processes and Landforms (ESPL)"},{"value":"ESRv","label":"Earth Science Reviews (ESRv)"},{"value":"ExFl","label":"Experiments in Fluids (ExFl)"},{"value":"FaDi","label":"Faraday Discussions (FaDi)"},{"value":"FBS","label":"Few-Body Systems (FBS)"},{"value":"FlDy","label":"Fluid Dynamics (FlDy)"},{"value":"FoPh","label":"Foundations of Physics (FoPh)"},{"value":"ForPh","label":"Fortschritte der Physik (ForPh)"},{"value":"Freq","label":"Frequenz (Freq)"},{"value":"GCN","label":"GRB Coordinates Network (GCN)"},{"value":"Ge&Ae","label":"Geomagnetism and Aeronomy (Ge&Ae)"},{"value":"GeCAS","label":"Geochimica et Cosmochimica Acta Supplement (GeCAS)"},{"value":"GeCoA","label":"Geochimica et Cosmochimica Acta (GeCoA)"},{"value":"Geo","label":"Geology (Geo)"},{"value":"GeoJ","label":"Geophysical Journal (GeoJ)"},{"value":"GeoJI","label":"Geophysical Journal International (GeoJI)"},{"value":"Geomo","label":"Geomorphology (Geomo)"},{"value":"Geop","label":"Geophysics (Geop)"},{"value":"GeopP","label":"Geophysical Prospecting (GeopP)"},{"value":"GeoRL","label":"Geophysical Research Letters (GeoRL)"},{"value":"GeoRu","label":"Geologische Rundschau (GeoRu)"},{"value":"GGG","label":"Geochemistry, Geophysics, Geosystems (GGG)"},{"value":"GMS","label":"Washington DC American Geophysical Union Geophysical Monograph Series (GMS)"},{"value":"GPC","label":"Global and Planetary Change (GPC)"},{"value":"GReGr","label":"General Relativity and Gravitation (GReGr)"},{"value":"GSAB","label":"Geological Society of America Bulletin (GSAB)"},{"value":"GSLSP","label":"Geological Society of London Special Publications (GSLSP)"},{"value":"HEAD","label":"AAS/High Energy Astrophysics Division (HEAD)"},{"value":"HESS","label":"Hydrology and Earth System Sciences (HESS)"},{"value":"HESSD","label":"Hydrology and Earth System Sciences Discussions (HESSD)"},{"value":"HiA","label":"Highlights of Astronomy (HiA)"},{"value":"HMT","label":"Heat and Mass Transfer (HMT)"},{"value":"HyInt","label":"Hyperfine Interactions (HyInt)"},{"value":"HyPr","label":"Hydrological Processes (HyPr)"},{"value":"IAM","label":"International Applied Mechanics (IAM)"},{"value":"IAPM","label":"IEEE Antennas Propagation Magazine (IAPM)"},{"value":"IAUC","label":"International Astronomical Union Circular (IAUC)"},{"value":"IAUJD","label":"IAU Joint Discussion (IAUJD)"},{"value":"IAUS","label":"IAU Symposium (IAUS)"},{"value":"IAWPL","label":"IEEE Antennas and Wireless Propagation Letters (IAWPL)"},{"value":"IBVS","label":"Information Bulletin on Variable Stars (IBVS)"},{"value":"Icar","label":"Icarus (Icar)"},{"value":"ICRC","label":"International Cosmic Ray Conference (ICRC)"},{"value":"IEDL","label":"IEEE Electron Device Letters (IEDL)"},{"value":"IEITC","label":"IEICE Transactions on Communications (IEITC)"},{"value":"IEITE","label":"IEICE Transactions on Electronics (IEITE)"},{"value":"IEITF","label":"IEICE Transactions on Fundamentals of Electronics Communications and Computer Sciences (IEITF)"},{"value":"IEITI","label":"IEICE Transactions on Information and Systems (IEITI)"},{"value":"IGRSL","label":"IEEE Geoscience and Remote Sensing Letters (IGRSL)"},{"value":"IJBC","label":"International Journal of Bifurcation and Chaos (IJBC)"},{"value":"IJBm","label":"International Journal of Biometeorology (IJBm)"},{"value":"IJCA","label":"International Journal of Computer Applications (IJCA)"},{"value":"IJCli","label":"International Journal of Climatology (IJCli)"},{"value":"IJIMW","label":"International Journal of Infrared and Millimeter Waves (IJIMW)"},{"value":"IJMPA","label":"International Journal of Modern Physics A (IJMPA)"},{"value":"IJMPB","label":"International Journal of Modern Physics B (IJMPB)"},{"value":"IJMPC","label":"International Journal of Modern Physics C (IJMPC)"},{"value":"IJMPD","label":"International Journal of Modern Physics D (IJMPD)"},{"value":"IJMPE","label":"International Journal of Modern Physics E (IJMPE)"},{"value":"IJMSI","label":"International Journal of Mass Spectrometry and Ion Processes (IJMSI)"},{"value":"IJMSp","label":"International Journal of Mass Spectrometry (IJMSp)"},{"value":"IJNLM","label":"International Journal of Non Linear Mechanics (IJNLM)"},{"value":"IJNME","label":"International Journal for Numerical Methods in Engineering (IJNME)"},{"value":"IJNMF","label":"International Journal for Numerical Methods in Fluids (IJNMF)"},{"value":"IJQE","label":"IEEE Journal of Quantum Electronics (IJQE)"},{"value":"IJRS","label":"International Journal of Remote Sensing (IJRS)"},{"value":"IJSEd","label":"International Journal of Science Education (IJSEd)"},{"value":"IJT","label":"International Journal of Thermophysics (IJT)"},{"value":"IJTP","label":"International Journal of Theoretical Physics (IJTP)"},{"value":"InfPh","label":"Infrared Physics (InfPh)"},{"value":"InMat","label":"Inventiones Mathematicae (InMat)"},{"value":"InvPr","label":"Inverse Problems (InvPr)"},{"value":"IPTL","label":"IEEE Photonics Technology Letters (IPTL)"},{"value":"IREdu","label":"International Review of Education (IREdu)"},{"value":"ISPL","label":"IEEE Signal Processing Letters (ISPL)"},{"value":"ITAES","label":"IEEE Transactions on Aerospace Electronic Systems (ITAES)"},{"value":"ITAP","label":"IEEE Transactions on Antennas and Propagation (ITAP)"},{"value":"ITAS","label":"IEEE Transactions on Applied Superconductivity (ITAS)"},{"value":"ITED","label":"IEEE Transactions on Electron Devices (ITED)"},{"value":"ITEdu","label":"IEEE Transactions on Education (ITEdu)"},{"value":"ITEIS","label":"IEEJ Transactions on Electronics, Information and Systems (ITEIS)"},{"value":"ITGRS","label":"IEEE Transactions on Geoscience and Remote Sensing (ITGRS)"},{"value":"ITIP","label":"IEEE Transactions on Image Processing (ITIP)"},{"value":"ITM","label":"IEEE Transactions on Magnetics (ITM)"},{"value":"ITMTT","label":"IEEE Transactions on Microwave Theory Techniques (ITMTT)"},{"value":"ITNS","label":"IEEE Transactions on Nuclear Science (ITNS)"},{"value":"ITPS","label":"IEEE Transactions on Plasma Science (ITPS)"},{"value":"ITSP","label":"IEEE Transactions on Signal Processing (ITSP)"},{"value":"IzMat","label":"Izvestiya: Mathematics (IzMat)"},{"value":"JAESc","label":"Journal of Asian Earth Sciences (JAESc)"},{"value":"JAfES","label":"Journal of African Earth Sciences (JAfES)"},{"value":"JaJAP","label":"Japanese Journal of Applied Physics (JaJAP)"},{"value":"JAM","label":"Journal of Applied Mechanics (JAM)"},{"value":"JAMTP","label":"Journal of Applied Mechanics and Technical Physics (JAMTP)"},{"value":"JAP","label":"Journal of Applied Physics (JAP)"},{"value":"JApMe","label":"Journal of Applied Meteorology (JApMe)"},{"value":"JApMM","label":"Journal of Applied Mathematics and Mechanics (JApMM)"},{"value":"JApSc","label":"Journal of Applied Sciences (JApSc)"},{"value":"JApSp","label":"Journal of Applied Spectroscopy (JApSp)"},{"value":"JASTP","label":"Journal of Atmospheric and Solar-Terrestrial Physics (JASTP)"},{"value":"JAtOT","label":"Journal of Atmospheric and Oceanic Technology (JAtOT)"},{"value":"JATP","label":"Journal of Atmospheric and Terrestrial Physics (JATP)"},{"value":"JAtS","label":"Journal of Atmospheric Sciences (JAtS)"},{"value":"JBAA","label":"Journal of the British Astronomical Association (JBAA)"},{"value":"JBIS","label":"Journal of the British Interplanetary Society (JBIS)"},{"value":"JBO","label":"Journal of Biomedical Optics (JBO)"},{"value":"JCAP","label":"Journal of Cosmology and Astro-Particle Physics (JCAP)"},{"value":"JChEd","label":"Journal of Chemical Education (JChEd)"},{"value":"JChPh","label":"Journal of Chemical Physics (JChPh)"},{"value":"JCHyd","label":"Journal of Contaminant Hydrology (JCHyd)"},{"value":"JCli","label":"Journal of Climate (JCli)"},{"value":"JCoAM","label":"Journal of Computational and Applied Mathematics (JCoAM)"},{"value":"JCoMa","label":"Journal of Composite Materials (JCoMa)"},{"value":"JCoPh","label":"Journal of Computational Physics (JCoPh)"},{"value":"JCrGr","label":"Journal of Crystal Growth (JCrGr)"},{"value":"JDE","label":"Journal of Differential Equations (JDE)"},{"value":"JEMat","label":"Journal of Electronic Materials (JEMat)"},{"value":"JEP","label":"Journal of Engineering Physics (JEP)"},{"value":"JEPT","label":"Journal of Engineering Physics and Thermophysics (JEPT)"},{"value":"JETP","label":"Soviet Journal of Experimental and Theoretical Physics (JETP)"},{"value":"JETPL","label":"Soviet Journal of Experimental and Theoretical Physics Letters (JETPL)"},{"value":"JFM","label":"Journal of Fluid Mechanics (JFM)"},{"value":"JFS","label":"Journal of Fluids and Structures (JFS)"},{"value":"JG","label":"Journal of Geology (JG)"},{"value":"JGCD","label":"Journal of Guidance Control Dynamics (JGCD)"},{"value":"JGlac","label":"Journal of Glaciology (JGlac)"},{"value":"JGP","label":"Journal of Geometry and Physics (JGP)"},{"value":"JGR","label":"Journal of Geophysical Research (JGR)"},{"value":"JGRA","label":"Journal of Geophysical Research (Space Physics) (JGRA)"},{"value":"JGRB","label":"Journal of Geophysical Research (Solid Earth) (JGRB)"},{"value":"JGRC","label":"Journal of Geophysical Research (Oceans) (JGRC)"},{"value":"JGRD","label":"Journal of Geophysical Research (Atmospheres) (JGRD)"},{"value":"JGRE","label":"Journal of Geophysical Research (Planets) (JGRE)"},{"value":"JHA","label":"Journal for the History of Astronomy (JHA)"},{"value":"JHEP","label":"Journal of High Energy Physics (JHEP)"},{"value":"JHyd","label":"Journal of Hydrology (JHyd)"},{"value":"JIEEJ","label":"Journal of The Institute of Electrical Engineers of Japan (JIEEJ)"},{"value":"JInst","label":"Journal of Instrumentation (JInst)"},{"value":"JIPM","label":"Journal of Information Processing and Management (JIPM)"},{"value":"JJAPS","label":"Japanese Journal of Applied Physics Supplement (JJAPS)"},{"value":"JKPS","label":"Journal of Korean Physical Society (JKPS)"},{"value":"JLTP","label":"Journal of Low Temperature Physics (JLTP)"},{"value":"JLum","label":"Journal of Luminescence (JLum)"},{"value":"JLwT","label":"Journal of Lightwave Technology (JLwT)"},{"value":"JMAA","label":"Journal of Mathematical Analysis and Applications (JMAA)"},{"value":"JMagR","label":"Journal of Magnetic Resonance (JMagR)"},{"value":"JMatR","label":"Journal of Materials Research (JMatR)"},{"value":"JMatS","label":"Journal of Materials Science (JMatS)"},{"value":"JMEP","label":"Journal of Materials Engineering and Performance (JMEP)"},{"value":"JMiMi","label":"Journal of Micromechanics and Microengineering (JMiMi)"},{"value":"JMMM","label":"Journal of Magnetism and Magnetic Materials (JMMM)"},{"value":"JMOp","label":"Journal of Modern Optics (JMOp)"},{"value":"JMoSp","label":"Journal of Molecular Spectroscopy (JMoSp)"},{"value":"JMoSt","label":"Journal of Molecular Structure (JMoSt)"},{"value":"JMP","label":"Journal of Mathematical Physics (JMP)"},{"value":"JMPSo","label":"Journal of Mechanics Physics of Solids (JMPSo)"},{"value":"JMS","label":"Journal of Marine Systems (JMS)"},{"value":"JNCS","label":"Journal of Non Crystalline Solids (JNCS)"},{"value":"JNuM","label":"Journal of Nuclear Materials (JNuM)"},{"value":"JOM","label":"JOM - Journal of the Minerals, Metals and Materials Society (JOM)"},{"value":"JOpt","label":"Journal of Optics (JOpt)"},{"value":"JOptT","label":"Journal of Optical Technology (JOptT)"},{"value":"JOSA","label":"Journal of the Optical Society of America (1917-1983) (JOSA)"},{"value":"JOSAA","label":"Journal of the Optical Society of America A (JOSAA)"},{"value":"JOSAB","label":"Journal of the Optical Society of America B Optical Physics (JOSAB)"},{"value":"JPCA","label":"Journal of Physical Chemistry A (JPCA)"},{"value":"JPCM","label":"Journal of Physics Condensed Matter (JPCM)"},{"value":"JPCS","label":"Journal of Physics and Chemistry of Solids (JPCS)"},{"value":"JPhA","label":"Journal of Physics A Mathematical General (JPhA)"},{"value":"JPhB","label":"Journal of Physics B Atomic Molecular Physics (JPhB)"},{"value":"JPhC","label":"Journal of Physics C Solid State Physics (JPhC)"},{"value":"JPhCS","label":"Journal of Physics Conference Series (JPhCS)"},{"value":"JPhD","label":"Journal of Physics D Applied Physics (JPhD)"},{"value":"JPhE","label":"Journal of Physics E Scientific Instruments (JPhE)"},{"value":"JPhF","label":"Journal of Physics F Metal Physics (JPhF)"},{"value":"JPhG","label":"Journal of Physics G Nuclear Physics (JPhG)"},{"value":"JPhy4","label":"Journal de Physique IV (JPhy4)"},{"value":"JPlPh","label":"Journal of Plasma Physics (JPlPh)"},{"value":"JPO","label":"Journal of Physical Oceanography (JPO)"},{"value":"JPoSA","label":"Journal of Polymer Science A Polymer Chemistry (JPoSA)"},{"value":"JPoSB","label":"Journal of Polymer Science B Polymer Physics (JPoSB)"},{"value":"JPoSc","label":"Journal of Polymer Science (JPoSc)"},{"value":"JPoSL","label":"Journal of Polymer Science: Polymer Letters Edition (JPoSL)"},{"value":"JPS","label":"Journal of Power Sources (JPS)"},{"value":"JPSJ","label":"Journal of the Physical Society of Japan (JPSJ)"},{"value":"JQSRT","label":"Journal of Quantitative Spectroscopy and Radiative Transfer (JQSRT)"},{"value":"JRASC","label":"Journal of the Royal Astronomical Society of Canada (JRASC)"},{"value":"JRheo","label":"Journal of Rheology (JRheo)"},{"value":"JRPC","label":"Journal of Reinforced Plastics and Composites (JRPC)"},{"value":"JRScT","label":"Journal of Research in Science Teaching (JRScT)"},{"value":"JRSp","label":"Journal of Raman Spectroscopy (JRSp)"},{"value":"JScI","label":"Journal of Scientific Instruments (JScI)"},{"value":"JSedR","label":"Journal of Sedimentary Research (JSedR)"},{"value":"JSG","label":"Journal of Structural Geology (JSG)"},{"value":"JSMTE","label":"Journal of Statistical Mechanics: Theory and Experiment (JSMTE)"},{"value":"JSP","label":"Journal of Statistical Physics (JSP)"},{"value":"JSpRo","label":"Journal of Spacecraft and Rockets (JSpRo)"},{"value":"JSSCh","label":"Journal of Solid State Chemistry France (JSSCh)"},{"value":"JSV","label":"Journal of Sound Vibration (JSV)"},{"value":"JTePh","label":"Journal of Technical Physics (JTePh)"},{"value":"JVGR","label":"Journal of Volcanology and Geothermal Research (JVGR)"},{"value":"JVSJ","label":"Journal of the Vacuum Society of Japan (JVSJ)"},{"value":"JVST","label":"Journal of Vacuum Science Technology (JVST)"},{"value":"JVSTB","label":"Journal of Vacuum Science Technology B: Microelectronics and Nanometer Structures (JVSTB)"},{"value":"KNAB","label":"Koninklijke Nederlandse Akademie van Wetenschappen Proceedings Series B Physical Sciences (KNAB)"},{"value":"KosIs","label":"Kosmicheskie Issledovaniia (KosIs)"},{"value":"KvanE","label":"Kvantovaia Elektronika Moscow (KvanE)"},{"value":"LanB","label":"Landolt Börnstein (LanB)"},{"value":"LaPhy","label":"Laser Physics (LaPhy)"},{"value":"LAstr","label":"L'Astronomie (LAstr)"},{"value":"Litho","label":"Lithos (Litho)"},{"value":"LMaPh","label":"Letters in Mathematical Physics (LMaPh)"},{"value":"LNCS","label":"Lecture Notes in Computer Science (LNCS)"},{"value":"LNP","label":"Lecture Notes in Physics, Berlin Springer Verlag (LNP)"},{"value":"LPI","label":"Lunar and Planetary Institute Science Conference Abstracts (LPI)"},{"value":"LPICo","label":"LPI Contributions (LPICo)"},{"value":"LPSC","label":"Lunar and Planetary Science Conference Proceedings (LPSC)"},{"value":"LTP","label":"Low Temperature Physics (LTP)"},{"value":"M&PS","label":"Meteoritics and Planetary Science (M&PS)"},{"value":"M&PSA","label":"Meteoritics and Planetary Science Supplement (M&PSA)"},{"value":"MaMol","label":"Macromolecules (MaMol)"},{"value":"MedPh","label":"Medical Physics (MedPh)"},{"value":"MeScT","label":"Measurement Science and Technology (MeScT)"},{"value":"Metic","label":"Meteoritics (Metic)"},{"value":"Metro","label":"Metrologia (Metro)"},{"value":"MiMic","label":"Microscopy and Microanalysis (MiMic)"},{"value":"MinDe","label":"Mineralium Deposita (MinDe)"},{"value":"MitAG","label":"Mitteilungen der Astronomischen Gesellschaft Hamburg (MitAG)"},{"value":"MMAS","label":"Mathematical Methods in the Applied Sciences (MMAS)"},{"value":"MmSAI","label":"Memorie della Societa Astronomica Italiana (MmSAI)"},{"value":"MMTA","label":"Metallurgical and Materials Transactions A (MMTA)"},{"value":"MNRAS","label":"Monthly Notices of the Royal Astronomical Society (MNRAS)"},{"value":"MNSSA","label":"Monthly Notes of the Astronomical Society of South Africa (MNSSA)"},{"value":"MolPh","label":"Molecular Physics (MolPh)"},{"value":"MPC","label":"Minor Planet Circulars (MPC)"},{"value":"MPCPS","label":"Mathematical Proceedings of the Cambridge Philosophical Society (MPCPS)"},{"value":"MPEC","label":"Minor Planet Electronic Circulars (MPEC)"},{"value":"MPLA","label":"Modern Physics Letters A (MPLA)"},{"value":"MPLB","label":"Modern Physics Letters B (MPLB)"},{"value":"MS&E","label":"Materials Science and Engineering Conference Series (MS&E)"},{"value":"Msngr","label":"The Messenger (Msngr)"},{"value":"MSSP","label":"Mechanical Systems and Signal Processing (MSSP)"},{"value":"MsT","label":"Masters Thesis (MsT)"},{"value":"MTA","label":"Metallurgical Transactions A (MTA)"},{"value":"MWRv","label":"Monthly Weather Review (MWRv)"},{"value":"NanoL","label":"Nano Letters (NanoL)"},{"value":"Nanos","label":"Nanoscale (Nanos)"},{"value":"Nanot","label":"Nanotechnology (Nanot)"},{"value":"NaPho","label":"Nature Photonics (NaPho)"},{"value":"NASCP","label":"NASA Conference Publication (NASCP)"},{"value":"NASSP","label":"NASA Special Publication (NASSP)"},{"value":"NatCo","label":"Nature Communications (NatCo)"},{"value":"NatMa","label":"Nature Materials (NatMa)"},{"value":"NatPh","label":"Nature Physics (NatPh)"},{"value":"NatSR","label":"Scientific Reports (NatSR)"},{"value":"Natur","label":"Nature (Natur)"},{"value":"NCimA","label":"Nuovo Cimento A Serie (NCimA)"},{"value":"NCimB","label":"Nuovo Cimento B Serie (NCimB)"},{"value":"NCimD","label":"Nuovo Cimento D Serie (NCimD)"},{"value":"NewA","label":"New Astronomy (NewA)"},{"value":"NewSc","label":"New Scientist (NewSc)"},{"value":"NHTA","label":"Numerical Heat Transfer Part A - Applications (NHTA)"},{"value":"NIMPA","label":"Nuclear Instruments and Methods in Physics Research A (NIMPA)"},{"value":"NIMPB","label":"Nuclear Instruments and Methods in Physics Research B (NIMPB)"},{"value":"NIMPR","label":"Nuclear Instruments and Methods in Physics Research (NIMPR)"},{"value":"NJPh","label":"New Journal of Physics (NJPh)"},{"value":"Nonli","label":"Nonlinearity (Nonli)"},{"value":"NRL","label":"Nanoscale Research Letters (NRL)"},{"value":"NucFu","label":"Nuclear Fusion (NucFu)"},{"value":"NucIM","label":"Nuclear Instruments and Methods (NucIM)"},{"value":"NucPh","label":"Nuclear Physics (NucPh)"},{"value":"NuPhA","label":"Nuclear Physics A (NuPhA)"},{"value":"NuPhB","label":"Nuclear Physics B (NuPhB)"},{"value":"NuPhS","label":"Nuclear Physics B Proceedings Supplements (NuPhS)"},{"value":"NuPhS..51","label":"Nuclear Physics B Proceedings Supplements, Vol. 51 (NuPhS..51)"},{"value":"NW","label":"Naturwissenschaften (NW)"},{"value":"NYASA","label":"Annals of the New York Academy of Sciences (NYASA)"},{"value":"Obs","label":"The Observatory (Obs)"},{"value":"OExpr","label":"Optics Express (OExpr)"},{"value":"OptCo","label":"Optics Communications (OptCo)"},{"value":"OptEn","label":"Optical Engineering (OptEn)"},{"value":"Optik","label":"Optik (Optik)"},{"value":"OptL","label":"Optics Letters (OptL)"},{"value":"OptLE","label":"Optics and Lasers in Engineering (OptLE)"},{"value":"OptLT","label":"Optics Laser Technology (OptLT)"},{"value":"OptMa","label":"Optical Materials (OptMa)"},{"value":"OptPN","label":"Optics & Photonics News (OptPN)"},{"value":"OptSp","label":"Optics and Spectroscopy (OptSp)"},{"value":"P&SS","label":"Planetary and Space Science (P&SS)"},{"value":"PA","label":"Popular Astronomy (PA)"},{"value":"PAAS","label":"Publications of the American Astronomical Society (PAAS)"},{"value":"PAN","label":"Physics of Atomic Nuclei (PAN)"},{"value":"PApGe","label":"Pure and Applied Geophysics (PApGe)"},{"value":"PASJ","label":"Publications of the Astronomical Society of Japan (PASJ)"},{"value":"PASP","label":"Publications of the Astronomical Society of the Pacific (PASP)"},{"value":"PCCP","label":"Physical Chemistry Chemical Physics (Incorporating Faraday Transactions) (PCCP)"},{"value":"PCE","label":"Physics and Chemistry of the Earth (PCE)"},{"value":"PCM","label":"Physics and Chemistry of Minerals (PCM)"},{"value":"PCPS","label":"Proceedings of the Cambridge Philosophical Society (PCPS)"},{"value":"PDSS","label":"NASA Planetary Data System (PDSS)"},{"value":"PEPI","label":"Physics of the Earth and Planetary Interiors (PEPI)"},{"value":"PhDT","label":"Ph.D. Thesis (PhDT)"},{"value":"PhFl","label":"Physics of Fluids (PhFl)"},{"value":"PhL","label":"Physics Letters (PhL)"},{"value":"PhLA","label":"Physics Letters A (PhLA)"},{"value":"PhLB","label":"Physics Letters B (PhLB)"},{"value":"PhPl","label":"Physics of Plasmas (PhPl)"},{"value":"PhPro","label":"Physics Procedia (PhPro)"},{"value":"PhR","label":"Physics Reports (PhR)"},{"value":"PhRv","label":"Physical Review (PhRv)"},{"value":"PhRvA","label":"Physical Review A (PhRvA)"},{"value":"PhRvB","label":"Physical Review B (PhRvB)"},{"value":"PhRvC","label":"Physical Review C (PhRvC)"},{"value":"PhRvD","label":"Physical Review D (PhRvD)"},{"value":"PhRvE","label":"Physical Review E (PhRvE)"},{"value":"PhRvL","label":"Physical Review Letters (PhRvL)"},{"value":"PhRvS","label":"Physical Review Special Topics Accelerators and Beams (PhRvS)"},{"value":"PhSS","label":"Physics of the Solid State (PhSS)"},{"value":"PhST","label":"Physica Scripta Volume T (PhST)"},{"value":"PhT","label":"Physics Today (PhT)"},{"value":"PhTea","label":"The Physics Teacher (PhTea)"},{"value":"PhuZ","label":"Physik in unserer Zeit (PhuZ)"},{"value":"Phy","label":"Physica (Phy)"},{"value":"PhyA","label":"Physica A Statistical Mechanics and its Applications (PhyA)"},{"value":"PhyB","label":"Physica B Condensed Matter (PhyB)"},{"value":"PhyBC","label":"Physica B+C (PhyBC)"},{"value":"PhyC","label":"Physica C Superconductivity (PhyC)"},{"value":"PhyD","label":"Physica D Nonlinear Phenomena (PhyD)"},{"value":"PhyE","label":"Physica E Low-Dimensional Systems and Nanostructures (PhyE)"},{"value":"PhyEd","label":"Physics Education (PhyEd)"},{"value":"PhyS","label":"Physica Scripta (PhyS)"},{"value":"PhyU","label":"Physics Uspekhi (PhyU)"},{"value":"PLoSO","label":"PLoS ONE (PLoSO)"},{"value":"PlPhR","label":"Plasma Physics Reports (PlPhR)"},{"value":"PLSCB","label":"PLoS Computational Biology (PLSCB)"},{"value":"PMag","label":"Philosophical Magazine (PMag)"},{"value":"PMagA","label":"Philosophical Magazine, Part A (PMagA)"},{"value":"PMagB","label":"Philosophical Magazine, Part B (PMagB)"},{"value":"PMagL","label":"Philosophical Magazine Letters (PMagL)"},{"value":"PMB","label":"Physics in Medicine and Biology (PMB)"},{"value":"PNAS","label":"Proceedings of the National Academy of Science (PNAS)"},{"value":"PPCF","label":"Plasma Physics and Controlled Fusion (PPCF)"},{"value":"PPS","label":"Proceedings of the Physical Society (PPS)"},{"value":"Prama","label":"Pramana (Prama)"},{"value":"PrOce","label":"Progress in Oceanography (PrOce)"},{"value":"PrPNP","label":"Progress in Particle and Nuclear Physics (PrPNP)"},{"value":"PSSAR","label":"Physica Status Solidi Applied Research (PSSAR)"},{"value":"PSSBR","label":"Physica Status Solidi B Basic Research (PSSBR)"},{"value":"PSSCR","label":"Physica Status Solidi C Current Topics (PSSCR)"},{"value":"PSST","label":"Plasma Sources Science Technology (PSST)"},{"value":"PThPh","label":"Progress of Theoretical Physics (PThPh)"},{"value":"PThPS","label":"Progress of Theoretical Physics Supplement (PThPS)"},{"value":"QJRAS","label":"Quarterly Journal of the Royal Astronomical Society (QJRAS)"},{"value":"QJRMS","label":"Quarterly Journal of the Royal Meteorological Society (QJRMS)"},{"value":"QSRv","label":"Quaternary Science Reviews (QSRv)"},{"value":"QuEle","label":"Quantum Electronics (QuEle)"},{"value":"QuInt","label":"Quaternary International (QuInt)"},{"value":"QuRes","label":"Quaternary Research (QuRes)"},{"value":"R&QE","label":"Radiophysics and Quantum Electronics (R&QE)"},{"value":"RaEl","label":"Radiotekhnika i Elektronika (RaEl)"},{"value":"RaF","label":"Radiofizika (RaF)"},{"value":"RaPC","label":"Radiation Physics and Chemistry (RaPC)"},{"value":"RaSc","label":"Radio Science (RaSc)"},{"value":"REDS","label":"Radiation Effects and Defects in Solids (REDS)"},{"value":"RMxAA","label":"Revista Mexicana de Astronomia y Astrofisica (RMxAA)"},{"value":"RMxAA...3","label":"Revista Mexicana de Astronomia y Astrofisica, vol. 3 (RMxAA...3)"},{"value":"RMxAA...6","label":"Revista Mexicana de Astronomia y Astrofisica, vol. 6 (RMxAA...6)"},{"value":"RMxAA...7","label":"Revista Mexicana de Astronomia y Astrofisica, vol. 7 (RMxAA...7)"},{"value":"RMxAA..10","label":"Revista Mexicana de Astronomia y Astrofisica, vol. 10 (RMxAA..10)"},{"value":"RMxAA..12","label":"Revista Mexicana de Astronomia y Astrofisica, vol. 12 (RMxAA..12)"},{"value":"RMxAA..14","label":"Revista Mexicana de Astronomia y Astrofisica, vol. 14 (RMxAA..14)"},{"value":"RMxAA..18","label":"Revista Mexicana de Astronomia y Astrofisica, vol. 18 (RMxAA..18)"},{"value":"RMxAA..19","label":"Revista Mexicana de Astronomia y Astrofisica, vol. 19 (RMxAA..19)"},{"value":"RMxAA..21","label":"Revista Mexicana de Astronomia y Astrofisica, vol. 21 (RMxAA..21)"},{"value":"RMxAA..23","label":"Revista Mexicana de Astronomia y Astrofisica, vol. 23 (RMxAA..23)"},{"value":"RMxAA..26","label":"Revista Mexicana de Astronomia y Astrofisica, vol. 26 (RMxAA..26)"},{"value":"RMxAA..29","label":"Revista Mexicana de Astronomia y Astrofisica, vol. 29 (RMxAA..29)"},{"value":"RMxAC","label":"Revista Mexicana de Astronomia y Astrofisica Conference Series (RMxAC)"},{"value":"RMxAC..27","label":"Revista Mexicana de Astronomia y Astrofisica, vol. 27 (RMxAC..27)"},{"value":"RpMP","label":"Reports on Mathematical Physics (RpMP)"},{"value":"RPPh","label":"Reports on Progress in Physics (RPPh)"},{"value":"RScI","label":"Review of Scientific Instruments (RScI)"},{"value":"RSPS","label":"Royal Society of London Proceedings Series I (RSPS)"},{"value":"RSPSA","label":"Royal Society of London Proceedings Series A (RSPSA)"},{"value":"RSPSB","label":"Royal Society of London Proceedings Series B (RSPSB)"},{"value":"RSPT","label":"Royal Society of London Philosophical Transactions Series I (RSPT)"},{"value":"RSPTA","label":"Royal Society of London Philosophical Transactions Series A (RSPTA)"},{"value":"RSPTB","label":"Royal Society of London Philosophical Transactions Series B (RSPTB)"},{"value":"RuCRv","label":"Russian Chemical Reviews (RuCRv)"},{"value":"RuMaS","label":"Russian Mathematical Surveys (RuMaS)"},{"value":"RuPhJ","label":"Russian Physics Journal (RuPhJ)"},{"value":"RvMP","label":"Reviews of Modern Physics (RvMP)"},{"value":"S&T","label":"Sky and Telescope (S&T)"},{"value":"S&W","label":"Sterne und Weltraum (S&W)"},{"value":"SbMat","label":"Sbornik: Mathematics (SbMat)"},{"value":"ScChA","label":"Science in China A: Mathematics (ScChA)"},{"value":"Sci","label":"Science (Sci)"},{"value":"SciAm","label":"Scientific American (SciAm)"},{"value":"SciEd","label":"Science Education (SciEd)"},{"value":"SciMo","label":"The Scientific Monthly (SciMo)"},{"value":"SedG","label":"Sedimentary Geology (SedG)"},{"value":"Sedim","label":"Sedimentology (Sedim)"},{"value":"Semic","label":"Semiconductors (Semic)"},{"value":"SeScT","label":"Semiconductor Science Technology (SeScT)"},{"value":"SMaS","label":"Smart Material Structures (SMaS)"},{"value":"SMat","label":"Soft Matter (SMat)"},{"value":"SoEn","label":"Solar Energy (SoEn)"},{"value":"SoPh","label":"Solar Physics (SoPh)"},{"value":"SpecL","label":"Spectroscopy Letters (SpecL)"},{"value":"SPhD","label":"Soviet Physics Doklady (SPhD)"},{"value":"SPIE","label":"Society of Photo-Optical Instrumentation Engineers (SPIE) Conference Series (SPIE)"},{"value":"SPTP","label":"Soviet Physics Technical Physics (SPTP)"},{"value":"SRL","label":"Surface Review and Letters (SRL)"},{"value":"SSCom","label":"Solid State Communications (SSCom)"},{"value":"SSEle","label":"Solid State Electronics (SSEle)"},{"value":"SSRv","label":"Space Science Reviews (SSRv)"},{"value":"SSSci","label":"Solid State Sciences (SSSci)"},{"value":"STIA","label":"NASA STI/Recon Technical Report A (STIA)"},{"value":"STIN","label":"NASA STI/Recon Technical Report N (STIN)"},{"value":"SuMi","label":"Superlattices and Microstructures (SuMi)"},{"value":"SurSc","label":"Surface Science (SurSc)"},{"value":"SurSL","label":"Surface Science Letters (SurSL)"},{"value":"SuScT","label":"Superconductor Science Technology (SuScT)"},{"value":"SvA","label":"Soviet Astronomy (SvA)"},{"value":"SvAL","label":"Soviet Astronomy Letters (SvAL)"},{"value":"SvApM","label":"Soviet Applied Mechanics (SvApM)"},{"value":"SvPhJ","label":"Soviet Physics Journal (SvPhJ)"},{"value":"SvPhU","label":"Soviet Physics Uspekhi (SvPhU)"},{"value":"Tecto","label":"Tectonics (Tecto)"},{"value":"Tectp","label":"Tectonophysics (Tectp)"},{"value":"TeMAE","label":"Terrestrial Magnetism and Atmospheric Electricity (Journal of Geophysical Research) (TeMAE)"},{"value":"TePhL","label":"Technical Physics Letters (TePhL)"},{"value":"ThApC","label":"Theoretical and Applied Climatology (ThApC)"},{"value":"TMP","label":"Theoretical and Mathematical Physics (TMP)"},{"value":"TrAGU","label":"Transactions, American Geophysical Union (TrAGU)"},{"value":"TSF","label":"Thin Solid Films (TSF)"},{"value":"TSICE","label":"Transactions of the Society of Instrument and Control Engineers (TSICE)"},{"value":"WRR","label":"Water Resources Research (WRR)"},{"value":"WtFor","label":"Weather and Forecasting (WtFor)"},{"value":"Wthr","label":"Weather (Wthr)"},{"value":"ZaMM","label":"Zeitschrift Angewandte Mathematik und Mechanik (ZaMM)"},{"value":"ZaMP","label":"Zeitschrift Angewandte Mathematik und Physik (ZaMP)"},{"value":"ZhPmR","label":"ZhETF Pisma Redaktsiiu (ZhPmR)"},{"value":"ZhTFi","label":"Zhurnal Tekhnicheskoi Fiziki (ZhTFi)"},{"value":"ZK","label":"Zeitschrift fur Kristallographie (ZK)"},{"value":"ZNatA","label":"Zeitschrift Naturforschung Teil A (ZNatA)"},{"value":"ZPhy","label":"Zeitschrift fur Physik (ZPhy)"},{"value":"ZPhyA","label":"Zeitschrift fur Physik A Hadrons and Nuclei (ZPhyA)"},{"value":"ZPhyB","label":"Zeitschrift fur Physik B Condensed Matter (ZPhyB)"},{"value":"ZPhyC","label":"Zeitschrift fur Physik C Particles and Fields (ZPhyC)"},{"value":"ZPhyD","label":"Zeitschrift fur Physik D Atoms Molecules Clusters (ZPhyD)"}]; +}); + diff --git a/src/js/widgets/form_accordion/widget.js b/src/js/widgets/form_accordion/widget.js new file mode 100644 index 000000000..a90aee19c --- /dev/null +++ b/src/js/widgets/form_accordion/widget.js @@ -0,0 +1,304 @@ +define([ + "js/widgets/base/base_widget", + "js/components/api_query", + "./topterms", + "hbs!./templates/form_container", + "hbs!./templates/author_form", + "hbs!./templates/paper_form", + "hbs!./templates/topic_form", + "bootstrap", + "jquery-ui" +], function (BaseWidget, + ApiQuery, + AutocompleteData, + ContainerTemplate, + AuthorTemplate, + PaperTemplate, + TopicTemplate, + Bootstrap, + jQueryUI + ) { + + var ContainerView, AuthorView, PaperView, TopicView, FormWidget; + + AuthorView = Marionette.ItemView.extend({ + + template: AuthorTemplate, + + events: { + "click button.add-author": "addAuthor", + "click input.first-author" : "limitOneFirst", + "click .clear" : function(e){ + e.preventDefault(); + this.render(); + }, + "click button[type=submit]" : "submitForm", + "keyup" : "checkDisabled" + }, + + limitOneFirst : function(e){ + var checked = e.target.checked; + this.$("input.first-author").prop("checked", false).each(function(){ + var $p = $(this).prev(); + $p.val($p.val().replace(/^\^(.*)/, '$1')); + }); + if (checked){ + var $input = $(e.target).prev(); + $input.val( "^" + $input.val()); + } + $(e.target).prop("checked", checked); + }, + + addAuthor: function(e){ + var inputGroup = this.$(".author-entry-template").find(".author-entry").clone(); + this.$(".add-author").before(inputGroup); + $(inputGroup).find(".author-input").focus(); + e.preventDefault(); + }, + + checkDisabled : function(e){ + + //require at least 1 character to be in at least 1 input field + var authors = this.$(".author-input:visible").map(function(){ + return $(this).val(); + }).get(); + + if (authors.join("").match(/[A-Za-z]+/)){ + this.$("button[type=submit]").prop("disabled", false); + } + else { + this.$("button[type=submit]").prop("disabled", true); + } + }, + + submitForm : function(e){ + + var authors = this.$(".author-input:visible").map(function(){ + var $t = $(this), + name = $t.val(), + first = $t.next().prop("checked"); + + if (first){ + //ensure that a caret is there, even if user has removed it for some reason + var name = name.replace(/^([^\^].*)/, "^$1"); + return '"'+ name + '"'; + } + else if (name) { + return "\"" + name + "\""; + } + else { + return ""; + } + + return (first ? ("^\"" + name + "\"") : "\"" + name + "\""); + + }); + + if (authors.get().length == 1){ + var queryString = "author:"+ authors.get()[0]; + } + else { + var queryString = "author:(" + authors.get().join(" ") + ")"; + } + + this.trigger("submit", queryString); + e.preventDefault(); + } + + + }); + + PaperView = Marionette.ItemView.extend({ + + template: PaperTemplate, + + events: { + "click .clear" : function(e){ + e.preventDefault(); + this.render(); + }, + "keyup input" : "checkDisabled", + "click button[type=submit]" : "submitForm", + "click button.parse" : "parseReference" + }, + + onRender : function(e){ + this.$("#pub-input").autocomplete({ source : AutocompleteData, minLength : 1 , autoFocus : true }); + }, + + checkDisabled : function(){ + //require at least 1 character to be in at least 1 input field + var fields= this.$("input:not(.parse-reference)").map(function(){ + return $(this).val(); + }).get(); + + if (fields.join("").match(/\w+/)){ + this.$("button[type=submit]").prop("disabled", false); + } + else { + this.$("button[type=submit]").prop("disabled", true); + } + }, + + parseReference : function(){ + var str = $("input.parse-reference").val(); + if (str){ + try { + var match = str.match(/^.+\s*(\d{4}),\s*(\w{2,5}),\s*(\d{1,5}),\s*(\d{1,4})\s*$/); + + this.$("#year-input").val(match[1]); + this.$("#pub-input").val(match[2]); + this.$("#volume-input").val(match[3]); + this.$("#page-input").val(match[4]); + + this.checkDisabled(); + + var btnClass = "btn-success"; + + } catch (e){ + console.log("couldn't parse"); + var btnClass = "btn-danger"; + + } + + this.$("button.parse").removeClass("btn-info").addClass(btnClass); + + setTimeout(function(){ + this.$("button.parse").removeClass(btnClass).addClass("btn-info"); + }, 1000); + + } + + }, + + submitForm : function(e){ + + var terms = this.$("input:not(.parse-reference)").map(function(){ + var $t = $(this); + $t.val() ? toReturn = $t.data("term") + ":" + $t.val() : toReturn = undefined; + return toReturn; + }).get(); + + terms = _.filter(terms, function(t){if (t){return t}}); + + this.trigger("submit", terms.join(" ")); + e.preventDefault(); + } + + }); + + TopicView = Marionette.ItemView.extend({ + + template: TopicTemplate, + + events : { + "click button[type=submit]" : "submitForm", + "keyup input" : "checkDisabled" + }, + + checkDisabled : function(e){ + + if (this.$("input").val().match(/\w+/)){ + this.$("button[type=submit]").prop("disabled", false); + + } + else { + this.$("button[type=submit]").prop("disabled", true); + } + + }, + + submitForm : function(e){ + + var val = this.$("#topic-search").val(); + + var queryString = "abstract:(" + val + ") OR title:(" + val + ")"; + this.trigger("submit", queryString); + + e.preventDefault(); + } + + }); + + ContainerView = Marionette.LayoutView.extend({ + + assemble: function () { + + var authorView = new AuthorView(), + paperView = new PaperView(), + topicView = new TopicView(); + + this.listenTo(authorView, "submit", this.forwardSubmit); + this.listenTo(paperView, "submit", this.forwardSubmit); + this.listenTo(topicView, "submit", this.forwardSubmit); + + this.showChildView('author-form', authorView); + this.showChildView('paper-form', paperView); + this.showChildView('topic-form', topicView); + + }, + + className: "form-accordion-widget s-form-accordion-widget", + + template: ContainerTemplate, + + regions: { + "paper-form": ".paper-form", + "author-form": ".author-form", + "topic-form": ".topic-form" + }, + + forwardSubmit : function(queryString){ + this.trigger("submit", queryString); + }, + + events : { + "click .panel-heading" : "focusForm" + }, + + focusForm : function(e){ + + this.$("#accordion").one("shown.bs.collapse", function(){ + $(e.currentTarget).next().find("input:first").focus(); + }); + } + + }); + + FormWidget = BaseWidget.extend({ + + initialize: function (options) { + + options = options || {}; + this.view = new ContainerView(); + this.listenTo(this.view, "submit", this.submitForm); + + }, + + activate: function (beehive) { + this.setBeeHive(beehive); + this.pubsub = beehive.Services.get('PubSub'); + }, + + onShow: function () { + this.view.assemble(); + //close accordion in case it's open + this.view.$(".panel-collapse").removeClass("in"); + this.view.$(".panel-heading").addClass("collapsed"); + }, + + submitForm : function(query){ + + var newQuery = new ApiQuery({ + q: query + }); + + this.pubsub.publish(this.pubsub.START_SEARCH, newQuery); + + } + + }); + + return FormWidget; + +}); \ No newline at end of file diff --git a/src/js/widgets/results/widget.js b/src/js/widgets/results/widget.js index cf8abe4ea..37f0b506f 100644 --- a/src/js/widgets/results/widget.js +++ b/src/js/widgets/results/widget.js @@ -49,7 +49,6 @@ define([ }; this.model.set(this.model.defaults(), {silent : true}); - //also need to add an event listener for the "toggle all" action this.view.toggleAll = function(e){ var flag = e.target.checked ? "add" : "remove"; diff --git a/src/js/widgets/search_bar/search_bar_widget.js b/src/js/widgets/search_bar/search_bar_widget.js index 6935d1594..982be753d 100644 --- a/src/js/widgets/search_bar/search_bar_widget.js +++ b/src/js/widgets/search_bar/search_bar_widget.js @@ -430,11 +430,20 @@ define([ handleFeedback: function(feedback) { switch (feedback.code) { + case ApiFeedback.CODES.SEARCH_CYCLE_STARTED: this.setCurrentQuery(feedback.query); this.view.setFormVal(feedback.query.get('q').join(' ')); this.view.setNumFound(feedback.numFound || 0); break; + case ApiFeedback.CODES.SEARCH_CYCLE_FAILED_TO_START: + //still want search bar to reflect failed search (from form widgets) + var q = feedback.request.get("query").get("q").join(' '); + this.setCurrentQuery(q); + this.view.setFormVal(q); + this.view.setNumFound(0); + break; + } }, diff --git a/src/styles/less/ads-less/accordion_form.less b/src/styles/less/ads-less/accordion_form.less new file mode 100644 index 000000000..0acad53ef --- /dev/null +++ b/src/styles/less/ads-less/accordion_form.less @@ -0,0 +1,130 @@ +.author-input { + display:inline-block; + width: 240px; + margin-bottom: 12px; +} + +.first-author { + float:right; + position: relative; + left: -34px; + top: 10px; +} + + +.s-form-accordion-widget { + + .panel-heading { + cursor: pointer; + } + + width: 90%; + margin: auto; + max-width: 900px; + + .panel { + box-shadow: none; + } + + .panel-title { + padding: 10px; + text-transform: uppercase; + span { + text-transform: none; + } + + } + + .button-div { + float:right; + } + + + .and { + position: relative; + top: -5px; + font-style: italic; + display:block; + height:15px; + } + + .author-entry { + clear:both + } + + form { + position: relative; + } + + .author-group { + width: 340px; + margin: auto; + } + + .clear { + margin-left: 10px; + } + + input[type=checkbox] + { + /* Double-sized Checkboxes */ + -ms-transform: scale(2); /* IE */ + -moz-transform: scale(2); /* FF */ + -webkit-transform: scale(2); /* Safari and Chrome */ + -o-transform: scale(2); /* Opera */ + padding: 10px; + } + + .form-horizontal .control-label { + text-align: left; + } + + .author-form { + .button-div { + margin-top:45px; + } + } + + .paper-form { + + .parse-container { + margin-bottom: 20px; + width: 75%; + margin: 0 auto 32px auto; + } + + .button-div { + margin-top: 25px; + } + div.well { + min-width: 330px; + } + + + .form-group { + width:367px; + margin: auto; + margin-bottom: 16px; + } + + button.btn-link { + padding:0; + } + + } + + .topic-form { + .button-div { + top: -41px; + right:24%; + position: relative; + } + } + + #topic-search { + width: 60%; + } + + + +} \ No newline at end of file diff --git a/src/styles/less/ads-less/bootstrap-overrides.less b/src/styles/less/ads-less/bootstrap-overrides.less index 7d7edd206..757093d10 100644 --- a/src/styles/less/ads-less/bootstrap-overrides.less +++ b/src/styles/less/ads-less/bootstrap-overrides.less @@ -30,11 +30,6 @@ including reset-like things font-size: 26px; } -.panel-default { - .lh-box-shadow(2px 2px 2px @default-box-shadow-color); -} - - input:focus { border: 1px solid fade(@brand-primary, 70%) !important; box-shadow: none !important; @@ -188,10 +183,6 @@ select:focus { font-weight: 300; } -.panel-body { - margin: 2%; -} - .has-feedback .form-control-feedback { top: 31px; } @@ -201,6 +192,6 @@ select:focus { .disabled{ cursor: not-allowed; } -.disabled > a{ +.disabled { pointer-events: none; } diff --git a/src/styles/less/ads-less/landing-page.less b/src/styles/less/ads-less/landing-page.less index 6cab8f50d..a4e11b431 100644 --- a/src/styles/less/ads-less/landing-page.less +++ b/src/styles/less/ads-less/landing-page.less @@ -105,7 +105,7 @@ @media(min-width: @screen-sm-min) { margin: 15px; } - height: 680px; + min-height: 680px; } } diff --git a/src/styles/less/ads-less/user-styles.less b/src/styles/less/ads-less/user-styles.less index c6430d48a..d846224da 100644 --- a/src/styles/less/ads-less/user-styles.less +++ b/src/styles/less/ads-less/user-styles.less @@ -1,5 +1,14 @@ .s-form-widget { + .panel-default { + .lh-box-shadow(2px 2px 2px @default-box-shadow-color); + } + + + .panel-body { + margin: 2%; + } + label { font-weight: 400; font-size: 1.2em; diff --git a/src/styles/less/manifest.less b/src/styles/less/manifest.less index c866b261a..a40e570de 100644 --- a/src/styles/less/manifest.less +++ b/src/styles/less/manifest.less @@ -17,6 +17,7 @@ /* Import Bumblebee-specific less files (alphabetical order) */ +@import 'ads-less/accordion_form'; @import 'ads-less/any-page'; @import 'ads-less/abstract-page-widgets'; @import 'ads-less/ads-mixins'; diff --git a/test/mocha/js/widgets/form_accordion_widget.spec.js b/test/mocha/js/widgets/form_accordion_widget.spec.js new file mode 100644 index 000000000..e14e2b07a --- /dev/null +++ b/test/mocha/js/widgets/form_accordion_widget.spec.js @@ -0,0 +1,167 @@ +define([ + "js/widgets/form_accordion/widget" +], function( + FormWidget + ){ + + describe("Form Accordion Widget (UI Widget)", function(){ + + + afterEach(function(){ + $("#test").empty(); + }) + + it("should have an author view", function(){ + + var s = FormWidget.prototype.submitForm; + FormWidget.prototype.submitForm = sinon.spy(); + + var f = new FormWidget(); + $("#test").append(f.render().el); + f.onShow(); + + var authorView = f.view.regionManager._regions["author-form"].currentView; + + f.view.$("#headingOne").click(); + + expect(authorView.$("button[type=submit]").prop("disabled")).to.be.true; + + authorView.$(".author-input:first").val("Accomazzi,a"); + + authorView.$(".author-input:first").trigger("keyup"); + + expect(authorView.$("button[type=submit]").prop("disabled")).to.be.false; + + authorView.$(".add-author").click(); + + authorView.$(".author-input").eq(1).val("Kurtz,M"); + + authorView.$(".author-input").eq(1).next().click(); + + authorView.$("button[type=submit]").click(); + + expect( FormWidget.prototype.submitForm.args[0][0]).to.eql('author:("Accomazzi,a" "^Kurtz,M")'); + + FormWidget.prototype.submitForm = s; + + + }) + + it("should have a paper view", function(){ + + var s = FormWidget.prototype.submitForm; + FormWidget.prototype.submitForm = sinon.spy(); + + var f = new FormWidget(); + $("#test").append(f.render().el); + f.onShow(); + + var paperView = f.view.regionManager._regions["paper-form"].currentView; + + f.view.$("#headingTwo").click(); + + expect(paperView.$("button[type=submit]").prop("disabled")).to.be.true; + + paperView.$("#pub-input").val("APJ"); + paperView.$("#year-input").val("1999"); + paperView.$("#volume-input").val("3"); + paperView.$("#page-input").val("4"); + + paperView.$("#pub-input:first").trigger("keyup"); + expect(paperView.$("button[type=submit]").prop("disabled")).to.be.false; + + paperView.$("button[type=submit]").click(); + + expect( FormWidget.prototype.submitForm.args[0][0]).to.eql('bibstem:APJ year:1999 volume:3 page:4' ); + + FormWidget.prototype.submitForm = s; + + }); + + it("paper view should be able to parse basic journal article references", function(){ + + var s = FormWidget.prototype.submitForm; + FormWidget.prototype.submitForm = sinon.spy(); + + var f = new FormWidget(); + $("#test").append(f.render().el); + f.onShow(); + + var paperView = f.view.regionManager._regions["paper-form"].currentView; + + f.view.$("#headingTwo").click(); + + expect(paperView.$("button[type=submit]").prop("disabled")).to.be.true; + + paperView.$("input.parse-reference").val("Martín, E. L., Rebolo, R., & Zapatero Osorio, M. R. 1996, ApJ,469,706"); + paperView.$("button.parse").click(); + + expect(paperView.$("button[type=submit]").prop("disabled")).to.be.false; + + paperView.$("button[type=submit]").click(); + + expect( FormWidget.prototype.submitForm.args[0][0]).to.eql('bibstem:ApJ year:1996 volume:469 page:706'); + + $("#test").empty(); + + //now enter in unparseable string + + var f = new FormWidget(); + $("#test").append(f.render().el); + f.onShow(); + + var paperView = f.view.regionManager._regions["paper-form"].currentView; + + f.view.$("#headingTwo").click(); + + expect(paperView.$("button[type=submit]").prop("disabled")).to.be.true; + + paperView.$("input.parse-reference").val("foobly"); + paperView.$("button.parse").click(); + + expect(paperView.$("button[type=submit]").prop("disabled")).to.be.true; + + FormWidget.prototype.submitForm = s; + + }); + + + it("should have a topic view", function(){ + + var s = FormWidget.prototype.submitForm; + FormWidget.prototype.submitForm = sinon.spy(); + + var f = new FormWidget(); + $("#test").append(f.render().el); + f.onShow(); + + var topicView = f.view.regionManager._regions["topic-form"].currentView; + + f.view.$("#headingThree").click(); + + expect(topicView.$("button[type=submit]").prop("disabled")).to.be.true; + + topicView.$("#topic-search").val("bees"); + + topicView.$("#topic-search").trigger("keyup"); + + expect(topicView.$("button[type=submit]").prop("disabled")).to.be.false; + + topicView.$("button[type=submit]").click(); + + expect(FormWidget.prototype.submitForm.args[0][0]).to.eql('abstract:(bees) OR title:(bees)'); + + FormWidget.prototype.submitForm = s; + + }); + + + + }); + + + + + + +}) \ No newline at end of file diff --git a/test/mocha/js/widgets/search_bar_widget.spec.js b/test/mocha/js/widgets/search_bar_widget.spec.js index 63ca686bf..607cef94d 100644 --- a/test/mocha/js/widgets/search_bar_widget.spec.js +++ b/test/mocha/js/widgets/search_bar_widget.spec.js @@ -4,7 +4,8 @@ define([ 'js/components/beehive', 'js/bugutils/minimal_pubsub', 'js/components/api_query', - './test_json/test1' + './test_json/test1', + 'js/components/api_feedback' ], function( $, @@ -12,7 +13,8 @@ define([ BeeHive, MinimalPubSub, ApiQuery, - Test + Test, + ApiFeedback ) { @@ -81,10 +83,33 @@ define([ minsub.publish(minsub.START_SEARCH, minsub.createQuery({'q': 'foo:bar'})); setTimeout(function() { expect(widget.view.getFormVal()).to.be.eql('foo:bar'); + expect($w.find(".s-num-found").html().trim()).to.eql('Your search returned 841,359 results'); + done(); + }, 5); + + + }); + + it("puts query in bar even when the search cycle failed", function(done){ + + + var widget = _widget(); + var $w = widget.render().$el; + + //puts query in the search bar even when feedback is error + var feedback = { + request : minsub.createRequest({'query': minsub.createQuery({'q': 'fakeQuery'})}), + //"search cycle failed to start" + code : -3 + }; + + minsub.publish(minsub.FEEDBACK, feedback); + setTimeout(function() { + expect(widget.view.getFormVal()).to.be.eql('fakeQuery'); + expect($w.find(".s-num-found").html().trim()).to.eql('Your search returned 0 results'); done(); }, 5); - expect($w.find(".s-num-found").html().trim()).to.eql('Your search returned 841,359 results'); }); it("should allow the user to open and close a dropdown menu from the search bar", function(done){ diff --git a/test/mocha/ui-suite.js b/test/mocha/ui-suite.js index f58276cd8..7e36cd77b 100644 --- a/test/mocha/ui-suite.js +++ b/test/mocha/ui-suite.js @@ -23,6 +23,7 @@ define([], function() { //TBD 24/09/14 '/widgets/facet_hier_widget.spec.js', '/widgets/facet_widget.spec.js', '/widgets/filter_visualizer_widget.spec.js', + '/widgets/form_accordion_widget.spec.js', //XXX 24/09/14 '/widgets/facet_zoomable_graph_view.spec.js', '/widgets/graphics_widgets.spec.js', '/widgets/libraries_all.spec.js',