2014-01-05 22:54:57 +00:00
|
|
|
<!DOCTYPE html>
|
2014-06-01 20:50:14 +00:00
|
|
|
<!--
|
2014-11-16 20:13:20 +00:00
|
|
|
// Copyright (C) 2014 The Syncthing Authors.
|
2014-09-29 19:43:32 +00:00
|
|
|
//
|
2015-03-07 20:36:35 +00:00
|
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
// You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2014-06-01 20:50:14 +00:00
|
|
|
-->
|
2014-11-26 12:39:59 +00:00
|
|
|
<html lang="en" ng-app="syncthing" ng-controller="SyncthingController" class="ng-cloak">
|
2014-01-05 22:54:57 +00:00
|
|
|
<head>
|
2014-04-09 21:00:23 +00:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="author" content="">
|
2014-11-26 12:39:59 +00:00
|
|
|
<link rel="shortcut icon" href="assets/img/favicon.png">
|
2014-04-09 21:00:23 +00:00
|
|
|
|
2015-07-20 09:18:48 +00:00
|
|
|
<title ng-bind="thisDeviceName() + ' | Syncthing'"></title>
|
2014-11-26 12:39:59 +00:00
|
|
|
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<link href="assets/font/raleway.css" rel="stylesheet">
|
|
|
|
<link href="assets/css/overrides.css" rel="stylesheet">
|
2014-01-05 22:54:57 +00:00
|
|
|
</head>
|
|
|
|
|
2014-05-16 16:42:22 +00:00
|
|
|
<body>
|
2014-04-09 21:00:23 +00:00
|
|
|
<!-- Top bar -->
|
|
|
|
|
|
|
|
<nav class="navbar navbar-top navbar-default" role="navigation">
|
2014-01-08 12:52:17 +00:00
|
|
|
<div class="container">
|
2015-03-18 11:51:23 +00:00
|
|
|
<span class="navbar-brand"><img class="logo" src="assets/img/logo-horizontal.svg" height="32" width="117"/></span>
|
2015-04-02 12:48:59 +00:00
|
|
|
<p class="navbar-text hidden-xs" ng-class="{'hidden-sm':upgradeInfo && upgradeInfo.newer}">{{thisDeviceName()}}</p>
|
2014-05-20 17:36:37 +00:00
|
|
|
<ul class="nav navbar-nav navbar-right">
|
2014-09-30 22:01:32 +00:00
|
|
|
<li ng-if="upgradeInfo && upgradeInfo.newer">
|
2014-09-10 09:27:21 +00:00
|
|
|
<button type="button" class="btn navbar-btn btn-primary btn-sm" href="" ng-click="upgrade()">
|
2015-05-27 19:54:00 +00:00
|
|
|
<span class="glyphicon glyphicon-chevron-up"></span>
|
2014-09-10 09:27:21 +00:00
|
|
|
<span translate translate-value-version="{{upgradeInfo.latest}}">Upgrade To {%version%}</span>
|
2014-07-20 11:49:26 +00:00
|
|
|
</button>
|
2014-07-14 08:45:29 +00:00
|
|
|
</li>
|
2015-04-22 12:41:08 +00:00
|
|
|
<li ng-if="upgradeInfo && upgradeInfo.majorNewer">
|
|
|
|
<button type="button" class="btn navbar-btn btn-danger btn-sm" href="" ng-click="upgradeMajor()">
|
2015-05-27 19:54:00 +00:00
|
|
|
<span class="glyphicon glyphicon-chevron-up"></span>
|
2015-04-22 12:41:08 +00:00
|
|
|
<span translate translate-value-version="{{upgradeInfo.latest}}">Upgrade To {%version%}</span>
|
|
|
|
</button>
|
|
|
|
</li>
|
2015-04-02 12:48:59 +00:00
|
|
|
<li class="dropdown" language-select></li>
|
2015-06-02 14:48:31 +00:00
|
|
|
<li class="hidden-xs">
|
2015-05-27 19:54:00 +00:00
|
|
|
<a href="http://docs.syncthing.net/intro/gui.html" target="_blank">
|
2015-06-02 14:48:31 +00:00
|
|
|
<span class="glyphicon glyphicon-book"></span> <span translate>Help</span>
|
2015-05-27 19:54:00 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
2014-05-24 19:56:09 +00:00
|
|
|
<li class="dropdown">
|
2015-07-20 12:48:03 +00:00
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-cog"></span> <span translate>Actions</span> <span class="caret"></span></a>
|
2014-05-20 17:36:37 +00:00
|
|
|
<ul class="dropdown-menu">
|
2015-05-27 19:54:00 +00:00
|
|
|
<li><a href="" ng-click="editSettings()"><span class="glyphicon glyphicon-cog"></span> <span translate>Settings</span></a></li>
|
|
|
|
<li><a href="" ng-click="idDevice()"><span class="glyphicon glyphicon-qrcode"></span> <span translate>Show ID</span></a></li>
|
2014-05-20 17:36:37 +00:00
|
|
|
<li class="divider"></li>
|
2015-05-27 19:54:00 +00:00
|
|
|
<li><a href="" ng-click="shutdown()"><span class="glyphicon glyphicon-off"></span> <span translate>Shutdown</span></a></li>
|
|
|
|
<li><a href="" ng-click="restart()"><span class="glyphicon glyphicon-refresh"></span> <span translate>Restart</span></a></li>
|
2014-07-07 10:58:56 +00:00
|
|
|
<li class="divider"></li>
|
2015-06-02 14:48:31 +00:00
|
|
|
<li class="visible-xs">
|
|
|
|
<a href="http://docs.syncthing.net/intro/gui.html" target="_blank">
|
|
|
|
<span class="glyphicon glyphicon-book"></span> <span translate>Help</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2015-05-27 19:54:00 +00:00
|
|
|
<li><a href="" ng-click="about()"><span class="glyphicon glyphicon-heart-empty"></span> <span translate>About</span></a></li>
|
2015-07-03 12:07:38 +00:00
|
|
|
<li class="divider"></li>
|
|
|
|
<li><a href="" ng-click="advanced()"><span class="glyphicon glyphicon-cog"></span> <span translate>Advanced</span></a></li>
|
2014-05-20 17:36:37 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2014-05-24 19:56:09 +00:00
|
|
|
</ul>
|
2014-02-12 11:10:44 +00:00
|
|
|
</div>
|
2014-04-09 21:00:23 +00:00
|
|
|
</nav>
|
2014-01-05 22:54:57 +00:00
|
|
|
|
2014-04-09 21:00:23 +00:00
|
|
|
<div class="container">
|
2014-02-12 22:18:41 +00:00
|
|
|
|
2015-01-23 15:28:30 +00:00
|
|
|
<!-- Panel: Restart Needed -->
|
2014-04-09 21:00:23 +00:00
|
|
|
|
|
|
|
<div ng-if="!configInSync" class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="panel panel-warning">
|
2015-01-23 15:28:30 +00:00
|
|
|
<div class="panel-heading"><h3 class="panel-title"><span class="glyphicon glyphicon-exclamation-sign"></span><span translate>Restart Needed</span></h3></div>
|
2014-04-09 21:00:23 +00:00
|
|
|
<div class="panel-body">
|
2014-07-20 11:49:26 +00:00
|
|
|
<p translate>The configuration has been saved but not activated. Syncthing must restart to activate the new configuration.</p>
|
2014-04-09 21:00:23 +00:00
|
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
2015-05-27 19:54:00 +00:00
|
|
|
<button type="button" class="btn btn-sm btn-default pull-right" ng-click="restart()"><span class="glyphicon glyphicon-refresh"></span> <span translate>Restart</span></button>
|
2014-04-09 21:00:23 +00:00
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
2014-01-05 22:54:57 +00:00
|
|
|
</div>
|
2014-04-09 21:00:23 +00:00
|
|
|
</div>
|
2014-02-12 11:10:44 +00:00
|
|
|
</div>
|
|
|
|
|
2015-01-23 15:28:30 +00:00
|
|
|
<!-- Panel: New Device -->
|
|
|
|
|
|
|
|
<div ng-repeat="(device, event) in deviceRejections" class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="panel panel-warning">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">
|
2015-05-27 19:54:00 +00:00
|
|
|
<identicon data-value="device"></identicon> <span translate>New Device</span>
|
2015-01-23 15:28:30 +00:00
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<p>
|
2015-05-21 08:40:46 +00:00
|
|
|
<small>{{ event.time | date:"yyyy-MM-dd HH:mm:ss" }}:</small>
|
2015-01-23 15:28:30 +00:00
|
|
|
<span translate translate-value-device="{{ device }}" translate-value-address="{{ event.data.address }}">
|
|
|
|
Device {%device%} ({%address%}) wants to connect. Add new device?
|
|
|
|
<span>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="panel-footer clearfix">
|
|
|
|
<div class="pull-right">
|
2015-05-27 19:54:00 +00:00
|
|
|
<button class="btn btn-sm btn-success" ng-click="addNewDeviceID(device)"><span class="glyphicon glyphicon-ok"></span> <span translate>Add</span></button>
|
|
|
|
<button class="btn btn-sm btn-danger" ng-click="ignoreRejectedDevice(device)"><span class="glyphicon glyphicon-remove"></span> <span translate>Ignore</span></button>
|
|
|
|
<button class="btn btn-sm btn-default" ng-click="dismissDeviceRejection(device)"><span class="glyphicon glyphicon-time"></span> <span translate>Later</span></button>
|
2015-01-23 15:28:30 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Panel: New Folder -->
|
|
|
|
|
|
|
|
<div ng-repeat="(key, event) in folderRejections" class="row reject">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="panel panel-warning">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title"><span class="glyphicon glyphicon-hdd"></span>
|
|
|
|
<span translate ng-if="!folders[event.data.folder]">New Folder</span>
|
|
|
|
<span translate ng-if="folders[event.data.folder]">Share Folder</span>
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<p>
|
2015-05-21 08:40:46 +00:00
|
|
|
<small>{{ event.time | date:"yyyy-MM-dd HH:mm:ss" }}:</small>
|
2015-01-23 15:28:30 +00:00
|
|
|
<span translate translate-value-device="{{ deviceName(findDevice(event.data.device)) }}" translate-value-folder="{{ event.data.folder }}">
|
|
|
|
{%device%} wants to share folder "{%folder%}".
|
|
|
|
</span>
|
|
|
|
<span translate ng-if="folders[event.data.folder]">Share this folder?</span>
|
|
|
|
<span translate ng-if="!folders[event.data.folder]">Add new folder?</span>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="panel-footer clearfix">
|
|
|
|
<div class="pull-right">
|
|
|
|
<button class="btn btn-sm btn-success" ng-click="addFolderAndShare(event.data.folder, event.data.device)" ng-if="!folders[event.data.folder]">
|
2015-05-27 19:54:00 +00:00
|
|
|
<span class="glyphicon glyphicon-ok"></span> <span translate>Add</span>
|
2015-01-23 15:28:30 +00:00
|
|
|
</button>
|
|
|
|
<button class="btn btn-sm btn-success" ng-click="shareFolderWithDevice(event.data.folder, event.data.device)" ng-if="folders[event.data.folder]">
|
2015-05-27 19:54:00 +00:00
|
|
|
<span class="glyphicon glyphicon-ok"></span> <span translate>Share</span>
|
2015-01-23 15:28:30 +00:00
|
|
|
</button>
|
|
|
|
<button class="btn btn-sm btn-default" ng-click="dismissFolderRejection(event.data.folder, event.data.device)">
|
2015-05-27 19:54:00 +00:00
|
|
|
<span class="glyphicon glyphicon-time"></span> <span translate>Later</span>
|
2015-01-23 15:28:30 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Panel: Notice -->
|
|
|
|
|
|
|
|
<div ng-if="errorList().length > 0" class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="panel panel-warning">
|
|
|
|
<div class="panel-heading"><h3 class="panel-title"><span class="glyphicon glyphicon-exclamation-sign"></span><span translate>Notice</span></h3></div>
|
|
|
|
<div class="panel-body">
|
2015-05-21 08:40:46 +00:00
|
|
|
<p ng-repeat="err in errorList()"><small>{{err.time | date:"yyyy-MM-dd HH:mm:ss"}}:</small> {{friendlyDevices(err.error)}}</p>
|
2015-01-23 15:28:30 +00:00
|
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
2015-05-27 19:54:00 +00:00
|
|
|
<button type="button" class="pull-right btn btn-sm btn-default" ng-click="clearErrors()"><span class="glyphicon glyphicon-ok"></span> <span translate>OK</span></button>
|
2015-01-23 15:28:30 +00:00
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-04-09 21:00:23 +00:00
|
|
|
<!-- First regular row -->
|
|
|
|
|
2014-02-12 11:10:44 +00:00
|
|
|
<div class="row">
|
2014-04-09 21:00:23 +00:00
|
|
|
|
2014-09-28 11:00:38 +00:00
|
|
|
<!-- Folder list (top left) -->
|
2014-04-09 21:00:23 +00:00
|
|
|
|
|
|
|
<div class="col-md-6">
|
2014-09-28 11:00:38 +00:00
|
|
|
<div class="panel-group" id="folders">
|
2015-01-08 10:04:27 +00:00
|
|
|
<div class="visible-xs"><h3><span translate>Folders</span></h3><hr></div>
|
2014-11-29 12:08:00 +00:00
|
|
|
<div class="panel panel-default" ng-repeat="folder in folderList()">
|
2014-09-28 11:00:38 +00:00
|
|
|
<div class="panel-heading" data-toggle="collapse" data-parent="#folders" href="#folder-{{$index}}" style="cursor: pointer">
|
2015-03-10 22:45:43 +00:00
|
|
|
<div class="panel-progress" ng-show="folderStatus(folder) == 'syncing'" ng-attr-style="width: {{syncPercentage(folder.id)}}%"></div>
|
2014-05-24 19:56:09 +00:00
|
|
|
<h3 class="panel-title">
|
2015-03-10 22:45:43 +00:00
|
|
|
<span class="glyphicon glyphicon-hdd hidden-xs"></span>{{folder.id}}
|
2015-01-08 10:04:27 +00:00
|
|
|
<span class="pull-right text-{{folderClass(folder)}}" ng-switch="folderStatus(folder)">
|
|
|
|
<span ng-switch-when="unknown"><span class="hidden-xs" translate>Unknown</span><span class="visible-xs">◼</span></span>
|
|
|
|
<span ng-switch-when="unshared"><span class="hidden-xs" translate>Unshared</span><span class="visible-xs">◼</span></span>
|
|
|
|
<span ng-switch-when="stopped"><span class="hidden-xs" translate>Stopped</span><span class="visible-xs">◼</span></span>
|
|
|
|
<span ng-switch-when="scanning"><span class="hidden-xs" translate>Scanning</span><span class="visible-xs">◼</span></span>
|
|
|
|
<span ng-switch-when="idle"><span class="hidden-xs" translate>Up to Date</span><span class="visible-xs">◼</span></span>
|
2014-09-08 17:46:33 +00:00
|
|
|
<span ng-switch-when="syncing">
|
2015-01-08 10:04:27 +00:00
|
|
|
<span class="hidden-xs" translate>Syncing</span>
|
2015-03-10 22:45:43 +00:00
|
|
|
({{syncPercentage(folder.id)}}%)
|
2014-09-08 17:46:33 +00:00
|
|
|
</span>
|
2015-06-26 12:22:52 +00:00
|
|
|
<span ng-switch-when="outofsync"><span class="hidden-xs" translate>Out of Sync</span><span class="visible-xs">◼</span></span>
|
2014-09-08 17:46:33 +00:00
|
|
|
</span>
|
2014-05-24 19:56:09 +00:00
|
|
|
</h3>
|
|
|
|
</div>
|
2015-02-19 14:48:43 +00:00
|
|
|
<div id="folder-{{$index}}" class="panel-collapse collapse">
|
2014-05-24 19:56:09 +00:00
|
|
|
<div class="panel-body">
|
2014-09-10 09:27:21 +00:00
|
|
|
<table class="table table-condensed table-striped">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-folder-open"></span> <span translate>Folder Path</span></th>
|
2015-03-10 22:45:43 +00:00
|
|
|
<td class="text-right">{{folder.path}}</td>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tr>
|
2015-04-12 20:12:01 +00:00
|
|
|
<tr ng-if="model[folder.id].invalid || model[folder.id].error">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-warning-sign"></span> <span translate>Error</span></th>
|
2015-04-12 20:12:01 +00:00
|
|
|
<td class="text-right">{{model[folder.id].invalid || model[folder.id].error}}</td>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-globe"></span> <span translate>Global State</span></th>
|
2015-03-10 22:45:43 +00:00
|
|
|
<td class="text-right">{{model[folder.id].globalFiles | alwaysNumber}} <span translate>items</span>, ~{{model[folder.id].globalBytes | binary}}B</td>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-home"></span> <span translate>Local State</span></th>
|
2015-03-10 22:45:43 +00:00
|
|
|
<td class="text-right">{{model[folder.id].localFiles | alwaysNumber}} <span translate>items</span>, ~{{model[folder.id].localBytes | binary}}B</td>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tr>
|
2015-03-10 22:45:43 +00:00
|
|
|
<tr ng-if="model[folder.id].needFiles > 0">
|
2015-07-03 12:07:38 +00:00
|
|
|
<th><span class="glyphicon glyphicon-cloud-download"></span> <span translate>Out of Sync</span></th>
|
2014-09-10 09:27:21 +00:00
|
|
|
<td class="text-right">
|
2015-03-10 22:45:43 +00:00
|
|
|
<a ng-click="showNeed(folder.id)" href="">{{model[folder.id].needFiles | alwaysNumber}} <span translate>items</span>, ~{{model[folder.id].needBytes | binary}}B</a>
|
2014-09-10 09:27:21 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2015-07-05 09:21:15 +00:00
|
|
|
<tr ng-if="!folder.readOnly && (folderStatus(folder) === 'outofsync' || hasFailedFiles(folder.id))">
|
2015-06-26 12:22:52 +00:00
|
|
|
<th><span class="glyphicon glyphicon-exclamation-sign"></span> <span translate>Failed Items</span></th>
|
|
|
|
<!-- Show the number of failed items as a link to bring up the list. -->
|
|
|
|
<td ng-if="hasFailedFiles(folder.id)" class="text-right">
|
|
|
|
<a ng-click="showFailed(folder.id)" href="">{{failed[folder.id].length | alwaysNumber}} <span translate>items</span></a>
|
|
|
|
</td>
|
|
|
|
<!-- The list of failed items hasn't loaded yet; show an ellipsis for the time being. -->
|
|
|
|
<td ng-if="!hasFailedFiles(folder.id)" class="text-right">
|
|
|
|
...
|
|
|
|
</td>
|
|
|
|
</tr>
|
2015-03-10 22:45:43 +00:00
|
|
|
<tr ng-if="folder.readOnly">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-lock"></span> <span translate>Folder Master</span></th>
|
2014-09-10 09:27:21 +00:00
|
|
|
<td class="text-right">
|
2014-11-27 19:43:00 +00:00
|
|
|
<span translate>Yes</span>
|
2014-09-10 09:27:21 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2015-03-10 22:45:43 +00:00
|
|
|
<tr ng-if="model[folder.id].ignorePatterns">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-eye-close"></span> <span translate>Ignore Patterns</span></th>
|
2015-01-27 14:27:44 +00:00
|
|
|
<td class="text-right">
|
|
|
|
<span translate>Yes</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2015-03-10 22:45:43 +00:00
|
|
|
<tr ng-if="folder.ignorePerms">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-unchecked"></span> <span translate>Ignore Permissions</span></th>
|
2014-09-10 09:27:21 +00:00
|
|
|
<td class="text-right">
|
2014-11-27 19:43:00 +00:00
|
|
|
<span translate>Yes</span>
|
2014-09-10 09:27:21 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2015-03-10 22:45:43 +00:00
|
|
|
<tr ng-if="folder.rescanIntervalS != 60">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-refresh"></span> <span translate>Rescan Interval</span></th>
|
2015-03-10 22:45:43 +00:00
|
|
|
<td class="text-right">{{folder.rescanIntervalS}} s</td>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tr>
|
2015-04-25 05:13:53 +00:00
|
|
|
<tr ng-if="folder.order != 'random'">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-sort"></span> <span translate>File Pull Order</span></th>
|
2015-04-25 05:13:53 +00:00
|
|
|
<td class="text-right" ng-switch="folder.order">
|
|
|
|
<span ng-switch-when="random" translate>Random</span>
|
|
|
|
<span ng-switch-when="alphabetic" translate>Alphabetic</span>
|
|
|
|
<span ng-switch-when="smallestFirst" translate>Smallest First</span>
|
|
|
|
<span ng-switch-when="largestFirst" translate>Largest First</span>
|
|
|
|
<span ng-switch-when="oldestFirst" translate>Oldest First</span>
|
|
|
|
<span ng-switch-when="newestFirst" translate>Newest First</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2015-03-10 22:45:43 +00:00
|
|
|
<tr ng-if="folder.versioning.type">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-tags"></span> <span translate>File Versioning</span></th>
|
2015-03-19 17:16:48 +00:00
|
|
|
<td class="text-right" ng-switch="folder.versioning.type">
|
2015-06-12 11:04:00 +00:00
|
|
|
<span ng-switch-when="trashcan" translate>Trash Can File Versioning</span>
|
2015-01-15 14:47:47 +00:00
|
|
|
<span ng-switch-when="staggered" translate>Staggered File Versioning</span>
|
|
|
|
<span ng-switch-when="simple" translate>Simple File Versioning</span>
|
2015-03-19 10:31:21 +00:00
|
|
|
<span ng-switch-when="external" translate>External File Versioning</span>
|
2015-01-15 14:47:47 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2014-12-01 19:50:27 +00:00
|
|
|
<tr>
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-share-alt"></span> <span translate>Shared With</span></th>
|
2014-12-01 19:50:27 +00:00
|
|
|
<td class="text-right">{{sharesFolder(folder)}}</td>
|
|
|
|
</tr>
|
2015-06-16 11:12:34 +00:00
|
|
|
<tr ng-if="!folder.readOnly && folderStats[folder.id].lastFile && folderStats[folder.id].lastFile.filename">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-transfer"></span> <span translate>Last File Received</span></th>
|
2014-12-07 20:21:12 +00:00
|
|
|
<td class="text-right">
|
2015-05-21 08:40:46 +00:00
|
|
|
<span title="{{folderStats[folder.id].lastFile.filename}} @ {{folderStats[folder.id].lastFile.at | date:'yyyy-MM-dd HH:mm:ss'}}">
|
2015-06-16 11:12:34 +00:00
|
|
|
<span translate ng-if="!folderStats[folder.id].lastFile.deleted">Updated</span>
|
|
|
|
<span translate ng-if="folderStats[folder.id].lastFile.deleted">Deleted</span>
|
2015-03-10 22:45:43 +00:00
|
|
|
{{folderStats[folder.id].lastFile.filename | basename}}
|
2014-12-07 20:21:12 +00:00
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
2015-07-05 09:20:59 +00:00
|
|
|
<button class="btn btn-sm btn-danger pull-left" ng-if="folderStatus(folder) == 'outofsync' && folder.readOnly" ng-click="override(folder.id)" href=""><span class="glyphicon glyphicon-upload"></span> <span translate>Override Changes</span></button>
|
2014-06-16 08:47:02 +00:00
|
|
|
<span class="pull-right">
|
2015-06-13 18:10:11 +00:00
|
|
|
<button class="btn btn-sm btn-default" href="" ng-show="['idle', 'stopped'].indexOf(folderStatus(folder)) > -1" ng-click="rescanFolder(folder.id)"><span class="glyphicon glyphicon-refresh"></span> <span translate>Rescan</span></button>
|
2015-05-27 19:54:00 +00:00
|
|
|
<button class="btn btn-sm btn-default" href="" ng-click="editFolder(folder)"><span class="glyphicon glyphicon-pencil"></span> <span translate>Edit</span></button>
|
2014-06-16 08:47:02 +00:00
|
|
|
</span>
|
2014-09-10 09:27:21 +00:00
|
|
|
<div class="clearfix"></div>
|
2014-05-24 19:56:09 +00:00
|
|
|
</div>
|
2014-05-20 17:36:37 +00:00
|
|
|
</div>
|
2014-04-09 21:00:23 +00:00
|
|
|
</div>
|
2014-02-12 11:10:44 +00:00
|
|
|
</div>
|
2015-02-11 18:52:59 +00:00
|
|
|
<span class="pull-right">
|
2015-05-27 19:54:00 +00:00
|
|
|
<button class="btn btn-sm btn-default" ng-click="rescanAllFolders()"><span class="glyphicon glyphicon-repeat"></span> <span translate>Rescan All</span></button>
|
|
|
|
<button class="btn btn-sm btn-default" ng-click="addFolder()"><span class="glyphicon glyphicon-plus"></span> <span translate>Add Folder</span></button>
|
2015-02-11 18:52:59 +00:00
|
|
|
</span>
|
|
|
|
<div class="clearfix"></div>
|
2014-09-10 14:56:23 +00:00
|
|
|
<hr class="visible-sm"/>
|
2014-04-09 21:00:23 +00:00
|
|
|
</div>
|
2014-01-05 22:54:57 +00:00
|
|
|
|
2014-09-28 11:00:38 +00:00
|
|
|
<!-- Device list (top right) -->
|
2014-04-09 21:00:23 +00:00
|
|
|
|
2014-09-28 11:00:38 +00:00
|
|
|
<!-- This device -->
|
2014-09-10 09:27:21 +00:00
|
|
|
|
2014-04-09 21:00:23 +00:00
|
|
|
<div class="col-md-6">
|
2015-01-08 10:04:27 +00:00
|
|
|
<div class="visible-xs"><h3><span translate>Devices</span></h3><hr></div>
|
2014-09-28 11:00:38 +00:00
|
|
|
<div class="panel panel-default" ng-repeat="deviceCfg in [thisDevice()]">
|
|
|
|
<div class="panel-heading" data-toggle="collapse" href="#device-this" style="cursor: pointer">
|
2014-09-10 09:27:21 +00:00
|
|
|
<h3 class="panel-title">
|
2015-03-10 22:45:43 +00:00
|
|
|
<identicon data-value="deviceCfg.deviceID"></identicon> {{deviceName(deviceCfg)}}
|
2014-09-10 09:27:21 +00:00
|
|
|
</h3>
|
|
|
|
</div>
|
2014-09-28 11:00:38 +00:00
|
|
|
<div id="device-this" class="panel-collapse collapse in">
|
2014-09-10 09:27:21 +00:00
|
|
|
<div class="panel-body">
|
|
|
|
<table class="table table-condensed table-striped">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-cloud-download"></span> <span translate>Download Rate</span></th>
|
2015-04-09 10:14:15 +00:00
|
|
|
<td class="text-right">{{connectionsTotal.inbps | binary}}B/s ({{connectionsTotal.inBytesTotal | binary}}B)</td>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-cloud-upload"></span> <span translate>Upload Rate</span></th>
|
2015-04-09 10:14:15 +00:00
|
|
|
<td class="text-right">{{connectionsTotal.outbps | binary}}B/s ({{connectionsTotal.outBytesTotal | binary}}B)</td>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tr>
|
2015-06-19 19:52:19 +00:00
|
|
|
<tr>
|
2015-07-20 12:48:03 +00:00
|
|
|
<th><span class="glyphicon glyphicon-home"></span> <span translate>Local State (Total)</span></th>
|
|
|
|
<td class="text-right">{{localStateTotal.files | alwaysNumber}} <span translate>items</span>, ~{{localStateTotal.bytes | binary}}B</td>
|
2015-06-19 19:52:19 +00:00
|
|
|
</tr>
|
2014-09-10 09:27:21 +00:00
|
|
|
<tr>
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-th"></span> <span translate>RAM Utilization</span></th>
|
2014-09-10 09:27:21 +00:00
|
|
|
<td class="text-right">{{system.sys | binary}}B</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-dashboard"></span> <span translate>CPU Utilization</span></th>
|
2014-09-10 09:27:21 +00:00
|
|
|
<td class="text-right">{{system.cpuPercent | alwaysNumber | natural:1}}%</td>
|
|
|
|
</tr>
|
2014-11-18 22:57:21 +00:00
|
|
|
<tr ng-if="system.extAnnounceOK != undefined && announceServersTotal > 0">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-bullhorn"></span> <span translate>Global Discovery</span></th>
|
2014-09-10 09:27:21 +00:00
|
|
|
<td class="text-right">
|
2014-11-18 22:57:21 +00:00
|
|
|
<span ng-if="announceServersFailed.length == 0" class="data text-success">
|
|
|
|
<span>OK</span>
|
|
|
|
</span>
|
2015-03-09 21:08:32 +00:00
|
|
|
<span ng-if="announceServersFailed.length != 0" class="data" ng-class="{'text-danger': announceServersFailed.length == announceServersTotal}">
|
2014-11-18 22:57:21 +00:00
|
|
|
<span popover data-trigger="hover" data-placement="bottom" data-content="{{announceServersFailed.join('\n')}}">
|
|
|
|
{{announceServersTotal-announceServersFailed.length}}/{{announceServersTotal}}
|
|
|
|
</span>
|
|
|
|
</span>
|
2014-09-10 09:27:21 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2015-04-03 18:00:13 +00:00
|
|
|
<tr>
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-time"></span> <span translate>Uptime</span></th>
|
2015-04-03 18:00:13 +00:00
|
|
|
<td class="text-right">{{system.uptime | duration:"m"}}</td>
|
|
|
|
</tr>
|
2014-09-10 09:27:21 +00:00
|
|
|
<tr>
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-tag"></span> <span translate>Version</span></th>
|
2015-04-09 09:32:54 +00:00
|
|
|
<td class="text-right">{{versionString()}}</td>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2014-05-20 17:36:37 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-09-10 09:27:21 +00:00
|
|
|
</div>
|
|
|
|
|
2014-09-28 11:00:38 +00:00
|
|
|
<!-- Remote devices -->
|
2014-04-09 21:00:23 +00:00
|
|
|
|
2014-09-28 11:00:38 +00:00
|
|
|
<div class="panel-group" id="devices">
|
2014-11-29 12:08:00 +00:00
|
|
|
<div class="panel panel-default" ng-repeat="deviceCfg in otherDevices()">
|
2014-09-28 11:00:38 +00:00
|
|
|
<div class="panel-heading" data-toggle="collapse" data-parent="#devices" href="#device-{{$index}}" style="cursor: pointer">
|
2015-03-10 22:45:43 +00:00
|
|
|
<div class="panel-progress" ng-show="deviceStatus(deviceCfg) == 'syncing'" ng-attr-style="width: {{completion[deviceCfg.deviceID]._total | number:0}}%"></div>
|
2014-09-10 12:43:23 +00:00
|
|
|
<h3 class="panel-title">
|
2015-03-10 22:45:43 +00:00
|
|
|
<identicon data-value="deviceCfg.deviceID"></identicon> {{deviceName(deviceCfg)}}
|
2015-01-08 10:04:27 +00:00
|
|
|
<span ng-switch="deviceStatus(deviceCfg)" class="pull-right text-{{deviceClass(deviceCfg)}}">
|
|
|
|
<span ng-switch-when="insync"><span class="hidden-xs" translate>Up to Date</span><span class="visible-xs">◼</span></span>
|
2014-11-29 08:42:16 +00:00
|
|
|
<span ng-switch-when="syncing">
|
2015-03-10 22:45:43 +00:00
|
|
|
<span class="hidden-xs" translate>Syncing</span> ({{completion[deviceCfg.deviceID]._total | number:0}}%)
|
2014-07-26 20:30:29 +00:00
|
|
|
</span>
|
2015-01-08 10:04:27 +00:00
|
|
|
<span ng-switch-when="disconnected"><span class="hidden-xs" translate>Disconnected</span><span class="visible-xs">◼</span></span>
|
|
|
|
<span ng-switch-when="unused"><span class="hidden-xs" translate>Unused</span><span class="visible-xs">◼</span></span>
|
2014-09-08 17:46:33 +00:00
|
|
|
</span>
|
2014-05-24 19:56:09 +00:00
|
|
|
</h3>
|
|
|
|
</div>
|
2014-09-28 11:00:38 +00:00
|
|
|
<div id="device-{{$index}}" class="panel-collapse collapse">
|
2014-05-24 19:56:09 +00:00
|
|
|
<div class="panel-body">
|
2014-09-10 09:27:21 +00:00
|
|
|
<table class="table table-condensed table-striped">
|
|
|
|
<tbody>
|
2015-03-10 22:45:43 +00:00
|
|
|
<tr ng-if="connections[deviceCfg.deviceID]">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-cloud-download"></span> <span translate>Download Rate</span></th>
|
2015-03-10 22:45:43 +00:00
|
|
|
<td class="text-right">{{connections[deviceCfg.deviceID].inbps | binary}}B/s ({{connections[deviceCfg.deviceID].inBytesTotal | binary}}B)</td>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tr>
|
2015-03-10 22:45:43 +00:00
|
|
|
<tr ng-if="connections[deviceCfg.deviceID]">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-cloud-upload"></span> <span translate>Upload Rate</span></th>
|
2015-03-10 22:45:43 +00:00
|
|
|
<td class="text-right">{{connections[deviceCfg.deviceID].outbps | binary}}B/s ({{connections[deviceCfg.deviceID].outBytesTotal | binary}}B)</td>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-link"></span> <span translate>Address</span></th>
|
2014-09-28 11:00:38 +00:00
|
|
|
<td class="text-right">{{deviceAddr(deviceCfg)}}</td>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tr>
|
2015-03-10 22:45:43 +00:00
|
|
|
<tr ng-if="deviceCfg.compression != 'metadata'">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-compressed"></span> <span translate>Compression</span></th>
|
2015-02-23 08:44:10 +00:00
|
|
|
<td class="text-right">
|
2015-03-10 22:45:43 +00:00
|
|
|
<span ng-if="deviceCfg.compression == 'always'" translate>All Data</span>
|
|
|
|
<span ng-if="deviceCfg.compression == 'never'" translate>Off</span>
|
2015-02-23 08:44:10 +00:00
|
|
|
</td>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tr>
|
2015-03-10 22:45:43 +00:00
|
|
|
<tr ng-if="deviceCfg.introducer">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-thumbs-up"></span> <span translate>Introducer</span></th>
|
2014-11-27 19:46:36 +00:00
|
|
|
<td translate class="text-right">Yes</td>
|
2014-09-23 14:04:20 +00:00
|
|
|
</tr>
|
2015-03-10 22:45:43 +00:00
|
|
|
<tr ng-if="connections[deviceCfg.deviceID]">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-tag"></span> <span translate>Version</span></th>
|
2015-03-10 22:45:43 +00:00
|
|
|
<td class="text-right">{{connections[deviceCfg.deviceID].clientVersion}}</td>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tr>
|
2015-03-10 22:45:43 +00:00
|
|
|
<tr ng-if="!connections[deviceCfg.deviceID]">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-eye-open"></span> <span translate>Last seen</span></th>
|
2015-03-10 22:45:43 +00:00
|
|
|
<td translate ng-if="!deviceStats[deviceCfg.deviceID].lastSeenDays || deviceStats[deviceCfg.deviceID].lastSeenDays >= 365" class="text-right">Never</td>
|
2015-05-21 08:40:46 +00:00
|
|
|
<td ng-if="deviceStats[deviceCfg.deviceID].lastSeenDays < 365" class="text-right">{{deviceStats[deviceCfg.deviceID].lastSeen | date:"yyyy-MM-dd HH:mm:ss"}}</td>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tr>
|
2014-11-29 08:42:16 +00:00
|
|
|
<tr ng-if="deviceFolders(deviceCfg).length > 0">
|
2015-05-27 19:54:00 +00:00
|
|
|
<th><span class="glyphicon glyphicon-hdd"></span> <span translate>Folders</span></th>
|
2014-11-29 08:42:16 +00:00
|
|
|
<td class="text-right">{{deviceFolders(deviceCfg).join(", ")}}</td>
|
|
|
|
</tr>
|
2014-09-10 09:27:21 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
2015-05-27 19:54:00 +00:00
|
|
|
<span class="pull-right"><a class="btn btn-sm btn-default" href="" ng-click="editDevice(deviceCfg)"><span class="glyphicon glyphicon-pencil"></span> <span translate>Edit</span></a></span>
|
2014-09-10 09:27:21 +00:00
|
|
|
<div class="clearfix"></div>
|
2014-05-24 19:56:09 +00:00
|
|
|
</div>
|
2014-05-20 17:36:37 +00:00
|
|
|
</div>
|
2014-04-09 21:00:23 +00:00
|
|
|
</div>
|
2014-01-05 22:54:57 +00:00
|
|
|
</div>
|
2014-09-27 12:43:11 +00:00
|
|
|
<div class="form-group">
|
2015-05-27 19:54:00 +00:00
|
|
|
<button class="btn btn-sm btn-default pull-right" ng-click="addDevice()"><span class="glyphicon glyphicon-plus"></span> <span translate>Add Device</span></button>
|
2014-09-27 12:43:11 +00:00
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
2014-04-09 21:00:23 +00:00
|
|
|
</div>
|
|
|
|
</div> <!-- /row -->
|
|
|
|
|
|
|
|
</div> <!-- /container -->
|
|
|
|
|
|
|
|
<!-- Bottom bar -->
|
|
|
|
|
2015-01-10 17:02:27 +00:00
|
|
|
<nav class="navbar navbar-default navbar-fixed-bottom">
|
2014-02-12 11:10:44 +00:00
|
|
|
<div class="container">
|
2014-05-20 17:36:37 +00:00
|
|
|
<ul class="nav navbar-nav">
|
2015-07-05 09:06:29 +00:00
|
|
|
<li><a class="navbar-link" href="http://syncthing.net/" target="_blank"><span class="glyphicon glyphicon-home"></span> <span translate>Home page</span></a></li>
|
2015-05-27 19:54:00 +00:00
|
|
|
<li><a class="navbar-link" href="http://docs.syncthing.net/" target="_blank"><span class="glyphicon glyphicon-book"></span> <span translate>Documentation</span></a></li>
|
|
|
|
<li><a class="navbar-link" href="https://forum.syncthing.net" target="_blank"><span class="glyphicon glyphicon-question-sign"></span> <span translate>Support</span></a></li>
|
2015-07-24 10:04:16 +00:00
|
|
|
<li><a class="navbar-link" href="https://data.syncthing.net/" target="_blank"><span class="glyphicon glyphicon-stats"></span> <span translate>Statistics</span></a></li>
|
2015-07-24 06:50:46 +00:00
|
|
|
|
2015-05-27 19:54:00 +00:00
|
|
|
<li><a class="navbar-link" href="https://github.com/syncthing/syncthing/releases" target="_blank"><span class="glyphicon glyphicon-info-sign"></span> <span translate>Changelog</span></a></li>
|
|
|
|
<li><a class="navbar-link" href="https://github.com/syncthing/syncthing/issues" target="_blank"><span class="glyphicon glyphicon-warning-sign"></span> <span translate>Bugs</span></a></li>
|
|
|
|
<li><a class="navbar-link" href="https://github.com/syncthing/syncthing" target="_blank"><span class="glyphicon glyphicon-wrench"></span> <span translate>Source Code</span></a></li>
|
2015-07-24 06:50:46 +00:00
|
|
|
|
2015-05-27 19:54:00 +00:00
|
|
|
<li><a class="navbar-link" href="https://twitter.com/syncthing" target="_blank"><span class="glyphicon glyphicon-send"></span> Twitter</a></li>
|
2014-04-09 21:00:23 +00:00
|
|
|
</ul>
|
2014-02-12 11:10:44 +00:00
|
|
|
</div>
|
2014-04-09 21:00:23 +00:00
|
|
|
</nav>
|
|
|
|
|
2015-08-02 06:27:05 +00:00
|
|
|
<div network-error-dialog></div>
|
|
|
|
<div http-error-dialog></div>
|
|
|
|
<div restarting-dialog></div>
|
|
|
|
<div upgrading-dialog></div>
|
|
|
|
<div shutdown-dialog></div>
|
|
|
|
<div idqr-modal></div>
|
|
|
|
<div major-upgrade-modal></div>
|
|
|
|
<div edit-device-modal></div>
|
|
|
|
<div edit-folder-modal></div>
|
|
|
|
<div edit-ignores-modal></div>
|
|
|
|
<div settings-modal></div>
|
|
|
|
<div advanced-settings-modal></div>
|
|
|
|
<div usage-report-modal></div>
|
|
|
|
<div usage-report-preview-modal></div>
|
|
|
|
<div needed-files-modal></div>
|
|
|
|
<div failed-files-modal></div>
|
2015-07-03 12:07:38 +00:00
|
|
|
|
2014-11-26 12:39:59 +00:00
|
|
|
<!-- vendor scripts -->
|
2015-07-03 12:07:38 +00:00
|
|
|
<script src="vendor/jquery/jquery-2.0.3.min.js"></script>
|
2014-11-26 12:39:59 +00:00
|
|
|
<script src="vendor/angular/angular.min.js"></script>
|
|
|
|
<script src="vendor/angular/angular-translate.min.js"></script>
|
|
|
|
<script src="vendor/angular/angular-translate-loader.min.js"></script>
|
2015-04-25 21:53:44 +00:00
|
|
|
<script src="vendor/angular/angular-dirPagination.js"></script>
|
2014-11-26 12:39:59 +00:00
|
|
|
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
|
|
|
|
<!-- / vendor scripts -->
|
|
|
|
|
|
|
|
<!-- gui application code -->
|
|
|
|
<script src="scripts/syncthing/core/module.js"></script>
|
2015-06-14 14:17:48 +00:00
|
|
|
<script src="scripts/syncthing/core/services/events.js"></script>
|
2014-11-26 12:39:59 +00:00
|
|
|
<script src="scripts/syncthing/core/controllers/syncthingController.js"></script>
|
2015-08-02 06:27:05 +00:00
|
|
|
<script src="scripts/syncthing/core/directives/aboutModalDirective.js"></script>
|
2014-11-26 12:39:59 +00:00
|
|
|
<script src="scripts/syncthing/core/directives/identiconDirective.js"></script>
|
2015-04-02 12:48:59 +00:00
|
|
|
<script src="scripts/syncthing/core/directives/languageSelectDirective.js"></script>
|
2015-08-02 06:27:05 +00:00
|
|
|
<script src="scripts/syncthing/core/directives/majorUpgradeModalDirective.js"></script>
|
2014-11-26 12:39:59 +00:00
|
|
|
<script src="scripts/syncthing/core/directives/modalDirective.js"></script>
|
|
|
|
<script src="scripts/syncthing/core/directives/uniqueFolderDirective.js"></script>
|
|
|
|
<script src="scripts/syncthing/core/directives/validDeviceidDirective.js"></script>
|
2014-11-18 22:57:21 +00:00
|
|
|
<script src="scripts/syncthing/core/directives/popoverDirective.js"></script>
|
2015-07-01 14:44:23 +00:00
|
|
|
<script src="scripts/syncthing/core/directives/selectOnClickDirective.js"></script>
|
2015-08-02 06:27:05 +00:00
|
|
|
<script src="scripts/syncthing/core/directives/messageDialogs/httpErrorDialogDirective.js"></script>
|
|
|
|
<script src="scripts/syncthing/core/directives/messageDialogs/networkErrorDialogDirective.js"></script>
|
|
|
|
<script src="scripts/syncthing/core/directives/messageDialogs/restartingDialogDirective.js"></script>
|
|
|
|
<script src="scripts/syncthing/core/directives/messageDialogs/shutdownDialogDirective.js"></script>
|
|
|
|
<script src="scripts/syncthing/core/directives/messageDialogs/upgradingDialogDirective.js"></script>
|
2014-11-26 12:39:59 +00:00
|
|
|
<script src="scripts/syncthing/core/filters/alwaysNumberFilter.js"></script>
|
|
|
|
<script src="scripts/syncthing/core/filters/basenameFilter.js"></script>
|
|
|
|
<script src="scripts/syncthing/core/filters/binaryFilter.js"></script>
|
2015-04-03 18:00:13 +00:00
|
|
|
<script src="scripts/syncthing/core/filters/durationFilter.js"></script>
|
Use bootstrap grid instead of column-count:3 for aligning checkboxes (fixes #2029)
Upgrading to bootstrap 3.3.5 meant that checkboxes inside a div with
column-count:3 set would be unclickable in Chrome: in fact, the entire
div appears to sit on top of its contents, making interaction impossible.
This affected both the 'show folder with these devices' and 'these devices
can access this folder' sections of the UI.
I'm not sure what the the underlying cause is, but moving to Bootstrap's
grid system appears work around the issue. Devices/folders have to be
explicitly split out into rows, otherwise the final element appears offset.
To do this grouping by row, a new filter (groupFilter) has been added, which
turns an input of e.g. [1, 2, 3, 4, 5] with a groupSize of 3 into
[[1, 2, 3], [4, 5]]. However altering the collection in this way throws
Angular into an infinite watch loop, terminating in infdig. m59peacemaker's
pmkr.filterStabilize (MIT) was added to work around this issue.
This also has the nice side-effect of wrapping the list of devices/folders
when the screen width decreases.
See also:
- #2027 (bootstrap update which triggered this issue)
- #1121 (last time it happened)
2015-07-05 16:08:16 +00:00
|
|
|
<script src="scripts/syncthing/core/filters/groupFilter.js"></script>
|
2014-11-26 12:39:59 +00:00
|
|
|
<script src="scripts/syncthing/core/filters/naturalFilter.js"></script>
|
2015-06-26 12:22:52 +00:00
|
|
|
<script src="scripts/syncthing/core/filters/lastErrorComponentFilter.js"></script>
|
Use bootstrap grid instead of column-count:3 for aligning checkboxes (fixes #2029)
Upgrading to bootstrap 3.3.5 meant that checkboxes inside a div with
column-count:3 set would be unclickable in Chrome: in fact, the entire
div appears to sit on top of its contents, making interaction impossible.
This affected both the 'show folder with these devices' and 'these devices
can access this folder' sections of the UI.
I'm not sure what the the underlying cause is, but moving to Bootstrap's
grid system appears work around the issue. Devices/folders have to be
explicitly split out into rows, otherwise the final element appears offset.
To do this grouping by row, a new filter (groupFilter) has been added, which
turns an input of e.g. [1, 2, 3, 4, 5] with a groupSize of 3 into
[[1, 2, 3], [4, 5]]. However altering the collection in this way throws
Angular into an infinite watch loop, terminating in infdig. m59peacemaker's
pmkr.filterStabilize (MIT) was added to work around this issue.
This also has the nice side-effect of wrapping the list of devices/folders
when the screen width decreases.
See also:
- #2027 (bootstrap update which triggered this issue)
- #1121 (last time it happened)
2015-07-05 16:08:16 +00:00
|
|
|
<script src="scripts/syncthing/core/services/filterStabilize.js"></script>
|
2014-11-28 18:39:33 +00:00
|
|
|
<script src="scripts/syncthing/core/services/localeService.js"></script>
|
Use bootstrap grid instead of column-count:3 for aligning checkboxes (fixes #2029)
Upgrading to bootstrap 3.3.5 meant that checkboxes inside a div with
column-count:3 set would be unclickable in Chrome: in fact, the entire
div appears to sit on top of its contents, making interaction impossible.
This affected both the 'show folder with these devices' and 'these devices
can access this folder' sections of the UI.
I'm not sure what the the underlying cause is, but moving to Bootstrap's
grid system appears work around the issue. Devices/folders have to be
explicitly split out into rows, otherwise the final element appears offset.
To do this grouping by row, a new filter (groupFilter) has been added, which
turns an input of e.g. [1, 2, 3, 4, 5] with a groupSize of 3 into
[[1, 2, 3], [4, 5]]. However altering the collection in this way throws
Angular into an infinite watch loop, terminating in infdig. m59peacemaker's
pmkr.filterStabilize (MIT) was added to work around this issue.
This also has the nice side-effect of wrapping the list of devices/folders
when the screen width decreases.
See also:
- #2027 (bootstrap update which triggered this issue)
- #1121 (last time it happened)
2015-07-05 16:08:16 +00:00
|
|
|
<script src="scripts/syncthing/core/services/memoize.js"></script>
|
2014-11-26 12:39:59 +00:00
|
|
|
|
2015-08-02 06:27:05 +00:00
|
|
|
<script src="scripts/syncthing/device/module.js"></script>
|
|
|
|
<script src="scripts/syncthing/device/directives/editDeviceModalDirective.js"></script>
|
|
|
|
<script src="scripts/syncthing/device/directives/idqrModalDirective.js"></script>
|
|
|
|
|
|
|
|
<script src="scripts/syncthing/folder/module.js"></script>
|
|
|
|
<script src="scripts/syncthing/folder/directives/editFolderModalDirective.js"></script>
|
|
|
|
<script src="scripts/syncthing/folder/directives/editIgnoresModalDirective.js"></script>
|
|
|
|
|
|
|
|
<script src="scripts/syncthing/settings/module.js"></script>
|
|
|
|
<script src="scripts/syncthing/settings/directives/settingsModalDirective.js"></script>
|
|
|
|
<script src="scripts/syncthing/settings/directives/advancedSettingsModalDirective.js"></script>
|
|
|
|
|
|
|
|
<script src="scripts/syncthing/transfer/module.js"></script>
|
|
|
|
<script src="scripts/syncthing/transfer/directives/failedFilesModalDirective.js"></script>
|
|
|
|
<script src="scripts/syncthing/transfer/directives/neededFilesModalDirective.js"></script>
|
|
|
|
|
|
|
|
<script src="scripts/syncthing/usagereport/module.js"></script>
|
|
|
|
<script src="scripts/syncthing/usagereport/directives/usageReportModalDirective.js"></script>
|
|
|
|
<script src="scripts/syncthing/usagereport/directives/usageReportPreviewModalDirective.js"></script>
|
|
|
|
|
2014-11-26 12:39:59 +00:00
|
|
|
<script src="assets/lang/valid-langs.js"></script>
|
2015-06-02 06:47:26 +00:00
|
|
|
<script src="assets/lang/prettyprint.js"></script>
|
2014-11-26 12:39:59 +00:00
|
|
|
<script src="scripts/syncthing/app.js"></script>
|
|
|
|
<!-- / gui application code -->
|
|
|
|
|
2014-01-05 22:54:57 +00:00
|
|
|
</body>
|
|
|
|
</html>
|