| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 | {{template "base/head" .}}{{template "base/navbar" .}}<div id="body" class="container" data-page="admin">    {{template "admin/nav" .}}    <div id="admin-container" class="col-md-9">        <div class="panel panel-default">            <div class="panel-heading">                Server Configuration            </div>            <div class="panel-body">                <dl class="dl-horizontal admin-dl-horizontal">                    <dt>Application Name</dt>                    <dd>{{AppName}}</dd>                    <dt>Application Version</dt>                    <dd>{{AppVer}}</dd>                    <dt>Application URL</dt>                    <dd>{{.AppUrl}}</dd>                    <dt>Domain</dt>                    <dd>{{.Domain}}</dd>                    <hr/>                    <dt>Run User</dt>                    <dd>{{.RunUser}}</dd>                    <dt>Run Mode</dt>                    <dd>{{.RunMode}}</dd>                    <hr/>                    <dt>Repository Root Path</dt>                    <dd>{{.RepoRootPath}}</dd>                </dl>            </div>        </div>        <div class="panel panel-default">            <div class="panel-heading">                Database Configuration            </div>            <div class="panel-body">                <dl class="dl-horizontal admin-dl-horizontal">                    <dt>Type</dt>                    <dd>{{.DbCfg.Type}}</dd>                    <dt>Host</dt>                    <dd>{{.DbCfg.Host}}</dd>                    <dt>Name</dt>                    <dd>{{.DbCfg.Name}}</dd>                    <dt>User</dt>                    <dd>{{.DbCfg.User}}</dd>                    <dt>SslMode</dt>                    <dd>{{.DbCfg.SslMode}} (for "postgres" only)</dd>                    <dt>Path</dt>                    <dd>{{.DbCfg.Path}} (for "sqlite3" only)</dd>                </dl>            </div>        </div>        <div class="panel panel-default">            <div class="panel-heading">                Service Configuration            </div>            <div class="panel-body">                <dl class="dl-horizontal admin-dl-horizontal">                    <dt>Register Email Confirmation</dt>                    <dd><i class="fa fa{{if .Service.RegisterEmailConfirm}}-check{{end}}-square-o"></i></dd>                    <dt>Disenable Registeration</dt>                    <dd><i class="fa fa{{if .Service.DisenableRegisteration}}-check{{end}}-square-o"></i></dd>                    <dt>Require Sign In View</dt>                    <dd><i class="fa fa{{if .Service.RequireSignInView}}-check{{end}}-square-o"></i></dd>                    <dt>Mail Notification</dt>                    <dd><i class="fa fa{{if .Service.NotifyMail}}-check{{end}}-square-o"></i></dd>                    <dt>Enable Cache Avatar</dt>                    <dd><i class="fa fa{{if .Service.EnableCacheAvatar}}-check{{end}}-square-o"></i></dd>                    <hr/>                    <dt>Active Code Lives</dt>                    <dd>{{.Service.ActiveCodeLives}} minutes</dd>                    <dt>Reset Password Code Lives</dt>                    <dd>{{.Service.ResetPwdCodeLives}} minutes</dd>                </dl>            </div>        </div>        <div class="panel panel-default">            <div class="panel-heading">                Mailer Configuration            </div>            <div class="panel-body">                <dl class="dl-horizontal admin-dl-horizontal">                    <dt>Enabled</dt>                    <dd><i class="fa fa{{if .MailerEnabled}}-check{{end}}-square-o"></i></dd>                    <dt>Name</dt>                    <dd>{{.Mailer.Name}}</dd>                    <dt>Host</dt>                    <dd>{{.Mailer.Host}}</dd>                    <dt>User</dt>                    <dd>{{.Mailer.User}}</dd>                </dl>            </div>        </div>        <div class="panel panel-default">            <div class="panel-heading">                Cache Configuration            </div>            <div class="panel-body">                <dl class="dl-horizontal admin-dl-horizontal">                    <dt>Cache Adapter</dt>                    <dd>{{.CacheAdapter}}</dd>                    <dt>Cache Config</dt>                    <dd><div style="padding-top: 5px;"><pre>{{.CacheConfig}}</pre></div></dd>                </dl>            </div>        </div>        <div class="panel panel-default">            <div class="panel-heading">                Session Configuration            </div>            <div class="panel-body">                <dl class="dl-horizontal admin-dl-horizontal">                    <dt>Session Provider</dt>                    <dd>{{.SessionProvider}}</dd>                    <dt>Cookie Name</dt>                    <dd>{{.SessionConfig.CookieName}}</dd>                    <dt>Enable Set Cookie</dt>                    <dd><i class="fa fa{{if .SessionConfig.EnableSetCookie}}-check{{end}}-square-o"></i></dd>                    <dt>GC Interval Time</dt>                    <dd>{{.SessionConfig.GcIntervalTime}} seconds</dd>                    <dt>Session Life Time</dt>                    <dd>{{.SessionConfig.SessionLifeTime}} seconds</dd>                    <dt>HTTPS Only</dt>                    <dd><i class="fa fa{{if .SessionConfig.CookieSecure}}-check{{end}}-square-o"></i></dd>                    <dt>Cookie Life Time</dt>                    <dd>{{.SessionConfig.CookieLifeTime}} seconds</dd>                    <dt>Session ID Hash Function</dt>                    <dd>{{.SessionConfig.SessionIDHashFunc}}</dd>                    <dt>Session ID Hash Key</dt>                    <dd>{{.SessionConfig.SessionIDHashKey}}</dd>                    <dt>Provider Config</dt>                    <dd>{{.SessionConfig.ProviderConfig}}</dd>                </dl>            </div>        </div>        <div class="panel panel-default">            <div class="panel-heading">                Picture Configuration            </div>            <div class="panel-body">                <dl class="dl-horizontal admin-dl-horizontal">                    <dt>Picture Service</dt>                    <dd>{{.PictureService}}</dd>                </dl>            </div>        </div>        <div class="panel panel-default">            <div class="panel-heading">                Log Configuration            </div>            <div class="panel-body">                <dl class="dl-horizontal admin-dl-horizontal">                    <dt>Log Mode</dt>                    <dd>{{.LogMode}}</dd>                    <dt>Log Config</dt>                    <dd>                        <div style="padding-top: 5px;"><pre>{{.LogConfig}}</pre></div>                    </dd>                </dl>                            </div>        </div>    </div></div>{{template "base/footer" .}}
 |