aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/wallet-content-display.js
blob: 9c5db82d235c57a47b231564007a5bd94448e175 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits

module.exports = WalletContentDisplay

inherits(WalletContentDisplay, Component)
function WalletContentDisplay () {
  Component.call(this)
}

WalletContentDisplay.prototype.render = function () {
  const { title, amount, fiatValue, active, style } = this.props

  // TODO: Separate component: wallet-content-account
  return h('div.flex-column', {
    style: {
      marginLeft: '1.3em',
      alignItems: 'flex-start',
      ...style,
    }
  }, [

    h('span', {
      style: {
        fontSize: '1.1em',
      },
    }, title),

    h('span', {
      style: {
        fontSize: '1.8em',
        margin: '0.4em 0em',
      },
    }, amount),

    h('span', {
      style: {
        fontSize: '1.3em',
      },
    }, fiatValue),

    active && h('div', {
      style: {
        position: 'absolute',
        marginLeft: '-1.3em',
        height: '6em',
        width: '0.3em',
        background: '#D8D8D8', // $alto
      }
    }, [
    ])
  ])

}

n> * x11-wm/hikari: fix build on GCC architecturespkubaj2020-02-161-1/+1 * Upadate to 1.0.0-alpha30mp2020-02-123-55/+34 * Update KDE's Plasma Desktop to 5.18.0tcberner2020-02-125-12/+27 * x11-wm/wayfire: capitalize Wayland in pkg-descr like r525456jbeich2020-02-071-1/+1 * x11-wm/wayfire: capitalize Wayland in COMMENTjbeich2020-02-071-1/+1 * - Add LICENSE_FILEamdmi32020-01-312-2/+3 * Kickshaw is a menu editor for the Openbox window manager (but not only).danfe2020-01-304-0/+49 * Deprecate a few pygtk2 portsantoine2020-01-292-0/+6 * x11-wm/stumpwm: Update to 19.11-95jrm2020-01-292-5/+5 * Remove textproc/gnome-doc-utils.rene2020-01-283-5/+17 * Remove expired ports (part 2):rene2020-01-2826-2095/+0 * Bump PORTREVISION on *-sbcl ports after lang/sbcl upgrade.krion2020-01-271-1/+1 * x11-wm/cage: follow up for r522232jbeich2020-01-262-2/+10 * x11-wm/sway: update to 1.4jbeich2020-01-234-19/+7 * x11-toolkits/wlroots: update to 0.10.0jbeich2020-01-235-3/+27 * Simplify port-specific manpages location after r523104jbeich2020-01-201-4/+2 * Fix plist after r523104antoine2020-01-191-1/+1 * Fix more lxqt falloutsbapt2020-01-161-1/+1 * followup on the man page relocation for lxqtbapt2020-01-161-4/+4 * x11-wm/sway: update to 1.3.r3jbeich2020-01-162-4/+4 * x11-wm/chamfer: update to s20200115jbeich2020-01-157-86/+5 * - Update xfce4-panel-profiles to 1.0.10madpilot2020-01-154-48/+65 * x11-wm/aphelia: transfer maintainershipfernape2020-01-151-1/+1 * Deprecate a few broken portsantoine2020-01-141-0/+2 * x11-wm/chamfer: add missing patch commentjbeich2020-01-141-0/+7 * x11-wm/chamfer: update to s20200112jbeich2020-01-148-10/+75 * Update xfce4-desktop to 4.14.2madpilot2020-01-133-4/+5 * - Update xfce4-panel to 4.14.3madpilot2020-01-133-15/+4 * x11-wm/aphelia: update to g20190913fernape2020-01-132-7/+10 * Update xfce4-session to 4.14.1madpilot2020-01-112-5/+4 * Update xfce4-panel to 4.14.2madpilot2020-01-115-62/+17 * x11-wm/sway: update to 1.3.r2jbeich2020-01-092-4/+4 * KDE Plasma Desktop: update to 5.17.5tcberner2020-01-084-7/+11 * x11-wm/compiz: depend on nvidia-settings only on amd64 and i386pkubaj2020-01-071-1/+3 * x11-wm/cage: fix DRM session after r521656jbeich2020-01-062-1/+14 * Mark a few ports broken (unfetchable)antoine2020-01-051-0/+2 * x11-wm/cwm: Update to 6.6tobik2020-01-053-23/+24 * x11-wm/wayfire: update to 0.3.1jbeich2020-01-032-14/+6 * x11-wm/sway: fix required wlroots versionjbeich2020-01-031-1/+1 * x11-wm/wayfire: fix DRM session after r521656jbeich2020-01-022-1/+4 * Chase chneukirchen -> leahneukirchen renametobik2020-01-022-2/+2 * x11-wm/xfce4: remove non-default dependency on archivers/squeezerene2020-01-011-3/+1 * x11-wm/sway: update to 1.3.r1jbeich2020-01-013-206/+7 * x11-toolkits/wlroots: update to 0.9.0jbeich2020-01-016-2/+227 * Update LXQt to 0.14.1jsm2019-12-308-50/+123 * Chase lang/sbcl upgrade with PORTREVISION bump on *-sbcl portsjrm2019-12-301-0/+1 * Deprecate a few portsantoine2019-12-265-0/+15 * x11-wm/subtle: fix build on GCC architecturespkubaj2019-12-261-3/+1 * update x11-wm/qtile to 0.14.2ericbsd2019-12-253-5/+5 * update x11-wm/marco to 1.22.4ericbsd2019-12-252-4/+4 * x11-wm/picom: unbreak on DragonFlyjbeich2019-12-242-0/+3 * - Add LICENSE_FILEamdmi32019-12-142-2/+2 * devel/boost-*: update to 1.72.0jbeich2019-12-121-0/+1 * - Add LICENSE_FILEamdmi32019-12-103-5/+6 * x11-wm/piewm: unbreak, make fetchableswills2019-12-091-3/+1 * KDE Plasma Desktop -- update to 5.17.4tcberner2019-12-052-6/+6 * - Add LICENSE_FILEamdmi32019-12-042-7/+10 * x11-wm/stumpwm: Upgrade to version 19.11jrm2019-11-282-8/+6 * Chase lang/sbcl upgrade with PORTREVISION bump on *-sbcl portsjrm2019-11-281-1/+1 * Clean up after java/openjdk6 and java/openjdk6-jre removaljkim2019-11-272-4/+1 * - Add LICENSEamdmi32019-11-234-8/+11 * update sysutils/mate-control-center and x11-wm/marco to 1.22.2ericbsd2019-11-233-6/+7 * - Update WWWamdmi32019-11-191-1/+1 * x11-wm/picom: update to 7.5jbeich2019-11-197-13/+14 * x11-wm/chamfer: update to s20191115jbeich2019-11-192-5/+8 * x11-em/e16: fix USES and CONFIGURE_ARGSgahr2019-11-131-5/+3 * x11-wm/e16: update to 1.0.21, rework OPTIONSgahr2019-11-132-16/+40 * Update KDE Plasma Desktop to 5.17.3tcberner2019-11-122-6/+6 * x11-wm/compton-yshui: unbreak build with GCCjbeich2019-11-122-0/+5 * x11-wm/chamfer: add new portjbeich2019-11-106-0/+109 * x11*: Add missing USES={gl,gnome,mate}tobik2019-11-0811-13/+13 * Add USES=xorg and USES=glzeising2019-11-081-0/+1 * Add USES=xorg USES=gl, ports categories xzeising2019-11-08