diff --git a/content/experiment-control/sinara-core.md b/content/experiment-control/sinara-core.md index 3cd6729..698bd5f 100644 --- a/content/experiment-control/sinara-core.md +++ b/content/experiment-control/sinara-core.md @@ -46,6 +46,10 @@ For simple TTL signals, we offer I/O cards in the EEM form factor with 8 channel More information: BNC card SMA card +
+ 2118/2128 BNC/SMA-TTL datasheet +
+ {% end %} {% layout_text_img(src="images/DIOMCX@2x.png", popup="images/origin/dio_mcx.jpg", alt="", textleft=true, shadow=false) %} @@ -56,6 +60,10 @@ When higher densities or faster speeds are required, the Sinara 2238 MCX card is More information + + {% end %} @@ -70,6 +78,10 @@ Each RJ45 supplies 4 LVDS DIOs. The direction (input/output) is individually sel More information + + {% end %} @@ -123,6 +135,10 @@ In regular mode, various DDS features are supported, including frequency, phase More information ++ 4410/4412 Urukul datasheet +
+ {% end %} @@ -163,6 +179,10 @@ It is also possible to connect the Zotino using a HD68 cable to an external crat More information + + {% end %} diff --git a/sass/css/_base.scss b/sass/css/_base.scss index b1ebf4a..d6cfe58 100644 --- a/sass/css/_base.scss +++ b/sass/css/_base.scss @@ -233,4 +233,13 @@ a[aria-expanded='true']:after { border: 1px solid $btn-primary-2 !important; background-color: transparent !important; color: $btn-primary-2 !important; +} + +.doc-icon { + background: url('../images/pdf-icon.png'); + height: 24px; + width: 24px; + margin-right: 12px; + display: block; + float: left; } \ No newline at end of file diff --git a/sass/css/_shop.scss b/sass/css/_shop.scss index b374be0..2382629 100644 --- a/sass/css/_shop.scss +++ b/sass/css/_shop.scss @@ -142,6 +142,21 @@ button { padding: .3rem 0; } } + + .ds { + a { + color: $link-primary-dark; + text-decoration: underline; + + &:hover { + color: $link-secondary-dark; + text-decoration: none; + } + } + font-size: .8rem; + margin: 0; + padding-left: 0px; + } } } diff --git a/sass/css/styles.scss b/sass/css/styles.scss index 425c42e..4f6ddc2 100644 --- a/sass/css/styles.scss +++ b/sass/css/styles.scss @@ -21,6 +21,9 @@ $color-secondary: #1a6d93 !default; $btn-primary-2: #715ec7 !default; $btn-secondary-2: #a88cfd !default; +$link-primary-dark: #c2affd !default; +$link-secondary-dark: #cec2ea !default; + $color-hover: #eae7f7 !default; // Import partials. diff --git a/static/docs/sinara-datasheets/2118-2128.pdf b/static/docs/sinara-datasheets/2118-2128.pdf new file mode 100644 index 0000000..2987fc5 Binary files /dev/null and b/static/docs/sinara-datasheets/2118-2128.pdf differ diff --git a/static/docs/sinara-datasheets/2238.pdf b/static/docs/sinara-datasheets/2238.pdf new file mode 100644 index 0000000..31a3845 Binary files /dev/null and b/static/docs/sinara-datasheets/2238.pdf differ diff --git a/static/docs/sinara-datasheets/2245.pdf b/static/docs/sinara-datasheets/2245.pdf new file mode 100644 index 0000000..27ba69f Binary files /dev/null and b/static/docs/sinara-datasheets/2245.pdf differ diff --git a/static/docs/sinara-datasheets/4410-4412.pdf b/static/docs/sinara-datasheets/4410-4412.pdf new file mode 100644 index 0000000..76c09b7 Binary files /dev/null and b/static/docs/sinara-datasheets/4410-4412.pdf differ diff --git a/static/docs/sinara-datasheets/5432.pdf b/static/docs/sinara-datasheets/5432.pdf new file mode 100644 index 0000000..0c42e63 Binary files /dev/null and b/static/docs/sinara-datasheets/5432.pdf differ diff --git a/static/images/pdf-icon.png b/static/images/pdf-icon.png new file mode 100644 index 0000000..3d90f2c Binary files /dev/null and b/static/images/pdf-icon.png differ diff --git a/static/js/shop.jsx b/static/js/shop.jsx index 2ec3914..ffc5000 100644 --- a/static/js/shop.jsx +++ b/static/js/shop.jsx @@ -415,6 +415,8 @@ class ProductItem extends React.PureComponent { currency: PropTypes.string.isRequired, image: PropTypes.string.isRequired, specs: PropTypes.array, + datasheet_file: PropTypes.string, + datasheet_name: PropTypes.string, onClickAddItem: PropTypes.func, }; } @@ -441,6 +443,8 @@ class ProductItem extends React.PureComponent { currency, image, specs, + datasheet_file, + datasheet_name, } = this.props; const render_specs = (specs && specs.length > 0 && ( @@ -451,6 +455,15 @@ class ProductItem extends React.PureComponent { )); + const render_datasheet_link = (datasheet_file && datasheet_name && ( +