diff --git a/static/css/directives/repo-view/repo-panel-builds.css b/static/css/directives/repo-view/repo-panel-builds.css index 03c3a6a57..3281cf272 100644 --- a/static/css/directives/repo-view/repo-panel-builds.css +++ b/static/css/directives/repo-view/repo-panel-builds.css @@ -10,20 +10,3 @@ margin-right: 6px; vertical-align: middle; } - -.repo-panel-builds .heading-title { - font-size: 20px; -} - -.repo-panel-builds .heading-controls { - font-size: 14px; - float: right; -} - -.repo-panel-builds .heading-controls .btn { - margin-top: -10px; -} - -.repo-panel-builds .heading-controls .btn .fa { - margin-right: 6px; -} diff --git a/static/css/directives/repo-view/repo-panel-settings.css b/static/css/directives/repo-view/repo-panel-settings.css new file mode 100644 index 000000000..78e2c6b62 --- /dev/null +++ b/static/css/directives/repo-view/repo-panel-settings.css @@ -0,0 +1,25 @@ +.repo-panel-settings-element .panel-section { + padding: 20px; + border-bottom: 1px solid #eee; +} + +.repo-panel-settings-element .lock-section { + position: relative; + padding-left: 80px; +} + +.repo-panel-settings-element .lock-section .lock-icon { + position: absolute; + top: 10px; + left: 22px; + color: #ccc; + font-size: 46px; +} + +.repo-panel-settings-element .panel-section .btn { + margin-top: 20px; +} + +.repo-panel-settings-element .panel-section .btn .fa { + margin-right: 6px; +} diff --git a/static/css/directives/ui/repository-events-table.css b/static/css/directives/ui/repository-events-table.css new file mode 100644 index 000000000..82909d022 --- /dev/null +++ b/static/css/directives/ui/repository-events-table.css @@ -0,0 +1,3 @@ +.repository-events-table-element .notification-row i.fa { + margin-right: 6px; +} \ No newline at end of file diff --git a/static/css/pages/repo-view.css b/static/css/pages/repo-view.css index 63fd8d0ed..5555ecb4b 100644 --- a/static/css/pages/repo-view.css +++ b/static/css/pages/repo-view.css @@ -22,3 +22,20 @@ .repository-view .tab-header-controls .btn .fa { margin-right: 6px; } + +.repository-view .heading-title { + font-size: 20px; +} + +.repository-view .heading-controls { + font-size: 14px; + float: right; +} + +.repository-view .heading-controls .btn { + margin-top: -10px; +} + +.repository-view .heading-controls .btn .fa { + margin-right: 6px; +} diff --git a/static/directives/repo-view/repo-panel-settings.html b/static/directives/repo-view/repo-panel-settings.html index 84a78a721..efe3c48eb 100644 --- a/static/directives/repo-view/repo-panel-settings.html +++ b/static/directives/repo-view/repo-panel-settings.html @@ -10,5 +10,86 @@ +
+
Access Token Permissions
+
+
+
+
+ +
+ + +
+
Repository Settings
+ +
+ +
+ +
+ +
This repository is currently private. Only users on the permissions list may view and interact with it.
+ + +
+ +
+ + +
This repository is currently public and is visible to all users, and may be pulled by all users.
+ + +
+ + +
+
Deleting a repository cannot be undone. Here be dragons!
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + +
Image (SVG): +
+
Markdown: +
+
AsciiDoc: +
+
+
+
+
\ No newline at end of file diff --git a/static/directives/repository-events-table.html b/static/directives/repository-events-table.html new file mode 100644 index 000000000..26eb6e951 --- /dev/null +++ b/static/directives/repository-events-table.html @@ -0,0 +1,75 @@ +
+
+
+ Events and Notifications + + +
+
+
+ +
+
No notification have been setup for this repository.
+
+ Click the "Create Notification" button above to add a new notification for a repository event. +
+
+ + + + + + + + + + + + + + + + + + + +
EventNotification
+ + + {{ getEventInfo(notification).title }} + + + + + {{ getMethodInfo(notification).title }} + + + + + Test Notification + + + + Webhook Documentation + + + Delete Notification + + +
+
+
+
+ + +
+
\ No newline at end of file diff --git a/static/directives/repository-permissions-table.html b/static/directives/repository-permissions-table.html index d5a9d1352..22f3e01b3 100644 --- a/static/directives/repository-permissions-table.html +++ b/static/directives/repository-permissions-table.html @@ -5,9 +5,9 @@ - - - + + + @@ -21,8 +21,13 @@ - @@ -38,8 +43,12 @@ - @@ -49,12 +58,10 @@ placeholder="'Select a ' + (repository.is_organization ? 'team or ' : '') + 'user...'" current-entity="addPermissionInfo.entity"> - -
Account NamePermissionsAccount NamePermissions
- + + + + + Delete Permission + +
- + + + + Delete Permission + +
+ - -