faalis 1.0.0.alpha3 → 1.0.0.alpha4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -4
- data/app/assets/javascripts/faalis/angular-manifest.js +1 -1
- data/app/assets/javascripts/faalis/dashboard/app.js +4 -4
- data/app/assets/javascripts/faalis/dashboard/controllers/group.js.coffee +1 -0
- data/app/assets/javascripts/faalis/dashboard/lib/api_result.js.coffee +5 -0
- data/app/assets/javascripts/faalis/dashboard/lib/fields/base.js.coffee +2 -0
- data/app/assets/javascripts/faalis/dashboard/lib/fields/has_many_field.js.coffee +27 -1
- data/app/assets/javascripts/faalis/dashboard/lib/resource.js.coffee +25 -2
- data/app/assets/javascripts/faalis/dashboard/modules/fields/#image.js# +3 -3
- data/app/assets/javascripts/faalis/dashboard/modules/fields/datetime.js +1 -3
- data/app/assets/javascripts/faalis/dashboard/resources/group_resource.js.coffee +3 -1
- data/app/assets/javascripts/faalis/dashboard/resources/permission_resource.js.coffee +4 -1
- data/app/assets/stylesheets/faalis/dashboard/ltr/application.css +9 -0
- data/app/assets/stylesheets/faalis/dashboard/rtl/application.css +2 -0
- data/app/controllers/faalis/dashboard_controller.rb +1 -0
- data/lib/faalis/fake_assets.rb +1 -0
- data/lib/faalis/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/{20150120211313_create_application_models.model_discovery_engine.rb → 20150121060012_create_application_models.model_discovery_engine.rb} +0 -0
- data/spec/dummy/db/schema.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +366 -783
- data/spec/dummy/log/test.log +11486 -3431
- metadata +84 -59
- data/app/assets/javascripts/faalis/dashboard/templates/application.handlebars.erb +0 -42
- data/app/assets/javascripts/faalis/dashboard/templates/auth/groups/details.handlebars.erb +0 -15
- data/app/assets/javascripts/faalis/dashboard/templates/auth/groups/index.handlebars.erb +0 -7
- data/app/assets/javascripts/faalis/dashboard/templates/auth/groups/new.handlebars.erb +0 -39
- data/app/assets/javascripts/faalis/dashboard/templates/auth/index.handlebars.erb +0 -31
- data/app/assets/javascripts/faalis/dashboard/templates/auth/users/details.handlebars.erb +0 -15
- data/app/assets/javascripts/faalis/dashboard/templates/auth/users/index.handlebars.erb +0 -11
- data/app/assets/javascripts/faalis/dashboard/templates/auth/users/new.handlebars.erb +0 -33
- data/app/assets/javascripts/faalis/dashboard/templates/components/list-view.handlebars.erb +0 -59
- data/app/assets/javascripts/faalis/dashboard/templates/components/model-form.handlebars.erb +0 -3
- data/app/assets/javascripts/faalis/dashboard/templates/modules.handlebars.erb +0 -15
- data/app/assets/javascripts/faalis/dashboard/templates/navigation.handlebars.erb +0 -43
- data/app/assets/javascripts/faalis/dashboard/templates/widgets.handlebars +0 -23
- data/app/controllers/faalis/#dashboard_controller.rb# +0 -65
- data/lib/faalis/generators/fields/#relation.rb# +0 -61
- data/spec/dummy/db/seeds.rb +0 -1
- data/spec/dummy/db/seeds.rb~ +0 -1
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faalis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.alpha4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sameer Rahmani
|
@@ -9,13 +9,16 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-04-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '4.2'
|
21
|
+
- - ">="
|
19
22
|
- !ruby/object:Gem::Version
|
20
23
|
version: 4.2.0
|
21
24
|
type: :runtime
|
@@ -23,6 +26,9 @@ dependencies:
|
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
24
27
|
requirements:
|
25
28
|
- - "~>"
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '4.2'
|
31
|
+
- - ">="
|
26
32
|
- !ruby/object:Gem::Version
|
27
33
|
version: 4.2.0
|
28
34
|
- !ruby/object:Gem::Dependency
|
@@ -44,6 +50,9 @@ dependencies:
|
|
44
50
|
requirement: !ruby/object:Gem::Requirement
|
45
51
|
requirements:
|
46
52
|
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.4'
|
55
|
+
- - ">="
|
47
56
|
- !ruby/object:Gem::Version
|
48
57
|
version: 3.4.0
|
49
58
|
type: :runtime
|
@@ -51,6 +60,9 @@ dependencies:
|
|
51
60
|
version_requirements: !ruby/object:Gem::Requirement
|
52
61
|
requirements:
|
53
62
|
- - "~>"
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '3.4'
|
65
|
+
- - ">="
|
54
66
|
- !ruby/object:Gem::Version
|
55
67
|
version: 3.4.0
|
56
68
|
- !ruby/object:Gem::Dependency
|
@@ -319,6 +331,20 @@ dependencies:
|
|
319
331
|
- - "~>"
|
320
332
|
- !ruby/object:Gem::Version
|
321
333
|
version: 0.0.5
|
334
|
+
- !ruby/object:Gem::Dependency
|
335
|
+
name: rails-assets-flow.js
|
336
|
+
requirement: !ruby/object:Gem::Requirement
|
337
|
+
requirements:
|
338
|
+
- - "~>"
|
339
|
+
- !ruby/object:Gem::Version
|
340
|
+
version: '2.9'
|
341
|
+
type: :runtime
|
342
|
+
prerelease: false
|
343
|
+
version_requirements: !ruby/object:Gem::Requirement
|
344
|
+
requirements:
|
345
|
+
- - "~>"
|
346
|
+
- !ruby/object:Gem::Version
|
347
|
+
version: '2.9'
|
322
348
|
- !ruby/object:Gem::Dependency
|
323
349
|
name: rails-assets-ng-flow
|
324
350
|
requirement: !ruby/object:Gem::Requirement
|
@@ -389,6 +415,20 @@ dependencies:
|
|
389
415
|
- - ">="
|
390
416
|
- !ruby/object:Gem::Version
|
391
417
|
version: '0'
|
418
|
+
- !ruby/object:Gem::Dependency
|
419
|
+
name: colorize
|
420
|
+
requirement: !ruby/object:Gem::Requirement
|
421
|
+
requirements:
|
422
|
+
- - ">="
|
423
|
+
- !ruby/object:Gem::Version
|
424
|
+
version: '0'
|
425
|
+
type: :runtime
|
426
|
+
prerelease: false
|
427
|
+
version_requirements: !ruby/object:Gem::Requirement
|
428
|
+
requirements:
|
429
|
+
- - ">="
|
430
|
+
- !ruby/object:Gem::Version
|
431
|
+
version: '0'
|
392
432
|
- !ruby/object:Gem::Dependency
|
393
433
|
name: model_discovery
|
394
434
|
requirement: !ruby/object:Gem::Requirement
|
@@ -515,8 +555,9 @@ dependencies:
|
|
515
555
|
- - ">="
|
516
556
|
- !ruby/object:Gem::Version
|
517
557
|
version: '0'
|
518
|
-
description: Faalis is a ruby on rails engine which provides a
|
519
|
-
|
558
|
+
description: Faalis is a ruby on rails engine which provides a platform to easily
|
559
|
+
build a web application. Features like Dashboard, complex code generation and other
|
560
|
+
awesome features. For more information checkout the docs.
|
520
561
|
email:
|
521
562
|
- lxsameer@gnu.org
|
522
563
|
- yottanami@gnu.org
|
@@ -549,6 +590,7 @@ files:
|
|
549
590
|
- app/assets/javascripts/faalis/dashboard/controllers/group.js.coffee
|
550
591
|
- app/assets/javascripts/faalis/dashboard/functions.js.erb
|
551
592
|
- app/assets/javascripts/faalis/dashboard/init.js
|
593
|
+
- app/assets/javascripts/faalis/dashboard/lib/api_result.js.coffee
|
552
594
|
- app/assets/javascripts/faalis/dashboard/lib/button.js.coffee
|
553
595
|
- app/assets/javascripts/faalis/dashboard/lib/controllers.js.coffee
|
554
596
|
- app/assets/javascripts/faalis/dashboard/lib/controllers/base_controller.js.coffee
|
@@ -593,19 +635,6 @@ files:
|
|
593
635
|
- app/assets/javascripts/faalis/dashboard/services/api.js.coffee
|
594
636
|
- app/assets/javascripts/faalis/dashboard/services/resource_factory.js.coffee
|
595
637
|
- app/assets/javascripts/faalis/dashboard/services/user.js.coffee
|
596
|
-
- app/assets/javascripts/faalis/dashboard/templates/application.handlebars.erb
|
597
|
-
- app/assets/javascripts/faalis/dashboard/templates/auth/groups/details.handlebars.erb
|
598
|
-
- app/assets/javascripts/faalis/dashboard/templates/auth/groups/index.handlebars.erb
|
599
|
-
- app/assets/javascripts/faalis/dashboard/templates/auth/groups/new.handlebars.erb
|
600
|
-
- app/assets/javascripts/faalis/dashboard/templates/auth/index.handlebars.erb
|
601
|
-
- app/assets/javascripts/faalis/dashboard/templates/auth/users/details.handlebars.erb
|
602
|
-
- app/assets/javascripts/faalis/dashboard/templates/auth/users/index.handlebars.erb
|
603
|
-
- app/assets/javascripts/faalis/dashboard/templates/auth/users/new.handlebars.erb
|
604
|
-
- app/assets/javascripts/faalis/dashboard/templates/components/list-view.handlebars.erb
|
605
|
-
- app/assets/javascripts/faalis/dashboard/templates/components/model-form.handlebars.erb
|
606
|
-
- app/assets/javascripts/faalis/dashboard/templates/modules.handlebars.erb
|
607
|
-
- app/assets/javascripts/faalis/dashboard/templates/navigation.handlebars.erb
|
608
|
-
- app/assets/javascripts/faalis/dashboard/templates/widgets.handlebars
|
609
638
|
- app/assets/javascripts/faalis/dashboard/variables.js.erb
|
610
639
|
- app/assets/javascripts/faalis/groups.js
|
611
640
|
- app/assets/javascripts/faalis/home.js
|
@@ -616,7 +645,8 @@ files:
|
|
616
645
|
- app/assets/javascripts/faalis/users.js
|
617
646
|
- app/assets/locale/templates.fa.pot
|
618
647
|
- app/assets/locale/templates.pot
|
619
|
-
- app/
|
648
|
+
- app/assets/stylesheets/faalis/dashboard/ltr/application.css
|
649
|
+
- app/assets/stylesheets/faalis/dashboard/rtl/application.css
|
620
650
|
- app/controllers/faalis/api/v1/conversations_controller.rb
|
621
651
|
- app/controllers/faalis/api/v1/groups_controller.rb
|
622
652
|
- app/controllers/faalis/api/v1/logs_controller.rb
|
@@ -790,7 +820,6 @@ files:
|
|
790
820
|
- lib/faalis/generators/concerns/tabs.rb
|
791
821
|
- lib/faalis/generators/concerns/where.rb
|
792
822
|
- lib/faalis/generators/dashboard_scaffold.rb
|
793
|
-
- lib/faalis/generators/fields/#relation.rb#
|
794
823
|
- lib/faalis/generators/fields/relation.rb
|
795
824
|
- lib/faalis/i18n.rb
|
796
825
|
- lib/faalis/initialize.rb
|
@@ -891,10 +920,8 @@ files:
|
|
891
920
|
- spec/dummy/config/locales/en.yml
|
892
921
|
- spec/dummy/config/routes.rb
|
893
922
|
- spec/dummy/db/development.sqlite3
|
894
|
-
- spec/dummy/db/migrate/
|
923
|
+
- spec/dummy/db/migrate/20150121060012_create_application_models.model_discovery_engine.rb
|
895
924
|
- spec/dummy/db/schema.rb
|
896
|
-
- spec/dummy/db/seeds.rb
|
897
|
-
- spec/dummy/db/seeds.rb~
|
898
925
|
- spec/dummy/db/test.sqlite3
|
899
926
|
- spec/dummy/log/development.log
|
900
927
|
- spec/dummy/log/test.log
|
@@ -935,58 +962,56 @@ rubyforge_project:
|
|
935
962
|
rubygems_version: 2.2.0
|
936
963
|
signing_key:
|
937
964
|
specification_version: 4
|
938
|
-
summary: Faalis is a ruby on rails engine which provides a
|
939
|
-
|
965
|
+
summary: Faalis is a ruby on rails engine which provides a platform to easily build
|
966
|
+
a web application
|
940
967
|
test_files:
|
941
|
-
- spec/
|
968
|
+
- spec/support/factory_girl.rb
|
969
|
+
- spec/spec_helper.rb
|
942
970
|
- spec/models/faalis/group_spec.rb
|
971
|
+
- spec/models/faalis/permission_spec.rb
|
943
972
|
- spec/models/faalis/user_spec.rb
|
944
|
-
- spec/
|
945
|
-
- spec/
|
946
|
-
- spec/
|
947
|
-
- spec/support/factory_girl.rb
|
948
|
-
- spec/dummy/app/controllers/api_controller.rb
|
949
|
-
- spec/dummy/app/controllers/application_controller.rb
|
950
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
951
|
-
- spec/dummy/app/helpers/application_helper.rb
|
952
|
-
- spec/dummy/app/assets/javascripts/application.js
|
953
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
973
|
+
- spec/factories/faalis/permissions.rb
|
974
|
+
- spec/factories/faalis/users.rb
|
975
|
+
- spec/factories/faalis/groups.rb
|
954
976
|
- spec/dummy/log/development.log
|
955
977
|
- spec/dummy/log/test.log
|
956
|
-
- spec/dummy/
|
957
|
-
- spec/dummy/bin/rails
|
958
|
-
- spec/dummy/bin/rake
|
978
|
+
- spec/dummy/public/500.html
|
959
979
|
- spec/dummy/public/404.html
|
960
980
|
- spec/dummy/public/422.html
|
961
|
-
- spec/dummy/public/500.html
|
962
981
|
- spec/dummy/public/favicon.ico
|
963
|
-
- spec/dummy/
|
964
|
-
- spec/dummy/
|
982
|
+
- spec/dummy/config.ru
|
983
|
+
- spec/dummy/README.rdoc
|
965
984
|
- spec/dummy/db/schema.rb
|
985
|
+
- spec/dummy/db/migrate/20150121060012_create_application_models.model_discovery_engine.rb
|
966
986
|
- spec/dummy/db/test.sqlite3
|
967
|
-
- spec/dummy/db/
|
968
|
-
- spec/dummy/
|
969
|
-
- spec/dummy/
|
987
|
+
- spec/dummy/db/development.sqlite3
|
988
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
989
|
+
- spec/dummy/app/assets/javascripts/application.js
|
990
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
991
|
+
- spec/dummy/app/controllers/api_controller.rb
|
992
|
+
- spec/dummy/app/controllers/application_controller.rb
|
993
|
+
- spec/dummy/app/helpers/application_helper.rb
|
994
|
+
- spec/dummy/Rakefile
|
995
|
+
- spec/dummy/bin/rake
|
996
|
+
- spec/dummy/bin/bundle
|
997
|
+
- spec/dummy/bin/rails
|
970
998
|
- spec/dummy/config/application.rb
|
971
|
-
- spec/dummy/config/environments/development.rb
|
972
999
|
- spec/dummy/config/environments/test.rb
|
1000
|
+
- spec/dummy/config/environments/development.rb
|
973
1001
|
- spec/dummy/config/environments/production.rb
|
974
|
-
- spec/dummy/config/
|
975
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
976
|
-
- spec/dummy/config/initializers/secret_token.rb
|
977
|
-
- spec/dummy/config/initializers/session_store.rb
|
978
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
979
|
-
- spec/dummy/config/initializers/faalis.rb
|
980
|
-
- spec/dummy/config/initializers/mime_types.rb
|
981
|
-
- spec/dummy/config/initializers/inflections.rb
|
1002
|
+
- spec/dummy/config/routes.rb
|
982
1003
|
- spec/dummy/config/environment.rb
|
983
1004
|
- spec/dummy/config/database.yml
|
984
1005
|
- spec/dummy/config/locales/en.yml
|
985
|
-
- spec/dummy/config/routes.rb
|
986
1006
|
- spec/dummy/config/boot.rb
|
987
|
-
- spec/dummy/
|
988
|
-
- spec/dummy/
|
989
|
-
- spec/
|
990
|
-
- spec/
|
991
|
-
- spec/
|
1007
|
+
- spec/dummy/config/initializers/session_store.rb
|
1008
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
1009
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
1010
|
+
- spec/dummy/config/initializers/inflections.rb
|
1011
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
1012
|
+
- spec/dummy/config/initializers/mime_types.rb
|
1013
|
+
- spec/dummy/config/initializers/secret_token.rb
|
1014
|
+
- spec/dummy/config/initializers/faalis.rb
|
1015
|
+
- spec/policies/faalis/admin_only_policy_spec.rb
|
1016
|
+
- spec/policies/faalis/application_policy_spec.rb
|
992
1017
|
has_rdoc:
|
@@ -1,42 +0,0 @@
|
|
1
|
-
<div id="content" class="">
|
2
|
-
<header>
|
3
|
-
{{ render "navigation" }}
|
4
|
-
</header>
|
5
|
-
|
6
|
-
<section class="dashboard-body">
|
7
|
-
<div class="row">
|
8
|
-
<aside class="modulebar small-2 columns">
|
9
|
-
{{ render "modules"}}
|
10
|
-
</aside>
|
11
|
-
|
12
|
-
<section class="small-10 columns dashboard-content">
|
13
|
-
|
14
|
-
<div class="row content">
|
15
|
-
<div id="flash" class="row success">
|
16
|
-
<div class="small-12 columns">
|
17
|
-
</div>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
|
21
|
-
<div class="row search-bar">
|
22
|
-
<div class="small-5 columns text-right float-right">
|
23
|
-
<div class="row collapse">
|
24
|
-
|
25
|
-
<div class="small-12 columns ">
|
26
|
-
<input type="search" class="append" placeholder="search ..."/>
|
27
|
-
<span class="append radius"><i class="fa fa-search"></i></span>
|
28
|
-
</div>
|
29
|
-
</div>
|
30
|
-
</div>
|
31
|
-
</div>
|
32
|
-
|
33
|
-
|
34
|
-
<div class="row content">
|
35
|
-
{{ outlet }}
|
36
|
-
</div>
|
37
|
-
|
38
|
-
</section>
|
39
|
-
|
40
|
-
</div>
|
41
|
-
</section>
|
42
|
-
</div>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<p>{{_ 'ID'}}: <strong>{{ id }}</strong></p>
|
2
|
-
<p>{{_ 'Name'}}: <strong>{{ name }}</strong></p>
|
3
|
-
<div class="row">
|
4
|
-
<div class="small-12 column text-right">
|
5
|
-
<ul class="button-group float-right">
|
6
|
-
{{#link-to user.edit class=" small"}}
|
7
|
-
<span class="fa fa-edit"></span> {{_ 'Edit'}}
|
8
|
-
{{/link-to}}
|
9
|
-
{{#link-to user.show class="small"}}
|
10
|
-
<span class="fa fa-eye"> {{_ 'Show'}}{{/link-to}}
|
11
|
-
{{#link-to user.show class="small"}}
|
12
|
-
<span class="fa fa-check-circle-o"> {{_ 'Active'}}{{/link-to}}
|
13
|
-
</ul>
|
14
|
-
</div>
|
15
|
-
</div>
|
@@ -1,7 +0,0 @@
|
|
1
|
-
<div class="row clearmargin">
|
2
|
-
<div class="small-6 column text-left clearpadding">
|
3
|
-
<h3><i class="fa fa-group"></i> {{_ 'Groups'}}</h3>
|
4
|
-
</div>
|
5
|
-
</div>
|
6
|
-
|
7
|
-
{{list-view model=model title_field="name" delete_items="delete_items" buttons=buttons details_template="auth/groups/details" items_per_page=5}}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
<div class="newform">
|
2
|
-
<fieldset class="form">
|
3
|
-
|
4
|
-
<legend>{{_ 'New Group'}}</legend>
|
5
|
-
|
6
|
-
<div class="row">
|
7
|
-
<div class="small-4 columns">
|
8
|
-
<label >{{_ 'Name'}}:</label>
|
9
|
-
{{input id="new_name" type="text" value=new_name class=""}}
|
10
|
-
<small></small>
|
11
|
-
</div>
|
12
|
-
</div>
|
13
|
-
|
14
|
-
<div class="row">
|
15
|
-
<label for="permissions">{{_ "Permissions"}}:</label>
|
16
|
-
|
17
|
-
<div class="small-10 columns permissions">
|
18
|
-
|
19
|
-
<div class="row">
|
20
|
-
<div id="permissions" class="small-8 columns field">
|
21
|
-
<ul>
|
22
|
-
{{#each permission in permissions}}
|
23
|
-
<li {{bind-attr id=permission.name class=permission.is_selected:selected}} {{action 'select_permission' permission}}><i {{bind-attr class=":fa :fa-check permission.is_selected:green-text:hide"}}></i> {{ permission.string }} </li>
|
24
|
-
{{/each}}
|
25
|
-
</ul>
|
26
|
-
</div>
|
27
|
-
</div>
|
28
|
-
</div>
|
29
|
-
</div>
|
30
|
-
</fieldset>
|
31
|
-
|
32
|
-
|
33
|
-
<div class="row">
|
34
|
-
<div class="small-6 columns">
|
35
|
-
<button class="btn small green" {{action "save_group"}}><i class="fa fa-check"></i> {{_ "Save"}}</button>
|
36
|
-
<button class="btn small red" {{action "cancel"}}><i class="fa fa-times"></i> {{_ "Cancel"}}</button>
|
37
|
-
</div>
|
38
|
-
</div>
|
39
|
-
</div>
|
@@ -1,31 +0,0 @@
|
|
1
|
-
<div class="row clearmargin">
|
2
|
-
|
3
|
-
<div class="columns large-5 small-offset-1 clearpadding">
|
4
|
-
{{#link-to 'users'}}
|
5
|
-
<div class="widget red">
|
6
|
-
|
7
|
-
<div class="text-center">
|
8
|
-
<span class="icon text-4x"><i class="fa fa-user"></i></span>
|
9
|
-
<span class="text-2x">{{_ 'Users'}}</span>
|
10
|
-
</div>
|
11
|
-
|
12
|
-
</div>
|
13
|
-
{{/link-to}}
|
14
|
-
</div>
|
15
|
-
|
16
|
-
|
17
|
-
<div class="columns large-5 clearpadding">
|
18
|
-
{{#link-to 'groups'}}<div class="widget blue">
|
19
|
-
|
20
|
-
<div class=" text-center">
|
21
|
-
<span class="icon text-4x"><i class="fa fa-group"></i></span>
|
22
|
-
<span class="text-2x">{{_ 'Groups'}}</span>
|
23
|
-
</div>
|
24
|
-
|
25
|
-
|
26
|
-
</div>{{/link-to}}
|
27
|
-
</div>
|
28
|
-
|
29
|
-
</div>
|
30
|
-
|
31
|
-
{{outlet}}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<p>{{_ 'ID'}}: <strong>{{ id }}</strong></p>
|
2
|
-
<p>{{_ 'Email'}}: <strong>{{ email }}</strong></p>
|
3
|
-
<div class="row">
|
4
|
-
<div class="small-12 column text-right">
|
5
|
-
<ul class="button-group float-right">
|
6
|
-
{{#link-to user.edit class=" small"}}
|
7
|
-
<span class="fa fa-edit"></span> {{_ 'Edit'}}
|
8
|
-
{{/link-to}}
|
9
|
-
{{#link-to user.show class="small"}}
|
10
|
-
<span class="fa fa-eye"> {{_ 'Show'}}{{/link-to}}
|
11
|
-
{{#link-to user.show class="small"}}
|
12
|
-
<span class="fa fa-check-circle-o"> {{_ 'Active'}}{{/link-to}}
|
13
|
-
</ul>
|
14
|
-
</div>
|
15
|
-
</div>
|
@@ -1,11 +0,0 @@
|
|
1
|
-
|
2
|
-
<div class="row clearmargin">
|
3
|
-
<div class="small-6 column text-left clearpadding">
|
4
|
-
<h3><i class="fa fa-group"></i> {{_ 'Users'}}</h3>
|
5
|
-
</div>
|
6
|
-
</div>
|
7
|
-
|
8
|
-
{{ outlet }}
|
9
|
-
|
10
|
-
|
11
|
-
{{list-view model=model title_field="email" buttons=buttons delete_items="delete_items" details_template="auth/users/details" items_per_page=10}}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
<div class="newform">
|
2
|
-
<fieldset class="form">
|
3
|
-
|
4
|
-
<legend>{{_ 'New User'}}</legend>
|
5
|
-
|
6
|
-
<div class="row">
|
7
|
-
<div class="small-6 columns">
|
8
|
-
<label for="first_name" >{{_ 'First Name'}}:</label>
|
9
|
-
{{input value=first_name id="first_name" type="text" name="first_name" value=first_name class="small-8 columns"}}
|
10
|
-
</div>
|
11
|
-
|
12
|
-
<div class="small-6 columns">
|
13
|
-
<label for="last_name" >{{_ 'Last Name'}}:</label>
|
14
|
-
{{input value=last_name id="last_name" type="text" name="last_name" value=last_name class="small-8 columns"}}
|
15
|
-
</div>
|
16
|
-
|
17
|
-
<div class="small-6 columns float-left">
|
18
|
-
<label for="email" >{{_ 'E-mail'}}:</label>
|
19
|
-
{{input value=email id="email" type="text" name="email" value=email class="small-8 columns"}}
|
20
|
-
</div>
|
21
|
-
|
22
|
-
</div>
|
23
|
-
|
24
|
-
</fieldset>
|
25
|
-
|
26
|
-
|
27
|
-
<div class="row">
|
28
|
-
<div class="small-6 columns">
|
29
|
-
<button class="btn small green" {{action "add_user"}}><i class="fa fa-check"></i> {{_ "Save"}}</button>
|
30
|
-
<button class="btn small red"><i class="fa fa-times"></i> {{_ "Cancel"}}</button>
|
31
|
-
</div>
|
32
|
-
</div>
|
33
|
-
</div>
|