Márton Boros
4fa3c7bb2f
default duration from last save
2013-02-18 08:37:55 +01:00
Alexander Ljungberg
676d7fc2ae
Remove debug logging in asset edit modal.
2013-02-18 00:43:10 +00:00
Alexander Ljungberg
a0cace1e67
Vertically align text in asset tables.
...
Without this fix, regular text such as the start and end date for an asset, wouldn't be vertically aligned with text in controls such as the "On" and "Off" in the switch.
This fix aligns the text vertically with both control text and button icons.
2013-02-17 23:58:49 +00:00
Alexander Ljungberg
08ec0a7403
Remove redundant table style.
...
Bootstrap .table classes, which we use, are already 100% wide by default.
2013-02-17 23:54:27 +00:00
Alexander Ljungberg
33411b67a4
Remove unused file.
2013-02-17 23:48:53 +00:00
Zachary Jones
b784c020fa
Restore our customized version of Bootstrap and the blue navbar. Closes #72
2013-02-17 15:06:17 -05:00
Márton Boros
2c793ed3a7
make location read-only for existing assets
2013-02-16 20:20:25 +01:00
Márton Boros
9ea3019229
autodetect mimetype
2013-02-16 19:42:11 +01:00
Márton Boros
42d83a56f9
add progress bar
2013-02-16 16:02:08 +01:00
Márton Boros
4f271220d1
consistent class names
2013-02-16 15:13:53 +01:00
Zachary Jones
d88114258c
Update splash page. Closes #67
2013-02-15 19:21:40 -05:00
Zachary Jones
0dd9c408a6
Clean up styles in the header
2013-02-15 19:20:50 -05:00
Zachary Jones
ccdc498a19
Move Marton's CSS changes to the Sass style file.
2013-02-15 19:18:35 -05:00
Zachary Jones
be77672e1b
Add .text-center class to Bootstrap. Newer versions of Bootstrap have this class built-in.
2013-02-15 18:50:45 -05:00
Márton Boros
b1ea8af303
update frontend
2013-02-15 14:10:50 +01:00
Márton Boros
f90d3acac4
add file uploader plugin
2013-02-15 14:02:24 +01:00
Márton Boros
fbd13fa350
various frontend fixes. fixes #52
2013-02-15 06:22:14 +01:00
Márton Boros
a4f302a0c9
tpl fixes
2013-02-15 00:16:14 +01:00
Márton Boros
1b3e498f5d
update bootstrap
2013-02-15 00:15:17 +01:00
Márton Boros
53ecbe06d9
fixes
2013-02-14 23:28:48 +01:00
Márton Boros
3ed1d05bde
add request error message
2013-02-14 23:12:25 +01:00
Márton Boros
b37a3c4556
update bootstrap, use one minified js
2013-02-14 23:10:53 +01:00
Márton Boros
2e8e8f584e
fix switch bug
2013-02-14 21:51:15 +01:00
Márton Boros
6ff4dbb179
update jQuery
2013-02-14 21:51:15 +01:00
Zachary Jones
1d23236eb1
Make delete popover more friendly and include a "No" option to cancel.
2013-02-14 15:48:32 -05:00
Zachary Jones
a6b8bd82ae
Make asset-icon a class instead of ID.
2013-02-14 15:34:41 -05:00
Zachary Jones
0839b90132
Add icon in asset list to describe the Asset's type: video, webpage, or image. Closes #59 .
2013-02-14 15:11:32 -05:00
Zachary Jones
f10000e376
Remove inline style and make toggles 115 pixels wide by default.
2013-02-13 22:52:27 -05:00
Zachary Jones
d75585e67f
Format dates as strings using a consistent format. Closes #54
...
Previously using toLocaleString() would return vastly different formats across browsers.
2013-02-12 20:32:59 -06:00
Zachary Jones
7dd04a0fac
Add moment.js for more robust date handling across different browsers.
...
Also will be helpful in the future for adding localization settings. For now it assists with #54 .
2013-02-12 20:26:14 -06:00
Zachary Jones
685c7c871a
Hide table header when there are no assets in a group. Closes #55
2013-02-12 19:57:12 -06:00
Zachary Jones
8d10a7c9eb
Fix colors on toggle switches.
2013-02-12 19:16:06 -06:00
Zachary Jones
9cdcfdddb6
Fix z-index issue where toggle buttons were rendered above the footer.
2013-02-12 19:11:17 -06:00
Márton Boros
16cc2fdc5e
clarify frontend
2013-02-12 21:28:41 +01:00
Márton Boros
3a6d5f33e1
show file upload button only when relevant
2013-02-12 20:36:40 +01:00
Márton Boros
d7b6ab9b80
frontend refactor
2013-02-12 19:40:27 +01:00
Márton Boros
907811eb57
improve modal dialog button label
2013-02-11 02:08:09 +01:00
Zachary Jones
68466bab69
Add initial asset deletion functionality.
2013-02-09 19:02:55 -06:00
Zachary Jones
4f9661a1d2
Condense ActiveAssetRowView and InactiveAssetRowView into generic AssetRowView.
2013-02-09 17:45:35 -06:00
Zachary Jones
0218bcf0d3
Remove AddAssetModalView and EditAssetModalView. Use AssetModalView for both cases.
2013-02-09 15:44:48 -06:00
Zachary Jones
4aedc3dd6a
Quick hack to set an Asset's ID.
...
Backbone assumes that a model's unique ID is called 'id' and as such uses the existence of this attribute to determine whether an instance is "new" or not, where new means it doesn't exist on the server. However, Screenly's Asset model does not follow this convention, instead using 'asset_id' as the field. I added an initialize method which simply sets the 'id' property to the value of 'asset_id' if it exists.
2013-02-09 15:43:27 -06:00
Zachary Jones
80aa77c27f
Remove references to .switch class.
...
Since we're not using them we can get rid of them, solving an interference with another plugin.
2013-02-07 14:54:19 -06:00
Zachary Jones
c599d709a5
Initial Edit Asset functionality with modal.
...
Some refactoring in progress to share the same modal view and template between add/edit operations.
2013-02-03 17:07:33 -06:00
Zachary Jones
29e6e05cde
Widen layout a bit.
2013-02-03 15:20:25 -06:00
Zachary Jones
e7a8f73b5a
Add custom formatter for dates.
2013-02-02 22:33:16 -06:00
Zachary Jones
d36dbd50c6
Modifications to JavaScript to make the new animated toggle switch experience better.
2013-02-01 19:00:01 -06:00
Zachary Jones
97415ffcf4
Add new markup for toggle switch.
2013-02-01 18:59:12 -06:00
Zachary Jones
78d83ad4cf
Make "Activate" and "Deactivate" functionality work.
...
When deactivating an active asset, its end_date is set to NOW.
When activating an inactive asset, its start_date is set to NOW, and its end_date is set 10 years in the future.
2013-01-31 16:49:47 -06:00
Zachary Jones
0dd0fab5d1
Tell Backbone to emulate JSON in its HTTP requests
2013-01-31 16:42:18 -06:00
Zachary Jones
ebcfe186eb
Add helper utility for formatting dates before they're sent to the server.
2013-01-31 15:27:43 -06:00