bjond-api 0.1.5 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -2
- data/VERSION +1 -1
- data/app/assets/fonts/bjond-api/TitilliumWeb-ExtraLight.eot +0 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-ExtraLight.svg +136 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-ExtraLight.ttf +0 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-Light.eot +0 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-Light.svg +134 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-Light.ttf +0 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-Regular.eot +0 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-Regular.svg +130 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-Regular.ttf +0 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-SemiBold.eot +0 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-SemiBold.svg +129 -0
- data/app/assets/fonts/bjond-api/TitilliumWeb-SemiBold.ttf +0 -0
- data/app/assets/stylesheets/bjond_registrations.scss +187 -0
- data/app/views/bjond_registrations/_form.html.erb +12 -4
- data/app/views/bjond_registrations/edit.html.erb +6 -4
- data/app/views/bjond_registrations/index.html.erb +30 -25
- data/app/views/bjond_registrations/new.html.erb +31 -19
- data/app/views/bjond_registrations/show.html.erb +2 -1
- data/app/views/shared/_app_info.html.erb +76 -72
- data/bjond-api.gemspec +16 -4
- data/lib/bjond-app/engine.rb +3 -0
- metadata +15 -3
- data/app/assets/stylesheets/bjond_registrations.css +0 -9
@@ -0,0 +1,129 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" > <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
|
2
|
+
<defs >
|
3
|
+
<font id="TitilliumWebSemiBold" horiz-adv-x="500" ><font-face
|
4
|
+
font-family="Titillium Web"
|
5
|
+
units-per-em="1000"
|
6
|
+
panose-1="0 0 7 0 0 0 0 0 0 0"
|
7
|
+
ascent="1133"
|
8
|
+
descent="-388"
|
9
|
+
alphabetic="0" />
|
10
|
+
<missing-glyph horiz-adv-x="235" />
|
11
|
+
<glyph unicode=" " glyph-name="space" horiz-adv-x="220" />
|
12
|
+
<glyph unicode="!" glyph-name="exclam" horiz-adv-x="266" d="M74 0V140H191V0H74ZM85 241L75 685H191L181 241H85Z" />
|
13
|
+
<glyph unicode=""" glyph-name="quotedbl" horiz-adv-x="395" d="M329 453H234L230 685H335L329 453ZM160 453H64L60 685H166L160 453Z" />
|
14
|
+
<glyph unicode="#" glyph-name="numbersign" horiz-adv-x="560" d="M540 160H438V0H343V160H217V0H122V160H20V251H122V403H20V494H122V663H217V494H343V663H438V494H540V403H438V251H540V160ZM343 251V403H217V251H343Z" />
|
15
|
+
<glyph unicode="$" glyph-name="dollar" horiz-adv-x="560" d="M503 196Q503 92 444 41T282 -11H274L260 -127Q196 -124 196 -120L210 -7Q146 -1 86 11L66 15L77 101Q156 90 222 86L249 293Q145 321 102 362T59 491T117 625T279 671H297L314 805H378L360 666L488
|
16
|
+
648L479 562Q408 570 349 574L324 381Q425 352 464 314T503 196ZM166 491Q166 454 186 435T262 398L285 577Q166 575 166 491ZM395 190Q395 224 377 243T311 276L286 84Q395 88 395 190Z" />
|
17
|
+
<glyph unicode="%" glyph-name="percent" horiz-adv-x="560" d="M138 -6L360 691L422 670L200 -26L138 -6ZM20 529Q20 671 135 671T251 529Q251 457 221 421T136 385T50 421T20 529ZM102 569T102 529T109 471T136 453T162 471T170 529T163 586T136 604T110 587ZM309
|
18
|
+
133Q309 275 424 275T540 133Q540 61 510 25T425 -11T339 25T309 133ZM405 207T398 190T390 133T397 75T424 56T450 74T458 132T451 190T425 207Z" />
|
19
|
+
<glyph unicode="&" glyph-name="ampersand" horiz-adv-x="696" d="M123 627T174 667T317 707T457 667T506 555T474 442T361 354L483 233Q490 252 497 298T506 376L611 374Q597 252 562 169L681 60L619 -11L506 87Q473 41 418 15T297 -11Q156 -11 97 42T38
|
20
|
+
199Q38 282 73 327T186 402Q147 447 135 478T123 558Q123 627 174 667ZM285 86Q333 86 373 102T432 148L243 337Q193 318 171 288T148 208Q148 86 285 86ZM233 536Q233 487 278 439L300 416Q353 446 374 472T396 539Q396 615 315 615T233 536Z" />
|
21
|
+
<glyph unicode="'" glyph-name="quotesingle" horiz-adv-x="225" d="M64 453L61 685H167L160 453H64Z" />
|
22
|
+
<glyph unicode="(" glyph-name="parenleft" horiz-adv-x="289" d="M163 388T163 301T186 108T234 -62L258 -125H155Q141 -102 119 -49T82 52T55 168T43 320T71 515T127 688L155 750H258Q224 664 194 526Z" />
|
23
|
+
<glyph unicode=")" glyph-name="parenright" horiz-adv-x="289" d="M246 365T246 301T235 170T206 52Q172 -54 146 -104L134 -125H31Q42 -99 57 -56T99 101T126 301T103 500T55 682L31 750H134Q148 724 170 666T207 558T234 436Z" />
|
24
|
+
<glyph unicode="*" glyph-name="asterisk" horiz-adv-x="423" d="M382 504H255L294 382L232 363L191 486L86 407L46 458L153 537L49 611L88 665L191 590L231 713L295 692L256 568H382V504Z" />
|
25
|
+
<glyph unicode="+" glyph-name="plus" horiz-adv-x="560" d="M52 202V300H230V479H328V300H508V202H328V21H230V202H52Z" />
|
26
|
+
<glyph unicode="," glyph-name="comma" horiz-adv-x="246" d="M26 -123L74 124H194L114 -123H26Z" />
|
27
|
+
<glyph unicode="-" glyph-name="hyphen" horiz-adv-x="421" d="M61 220V319H360V220H61Z" />
|
28
|
+
<glyph unicode="." glyph-name="period" horiz-adv-x="239" d="M61 0V144H178V0H61Z" />
|
29
|
+
<glyph unicode="/" glyph-name="slash" horiz-adv-x="443" d="M32 9L317 714L413 679L127 -25L32 9Z" />
|
30
|
+
<glyph unicode="0" glyph-name="zero" horiz-adv-x="560" d="M155 671T280 671T467 591T529 327T467 66T280 -11T93 65T30 325T92 590ZM352 574T280 574T177 520T145 328T177 139T280 86T382 138T414 328T383 519Z" />
|
31
|
+
<glyph unicode="1" glyph-name="one" horiz-adv-x="560" d="M405 660V0H294V534L139 434L88 517L303 660H405Z" />
|
32
|
+
<glyph unicode="2" glyph-name="two" horiz-adv-x="560" d="M492 0H67V95L230 263Q304 339 334 382T364 476T335 550T240 572Q178 572 103 558L78 554L71 642Q168 671 272 671Q479 671 479 487Q479 415 448 362T335 234L194 97H492V0Z" />
|
33
|
+
<glyph unicode="3" glyph-name="three" horiz-adv-x="560" d="M66 639Q159 671 270 671T431 629T482 494Q482 454 467 422T435 376T395 345Q448 320 471 291T495 195Q495 90 443 40T275 -11Q230 -11 176 -4T90 12L59 20L66 106Q176 86 260 86Q380 87 380 192Q380
|
34
|
+
240 349 265T267 291H134V384H267Q304 384 335 414T367 488T340 553T264 574Q185 574 101 560L75 555L66 639Z" />
|
35
|
+
<glyph unicode="4" glyph-name="four" horiz-adv-x="560" d="M337 0V118H40V203L214 660H337L153 215H337V409H449V215H521V118H449V0H337Z" />
|
36
|
+
<glyph unicode="5" glyph-name="five" horiz-adv-x="560" d="M484 660V562H178L161 388Q229 419 295 419Q507 419 507 221Q507 109 449 49T283 -11Q238 -11 181 -3T90 14L56 23L68 107Q186 87 270 87Q328 87 360 119T392 210T364 295T291 321Q210 321 159 301L141
|
37
|
+
294L71 309L89 660H484Z" />
|
38
|
+
<glyph unicode="6" glyph-name="six" horiz-adv-x="560" d="M490 560Q393 574 314 574T196 525T156 388L179 396Q251 419 300 419Q524 419 524 209Q524 101 462 45T281 -11T102 77T41 330Q41 671 309 671Q384 671 471 653L500 647L490 560ZM174 299L155 292Q157
|
39
|
+
86 287 86Q346 86 377 118T409 207T378 292T292 321T174 299Z" />
|
40
|
+
<glyph unicode="7" glyph-name="seven" horiz-adv-x="560" d="M73 560V660H489V528L246 -11L142 19L377 530V560H73Z" />
|
41
|
+
<glyph unicode="8" glyph-name="eight" horiz-adv-x="560" d="M168 671T278 671T453 626T519 495Q519 435 501 405T431 342Q482 309 505 275T529 179Q529 79 460 34T278 -11Q30 -11 30 168Q30 235 53 271T126 342Q79 373 60 406T41 496Q41 580 104 625ZM149 192Q149
|
42
|
+
89 279 89T410 194Q410 263 326 289H230Q149 263 149 192ZM400 479Q400 571 280 571T160 479Q160 419 230 384H326Q400 419 400 479Z" />
|
43
|
+
<glyph unicode="9" glyph-name="nine" horiz-adv-x="560" d="M248 86Q400 86 402 278L378 270Q302 244 256 244Q148 244 91 295T34 450T97 612T270 671Q395 671 456 582T517 319T449 67T248 -11Q173 -11 86 7L57 13L67 100Q164 86 248 86ZM265 342Q322 342 382
|
44
|
+
364L403 371Q401 574 270 574Q213 574 181 541T149 451Q149 342 265 342Z" />
|
45
|
+
<glyph unicode=":" glyph-name="colon" horiz-adv-x="239" d="M61 303V447H178V303H61ZM61 0V144H178V0H61Z" />
|
46
|
+
<glyph unicode=";" glyph-name="semicolon" horiz-adv-x="266" d="M84 124H204L124 -123H36L84 124ZM77 303V447H194V303H77Z" />
|
47
|
+
<glyph unicode="<" glyph-name="less" horiz-adv-x="560" d="M474 377L180 253L474 123V11L64 206V296L474 488V377Z" />
|
48
|
+
<glyph unicode="=" glyph-name="equal" horiz-adv-x="560" d="M61 301V399H499V301H61ZM61 103V201H499V103H61Z" />
|
49
|
+
<glyph unicode=">" glyph-name="greater" horiz-adv-x="560" d="M380 253L86 377V488L496 296V206L86 11V123L380 253Z" />
|
50
|
+
<glyph unicode="?" glyph-name="question" horiz-adv-x="441" d="M406 534Q406 467 390 432T322 357T255 294T238 243V210H150Q126 241 126 288Q126 313 145 338T213 403T278 466T294 526Q294 599 188 599Q128 599 62 585L39 580L33 663Q126 696 202 696Q307 696
|
51
|
+
356 658T406 534ZM133 0V140H249V0H133Z" />
|
52
|
+
<glyph unicode="@" glyph-name="at" horiz-adv-x="975" d="M939 305V295Q939 130 893 64T754 -3Q709 -3 678 11T637 40L628 55Q540 -2 461 -2T334 53T286 243T330 440T482 502Q522 502 568 484L584 477V491H692V307Q692 155 702 122Q705 110 713 101T729 90T759
|
53
|
+
88T796 102Q830 133 830 295V306Q830 477 753 554T502 631T241 538T152 254T233 -24T503 -111L646 -102L651 -197Q559 -206 503 -206Q388 -206 306 -184T164 -108Q44 -3 44 261Q44 496 164 611T504 726Q939 726 939 305ZM477 93Q519 93 591 127Q584 167 584 262V392Q534
|
54
|
+
407 504 407Q440 407 418 371T396 248Q396 93 477 93Z" />
|
55
|
+
<glyph unicode="A" glyph-name="A" horiz-adv-x="599" d="M20 0L189 685H410L580 0H468L431 147H168L131 0H20ZM275 592L190 245H409L325 592H275Z" />
|
56
|
+
<glyph unicode="B" glyph-name="B" horiz-adv-x="612" d="M79 685H339Q444 685 496 643T548 507Q548 446 529 411T467 353Q565 315 565 194Q565 0 347 0H79V685ZM339 299H190V96H341Q396 96 423 119T451 198T419 276T339 299ZM333 589H190V393H337Q435 393 435
|
57
|
+
494Q435 589 333 589Z" />
|
58
|
+
<glyph unicode="C" glyph-name="C" horiz-adv-x="544" d="M309 -11Q159 -11 106 72T52 345T106 615T309 696Q398 696 505 671L501 581Q411 597 321 597T199 544T167 343T198 142T319 88T501 103L504 11Q401 -11 309 -11Z" />
|
59
|
+
<glyph unicode="D" glyph-name="D" horiz-adv-x="641" d="M316 0H79V685H316Q474 685 532 605T590 354Q590 267 579 207T538 97Q481 0 316 0ZM475 354Q475 478 444 533T316 588H190V98H316Q415 98 448 171Q464 208 469 250T475 354Z" />
|
60
|
+
<glyph unicode="E" glyph-name="E" horiz-adv-x="553" d="M79 0V685H511V588H190V394H451V298H190V98H511V0H79Z" />
|
61
|
+
<glyph unicode="F" glyph-name="F" horiz-adv-x="529" d="M79 0V685H504V588H190V357H451V260H190V0H79Z" />
|
62
|
+
<glyph unicode="G" glyph-name="G" horiz-adv-x="613" d="M358 262V360H553V12Q526 5 444 -3T324 -11Q168 -11 109 75T50 344T110 612T320 696Q408 696 518 676L553 669L549 581Q428 597 332 597T201 543T165 343T198 142T334 86Q407 86 443 95V262H358Z" />
|
63
|
+
<glyph unicode="H" glyph-name="H" horiz-adv-x="676" d="M486 0V296H190V0H79V685H190V393H486V685H598V0H486Z" />
|
64
|
+
<glyph unicode="I" glyph-name="I" horiz-adv-x="269" d="M79 0V685H190V0H79Z" />
|
65
|
+
<glyph unicode="J" glyph-name="J" horiz-adv-x="296" d="M19 -71V27Q72 27 91 43T111 114V685H221L222 106Q222 -1 177 -36T19 -71Z" />
|
66
|
+
<glyph unicode="K" glyph-name="K" horiz-adv-x="583" d="M190 0H79V685H190V376L292 384L432 685H559L390 341L566 0H437L292 286L190 279V0Z" />
|
67
|
+
<glyph unicode="L" glyph-name="L" horiz-adv-x="475" d="M463 0H79V685H190V99H463V0Z" />
|
68
|
+
<glyph unicode="M" glyph-name="M" horiz-adv-x="850" d="M79 0V685H272L425 150L578 685H772V0H660V562H645L483 28H367L205 562H190V0H79Z" />
|
69
|
+
<glyph unicode="N" glyph-name="N" horiz-adv-x="686" d="M79 0V685H273L481 98H496V685H607V0H417L204 588H190V0H79Z" />
|
70
|
+
<glyph unicode="O" glyph-name="O" horiz-adv-x="656" d="M232 86T328 86T457 144T491 338T457 537T328 599T199 537T164 340T198 145ZM483 -11T328 -11T111 73T49 339T111 608T328 696T544 609T606 339T545 73Z" />
|
71
|
+
<glyph unicode="P" glyph-name="P" horiz-adv-x="591" d="M330 213H190V0H79V685H330Q563 685 563 455Q563 337 505 275T330 213ZM190 309H329Q449 309 449 455Q449 525 420 557T329 589H190V309Z" />
|
72
|
+
<glyph unicode="Q" glyph-name="Q" horiz-adv-x="656" d="M328 -11Q172 -11 111 73T49 338T111 608T328 696T544 609T606 339Q606 219 581 145T497 32L581 -103L478 -151L389 -5Q370 -11 328 -11ZM232 86T328 86T457 143T491 338T457 537T328 599T199 537T164
|
73
|
+
339T198 145Z" />
|
74
|
+
<glyph unicode="R" glyph-name="R" horiz-adv-x="618" d="M190 244V0H79V685H339Q571 685 571 467Q571 321 459 269L572 0H450L351 244H190ZM457 466Q457 589 339 589H190V340H341Q401 340 429 374T457 466Z" />
|
75
|
+
<glyph unicode="S" glyph-name="S" horiz-adv-x="543" d="M280 599Q153 599 153 510Q153 464 183 445T315 397T460 329T502 204Q502 96 441 43T273 -11Q188 -11 85 9L49 16L60 105Q195 87 266 87Q390 87 390 197Q390 240 362 260T236 305T90 373T42 509T102 649T270
|
76
|
+
697Q347 697 452 679L487 673L478 583Q338 599 280 599Z" />
|
77
|
+
<glyph unicode="T" glyph-name="T" horiz-adv-x="526" d="M13 586V685H513V586H320V0H208V586H13Z" />
|
78
|
+
<glyph unicode="U" glyph-name="U" horiz-adv-x="650" d="M185 219Q185 86 325 86T465 219V685H577V221Q577 100 514 45T325 -11T136 44T73 221V685H185V219Z" />
|
79
|
+
<glyph unicode="V" glyph-name="V" horiz-adv-x="594" d="M458 685H574L406 0H188L20 685H136L272 98H322L458 685Z" />
|
80
|
+
<glyph unicode="W" glyph-name="W" horiz-adv-x="911" d="M24 685H141L239 96H260L390 683H520L650 96H672L770 685H887L752 0H573L455 549L338 0H158L24 685Z" />
|
81
|
+
<glyph unicode="X" glyph-name="X" horiz-adv-x="564" d="M138 685L285 415L434 685H551L348 337L551 0H427L280 258L130 0H13L217 331L13 685H138Z" />
|
82
|
+
<glyph unicode="Y" glyph-name="Y" horiz-adv-x="549" d="M331 0H219V282L4 685H129L274 391L420 685H544L331 282V0Z" />
|
83
|
+
<glyph unicode="Z" glyph-name="Z" horiz-adv-x="534" d="M42 588V685H492V578L174 116V97H492V0H42V106L359 568V588H42Z" />
|
84
|
+
<glyph unicode="[" glyph-name="bracketleft" horiz-adv-x="344" d="M306 749V652H183V-26H306V-123H73V749H306Z" />
|
85
|
+
<glyph unicode="\" glyph-name="backslash" horiz-adv-x="471" d="M440 13L345 -27L31 670L125 712L440 13Z" />
|
86
|
+
<glyph unicode="]" glyph-name="bracketright" horiz-adv-x="344" d="M38 652V749H271V-123H38V-26H161V652H38Z" />
|
87
|
+
<glyph unicode="^" glyph-name="asciicircum" horiz-adv-x="560" d="M400 316L276 554L151 316H37L227 660H321L514 316H400Z" />
|
88
|
+
<glyph unicode="_" glyph-name="underscore" horiz-adv-x="625" d="M99 -81H527V-174H99V-81Z" />
|
89
|
+
<glyph unicode="`" glyph-name="grave" horiz-adv-x="254" d="M24 748L260 647L234 576L-10 654L24 748Z" />
|
90
|
+
<glyph unicode="a" glyph-name="a" horiz-adv-x="507" d="M436 346V118Q437 96 447 86T480 72L477 -11Q391 -11 344 26Q264 -11 183 -11Q34 -11 34 148Q34 224 74 258T199 299L328 310V346Q328 386 311 402T259 418Q195 418 99 410L67 408L63 485Q172 511 263
|
91
|
+
511T395 472T436 346ZM212 222Q143 216 143 147T204 78Q254 78 310 94L328 100V233L212 222Z" />
|
92
|
+
<glyph unicode="b" glyph-name="b" horiz-adv-x="536" d="M299 511Q402 511 447 454T493 250T439 47T249 -11Q202 -11 100 -2L66 1V708H174V481Q243 511 299 511ZM249 86Q329 86 355 123T382 251T360 377T286 414Q238 414 190 399L174 394V90Q229 86 249 86Z" />
|
93
|
+
<glyph unicode="c" glyph-name="c" horiz-adv-x="442" d="M253 511Q306 511 378 497L403 492L399 406Q320 414 282 414Q206 414 180 380T154 252T179 122T283 86L400 94L403 7Q302 -11 251 -11Q137 -11 91 50T44 252T93 451T253 511Z" />
|
94
|
+
<glyph unicode="d" glyph-name="d" horiz-adv-x="540" d="M474 708V0H366V26Q293 -11 232 -11Q134 -11 89 48T43 246T93 448T251 511Q287 511 365 498V708H474ZM348 104L365 111V407Q305 417 254 417Q153 417 153 249Q153 157 176 122T251 86T348 104Z" />
|
95
|
+
<glyph unicode="e" glyph-name="e" horiz-adv-x="508" d="M422 90L450 93L452 12Q338 -11 250 -11Q139 -11 91 50T42 245Q42 511 259 511Q469 511 469 282L462 204H152Q153 142 179 113T276 84T422 90ZM362 288Q362 362 339 391T259 421T178 390T151 288H362Z" />
|
96
|
+
<glyph unicode="f" glyph-name="f" horiz-adv-x="346" d="M197 407V0H89V407H31V500H89V532Q89 639 120 679T230 719L338 709L337 620Q288 622 256 622T210 603T197 531V500H329V407H197Z" />
|
97
|
+
<glyph unicode="g" glyph-name="g" horiz-adv-x="525" d="M503 -68Q503 -232 266 -232Q152 -232 97 -201T42 -88Q42 -51 60 -25T118 33Q85 55 85 106Q85 126 112 171L121 186Q49 229 49 336Q49 426 103 468T249 510Q293 510 336 500L351 497L506 501V413L423 418Q450
|
98
|
+
383 450 336Q450 238 401 201T246 163Q220 163 202 167Q188 133 188 115T206 89T296 81Q415 80 459 49T503 -68ZM149 -78Q149 -113 177 -128T273 -143Q394 -143 394 -74Q394 -35 373 -25T287 -13L189 -7Q167 -25 158 -40T149 -78ZM157 290T179 269T250 247T320
|
99
|
+
268T342 336T320 403T249 425Q157 425 157 336Q157 290 179 269Z" />
|
100
|
+
<glyph unicode="h" glyph-name="h" horiz-adv-x="546" d="M175 0H66V708H175V474Q249 511 312 511Q412 511 448 455T485 268V0H376V265Q376 346 359 380T287 414Q239 414 191 398L175 392V0Z" />
|
101
|
+
<glyph unicode="i" glyph-name="i" horiz-adv-x="241" d="M66 0V500H175V0H66ZM66 585V700H175V585H66Z" />
|
102
|
+
<glyph unicode="j" glyph-name="j" horiz-adv-x="242" d="M67 19V500H175V18Q175 -80 141 -127T2 -227L-41 -146Q29 -102 48 -75T67 19ZM67 585V700H175V585H67Z" />
|
103
|
+
<glyph unicode="k" glyph-name="k" horiz-adv-x="499" d="M175 0H66V708H175V299L237 305L355 500H477L333 266L485 0H362L240 211L175 204V0Z" />
|
104
|
+
<glyph unicode="l" glyph-name="l" horiz-adv-x="253" d="M72 0V708H181V0H72Z" />
|
105
|
+
<glyph unicode="m" glyph-name="m" horiz-adv-x="838" d="M175 0H66V500H174V469Q245 511 304 511Q391 511 431 462Q522 511 612 511T739 456T776 268V0H668V265Q668 346 652 380T583 414Q538 414 486 394L469 387Q477 367 477 259V0H369V257Q369 346 353 380T283
|
106
|
+
414Q233 414 190 394L175 388V0Z" />
|
107
|
+
<glyph unicode="n" glyph-name="n" horiz-adv-x="546" d="M175 0H66V500H174V469Q247 511 312 511Q412 511 448 455T485 268V0H377V265Q377 346 360 380T288 414Q237 414 190 394L175 388V0Z" />
|
108
|
+
<glyph unicode="o" glyph-name="o" horiz-adv-x="530" d="M145 511T265 511T436 446T488 251T438 55T265 -11T92 55T42 251T93 446ZM198 81T265 81T355 121T378 252T354 381T265 419T177 381T152 252T175 121Z" />
|
109
|
+
<glyph unicode="p" glyph-name="p" horiz-adv-x="537" d="M66 -215V500H174V469Q243 511 303 511Q402 511 448 451T494 248T442 47T270 -11Q229 -11 175 -2V-215H66ZM284 414Q237 414 190 393L175 386V91Q215 83 263 83Q331 83 357 122T383 255Q383 414 284 414Z" />
|
110
|
+
<glyph unicode="q" glyph-name="q" horiz-adv-x="535" d="M239 -11Q136 -11 90 47T43 250T97 453T286 511Q335 511 436 502L469 499V-215H361V19Q294 -11 239 -11ZM286 417Q207 417 180 378T152 249T176 123T252 86Q299 86 346 101L361 106V413Q313 417 286 417Z" />
|
111
|
+
<glyph unicode="r" glyph-name="r" horiz-adv-x="361" d="M66 0V500H174V440Q259 495 344 511V402Q258 385 197 358L175 349V0H66Z" />
|
112
|
+
<glyph unicode="s" glyph-name="s" horiz-adv-x="469" d="M413 397Q295 413 242 413T169 401T148 361T170 323T276 298T395 252T430 142T380 26T232 -11Q171 -11 78 6L47 11L51 102Q171 86 224 86T299 99T322 142T301 183T198 208T78 251T40 357T92 472T227 510Q291
|
113
|
+
510 384 494L415 488L413 397Z" />
|
114
|
+
<glyph unicode="t" glyph-name="t" horiz-adv-x="358" d="M335 407H197V187Q197 126 206 106T252 86L334 89L339 2Q272 -11 237 -11Q152 -11 121 28T89 175V407H25V500H89V645H197V500H335V407Z" />
|
115
|
+
<glyph unicode="u" glyph-name="u" horiz-adv-x="543" d="M369 500H477V0H369V31Q296 -11 234 -11Q131 -11 96 44T61 239V500H170V238Q170 148 185 117T255 86Q309 86 354 106L369 112V500Z" />
|
116
|
+
<glyph unicode="v" glyph-name="v" horiz-adv-x="491" d="M19 500H133L229 93H261L361 500H472L342 0H148L19 500Z" />
|
117
|
+
<glyph unicode="w" glyph-name="w" horiz-adv-x="768" d="M27 500H134L213 93H233L328 490H440L535 93H555L633 500H741L635 0H462L384 343L306 0H133L27 500Z" />
|
118
|
+
<glyph unicode="x" glyph-name="x" horiz-adv-x="464" d="M18 500H134L232 327L331 500H447L298 254L447 0H331L232 171L134 0H18L163 251L18 500Z" />
|
119
|
+
<glyph unicode="y" glyph-name="y" horiz-adv-x="492" d="M20 500H127L233 93H260L366 500H474L284 -215H177L237 0H151L20 500Z" />
|
120
|
+
<glyph unicode="z" glyph-name="z" horiz-adv-x="454" d="M41 403V500H412V403L172 97H412V0H41V97L282 403H41Z" />
|
121
|
+
<glyph unicode="{" glyph-name="braceleft" horiz-adv-x="357" d="M228 575L235 450Q235 387 214 359T126 313Q192 296 213 266T235 171L228 54Q228 11 247 -12T318 -39V-131Q211 -127 167 -88T122 42L129 163Q129 240 19 270V355Q76 368 102 392T129 456L122
|
122
|
+
583Q122 677 166 715T319 758L320 666Q267 662 248 640T228 575Z" />
|
123
|
+
<glyph unicode="|" glyph-name="bar" horiz-adv-x="252" d="M72 -215V708H180V-215H72Z" />
|
124
|
+
<glyph unicode="}" glyph-name="braceright" horiz-adv-x="357" d="M129 54L122 171Q122 235 143 265T231 313Q164 331 143 359T122 450L129 575Q129 618 110 640T37 666L38 758Q146 754 190 716T235 583L228 456Q228 417 254 393T338 355V270Q228 240 228 163L235
|
125
|
+
42Q235 -48 191 -87T39 -131V-39Q91 -36 110 -13T129 54Z" />
|
126
|
+
<glyph unicode="~" glyph-name="asciitilde" horiz-adv-x="560" d="M409 181T382 181T277 206T180 232T135 222T91 200L74 190L64 278Q126 330 184 330Q212 330 287 305T382 279Q417 279 470 310L487 320L496 233Q478 215 444 198Z" />
|
127
|
+
</font>
|
128
|
+
</defs>
|
129
|
+
</svg>
|
Binary file
|
@@ -0,0 +1,187 @@
|
|
1
|
+
/*
|
2
|
+
Place all the styles related to the matching controller here.
|
3
|
+
They will automatically be included in application.css.
|
4
|
+
*/
|
5
|
+
|
6
|
+
.bjond-application {
|
7
|
+
background: image-url('bjond-api/BjondHealth-BackgroundALT_20140724.png');
|
8
|
+
margin: 0;
|
9
|
+
top: 0;
|
10
|
+
left: 0;
|
11
|
+
right: 0;
|
12
|
+
position: absolute;
|
13
|
+
min-height: 100%;
|
14
|
+
font-family: "Titillium Web Regular";
|
15
|
+
color: #707b7f;
|
16
|
+
}
|
17
|
+
|
18
|
+
.bjond-registration, .edit-registrations {
|
19
|
+
.bjond-app-title{
|
20
|
+
font-weight: bold;
|
21
|
+
font-size: 20px;
|
22
|
+
text-align: center;
|
23
|
+
background-color: #2d2d2c;
|
24
|
+
border: 1px solid #2d2d2c;
|
25
|
+
color: #c9c9c9;
|
26
|
+
width: 95%;
|
27
|
+
margin-left: calc(2.5% - 10px);
|
28
|
+
padding: 10px;
|
29
|
+
margin-bottom: 0;
|
30
|
+
border-top-left-radius: 4px;
|
31
|
+
border-top-right-radius: 4px;
|
32
|
+
border-bottom-left-radius: 0;
|
33
|
+
border-bottom-right-radius: 0;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
|
38
|
+
.bjond-registration-list {
|
39
|
+
background-color: white;
|
40
|
+
border: 1px solid white;
|
41
|
+
padding: 10px;
|
42
|
+
text-align: center;
|
43
|
+
width: 95%;
|
44
|
+
margin-left: calc(2.5% - 10px);
|
45
|
+
border-top-left-radius: 0;
|
46
|
+
border-top-right-radius: 0;
|
47
|
+
border-bottom-left-radius: 4px;
|
48
|
+
border-bottom-right-radius: 4px;
|
49
|
+
|
50
|
+
.bjond-table {
|
51
|
+
text-align: center;
|
52
|
+
width: 100%;
|
53
|
+
}
|
54
|
+
|
55
|
+
.new-registration-link {
|
56
|
+
margin-top: 10px;
|
57
|
+
}
|
58
|
+
|
59
|
+
}
|
60
|
+
|
61
|
+
.app-info, .show-registrations, .edit-registrations, .new-registrations {
|
62
|
+
background-color: white;
|
63
|
+
margin-top: 20px;
|
64
|
+
padding: 20px 0 20px 20px;
|
65
|
+
border: 1px solid white;
|
66
|
+
width: 95%;
|
67
|
+
margin-left: calc(2.5% - 10px);
|
68
|
+
border-radius: 4px;
|
69
|
+
margin-bottom: 20px;
|
70
|
+
.app-info-header {
|
71
|
+
img {
|
72
|
+
width: 96px;
|
73
|
+
height: 96px;
|
74
|
+
}
|
75
|
+
text-align: center;
|
76
|
+
.app-name {
|
77
|
+
margin-top: 5px;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
.fields, .consequences, .events {
|
82
|
+
margin-left: calc(2.5% - 10px);
|
83
|
+
}
|
84
|
+
.field-wrapper {
|
85
|
+
margin: 10px 0;
|
86
|
+
|
87
|
+
.app-label {
|
88
|
+
display: inline-block;
|
89
|
+
font-weight: bold;
|
90
|
+
}
|
91
|
+
.info {
|
92
|
+
display: inline-block;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
.non-available {
|
96
|
+
margin: 30px 0;
|
97
|
+
font-style: italic;
|
98
|
+
}
|
99
|
+
|
100
|
+
input[type="text"] {
|
101
|
+
padding: 10px;
|
102
|
+
height: 20px;
|
103
|
+
font-size: 15px;
|
104
|
+
display: inline-block;
|
105
|
+
border-radius: 4px;
|
106
|
+
width: calc(90% - 227px);
|
107
|
+
background: #cbcbcb;
|
108
|
+
color: #707b7f;
|
109
|
+
}
|
110
|
+
|
111
|
+
.field {
|
112
|
+
margin-bottom: 10px;
|
113
|
+
span.label {
|
114
|
+
margin-right: 20px;
|
115
|
+
width: 227px;
|
116
|
+
display: -webkit-inline-box
|
117
|
+
}
|
118
|
+
.additional-info {
|
119
|
+
text-align: center;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
}
|
124
|
+
|
125
|
+
.actions {
|
126
|
+
text-align: center;
|
127
|
+
}
|
128
|
+
|
129
|
+
.actions input[type="submit"], button {
|
130
|
+
display: inline-block;
|
131
|
+
margin-bottom: 0;
|
132
|
+
font-weight: normal;
|
133
|
+
text-align: center;
|
134
|
+
vertical-align: middle;
|
135
|
+
cursor: pointer;
|
136
|
+
background-image: none;
|
137
|
+
border: 1px solid transparent;
|
138
|
+
white-space: nowrap;
|
139
|
+
padding: 6px 12px;
|
140
|
+
font-size: 14px;
|
141
|
+
line-height: 1.42857143;
|
142
|
+
border-radius: 4px;
|
143
|
+
-webkit-user-select: none;
|
144
|
+
-moz-user-select: none;
|
145
|
+
-ms-user-select: none;
|
146
|
+
-o-user-select: none;
|
147
|
+
user-select: none;
|
148
|
+
background-color: #99cc33;
|
149
|
+
color: white;
|
150
|
+
text-align: center;
|
151
|
+
}
|
152
|
+
|
153
|
+
.btn.register {
|
154
|
+
margin-bottom: 20px;
|
155
|
+
}
|
156
|
+
|
157
|
+
@font-face {
|
158
|
+
font-family: "Titillium Web Regular";
|
159
|
+
src: font-url("bjond-api/TitilliumWeb-Regular.eot");
|
160
|
+
src: font-url("bjond-api/TitilliumWeb-Regular.eot?#iefix") format('embedded-opentype'),
|
161
|
+
font-url("bjond-api/TitilliumWeb-Regular.svg#TitilliumWebRegular") format("svg"),
|
162
|
+
font-url("bjond-api/TitilliumWeb-Regular.ttf") format("truetype");
|
163
|
+
}
|
164
|
+
|
165
|
+
@font-face {
|
166
|
+
font-family: "Titillium Web Semi Bold";
|
167
|
+
src: font-url("bjond-api/TitilliumWeb-SemiBold.eot");
|
168
|
+
src: font-url("bjond-api/TitilliumWeb-SemiBold.eot?#iefix") format('embedded-opentype'),
|
169
|
+
font-url("bjond-api/TitilliumWeb-SemiBold.svg#TitilliumWebSemiBold") format("svg"),
|
170
|
+
font-url("bjond-api/TitilliumWeb-SemiBold.ttf") format("truetype");
|
171
|
+
}
|
172
|
+
|
173
|
+
@font-face {
|
174
|
+
font-family: "Titillium Web Light";
|
175
|
+
src: font-url("bjond-api/TitilliumWeb-Light.eot");
|
176
|
+
src: font-url("bjond-api/TitilliumWeb-Light.eot?#iefix") format('embedded-opentype'),
|
177
|
+
font-url("bjond-api/TitilliumWeb-Light.svg#TitilliumWebLight") format("svg"),
|
178
|
+
font-url("bjond-api/TitilliumWeb-Light.ttf") format("truetype");
|
179
|
+
}
|
180
|
+
|
181
|
+
@font-face {
|
182
|
+
font-family: "Titillium Web Extra Light";
|
183
|
+
src: font-url("bjond-api/TitilliumWeb-ExtraLight.eot");
|
184
|
+
src: font-url("bjond-api/TitilliumWeb-ExtraLight.eot?#iefix") format('embedded-opentype'),
|
185
|
+
font-url("bjond-api/TitilliumWeb-ExtraLight.svg#TitilliumWebExtraLight") format("svg"),
|
186
|
+
font-url("bjond-api/TitilliumWeb-ExtraLight.ttf") format("truetype");
|
187
|
+
}
|
@@ -12,20 +12,28 @@
|
|
12
12
|
<% end %>
|
13
13
|
|
14
14
|
<div class="field">
|
15
|
-
|
15
|
+
<span class="label">
|
16
|
+
Server:
|
17
|
+
</span>
|
16
18
|
<%= f.text_field :server %>
|
17
19
|
</div>
|
18
20
|
<div class="field">
|
19
|
-
|
21
|
+
<span class="label">
|
22
|
+
IP
|
23
|
+
</span>
|
20
24
|
<%= f.text_field :ip %>
|
21
25
|
</div>
|
22
26
|
<div class="field">
|
23
|
-
|
27
|
+
<span class="label">
|
28
|
+
Host
|
29
|
+
</span>
|
24
30
|
<%= f.text_field :host %>
|
25
31
|
</div>
|
26
32
|
|
27
33
|
<div class="field">
|
28
|
-
|
34
|
+
<span class="label">
|
35
|
+
Encryption Key
|
36
|
+
</span>
|
29
37
|
<%= f.text_field :encryption_key %>
|
30
38
|
</div>
|
31
39
|
<div class="actions">
|
@@ -1,6 +1,8 @@
|
|
1
|
-
<
|
1
|
+
<div class="edit-registrations">
|
2
|
+
<h1 class="app-info-header">Editing Bjond Registration</h1>
|
2
3
|
|
3
|
-
<%= render 'form' %>
|
4
|
+
<%= render 'form' %>
|
4
5
|
|
5
|
-
<%= link_to 'Show', @bjond_registration %> |
|
6
|
-
<%= link_to 'Back', bjond_registrations_path %>
|
6
|
+
<%= link_to 'Show', @bjond_registration %> |
|
7
|
+
<%= link_to 'Back', bjond_registrations_path %>
|
8
|
+
</div>
|
@@ -1,32 +1,37 @@
|
|
1
|
-
<
|
1
|
+
<div class="bjond-registration">
|
2
|
+
<p id="notice"><%= notice %></p>
|
2
3
|
|
3
|
-
<
|
4
|
+
<div class="bjond-app-title">Listing Bjond Registrations</div>
|
4
5
|
|
5
|
-
<table>
|
6
|
-
<thead>
|
7
|
-
<tr>
|
8
|
-
<th>Server</th>
|
9
|
-
<th>Encrypted Encryption Key</th>
|
10
|
-
<th colspan="3"></th>
|
11
|
-
</tr>
|
12
|
-
</thead>
|
13
6
|
|
14
|
-
<
|
15
|
-
|
16
|
-
<
|
17
|
-
<
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
</
|
23
|
-
<% end %>
|
24
|
-
</tbody>
|
25
|
-
</table>
|
7
|
+
<div class="bjond-registration-list">
|
8
|
+
<table class="bjond-table">
|
9
|
+
<thead>
|
10
|
+
<tr class="bjond-table-row">
|
11
|
+
<th>Server</th>
|
12
|
+
<th>Encrypted Encryption Key</th>
|
13
|
+
<th colspan="3"></th>
|
14
|
+
</tr>
|
15
|
+
</thead>
|
26
16
|
|
27
|
-
<
|
17
|
+
<tbody>
|
18
|
+
<% @bjond_registrations.each do |bjond_registration| %>
|
19
|
+
<tr class="bjond-table-row">
|
20
|
+
<td><%= bjond_registration.server %></td>
|
21
|
+
<td><%= bjond_registration.encrypted_encryption_key %></td>
|
22
|
+
<td><%= link_to 'Show', bjond_registration %></td>
|
23
|
+
<td><%= link_to 'Edit', edit_bjond_registration_path(bjond_registration) %></td>
|
24
|
+
<td><%= link_to 'Destroy', bjond_registration, method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
25
|
+
</tr>
|
26
|
+
<% end %>
|
27
|
+
</tbody>
|
28
|
+
</table>
|
28
29
|
|
29
|
-
|
30
|
+
<div class="new-registration-link">
|
31
|
+
<%= link_to 'New Bjond registration', new_bjond_registration_path %>
|
32
|
+
</div>
|
30
33
|
|
34
|
+
</div>
|
31
35
|
|
32
|
-
<%= render 'shared/app_info.html' %>
|
36
|
+
<%= render 'shared/app_info.html' %>
|
37
|
+
</div>
|
@@ -1,25 +1,37 @@
|
|
1
|
-
<
|
1
|
+
<div class="new-registrations">
|
2
2
|
|
3
|
-
|
4
|
-
<% if @bjond_registration.errors.any? %>
|
5
|
-
<div id="error_explanation">
|
6
|
-
<h2><%= pluralize(@bjond_registration.errors.count, "error") %> prohibited this bjond_registration from being saved:</h2>
|
3
|
+
<h1 class="app-info-header">New Bjond Registration</h1>
|
7
4
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
<%= form_for(@bjond_registration) do |f| %>
|
6
|
+
<% if @bjond_registration.errors.any? %>
|
7
|
+
<div id="error_explanation">
|
8
|
+
<h2><%= pluralize(@bjond_registration.errors.count, "error") %> prohibited this bjond_registration from being saved:</h2>
|
9
|
+
|
10
|
+
<ul>
|
11
|
+
<% @bjond_registration.errors.full_messages.each do |message| %>
|
12
|
+
<li><%= message %></li>
|
13
|
+
<% end %>
|
14
|
+
</ul>
|
15
|
+
</div>
|
16
|
+
<% end %>
|
17
|
+
|
18
|
+
<div class="field">
|
19
|
+
<span class="label">
|
20
|
+
Enter server name
|
21
|
+
</span>
|
22
|
+
<%= f.text_field :server %>
|
23
|
+
|
24
|
+
<div class="additional-info">
|
25
|
+
(e.g. https://test.bjondhealth.com)
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<div class="actions">
|
30
|
+
<%= f.submit "Register with Bjond"%>
|
13
31
|
</div>
|
14
32
|
<% end %>
|
15
33
|
|
16
|
-
|
17
|
-
|
18
|
-
<%= f.text_field :server %>
|
19
|
-
</div>
|
20
|
-
<div class="actions">
|
21
|
-
<%= f.submit "Register with Bjond"%>
|
22
|
-
</div>
|
23
|
-
<% end %>
|
34
|
+
</br>
|
35
|
+
<%= link_to 'Back', bjond_registrations_path %>
|
24
36
|
|
25
|
-
|
37
|
+
</div>
|
@@ -32,9 +32,10 @@
|
|
32
32
|
<% end %>
|
33
33
|
|
34
34
|
|
35
|
-
<button ng-click="register(<%= @bjond_registration.id %>)">
|
35
|
+
<button class="btn register" ng-click="register(<%= @bjond_registration.id %>)">
|
36
36
|
Update Registration
|
37
37
|
</button>
|
38
|
+
</br>
|
38
39
|
<%= link_to 'Edit', edit_bjond_registration_path(@bjond_registration) %> |
|
39
40
|
<%= link_to 'Back', bjond_registrations_path %>
|
40
41
|
|