Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
L
Liman MYS - Çekirdek
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
liman
Liman MYS - Çekirdek
Commits
5d453986
Kaydet (Commit)
5d453986
authored
May 05, 2020
tarafından
Baran Sekin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Applied pretty code formating to our custom js and css files
üst
7fac604c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
88 additions
and
64 deletions
+88
-64
liman.css
resources/assets/css/liman.css
+42
-23
liman.js
resources/assets/js/liman.js
+0
-0
tus.js
resources/assets/js/tus.js
+46
-41
No files found.
resources/assets/css/liman.css
Dosyayı görüntüle @
5d453986
.nav-tabs
.nav-link
{
border-radius
:
0.25rem
;
border-radius
:
0.25rem
;
}
.nav-tabs
.nav-link.active
,
.nav-tabs
.show
>
.nav-link
{
color
:
#ffffff
;
background-color
:
#007bff
;
color
:
#ffffff
;
background-color
:
#007bff
;
}
.nav-tabs
{
border-bottom
:
0px
;
border-bottom
:
0px
;
}
.split
{
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
overflow-y
:
auto
;
overflow-x
:
hidden
;}
.gutter
{
background-color
:
transparent
;
background-repeat
:
no-repeat
;
background-position
:
50%
;}
.gutter.gutter-horizontal
{
cursor
:
col-resize
;
background-image
:
url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==')
;
}
.gutter.gutter-vertical
{
cursor
:
row-resize
;
background-image
:
url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=')
;
}
.split.split-horizontal
,
.gutter.gutter-horizontal
{
height
:
100%
;
float
:
left
;}
.split
{
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
}
.gutter
{
background-color
:
transparent
;
background-repeat
:
no-repeat
;
background-position
:
50%
;
}
.gutter.gutter-horizontal
{
cursor
:
col-resize
;
background-image
:
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==")
;
}
.gutter.gutter-vertical
{
cursor
:
row-resize
;
background-image
:
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=")
;
}
.split.split-horizontal
,
.gutter.gutter-horizontal
{
height
:
100%
;
float
:
left
;
}
.info-box-content
{
overflow
:
hidden
;
.info-box-content
{
overflow
:
hidden
;
}
table
.dataTable
tbody
tr
.selected
{
background-color
:
#B0BED
9
;
background-color
:
#b0bed
9
;
}
.customAlert
{
padding
:
10px
25px
10px
15px
!important
;
font-size
:
12px
;
border-radius
:
0px
;
text-align
:
center
;
text-shadow
:
3px
2px
3px
rgba
(
255
,
255
,
255
,
.2
);
border
:
0px
;
-webkit-box-shadow
:
0px
0px
15px
-2px
rgba
(
0
,
0
,
0
,
0.75
);
-moz-box-shadow
:
0px
0px
15px
-2px
rgba
(
0
,
0
,
0
,
0.75
);
box-shadow
:
0px
0px
15px
-2px
rgba
(
0
,
0
,
0
,
0.75
);
}
\ No newline at end of file
padding
:
10px
25px
10px
15px
!important
;
font-size
:
12px
;
border-radius
:
0px
;
text-align
:
center
;
text-shadow
:
3px
2px
3px
rgba
(
255
,
255
,
255
,
0.2
);
border
:
0px
;
-webkit-box-shadow
:
0px
0px
15px
-2px
rgba
(
0
,
0
,
0
,
0.75
);
-moz-box-shadow
:
0px
0px
15px
-2px
rgba
(
0
,
0
,
0
,
0.75
);
box-shadow
:
0px
0px
15px
-2px
rgba
(
0
,
0
,
0
,
0.75
);
}
resources/assets/js/liman.js
Dosyayı görüntüle @
5d453986
This diff is collapsed.
Click to expand it.
resources/assets/js/tus.js
Dosyayı görüntüle @
5d453986
function
upload
(
option
){
if
(
typeof
option
.
file
===
"undefined"
)
{
return
;
}
let
server_id
=
$
(
'meta[name=server_id]'
).
attr
(
"content"
);
let
extension_id
=
$
(
'meta[name=extension_id]'
).
attr
(
"content"
);
let
token
=
$
(
'meta[name=csrf-token]'
).
attr
(
"content"
);
function
upload
(
option
)
{
if
(
typeof
option
.
file
===
"undefined"
)
{
return
;
}
let
server_id
=
$
(
"meta[name=server_id]"
).
attr
(
"content"
);
let
extension_id
=
$
(
"meta[name=extension_id]"
).
attr
(
"content"
);
let
token
=
$
(
"meta[name=csrf-token]"
).
attr
(
"content"
);
var
upload
=
new
tus
.
Upload
(
option
.
file
,
{
endpoint
:
"/upload?extension_id="
+
extension_id
+
'&server_id='
+
server_id
+
'&x-csrf-token='
+
token
,
retryDelays
:
[
0
,
1000
,
3000
,
5000
,
10000
],
overridePatchMethod
:
true
,
chunkSize
:
1000
*
1000
,
resume
:
false
,
metadata
:
{
filename
:
option
.
file
.
name
,
filetype
:
option
.
file
.
type
},
onError
:
option
.
onError
,
onProgress
:
option
.
onProgress
,
onSuccess
:
function
(){
let
url_parts
=
upload
.
url
.
split
(
'/'
);
let
key
=
url_parts
[
url_parts
.
length
-
1
];
let
data
=
new
FormData
();
data
.
append
(
'key'
,
key
);
request
(
'/upload_info'
,
data
,
function
(
response
){
try
{
json
=
JSON
.
parse
(
response
);
upload
.
info
=
json
;
option
.
onSuccess
(
upload
);
}
catch
(
e
){}
});
},
headers
:
{
"server_id"
:
server_id
,
"extension_id"
:
extension_id
,
"x-csrf-token"
:
token
}
});
upload
.
start
();
}
\ No newline at end of file
var
upload
=
new
tus
.
Upload
(
option
.
file
,
{
endpoint
:
"/upload?extension_id="
+
extension_id
+
"&server_id="
+
server_id
+
"&x-csrf-token="
+
token
,
retryDelays
:
[
0
,
1000
,
3000
,
5000
,
10000
],
overridePatchMethod
:
true
,
chunkSize
:
1000
*
1000
,
resume
:
false
,
metadata
:
{
filename
:
option
.
file
.
name
,
filetype
:
option
.
file
.
type
,
},
onError
:
option
.
onError
,
onProgress
:
option
.
onProgress
,
onSuccess
:
function
()
{
let
url_parts
=
upload
.
url
.
split
(
"/"
);
let
key
=
url_parts
[
url_parts
.
length
-
1
];
let
data
=
new
FormData
();
data
.
append
(
"key"
,
key
);
request
(
"/upload_info"
,
data
,
function
(
response
)
{
try
{
json
=
JSON
.
parse
(
response
);
upload
.
info
=
json
;
option
.
onSuccess
(
upload
);
}
catch
(
e
)
{}
});
},
headers
:
{
server_id
:
server_id
,
extension_id
:
extension_id
,
"x-csrf-token"
:
token
,
},
});
upload
.
start
();
}
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