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
73e967d2
Commit
73e967d2
authored
Dec 22, 2015
by
Evren Kutar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
search fix
table index removed
parent
b4c649cf
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
14 deletions
+17
-14
crud_controller.js
app/components/crud/crud_controller.js
+3
-1
list.html
app/components/crud/templates/list.html
+5
-5
form_service.js
app/zetalib/form_service.js
+2
-1
app.js
dist/app.js
+2
-2
templates.js
dist/templates.js
+5
-5
No files found.
app/components/crud/crud_controller.js
View file @
73e967d2
...
@@ -10,7 +10,9 @@
...
@@ -10,7 +10,9 @@
angular
.
module
(
'ulakbus.crud'
,
[
'ui.bootstrap'
,
'schemaForm'
,
'formService'
])
angular
.
module
(
'ulakbus.crud'
,
[
'ui.bootstrap'
,
'schemaForm'
,
'formService'
])
.
config
(
function
(
sfErrorMessageProvider
)
{
.
config
(
function
(
sfErrorMessageProvider
)
{
sfErrorMessageProvider
.
setDefaultMessage
(
302
,
'Bu alan zorunludur.'
)
sfErrorMessageProvider
.
setDefaultMessage
(
302
,
'Bu alan zorunludur.'
);
sfErrorMessageProvider
.
setDefaultMessage
(
200
,
'En az {{schema.minLength}} değer giriniz.'
);
sfErrorMessageProvider
.
setDefaultMessage
(
201
,
'En fazla {{schema.minLength}} değer giriniz.'
);
})
})
/**
/**
...
...
app/components/crud/templates/list.html
View file @
73e967d2
...
@@ -12,8 +12,8 @@
...
@@ -12,8 +12,8 @@
<table
class=
"table table-bordered"
style=
"background-color:#fff;"
>
<table
class=
"table table-bordered"
style=
"background-color:#fff;"
>
<thead>
<thead>
<tr>
<tr>
<td
colspan=
"2
"
>
<td
ng-if=
"meta.allow_selection === true
"
>
<label
ng-if=
"meta.allow_selection === true"
>
<label>
<input
type=
"checkbox"
style=
"zoom:1.5; margin:5px 0 0 8px;"
>
<input
type=
"checkbox"
style=
"zoom:1.5; margin:5px 0 0 8px;"
>
Hepsini Seç
Hepsini Seç
</label>
</label>
...
@@ -25,12 +25,12 @@
...
@@ -25,12 +25,12 @@
</thead>
</thead>
<tbody>
<tbody>
<tr
ng-repeat=
"object in objects"
ng-if=
"$index>0"
>
<tr
ng-repeat=
"object in objects"
ng-if=
"$index>0"
>
<td
width=
"60"
>
<td
width=
"60"
ng-if=
"meta.allow_selection === true"
>
<label
ng-if=
"meta.allow_selection === true"
>
<label>
<input
type=
"checkbox"
style=
"zoom:1.5; margin:5px 0 0 8px;"
>
<input
type=
"checkbox"
style=
"zoom:1.5; margin:5px 0 0 8px;"
>
</label>
</label>
</td>
</td>
<
td
scope=
"row"
style=
"text-align:center"
>
{{$index}}
</td
>
<
!--<td scope="row" style="text-align:center">{{$index}}</td>--
>
<td
ng-repeat=
"field in object.fields track by $index"
>
<td
ng-repeat=
"field in object.fields track by $index"
>
<a
role=
"button"
ng-if=
"field.type==='link'"
<a
role=
"button"
ng-if=
"field.type==='link'"
...
...
app/zetalib/form_service.js
View file @
73e967d2
...
@@ -902,7 +902,8 @@ angular.module('formService', ['ui.bootstrap'])
...
@@ -902,7 +902,8 @@ angular.module('formService', ['ui.bootstrap'])
"cmd"
:
$scope
.
form_params
.
cmd
,
"cmd"
:
$scope
.
form_params
.
cmd
,
"flow"
:
$scope
.
form_params
.
flow
,
"flow"
:
$scope
.
form_params
.
flow
,
"object_id"
:
$scope
.
object_id
,
"object_id"
:
$scope
.
object_id
,
"filter"
:
$scope
.
filter
"filter"
:
$scope
.
filter
,
"query"
:
$scope
.
form_params
.
query
};
};
return
$http
.
post
(
generator
.
makeUrl
(
$scope
),
data
)
return
$http
.
post
(
generator
.
makeUrl
(
$scope
),
data
)
...
...
dist/app.js
View file @
73e967d2
This diff is collapsed.
Click to expand it.
dist/templates.js
View file @
73e967d2
...
@@ -175,8 +175,8 @@ angular.module("components/crud/templates/list.html", []).run(["$templateCache",
...
@@ -175,8 +175,8 @@ angular.module("components/crud/templates/list.html", []).run(["$templateCache",
" <table class=
\"
table table-bordered
\"
style=
\"
background-color:#fff;
\"
>
\n
"
+
" <table class=
\"
table table-bordered
\"
style=
\"
background-color:#fff;
\"
>
\n
"
+
" <thead>
\n
"
+
" <thead>
\n
"
+
" <tr>
\n
"
+
" <tr>
\n
"
+
" <td
colspan=
\"
2
\"
>
\n
"
+
" <td
ng-if=
\"
meta.allow_selection === true
\"
>
\n
"
+
" <label
ng-if=
\"
meta.allow_selection === true
\"
>
\n
"
+
" <label>
\n
"
+
" <input type=
\"
checkbox
\"
style=
\"
zoom:1.5; margin:5px 0 0 8px;
\"
>
\n
"
+
" <input type=
\"
checkbox
\"
style=
\"
zoom:1.5; margin:5px 0 0 8px;
\"
>
\n
"
+
" Hepsini Seç
\n
"
+
" Hepsini Seç
\n
"
+
" </label>
\n
"
+
" </label>
\n
"
+
...
@@ -188,12 +188,12 @@ angular.module("components/crud/templates/list.html", []).run(["$templateCache",
...
@@ -188,12 +188,12 @@ angular.module("components/crud/templates/list.html", []).run(["$templateCache",
" </thead>
\n
"
+
" </thead>
\n
"
+
" <tbody>
\n
"
+
" <tbody>
\n
"
+
" <tr ng-repeat=
\"
object in objects
\"
ng-if=
\"
$index>0
\"
>
\n
"
+
" <tr ng-repeat=
\"
object in objects
\"
ng-if=
\"
$index>0
\"
>
\n
"
+
" <td width=
\"
60
\"
>
\n
"
+
" <td width=
\"
60
\"
ng-if=
\"
meta.allow_selection === true
\"
>
\n
"
+
" <label
ng-if=
\"
meta.allow_selection === true
\"
>
\n
"
+
" <label>
\n
"
+
" <input type=
\"
checkbox
\"
style=
\"
zoom:1.5; margin:5px 0 0 8px;
\"
>
\n
"
+
" <input type=
\"
checkbox
\"
style=
\"
zoom:1.5; margin:5px 0 0 8px;
\"
>
\n
"
+
" </label>
\n
"
+
" </label>
\n
"
+
" </td>
\n
"
+
" </td>
\n
"
+
" <
td scope=
\"
row
\"
style=
\"
text-align:center
\"
>{{$index}}</td
>
\n
"
+
" <
!--<td scope=
\"
row
\"
style=
\"
text-align:center
\"
>{{$index}}</td>--
>
\n
"
+
"
\n
"
+
"
\n
"
+
" <td ng-repeat=
\"
field in object.fields track by $index
\"
>
\n
"
+
" <td ng-repeat=
\"
field in object.fields track by $index
\"
>
\n
"
+
" <a role=
\"
button
\"
ng-if=
\"
field.type==='link'
\"\n
"
+
" <a role=
\"
button
\"
ng-if=
\"
field.type==='link'
\"\n
"
+
...
...
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