Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Ombi/commit/934425a0c5a94a87df485e2cc92ac9ef75f77f09
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
14 additions and
5 deletions
@ -59,6 +59,15 @@ namespace PlexRequests.Store
}
}
[JsonIgnore]
public bool CanApprove
{
get
{
return ! Approved & & ! Available ;
}
}
public bool UserHasRequested ( string username )
{
return AllUsers . Any ( x = > x . Equals ( username , StringComparison . OrdinalIgnoreCase ) ) ;
@ -186,4 +186,4 @@ label {
. no-search-results . no-search-results-text {
margin : 20px 0 ;
color : # ccc ; }
@ -1 +1 @@
@ media ( min-width : 768px ) { . row { position : relative ; } . bottom-align-text { position : absolute ; bottom : 0 ; right : 0 ; } } @ media ( max-width : 48em ) { . home { padding-top : 1 rem ; } } @ media ( min-width : 48em ) { . home { padding-top : 4 rem ; } } . btn { border-radius : .25 rem !important ; } . multiSelect { background-color : #4e5d6c ; } . form-control-custom { background-color : #4e5d6c !important ; color : #fff !important ; border-radius : 0 ; box-shadow : 0 0 0 !important ; } h1 { font-size : 3.5 rem !important ; font-weight : 600 !important ; } . request-title { margin-top : 0 !important ; font-size : 1.9 rem !important ; } p { font-size : 1.1 rem !important ; } label { display : inline-block !important ; margin-bottom : .5 rem !important ; font-size : 16 px !important ; } . nav-tabs > li . active > a , . nav-tabs > li . active > a : hover , . nav-tabs > li . active > a : focus { background : #4e5d6c ; } . navbar . nav a . fa { font-size : 130 % ; top : 1 px ; position : relative ; display : inline-block ; margin-right : 5 px ; } . btn-danger-outline { color : #d9534f !important ; background-color : transparent ; background-image : none ; border-color : #d9534f !important ; } . btn-danger-outline : focus , . btn-danger-outline . focus , . btn-danger-outline : active , . btn-danger-outline . active , . btn-danger-outline : hover , . open > . btn-danger-outline . dropdown-toggle { color : #fff !important ; background-color : #d9534f !important ; border-color : #d9534f !important ; } . btn-primary-outline { color : #ff761b !important ; background-color : transparent ; background-image : none ; border-color : #ff761b !important ; } . btn-primary-outline : focus , . btn-primary-outline . focus , . btn-primary-outline : active , . btn-primary-outline . active , . btn-primary-outline : hover , . open > . btn-primary-outline . dropdown-toggle { color : #fff !important ; background-color : #df691a !important ; border-color : #df691a !important ; } . btn-info-outline { color : #5bc0de !important ; background-color : transparent ; background-image : none ; border-color : #5bc0de !important ; } . btn-info-outline : focus , . btn-info-outline . focus , . btn-info-outline : active , . btn-info-outline . active , . btn-info-outline : hover , . open > . btn-info-outline . dropdown-toggle { color : #fff !important ; background-color : #5bc0de !important ; border-color : #5bc0de !important ; } . btn-warning-outline { color : #f0ad4e !important ; background-color : transparent ; background-image : none ; border-color : #f0ad4e !important ; } . btn-warning-outline : focus , . btn-warning-outline . focus , . btn-warning-outline : active , . btn-warning-outline . active , . btn-warning-outline : hover , . open > . btn-warning-outline . dropdown-toggle { color : #fff !important ; background-color : #f0ad4e !important ; border-color : #f0ad4e !important ; } . btn-success-outline { color : #5cb85c !important ; background-color : transparent ; background-image : none ; border-color : #5cb85c !important ; } . btn-success-outline : focus , . btn-success-outline . focus , . btn-success-outline : active , . btn-success-outline . active , . btn-success-outline : hover , . open > . btn-success-outline . dropdown-toggle { color : #fff !important ; background-color : #5cb85c !important ; border-color : #5cb85c !important ; } # movieList . mix { display : none ; } # tvList . mix { display : none ; } . no-search-results{ text-align : center ; } . no-search-results . no-search-results-icon { font-size : 10 em ; color : #4e5d6c ; } . no-search-results . no-search-results-text { margin : 20 px 0 ; color : #ccc ; }
@ media ( min-width : 768px ) { . row { position : relative ; } . bottom-align-text { position : absolute ; bottom : 0 ; right : 0 ; } } @ media ( max-width : 48em ) { . home { padding-top : 1 rem ; } } @ media ( min-width : 48em ) { . home { padding-top : 4 rem ; } } . btn { border-radius : .25 rem !important ; } . multiSelect { background-color : #4e5d6c ; } . form-control-custom { background-color : #4e5d6c !important ; color : #fff !important ; border-radius : 0 ; box-shadow : 0 0 0 !important ; } h1 { font-size : 3.5 rem !important ; font-weight : 600 !important ; } . request-title { margin-top : 0 !important ; font-size : 1.9 rem !important ; } p { font-size : 1.1 rem !important ; } label { display : inline-block !important ; margin-bottom : .5 rem !important ; font-size : 16 px !important ; } . nav-tabs > li . active > a , . nav-tabs > li . active > a : hover , . nav-tabs > li . active > a : focus { background : #4e5d6c ; } . navbar . nav a . fa { font-size : 130 % ; top : 1 px ; position : relative ; display : inline-block ; margin-right : 5 px ; } . btn-danger-outline { color : #d9534f !important ; background-color : transparent ; background-image : none ; border-color : #d9534f !important ; } . btn-danger-outline : focus , . btn-danger-outline . focus , . btn-danger-outline : active , . btn-danger-outline . active , . btn-danger-outline : hover , . open > . btn-danger-outline . dropdown-toggle { color : #fff !important ; background-color : #d9534f !important ; border-color : #d9534f !important ; } . btn-primary-outline { color : #ff761b !important ; background-color : transparent ; background-image : none ; border-color : #ff761b !important ; } . btn-primary-outline : focus , . btn-primary-outline . focus , . btn-primary-outline : active , . btn-primary-outline . active , . btn-primary-outline : hover , . open > . btn-primary-outline . dropdown-toggle { color : #fff !important ; background-color : #df691a !important ; border-color : #df691a !important ; } . btn-info-outline { color : #5bc0de !important ; background-color : transparent ; background-image : none ; border-color : #5bc0de !important ; } . btn-info-outline : focus , . btn-info-outline . focus , . btn-info-outline : active , . btn-info-outline . active , . btn-info-outline : hover , . open > . btn-info-outline . dropdown-toggle { color : #fff !important ; background-color : #5bc0de !important ; border-color : #5bc0de !important ; } . btn-warning-outline { color : #f0ad4e !important ; background-color : transparent ; background-image : none ; border-color : #f0ad4e !important ; } . btn-warning-outline : focus , . btn-warning-outline . focus , . btn-warning-outline : active , . btn-warning-outline . active , . btn-warning-outline : hover , . open > . btn-warning-outline . dropdown-toggle { color : #fff !important ; background-color : #f0ad4e !important ; border-color : #f0ad4e !important ; } . btn-success-outline { color : #5cb85c !important ; background-color : transparent ; background-image : none ; border-color : #5cb85c !important ; } . btn-success-outline : focus , . btn-success-outline . focus , . btn-success-outline : active , . btn-success-outline . active , . btn-success-outline : hover , . open > . btn-success-outline . dropdown-toggle { color : #fff !important ; background-color : #5cb85c !important ; border-color : #5cb85c !important ; } # movieList . mix { display : none ; } # tvList . mix { display : none ; } . scroll-top-wrapper{ position : fixed ; opacity : 0 ; visibility : hidden ; overflow : hidden ; text-align : center ; z-index : 99999999 ; background-color : #4e5d6c ; color : #eee ; width : 50 px ; height : 48 px ; line-height : 48 px ; right : 30 px ; bottom : 30 px ; padding-top : 2 px ; border-top-left-radius : 10 px ; border-top-right-radius : 10 px ; border-bottom-right-radius : 10 px ; border-bottom-left-radius : 10 px ; -webkit- transition : all .5 s ease-in-out ; -moz- transition : all .5 s ease-in-out ; -ms- transition : all .5 s ease-in-out ; -o- transition : all .5 s ease-in-out ; transition : all .5 s ease-in-out ; } . scroll-top-wrapper : hover { background-color : #637689 ; } . scroll-top-wrapper . show { visibility : visible ; cursor : pointer ; opacity : 1 ; } . scroll-top-wrapper i . fa { line-height : inherit ; } . no-search-results{ text-align : center ; } . no-search-results . no-search-results-icon { font-size : 10 em ; color : #4e5d6c ; } . no-search-results . no-search-results-text { margin : 20 px 0 ; color : #ccc ; }
@ -225,7 +225,7 @@ namespace PlexRequests.UI.Modules
return Response . AsJson ( new JsonResponseModel { Result = false , Message = "You are not an Admin, so you cannot approve any requests." } ) ;
}
var requests = Service . GetAll ( ) . Where ( x = > x . Approved = = fals e & & x . Type = = RequestType . Movie ) ;
var requests = Service . GetAll ( ) . Where ( x = > x . Can Approve & & x . Type = = RequestType . Movie ) ;
var requestedModels = requests as RequestedModel [ ] ? ? requests . ToArray ( ) ;
if ( ! requestedModels . Any ( ) )
{
@ -250,7 +250,7 @@ namespace PlexRequests.UI.Modules
return Response . AsJson ( new JsonResponseModel { Result = false , Message = "You are not an Admin, so you cannot approve any requests." } ) ;
}
var requests = Service . GetAll ( ) . Where ( x = > x . Approved = = fals e & & x . Type = = RequestType . TvShow ) ;
var requests = Service . GetAll ( ) . Where ( x = > x . Can Approve & & x . Type = = RequestType . TvShow ) ;
var requestedModels = requests as RequestedModel [ ] ? ? requests . ToArray ( ) ;
if ( ! requestedModels . Any ( ) )
{
@ -279,7 +279,7 @@ namespace PlexRequests.UI.Modules
return Response . AsJson ( new JsonResponseModel { Result = false , Message = "You are not an Admin, so you cannot approve any requests." } ) ;
}
var requests = Service . GetAll ( ) . Where ( x = > x . Approved = = fals e) ;
var requests = Service . GetAll ( ) . Where ( x = > x . Can Approve) ;
var requestedModels = requests as RequestedModel [ ] ? ? requests . ToArray ( ) ;
if ( ! requestedModels . Any ( ) )
{