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
478646db
Commit
478646db
authored
Mar 04, 2016
by
Evren Kutar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ADD reactor design changes
parent
167e8688
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
362 additions
and
3 deletions
+362
-3
app.js
app/app.js
+4
-0
staff.html
app/components/dashboard/user-templates/staff.html
+106
-0
student.html
app/components/dashboard/user-templates/student.html
+245
-0
version.js
app/components/version/version.js
+1
-1
main.js
app/main.js
+4
-0
app.js
dist/app.js
+2
-2
No files found.
app/app.js
View file @
478646db
...
@@ -55,6 +55,8 @@ angular.module(
...
@@ -55,6 +55,8 @@ angular.module(
angular
.
forEach
(
cookiearray
,
function
(
item
)
{
angular
.
forEach
(
cookiearray
,
function
(
item
)
{
if
(
item
.
indexOf
(
"backendurl"
)
>
-
1
)
{
if
(
item
.
indexOf
(
"backendurl"
)
>
-
1
)
{
backendurl
=
item
.
split
(
'='
)[
1
];
backendurl
=
item
.
split
(
'='
)[
1
];
if
(
backendurl
.
slice
(
-
1
)
!==
'/'
)
{
backendurl
+=
'/'
}
if
(
backendurl
.
substring
(
0
,
4
)
!==
'http'
)
{
backendurl
=
'http://'
+
backendurl
}
}
}
});
});
}
}
...
@@ -62,6 +64,8 @@ angular.module(
...
@@ -62,6 +64,8 @@ angular.module(
if
(
location
.
href
.
indexOf
(
"backendurl"
)
>
-
1
)
{
if
(
location
.
href
.
indexOf
(
"backendurl"
)
>
-
1
)
{
var
urlfromqstr
=
location
.
href
.
split
(
'?'
)[
1
].
split
(
'='
)[
1
];
var
urlfromqstr
=
location
.
href
.
split
(
'?'
)[
1
].
split
(
'='
)[
1
];
backendurl
=
decodeURIComponent
(
urlfromqstr
.
replace
(
/
\+
/g
,
" "
));
backendurl
=
decodeURIComponent
(
urlfromqstr
.
replace
(
/
\+
/g
,
" "
));
if
(
backendurl
.
slice
(
-
1
)
!==
'/'
)
{
backendurl
+=
'/'
}
if
(
backendurl
.
substring
(
0
,
4
)
!==
'http'
)
{
backendurl
=
'http://'
+
backendurl
}
document
.
cookie
=
"backendurl="
+
backendurl
;
document
.
cookie
=
"backendurl="
+
backendurl
;
window
.
location
.
href
=
window
.
location
.
href
.
split
(
'?'
)[
0
];
window
.
location
.
href
=
window
.
location
.
href
.
split
(
'?'
)[
0
];
}
}
...
...
app/components/dashboard/user-templates/staff.html
0 → 100644
View file @
478646db
<div
class=
"dashboard-main-search clearfix"
>
<div
class=
"row"
ng-if=
"$root.current_user.can_search"
>
<div
class=
"col-md-12"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<div
class=
"panel-title"
>
Arama
</div>
</div>
<div
class=
"panel-body"
>
<div
class=
"dashboard-student-search"
data-step=
"2"
data-intro=
"isim veya tcno ile öğrenci araması yapabilirsiniz."
ng-show=
"$root.searchInputs.ogrenci"
>
<div
class=
"text-center"
>
<h3>
ÖĞRENCİ
</h3>
<input
type=
"text"
placeholder=
"Öğrenci ara"
ng-model=
"keyword.student"
ng-keyup=
"search('ogrenci')"
>
<span
class=
"bordered-fa-icon fa fa-search"
ng-click=
"search('ogrenci')"
></span>
</div>
<div
class=
"dashboard-search-results"
ng-show=
"showResults"
>
<ul
ng-if=
"students.length > 0"
>
<li
ng-repeat=
"student in students"
>
<a
role=
"button"
>
<span
ng-click=
"select(student, 'ogrenci')"
>
{{student[0]}}
</span>
<i
class=
"fa fa-fw fa-info-circle pull-right"
popover-placement=
"bottom"
uib-popover-template=
"userPopover.templateUrl"
ng-click=
"get_info('Ogrenci', student[2])"
></i></a>
</li>
</ul>
</div>
<!-- end of dashboard-student-search-results -->
</div>
<!-- end of dashboard-student-search -->
<div
class=
"dashboard-personnel-search"
data-step=
"3"
data-intro=
"isim veya tcno ile personel araması yapabilirsiniz."
ng-show=
"$root.searchInputs.personel"
>
<div
class=
"text-center"
>
<h3>
PERSONEL
</h3>
<input
type=
"text"
placeholder=
"Personel ara"
ng-model=
"keyword.staff"
ng-keyup=
"search('personel')"
>
<span
class=
"bordered-fa-icon fa fa-search"
ng-click=
"search('personel')"
></span>
</div>
<div
class=
"dashboard-search-results"
ng-show=
"showResults"
>
<ul
ng-if=
"staffs.length > 0"
>
<li
ng-repeat=
"staff in staffs"
>
<a
role=
"button"
>
<span
ng-click=
"select(staff, 'personel')"
>
{{staff[0]}}
</span>
<i
class=
"fa fa-fw fa-info-circle pull-right"
popover-placement=
"bottom"
uib-popover-template=
"userPopover.templateUrl"
ng-click=
"get_info('Personel', staff[2])"
></i></a>
</li>
</ul>
</div>
<!-- end of dashboard-personnel-search-results -->
</div>
<!-- end of dashboard-personnel-search -->
</div>
</div>
</div>
</div>
</div>
<!-- end of dashboard-main-search -->
<div
class=
"row"
>
<div
class=
"col-md-12 quick-links"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<div
class=
"panel-title"
>
Hızlı İşlemler
</div>
<div
class=
"panel-action pull-right"
><i
class=
"fa fa-edit fa-fw"
></i>
Düzenle
</div>
</div>
<div
class=
"panel-body"
>
<div
class=
"col-md-6 text-center link-buttons"
ng-repeat=
"item in $root.quick_menu track by $index"
>
<a
ng-href=
"#/{{item.wf}}/{{item.model}}?{{item.param}}={{selectedUser.key}}"
>
{{item.text}}
</a>
</div>
</div>
</div>
</div>
</div>
<!-- end of row -->
<div
class=
"dashboard-main-anouncement clearfix"
>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<div
class=
"panel-title"
>
Duyurular
</div>
</div>
<div
class=
"panel-body"
>
<a
ng-click=
"markAsRead(notify)"
ng-repeat=
"notify in notifications[3] | limitTo:5"
>
{{notify
.body}}
</a>
</div>
</div>
</div>
</div>
</div>
<!-- end of dashboard-main-anouncement -->
\ No newline at end of file
app/components/dashboard/user-templates/student.html
0 → 100644
View file @
478646db
This diff is collapsed.
Click to expand it.
app/components/version/version.js
View file @
478646db
...
@@ -5,4 +5,4 @@ angular.module('ulakbus.version', [
...
@@ -5,4 +5,4 @@ angular.module('ulakbus.version', [
'ulakbus.version.version-directive'
'ulakbus.version.version-directive'
])
])
.
value
(
'version'
,
'0.6.10'
);
.
value
(
'version'
,
'0.8.0'
);
\ No newline at end of file
\ No newline at end of file
app/main.js
View file @
478646db
...
@@ -60,6 +60,8 @@ angular.module(
...
@@ -60,6 +60,8 @@ angular.module(
angular
.
forEach
(
cookiearray
,
function
(
item
)
{
angular
.
forEach
(
cookiearray
,
function
(
item
)
{
if
(
item
.
indexOf
(
"backendurl"
)
>
-
1
)
{
if
(
item
.
indexOf
(
"backendurl"
)
>
-
1
)
{
backendurl
=
item
.
split
(
'='
)[
1
];
backendurl
=
item
.
split
(
'='
)[
1
];
if
(
backendurl
.
slice
(
-
1
)
!==
'/'
)
{
backendurl
+=
'/'
}
if
(
backendurl
.
substring
(
0
,
4
)
!==
'http'
)
{
backendurl
=
'http://'
+
backendurl
}
}
}
});
});
}
}
...
@@ -67,6 +69,8 @@ angular.module(
...
@@ -67,6 +69,8 @@ angular.module(
if
(
location
.
href
.
indexOf
(
"backendurl"
)
>
-
1
)
{
if
(
location
.
href
.
indexOf
(
"backendurl"
)
>
-
1
)
{
var
urlfromqstr
=
location
.
href
.
split
(
'?'
)[
1
].
split
(
'='
)[
1
];
var
urlfromqstr
=
location
.
href
.
split
(
'?'
)[
1
].
split
(
'='
)[
1
];
backendurl
=
decodeURIComponent
(
urlfromqstr
.
replace
(
/
\+
/g
,
" "
));
backendurl
=
decodeURIComponent
(
urlfromqstr
.
replace
(
/
\+
/g
,
" "
));
if
(
backendurl
.
slice
(
-
1
)
!==
'/'
)
{
backendurl
+=
'/'
}
if
(
backendurl
.
substring
(
0
,
4
)
!==
'http'
)
{
backendurl
=
'http://'
+
backendurl
}
document
.
cookie
=
"backendurl="
+
backendurl
;
document
.
cookie
=
"backendurl="
+
backendurl
;
window
.
location
.
href
=
window
.
location
.
href
.
split
(
'?'
)[
0
];
window
.
location
.
href
=
window
.
location
.
href
.
split
(
'?'
)[
0
];
}
}
...
...
dist/app.js
View file @
478646db
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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