Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ulakbus-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ulakbus
ulakbus-ui
Commits
e455cb3c
Commit
e455cb3c
authored
Nov 26, 2015
by
Evren Kutar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#52 de belirtilen islemler gerceklestirildi test edilmeleri gerekli
parent
562f8061
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
155 additions
and
47 deletions
+155
-47
app.css
app/app.css
+1
-1
crud_controller.js
app/components/crud/crud_controller.js
+8
-0
crud.html
app/components/crud/templates/crud.html
+8
-3
filter.html
app/components/crud/templates/filter.html
+14
-0
search.html
app/shared/templates/directives/search.html
+1
-1
sidebar.html
app/shared/templates/directives/sidebar.html
+3
-4
linkedModelModalContent.html
app/shared/templates/linkedModelModalContent.html
+7
-2
form_service.js
app/zetalib/form_service.js
+113
-36
No files found.
app/app.css
View file @
e455cb3c
...
...
@@ -1636,6 +1636,6 @@ table.dataTable thead .sorting:after {
}
/* end page transitions */
.move-to-bottom
,
.move-to-top
{
.move-to-bottom
,
.move-to-top
,
.move-to-bottom-modal
,
.move-to-top-modal
{
margin-right
:
10px
!important
;
}
\ No newline at end of file
app/components/crud/crud_controller.js
View file @
e455cb3c
...
...
@@ -260,4 +260,12 @@ angular.module('ulakbus.crud', ['ui.bootstrap', 'schemaForm', 'formService'])
scope
.
$emit
(
'formLocator'
);
}
}
})
.
directive
(
'crudFilters'
,
function
()
{
return
{
templateUrl
:
'components/crud/templates/filter.html'
,
restrict
:
'E'
,
replace
:
true
};
});
\ No newline at end of file
app/components/crud/templates/crud.html
View file @
e455cb3c
<crud-show-directive
ng-if=
"object"
></crud-show-directive>
<crud-form-directive
ng-if=
"forms"
></crud-form-directive>
<crud-list-directive
ng-if=
"objects"
></crud-list-directive>
\ No newline at end of file
<div
class=
"row"
>
<div
class=
"col-md-8"
>
<crud-show-directive
ng-if=
"object"
></crud-show-directive>
<crud-form-directive
ng-if=
"forms"
></crud-form-directive>
<crud-list-directive
ng-if=
"objects"
></crud-list-directive>
</div>
<crud-filters
ng-if=
"meta.allow_filters === true"
class=
"col-md-4"
></crud-filters>
</div>
\ No newline at end of file
app/components/crud/templates/filter.html
0 → 100644
View file @
e455cb3c
<div>
<div
class=
"right-sidebar-box"
>
<div
class=
"right-sidebar-messages"
>
<div
class=
"right-sidebar-title clearfix"
>
<h3>
Filtre basligi
</h3>
</div>
<div
class=
"right-sidebar-message-block"
>
</div>
</div>
</div>
</div>
\ No newline at end of file
app/shared/templates/directives/search.html
View file @
e455cb3c
<form
class=
"form-inline
col-md-8
"
id=
"search"
name=
"search"
sf-schema=
"searchSchema"
sf-form=
"searchForm"
<form
class=
"form-inline
pull-right
"
id=
"search"
name=
"search"
sf-schema=
"searchSchema"
sf-form=
"searchForm"
sf-model=
"searchModel"
ng-submit=
"searchSubmit(search)"
></form>
\ No newline at end of file
app/shared/templates/directives/sidebar.html
View file @
e455cb3c
...
...
@@ -24,10 +24,9 @@
</a>
<ul
class=
"nav nav-second-level"
ng-class=
"{hidden: $root.collapsed}"
>
<li
ng-repeat=
"(k, v) in item"
>
<a
ng-if=
"v['baseCategory'] == 'other'"
ng-href=
"#{{v.url}}"
ng-
ng-click=
"breadcrumb([key, v.text], $event)"
>
{{v.text}}
</a>
<a
ng-if=
"v['baseCategory'] == 'ogrenci' || v['baseCategory'] == 'personel'"
ng-href=
"#/{{v.wf}}/{{v.model}}?{{v.param}}={{$root.selectedUser.key}}"
<!--<a ng-if="v.model" ng-href="#{{v.url}}" ng- -->
<!--ng-click="breadcrumb([key, v.text], $event)">{{v.text}}</a>-->
<a
ng-href=
"#/{{v.wf}}/{{v.model}}?{{v.param}}={{$root.selectedUser.key}}"
ng-click=
"breadcrumb([key, v.text], $event)"
>
{{v.text}}
</a>
</li>
</ul>
...
...
app/shared/templates/linkedModelModalContent.html
View file @
e455cb3c
<div
class=
"modal-body"
>
<h3>
{{schema.title}}
</h3>
<form
name=
"linkedModelForm"
sf-schema=
"schema"
sf-form=
"form"
sf-model=
"model"
></form>
<div
class=
"buttons-on-top-modal"
></div>
<hr>
<form
name=
"linkedModelForm"
sf-schema=
"schema"
sf-form=
"form"
sf-model=
"model"
modal-form-locator
></form>
<hr>
<div
class=
"buttons-on-bottom-modal"
></div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"submit"
class=
"btn btn-primary"
ng-click=
"onSubmit(linkedModelForm)"
>
OK
</button>
<!--<button type="submit" class="btn btn-primary" ng-click="onSubmit(linkedModelForm)">OK</button>-->
<button
type=
"button"
class=
"btn btn-warning"
ng-click=
"cancel()"
>
Cancel
</button>
</div>
\ No newline at end of file
app/zetalib/form_service.js
View file @
e455cb3c
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment